通过元组解释分析内部复杂性
Analyzing Innermost Runtime Complexity Through Tuple Interpretations
摘要:
重写中的时间复杂度自然被理解为将项减少到范式所需的步骤数。在重写社区中,建立这种度量的复杂性界限是一个众所周知的问题。绝大多数的技术,以找到这样的界限包括修改终止证明,以恢复复杂性信息。例如,这已经通过语义解释、递归路径顺序和依赖对来完成。在本文中,我们遵循相同的程序,通过裁剪元组解释来处理最内部的复杂性分析。元组解释将术语解释为保持范式的缩减成本和大小的上限的元组。与完全重写设置相比,当减少是最内层时,对成本分量的强单调要求被丢弃。这种对成本元组的弱化要求允许我们证明兼容性结果的最内层版本:如果术语重写系统中的所有规则都可以严格定向,则最内层的重写关系是有根据的。我们建立了必要的条件,元组的解释保证多项式边界的兼容系统的运行时,并描述了这样的解释搜索过程。
英文摘要:
Time complexity in rewriting is naturally understood as the number of steps needed to reduce terms to normal forms. Establishing complexity bounds to this measure is a well-known problem in the rewriting community. A vast majority of techniques to find such bounds consist of modifying termination proofs in order to recover complexity information. This has been done for instance with semantic interpretations, recursive path orders, and dependency pairs. In this paper, we follow the same program by tailoring tuple interpretations to deal with innermost complexity analysis. A tuple interpretation interprets terms as tuples holding upper bounds to the cost of reduction and size of normal forms. In contrast with the full rewriting setting, the strongly monotonic requirement for cost components is dropped when reductions are innermost. This weakened requirement on cost tuples allows us to prove the innermost version of the compatibility result: if all rules in a term rewriting system can be strictly oriented, then the innermost rewrite relation is well-founded. We establish the necessary conditions for which tuple interpretations guarantee polynomial bounds to the runtime of compatible systems and describe a search procedure for such interpretations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。