Abstract
We present a term rewriting procedure based on congruence closure that can be used with arbitrary equational theories. This procedure is motivated by the pragmatic need to handle equational theories where confluence can not be achieved. The procedure uses context free grammars to represent equivalence classes of terms. The procedure rewrites grammars rather than terms and uses congruence closure to maintain certain congruence properties of the grammar. Grammars provide concise representations of large term sets. Infinite term sets can be represented with finite grammars and exponentially large term sets can be represented with linear sized grammars. Although the procedure is primarily intended for use in nonconfluent theories, it also provides a new kind of confluence that can be used to give canonical rewriting systems for theories that are difficult to handle in other ways.
Preview
Unable to display preview. Download preview PDF.
References
Franz Baader. Rewrite systems for varieties of semigroups. In CADE-10, LNAI 449, pages 381–395. Springer-Verlag, 1990.
L. Bachmair, N. Dershowitz, and D. Plaisted. Completion without failure. In Proc. Col. on Resolulution of Equations in Algebraic Structures, 1987.
Robert S. Boyer and J Struther Moore. A Computational Logic. ACM Monograph Series. Academic Press, 1979.
Leslie P. Chew. An improved algorithm for computing with equations. In FOCS80, pages 108–117. IEEE Computer Society Press, 1980.
Peter J. Downey, Ravi Sethi, and Robert E. Tarjan. Variations on the common subexpression problem. JACM, 27(4):758–771, October 1980.
J. Hsaing and M. Rusinowitch. On word problems in equational theories. In ICALP-87, LNCS 267, pages 54–71. Springer-Verlag, 1987.
J. P. Jouannaud and H. Kirchner. Completion of a set of rules modulo a set of equations. SIAM Journal of Computing, 15:1155–1194, 1986.
Dexter C. Kozen. Complexity of finitely presented algebras. In Proceedings of the Ninth Annual ACM Symposium on the Theory of Compututation, pages 164–177, 1977.
Ursula Martin and Tobias Nipkow. Ordered rewriting and confluence. In CADE-10, LNAI 449, pages 365–380. Springer-Verlag, 1990.
J. Mezei and J. B. Wright. Algebraic automata and context free sets. Information anControl, 11:3–29, 1965.
Greg Nelson and Derek Oppen. Fast decision procedures based on congruence closure. JACM, 27(2):356–364, April 1980.
Gerald E. Peterson. Complete sets of reductions with constraints. In CADE-10, LNAI 449, pages 381–395. Springer-Verlag, 1990.
R. Shostak. An algorithm for reasoning about equality. Comm. ACM., 21(2):583–585, July 1978.
W. Thomas. Automata on infinite objects. In Handbook of Theoretical Computer Science, Volume B, Formal Methods and Semantics, pages 133–164. MIT Press, 1990.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1992 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
McAllester, D. (1992). Grammar rewriting. In: Kapur, D. (eds) Automated Deduction—CADE-11. CADE 1992. Lecture Notes in Computer Science, vol 607. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-55602-8_160
Download citation
DOI: https://doi.org/10.1007/3-540-55602-8_160
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-55602-2
Online ISBN: 978-3-540-47252-0
eBook Packages: Springer Book Archive