Abstract
Term graphs represent functional expressions such that common subexpressions can be shared, making expression evaluation more efficient than with strings or trees. Rewriting of term graphs proceeds by both applications of term rewrite rules and folding steps which enhance the degree of sharing. The present paper introduces critical pairs in term graph rewriting and establishes a Critical Pair Lemma as an analogue to the well-known result in term rewriting. This leads to a decision procedure for confluence in the presence of termination. As a by-product, the procedure can be used as a confluence test for term rewriting and as such it extends the classical test of Knuth and Bendix because it applies to all terminating and to certain non-terminating term rewriting systems.
Research partially supported by ESPRIT Basic Research Working Group 6112, COMPASS.
Preview
Unable to display preview. Download preview PDF.
References
H. Barendregt, M. van Eekelen, J. Glauert, R. Kennaway, R. Plasmeijer, and R. Sleep. Term graph rewriting. In Proc. Parallel Architectures and Languages Europe, pages 141–158. Springer Lecture Notes in Computer Science 259, 1987.
A. Corradini and F. Rossi. Hyperedge replacement jungle rewriting for term rewriting systems and logic programming. Theoretical Computer Science, 109:7–48, 1993.
N. Dershowitz and J.-P. Jouannaud. Rewrite systems. In J. van Leeuwen, editor, Handbook of Theoretical Computer Science, volume B, chapter 6. Elsevier, 1990.
W. M. Farmer and R. J. Watro. Redex capturing in term graph rewriting. International Journal on Foundations of Computer Science, 1(4), 1990.
J. H. Fasel and R. M. Keller, editors. Graph Reduction. Springer Lecture Notes in Computer Science 279, 1987.
J. Goguen, C. Kirchner, and J. Meseguer. Concurrent term rewriting as a model of computation. In Proc. Graph Reduction, pages 53–93. Springer Lecture Notes in Computer Science 279, 1987.
B. Hoffmann and D. Plump. Implementing term rewriting by jungle evaluation. RAIRO Theoretical Informatics and Applications, 25(5):445–472, 1991.
G. Huet. Confluent reductions: Abstract properties and applications to term rewriting systems. Journal of the ACM, 27(4):797–821, 1980.
J.-P. Jouannaud, H. Kirchner, and J.-L. Rémy. Church-rosser properties of weakly terminating term rewriting systems. In Proc. International Joint Conference on Artificial Intelligence'83, pages 909–915, 1983.
J. W. Klop. Term rewriting systems. In S. Abramsky, D. M. Gabbay, and T. Maibaum, editors, Handbook of Logic in Computer Science, volume 2, pages 1–116. Oxford University Press, 1992.
D. E. Knuth and P. B. Bendix. Simple word problems in universal algebras. In J. Leech, editor, Computational Problems in Abstract Algebras, pages 263–297. Pergamon Press, 1970.
P. Padawitz. Equational data type specifications and recursive program schemes. In Proc. Formal Descriptions of Programming Concepts-II, pages 305–328. North-Holland, 1983.
S. L. Peyton Jones. The Implementation of Functional Programming Languages. Prentice-Hall, 1987.
D. A. Plaisted. Equational reasoning and term rewriting systems. In D. M. Gabbay and J. Siekmann, editors, Handbook of Logic in Artificial Intelligence and Logic Programming, volume 1. Oxford University Press, 1993.
D. Plump. Collapsed tree rewriting: Completeness, confluence, and modularity. In Proc. Conditional Term Rewriting Systems, pages 97–112. Springer Lecture Notes in Computer Science 656, 1993.
D. Plump. Evaluation of functional expressions by hypergraph rewriting. Dissertation, Universität Bremen, Fachbereich Mathematik und Informatik, 1993.
D. Plump. Hypergraph rewriting: Critical pairs and undecidability of confluence. In [18], chapter 15.
R. Sleep, R. Plasmeijer, and M. van Eekelen, editors. Term Graph Rewriting: Theory and Practice. John Wiley, 1993.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1994 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Plump, D. (1994). Critical pairs in term graph rewriting. In: Prívara, I., Rovan, B., Ruzička, P. (eds) Mathematical Foundations of Computer Science 1994. MFCS 1994. Lecture Notes in Computer Science, vol 841. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-58338-6_102
Download citation
DOI: https://doi.org/10.1007/3-540-58338-6_102
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-58338-7
Online ISBN: 978-3-540-48663-3
eBook Packages: Springer Book Archive