arXiv · 2202.08687
Term Rewriting Based On Set Automaton Matching
Abstract
In this article we investigate how a subterm pattern matching algorithm can be exploited to implement efficient term rewriting procedures. From the left-hand sides of the rewrite system we construct a set automaton, which can be used to find all redexes in a term efficiently. We formally describe a procedure that, given a rewrite strategy, interleaves pattern matching steps and rewriting steps and thus smoothly integrates redex discovery and subterm replacement. We then present an efficient implementation that instantiates this procedure with outermost rewriting, and present the results of some experiments. Our implementation shows to be competitive with comparable tools.
Explore related subjects
Keep this discovery
Mark Bouwman, Rick Erkens. 2022-02-17. Term Rewriting Based On Set Automaton Matching. https://arxiv.org/abs/2202.08687
Cite the original work for its findings. Save a collection to share your selection of sources.