Skip to main content

Completeness and confluence of order-sorted term rewriting

  • Contextual Rewriting and Constrained Rewriting
  • Conference paper
  • First Online:
Conditional Term Rewriting Systems (CTRS 1992)

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

Included in the following conference series:

Abstract

We show various results for order-sorted term rewriting. We extend the result that order-sorted rewriting is complete if the rewrite system is compatible and confluent [17] by proving that order-sorted rewriting is complete if we consider the semantical sorts of the terms, i.e., we have confidence in the rewrite steps because they replace equals by equals.

In the order-sorted case the critical pair theorem [13] holds only if the rewrite system is weakly sort decreasing [16]. We show that every rewrite system can be made weakly sort decreasing by extending the expressibility of the signature by adding term declarations.

Unification with term declarations is undecidable in general [16]. We give a condition for the decidability of unification with term declarations that is considerably more general than the conditions given in [16]. We furthermore solve two open problems stated in [16]: unification in linear signatures is decidable and thus regularity of linear signatures, too.

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. Chen and J. Hsiang. Order-sorted equational specification and completion. Technical report, State University of New York at Stony Brook, 1991.

    Google Scholar 

  2. H. Comon. Completion of rewrite systems with membership constraints. Research report, CNRS-LNRI, 1991.

    Google Scholar 

  3. H. Ehrig and B. Mahr. Fundamentals of Algebraic Specification 1. Springer, 1985.

    Google Scholar 

  4. I. Gnaedig, C. Kirchner, and H. Kirchner. Equational completion in order-sorted algebras. In Proceedings of the 13th Colloquium on Trees in Algebra and Programming (CAAP), number 299 in Lecture Notes in Computer Science, pages 165–184. Springer, 1988.

    Google Scholar 

  5. M. Gogolla. Über partiell geordnete Sortennlengen und deren Anwendung zur Fehlerbehandlung in abstrakten Datentypen. PhD thesis, Naturwissenschaftliche Fakultät der Technischen Universität Braunschweig, 1986.

    Google Scholar 

  6. J. A. Goguen, J.-P. Jouannaud, and J. Meseguer. Operational semantics for order-sorted algebra. In W. Brauer, editor, Proceedings of the 12th International Colloquium on Automata, Languages and Programming, number 194 in Lecture Notes in Computer Science, pages 221–231. Springer, 1985.

    Google Scholar 

  7. J. A. Goguen and J. Meseguer. Completeness of many-sorted equational logic. Technical Report CSLI-84-15, Center for the Study of Language and Information, Stanford University, 1984.

    Google Scholar 

  8. J. A. Goguen and T. Winkler. Introducing OBJ3. Technical Report SRI-CSL-88-9, SRI International, 1988.

    Google Scholar 

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

    Article  Google Scholar 

  10. G. Huet and D. C. Oppen. Equations and rewrite rules: A survey. In R, Book, editor, Formal Languages: Perspectives and Open Problems, pages 349–405. Academic Press, 1980.

    Google Scholar 

  11. C. Kirchner and H. Kirchner. Order-sorted computations in G-algebra. Technical report, Centre de Recherche en Informatique de Nancy, 1991.

    Google Scholar 

  12. C. Kirchner, H. Kirchner, and J. Meseguer. Operational semantics of OBJ-3. In T. Lepistö and A. Salomaa, editors, Proceedings of the 15th International Colloquium on Automata, Languages and Programming, number 317 in Lecture Notes in Computer Science, pages 287–301. Springer, 1988.

    Google Scholar 

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

  14. A. Martelli and U. Montanari. An efficient unification algorithm. ACM Trans. Prog. Lang. Syst., 4(2):258–282, 1982.

    Google Scholar 

  15. J. Meseguer and J. A. Goguen. Initiality, induction and computability. In M. Nivat and J. C. Reynolds, editors, Algebraic Methods in Semantics. Cambridge University Press, 1985.

    Google Scholar 

  16. M. Schmidt-Schauss. Computational Aspects of an Order-Sorted Logic with Term Declarations. Number 395 in Lecture Notes in Artificial Intelligence. Springer, 1989.

    Google Scholar 

  17. G. Smolka, W. Nutt, J. A. Goguen, and J. Meseguer. Order-sorted equational computation. SEKI Report SR-87-14, Fachbereich Informatik der Universität Kaiserslautern, 1987.

    Google Scholar 

  18. U. Waldmann. Semantics of order-sorted specifications. Theoretical Comput. Sci., 94(1):1–36, 1992.

    Google Scholar 

  19. A. Werner. A semantic approach to order-sorted rewriting. unpublished, 1991.

    Google Scholar 

  20. L. With. Linear order-sorted unification. Forschungsberichte des Fachbereichs Informatik 1989-15, Technische Universität Berlin, 1989.

    Google Scholar 

  21. L. With. Multi-sort variables — a new concept for order-sorted unification. Forschungsberichte des Fachbereichs Informatik 1989-19, Technische Universität Berlin, 1989.

    Google Scholar 

  22. L. With. Completeness and confluence of order-sorted term rewriting. Forschungsberichte des Fachbereichs Informatik, Technische Universität Berlin, 1992. to appear.

    Google Scholar 

  23. L. With. Order-sorted unification with term declarations. Forschungsberichte des Fachbereichs Informatik, Technische Universität Berlin, 1992. to appear.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Michaël Rusinowitch Jean-Luc Rémy

Rights and permissions

Reprints and permissions

Copyright information

© 1993 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

With, L. (1993). Completeness and confluence of order-sorted term rewriting. In: Rusinowitch, M., Rémy, JL. (eds) Conditional Term Rewriting Systems. CTRS 1992. Lecture Notes in Computer Science, vol 656. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-56393-8_30

Download citation

  • DOI: https://doi.org/10.1007/3-540-56393-8_30

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-56393-8

  • Online ISBN: 978-3-540-47549-1

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics