TY - JOUR
T1 - Optimizing term rewriting with creeper trace transducers
AU - Erkens, Rick
N1 - Publisher Copyright:
© 2024 The Author(s)
PY - 2024/10
Y1 - 2024/10
N2 - 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.
AB - 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.
KW - Optimization
KW - Term rewriting
KW - Transducers
UR - http://www.scopus.com/inward/record.url?scp=85194870097&partnerID=8YFLogxK
U2 - 10.1016/j.jlamp.2024.100987
DO - 10.1016/j.jlamp.2024.100987
M3 - Article
AN - SCOPUS:85194870097
SN - 2352-2208
VL - 141
JO - Journal of Logical and Algebraic Methods in Programming
JF - Journal of Logical and Algebraic Methods in Programming
M1 - 100987
ER -