Skip to main content

Critical pairs in term graph rewriting

  • Contributions
  • Conference paper
  • First Online:
Mathematical Foundations of Computer Science 1994 (MFCS 1994)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 841))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 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.

    Google Scholar 

  2. A. Corradini and F. Rossi. Hyperedge replacement jungle rewriting for term rewriting systems and logic programming. Theoretical Computer Science, 109:7–48, 1993.

    Google Scholar 

  3. N. Dershowitz and J.-P. Jouannaud. Rewrite systems. In J. van Leeuwen, editor, Handbook of Theoretical Computer Science, volume B, chapter 6. Elsevier, 1990.

    Google Scholar 

  4. W. M. Farmer and R. J. Watro. Redex capturing in term graph rewriting. International Journal on Foundations of Computer Science, 1(4), 1990.

    Google Scholar 

  5. J. H. Fasel and R. M. Keller, editors. Graph Reduction. Springer Lecture Notes in Computer Science 279, 1987.

    Google Scholar 

  6. 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.

    Google Scholar 

  7. B. Hoffmann and D. Plump. Implementing term rewriting by jungle evaluation. RAIRO Theoretical Informatics and Applications, 25(5):445–472, 1991.

    Google Scholar 

  8. G. Huet. Confluent reductions: Abstract properties and applications to term rewriting systems. Journal of the ACM, 27(4):797–821, 1980.

    Google Scholar 

  9. 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.

    Google Scholar 

  10. 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.

    Google Scholar 

  11. 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.

    Google Scholar 

  12. P. Padawitz. Equational data type specifications and recursive program schemes. In Proc. Formal Descriptions of Programming Concepts-II, pages 305–328. North-Holland, 1983.

    Google Scholar 

  13. S. L. Peyton Jones. The Implementation of Functional Programming Languages. Prentice-Hall, 1987.

    Google Scholar 

  14. 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.

    Google Scholar 

  15. 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.

    Google Scholar 

  16. D. Plump. Evaluation of functional expressions by hypergraph rewriting. Dissertation, Universität Bremen, Fachbereich Mathematik und Informatik, 1993.

    Google Scholar 

  17. D. Plump. Hypergraph rewriting: Critical pairs and undecidability of confluence. In [18], chapter 15.

    Google Scholar 

  18. R. Sleep, R. Plasmeijer, and M. van Eekelen, editors. Term Graph Rewriting: Theory and Practice. John Wiley, 1993.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Igor Prívara Branislav Rovan Peter Ruzička

Rights and permissions

Reprints 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

Publish with us

Policies and ethics