Skip to main content

Context rewriting

  • Type Systems and Graph 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

The usual definition of context as “a term with a hole” does not properly address the problems of applying rewrite rules to a context and is in particular inadequate in several respects when a context contains variable bindings. We claim that viewing TRSs as (free) preorder-enriched categories provides a smoother concept of context: on the one hand it allows to decompose a reduction step into redex (+ reduction) and context, on the other it allows to rewrite a context.

By generalising Klop's combinatory reduction systems, we can approach the problem of contexts with variable bindings in a similar way. The rewrite relation of a combinatory reduction system can be defined as the preorder of a certain free preorder-enriched category.

The research reported here was partially supported by SERC grant GR/E 78463.

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. Hendrik P. Barendregt. The Lambda-Calculus, its Syntax and Semantics. North-Holland, 1984.

    Google Scholar 

  2. Nachum Dershowitz and Jean-Pierre Jouannoud. Rewrite systems. In J. van Leeuwen, editor, Handbook of Theoretical Computer Science, chapter 6, pages 244–320. Elsevier Science Publishers, 1990.

    Google Scholar 

  3. J. R. Hindley. An Abstract Form of the Church-Rosser Theorem I. Journal of Symbolic Logic, 34(4):545–560, December 1969.

    Google Scholar 

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

    Article  Google Scholar 

  5. C. Barry Jay. Modelling reduction in confluent categories. Technical Report ECS-LFCS-91-187, University of Edinburgh, LFCS, December 1991.

    Google Scholar 

  6. Stefan Kahrs. λ-rewriting. PhD thesis, Universität Bremen, 1991. (in German).

    Google Scholar 

  7. G. M. Kelly. Basic Concepts of Enriched Category Theory, volume 64 of London Mathematical Society Lecture Notes Series. Cambridge University Press, 1982.

    Google Scholar 

  8. J.R. Kennaway. Sequential evaluation strategies for parallel-or and related reduction systems. Annals of Pure and Applied Logic, 43:31–56, 1989.

    Article  Google Scholar 

  9. Jan Willem Klop. Combinatory Reduction Systems. PhD thesis, Centrum voor Wiskunde en Informatica, 1980.

    Google Scholar 

  10. Jan Willem Klop. Term rewriting systems, a tutorial. EATCS bulletin, 32:143–183, 1987.

    Google Scholar 

  11. Dale Miller. A logic programming language with lambda-abstraction, function variables, and simple unification. In LNCS 475, pages 253–281, 1991.

    Google Scholar 

  12. Tobias Nipkow. Higher order critical pairs. In Sixth Annual Symposium on Logic in Computer Science, Amsterdam, 1991.

    Google Scholar 

  13. Benjamin C. Pierce. Basic Category Theory for Computer Scientists. MIT Press, 1991.

    Google Scholar 

  14. A. John Power. An abstract formulation for rewrite systems. In Category Theory and Computer Science, 1989. LNCS 389.

    Google Scholar 

  15. D. E. Rydeheard and J. G. Stell. Foundations of equational deduction: A categorical treatment of equational proofs and unification algorithms. In Proceedings Category Theory and Computer Science, pages 114–139. Springer, 1987. LNCS 283.

    Google Scholar 

  16. R. A. G. Seely. Modelling computations: A 2-categorical framework. In Proceedings of the Second Annual Symposium on Logic in Computer Science, pages 65–71, 1987.

    Google Scholar 

  17. W. Snyder and J. Gallier. Higher-order unification revisited: Complete sets of transformations. Journal of Symbolic Computation, 8:101–140, 1989.

    Google Scholar 

  18. Yoshihito Toyama. On the Chuch-Rosser property for the direct sum of term rewriting systems. Journal of the ACM, 34(1):128–143, 1987.

    Article  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

Kahrs, S. (1993). Context 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_2

Download citation

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

  • 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