Tuple Interpretations for Higher-Order Rewriting

05/03/2021
βˆ™
by   Deivid Vale, et al.
βˆ™
0
βˆ™

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 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 𝗇𝖺𝗍 may be associated to a pair (π–Όπ—ˆπ—Œπ—, π—Œπ—‚π—“π–Ύ) 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.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset