Term Rewriting Based On Set Automaton Matching

02/17/2022
by   Mark Bouwman, et al.
2

In previous work we have proposed an efficient pattern matching algorithm based on the notion of set automaton. In this article we investigate how set automata can be exploited to implement efficient term rewriting procedures. These procedures interleave pattern matching steps and rewriting steps and thus smoothly integrate redex discovery and subterm replacement. Concretely, we propose an optimised algorithm for outermost rewriting of left-linear term rewriting systems, prove its correctness, and present the results of some implementation experiments.

READ FULL TEXT

page 1

page 3

page 5

page 15

page 19

research
11/27/2020

Adaptive Non-linear Pattern Matching Automata

Efficient pattern matching is fundamental for practical term rewrite eng...
research
11/05/2019

Fast Multiple Pattern Cartesian Tree Matching

Cartesian tree matching is the problem of finding all substrings in a gi...
research
10/16/2017

MatchPy: A Pattern Matching Library

Pattern matching is a powerful tool for symbolic computations, based on ...
research
09/29/2017

Efficient Pattern Matching in Python

Pattern matching is a powerful tool for symbolic computations. Applicati...
research
09/23/2020

GraphPi: High Performance Graph Pattern Matching through Effective Redundancy Elimination

Graph pattern matching, which aims to discover structural patterns in gr...
research
11/07/2021

Pattern-based Subterm Selection in Isabelle

This article presents a pattern-based language designed to select (a set...
research
07/28/2022

Engineering faster double-array Aho-Corasick automata

Multiple pattern matching in strings is a fundamental problem in text pr...

Please sign up or login with your details

Forgot password? Click here to reset