高阶重写的元组解释
Tuple Interpretations for Higher-Order Rewriting
摘要:
我们开发了一类代数解释的许多排序和高阶项重写系统,需要考虑类型信息。具体而言,基类型项被映射到自然数的\emph{tuples},高阶项被映射到这些元组之间的函数。元组可以携带与类型相关的信息;例如,$\mathsf{nat}$类型的项可以与表示其评估成本和大小的对$(\mathsf{cost}, \mathsf{size})$相关联。这类解释导致了比运行时或派生复杂性更细粒度的复杂性概念,这使得它对于获得高阶重写系统的复杂性界限特别有用。我们表明,重写系统兼容元组的解释承认有限的界限上的推导高度。此外,我们演示了如何机械地构建元组的解释,以及如何定向$β$和$η$减少我们的技术。最后,我们将我们的方法与运行时的复杂性,并证明特定的解释形状意味着一定的运行时的复杂性界限。
英文摘要:
We develop a class of algebraic interpretations for many-sorted and higher-order term rewriting systems that takes type information into account. Specifically, base-type terms are mapped to \emph{tuples} of natural numbers and higher-order terms to functions between those tuples. Tuples may carry information relevant to the type; for instance, a term of type $\mathsf{nat}$ may be associated to a pair $(\mathsf{cost}, \mathsf{size})$ representing its evaluation cost and size. This class of interpretations results in a more fine-grained notion of complexity than runtime or derivational complexity, which makes it particularly useful to obtain complexity bounds for higher-order rewriting systems. We show that rewriting systems compatible with tuple interpretations admit finite bounds on derivation height. Furthermore, we demonstrate how to mechanically construct tuple interpretations and how to orient $β$ and $η$ reductions within our technique. Finally, we relate our method to runtime complexity and prove that specific interpretation shapes imply certain runtime complexity bounds.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。