Term Rewriting Based On Set Automaton Matching
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Apr-6-2023
- Country:
- Asia > Kazakhstan (0.04)
- North America > United States
- Texas > Bexar County
- San Antonio (0.04)
- Oregon > Multnomah County
- Portland (0.04)
- North Carolina > Orange County
- Chapel Hill (0.04)
- Texas > Bexar County
- Europe
- Czechia > Prague (0.04)
- United Kingdom > England
- Cambridgeshire > Cambridge (0.04)
- Hampshire > Southampton (0.04)
- Netherlands > North Brabant
- Eindhoven (0.04)
- Greece > Central Macedonia
- Thessaloniki (0.04)
- France > Île-de-France
- Val-de-Marne > Cachan (0.04)
- Paris > Paris (0.04)
- Genre:
- Research Report (0.40)
- Technology: