Skip to main content

Semantics of non-terminating rewrite systems using minimal coverings

  • Conference paper
  • First Online:
Computer Science Logic (CSL 1995)

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

Included in the following conference series:

  • 119 Accesses

Abstract

We propose a new semantics for rewrite systems based on interpreting rewrite rules as inequations between terms in an ordered algebra. In particular, we show that the algebra of normal forms in a terminating system is a uniquely minimal covering of the term algebra. In the non-terminating case, the existence of this minimal covering is established in the completion of an ordered algebra formed by rewriting sequences. We thus generalize the properties of normal forms for non-terminating systems to this minimal covering. These include the existence of normal forms for arbitrary rewrite systems, and their uniqueness for confluent systems, in which case the algebra of normal forms is isomorphic to the canonical quotient algebra associated with the rules when seen as equations. This extends the benefits of algebraic semantics to systems with non-deterministic and non-terminating computations. We first study properties of abstract orders, and then instantiate these to term rewriting systems.

Supported in part by JNICT under contracts BD-1102-90/IA and Praxis XXI / BD / 4069 / 94.

The research reported in this paper has been supported in part by the Science and Engineering Research Council, the CEC under ESPRIT-2 BRA Working Groups 6071, IS-CORE (Information Systems Correctness and REusability) and 6112, COMPASS (COMPrehensive Algebraic Approach to System Specification and development), Fujitsu Laboratories Limited, and under the management of the Information Technology Promotion Agency (IPA), Japan, as part of the Industrial Science and Technology Frontier Program “New Models for Software Architectures,” sponsored by NEDO (New Energy and Industrial Technology Development Organization).

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. José Barros. Semantics of non-terminating systems through term rewriting. Technical Report PRG-TR-21-95, Programming Research Group, Oxford University, June 1995. D.Phil. Thesis. Available through FTP at ftp.comlab.ox.ac.uk/pub/Documents/techreports/TR-21-95.ps.gz.

    Google Scholar 

  2. Jan Bergstra and John Tucker. Characterization of computable data types by means of a finite equational specification method. In Automata, Languages and Programming, Seventh Colloquium, pages 76–90. Springer-Verlag, July 1980. Lecture Notes in Computer Science, Volume 85; also, Preprint IW 124, Mathematisch Centrum, Department of Computer Science, Amsterdam, November, 1979.

    Google Scholar 

  3. Steven Bloom. Varieties of ordered algebras. Journal of Computer and System Sciences, 13:200–212, 1976.

    Google Scholar 

  4. G. Boudol. Computational semantics of term rewriting systems. In Algebraic Methods in Semantics, pages 167–236. Cambridge University Press, 1985.

    Google Scholar 

  5. Y. Chen and M. O'Donnell. Infinite terms and infinite rewritings. In 2nd International Workshop on Conditional and Typed Rewriting Systems, pages 45–52, 1990.

    Google Scholar 

  6. Bruno Courcelle. Infinite trees in normal form and recursive equations having a unique solution. Mathematical Systems Theory, 13:131–180, 1979.

    Google Scholar 

  7. Nachum Dershowitz, Stephane Kaplan, and David Plaisted. Rewrite, rewrite, rewrite, .... Theoretical Computer Science, 83(1):71–96, 1991. Preliminary versions appear in Proceedings of the 16th ACM Symposium on Principles of Programming Languages, 1989 and in Proceedings of the 16th EATCS International Colloquium on Automata, Languages and Programming, Volume 372 of the Lecture Notes in Computer Science, 1989.

    Google Scholar 

  8. Joseph Goguen. How to prove algebraic inductive hypotheses without induction: with applications to the correctness of data type representations. In Proceedings, Fifth Conference on Automated Deduction, pages 356–373. Springer-Verlag, 1980. Lecture Notes in Computer Science, Volume 87.

    Google Scholar 

  9. Joseph Goguen. What is unification? — A categorical view of substitution, equation and solution. In Resolution of Equations in Algebraic Systems, volume 1. Academic Press, 1989. Preliminary version in Proceedings, Colloquium on the Resolution of Equations in Algebraic Structures, held in Lakeway, Texas, USA, May 1987.

    Google Scholar 

  10. Joseph Goguen. Theorem Proving and Algebra. MIT Press, To appear 1994.

    Google Scholar 

  11. Joseph Goguen, James Thatcher, and Eric Wagner. An initial algebra approach to the specification, correctness and implementation of abstract data types. Technical Report RC 6487, IBM Watson Research Center, October 1976. Appears in Current Trends in Programming Methodology, IV, Raymond Yeh, Ed., Prentice-Hall, 1978, pages 80–149.

    Google Scholar 

  12. Joseph Goguen, James Thatcher, Eric Wagner, and Jesse Wright. Initial algebra semantics and continuous algebras. Journal of the Association for Computing Machinery, 24(1):68–95, January 1977.

    Google Scholar 

  13. Matthew Hennessy. Algebraic Theory of Processes. MIT Press, 1988.

    Google Scholar 

  14. C. A. R. Hoare. Communicating Sequential Processes. Prentice-Hall, 1985.

    Google Scholar 

  15. Gerard Huet and Derek Oppen. Equations and rewrite rules: A survey. In Ronald Book, editor, Formal Language Theory: Perspectives and Open Problems, pages 349–405. Academic Press, 1980. Also Technical Report No. STAN-CS-80-785, Computer Science Department, Stanford University.

    Google Scholar 

  16. J. Kennaway, J. W. Klop, M. Sleep, and F. de Vries. Transfinite reductions in orthogonal term rewriting systems. Lecture Notes in Computer Science, 488:1–12, 1991. Extended abstract.

    Google Scholar 

  17. Michael Levy and T. S. E. Maibaum. Continuous data types. SIAM Journal on Computing, 11(2):201–216, 1982.

    Google Scholar 

  18. N. Martí-Oliet and José Meseguer. Rewriting logic as a logical and semantical framework. Technical report, SRI International, 1994.

    Google Scholar 

  19. José Meseguer. Conditional rewriting logic as a unified model of concurrency. Theoretical Computer Science, 96:73–155, 1992. Preliminary version appears as SRI International technical report n. SRI-CSL-90-02R.

    Google Scholar 

  20. T. Naoi and Y. Inagaki. Free continuous algebras and semantics of term rewriting systems. Technical report, Department of Information Science, Nagoya University, 1986.

    Google Scholar 

  21. Maurice Nivat. On the interpretation of polyadic recursive schemes. In Symposia Mathematica, volume 15. Academic Press, 1975.

    Google Scholar 

  22. J.-C. Raoult and Jean Vuillemin. Operational and semantic equivalence between recursive programs. Journal of the Association for Computing Machinery, 27(4):772–796, 1980.

    Google Scholar 

  23. David Turner. Miranda: A non-strict functional language with polymorphic types. In Jean-Pierre Jouannaud, editor, Functional Programming Languages and Computer Architectures, pages 1–16. Springer-Verlag, 1985. Lecture Notes in Computer Science, Volume 201.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Hans Kleine Büning

Rights and permissions

Reprints and permissions

Copyright information

© 1996 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Barros, J., Goguen, J. (1996). Semantics of non-terminating rewrite systems using minimal coverings. In: Kleine Büning, H. (eds) Computer Science Logic. CSL 1995. Lecture Notes in Computer Science, vol 1092. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-61377-3_29

Download citation

  • DOI: https://doi.org/10.1007/3-540-61377-3_29

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-61377-0

  • Online ISBN: 978-3-540-68507-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics