Optimizing Term Rewriting with Creeper Trace Transducers

Rick Erkens
DOI: https://doi.org/10.1016/j.jlamp.2024.100987
IF: 1.088
2024-06-03
Journal of Logical and Algebraic Methods in Programming
Abstract:In the context of functional programming/term normalization algorithms we discuss the optimization problem of constructing the result of a sequence of rewrite steps, without computing all the intermediate terms. From a rewrite system we construct a creeper trace transducer, which reads a sequence of backwards overlapping rewrite steps while producing the desired answer. The transducer writes each symbol of the output only once, skipping overlap between each pair of subsequent rules. In some cases a part of the trace can be disregarded altogether.
computer science, theory & methods,logic
What problem does this paper attempt to address?