Discrete Mathematics & Theoretical Computer Science, Vol 2 (1998)

Font Size:  Small  Medium  Large

SOUR graphs for efficient completion

Christopher Lynch, Polina Strogova

Abstract


We introduce a data structure called SOUR graphs and present an efficient Knuth-Bendix completion procedure based on it. SOUR graphs allow for a maximal structure sharing of terms in rewriting systems. The term representation is a dag representation, except that edges are labelled with equational constraints and variable renamings. The rewrite rules correspond to rewrite edges, the unification problems to unification edges. The Critical Pair and Simplification inferences are recognized as patterns in the graph and are performed as local graph transformations. Our algorithm avoids duplicating term structure while performing inferences, which causes exponential behavior in the standard procedure. This approach gives a basis to design other completion algorithms, such as goal-oriented completion, concurrent completion and group completion procedures.

Full Text: GZIP Compressed PostScript PostScript PDF original HTML abstract page