Analyzing Innermost Runtime Complexity Through Tuple Interpretations

03/23/2023
by   Liye Guo, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/03/2021

Tuple Interpretations for Higher-Order Rewriting

We develop a class of algebraic interpretations for many-sorted and high...
research
06/30/2022

Tuple Interpretations and Applications to Higher-Order Runtime Complexity

Tuple interpretations are a class of algebraic interpretation that subsu...
research
07/25/2023

Complexity Analysis for Call-by-Value Higher-Order Rewriting

In this short paper, we consider a form of higher-order rewriting with a...
research
04/06/2009

Dependency Pairs and Polynomial Path Orders

We show how polynomial path orders can be employed efficiently in conjun...
research
04/03/2009

The Derivational Complexity Induced by the Dependency Pair Method

We study the derivational complexity induced by the dependency pair meth...
research
03/20/2013

Handling Uncertainty during Plan Recognition in Task-Oriented Consultation Systems

During interactions with human consultants, people are used to providing...
research
09/11/2020

Repeated Recursion Unfolding for Super-Linear Speedup within Bounds

Repeated recursion unfolding is a new approach that repeatedly unfolds a...

Please sign up or login with your details

Forgot password? Click here to reset