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.
Preview
Unable to display preview. Download preview PDF.
References
Hendrik P. Barendregt. The Lambda-Calculus, its Syntax and Semantics. North-Holland, 1984.
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.
J. R. Hindley. An Abstract Form of the Church-Rosser Theorem I. Journal of Symbolic Logic, 34(4):545–560, December 1969.
Gérard Huet. Confluent reductions: Abstract properties and applications to term rewriting systems. Journal of the ACM, 27:797–821, 1980.
C. Barry Jay. Modelling reduction in confluent categories. Technical Report ECS-LFCS-91-187, University of Edinburgh, LFCS, December 1991.
Stefan Kahrs. λ-rewriting. PhD thesis, Universität Bremen, 1991. (in German).
G. M. Kelly. Basic Concepts of Enriched Category Theory, volume 64 of London Mathematical Society Lecture Notes Series. Cambridge University Press, 1982.
J.R. Kennaway. Sequential evaluation strategies for parallel-or and related reduction systems. Annals of Pure and Applied Logic, 43:31–56, 1989.
Jan Willem Klop. Combinatory Reduction Systems. PhD thesis, Centrum voor Wiskunde en Informatica, 1980.
Jan Willem Klop. Term rewriting systems, a tutorial. EATCS bulletin, 32:143–183, 1987.
Dale Miller. A logic programming language with lambda-abstraction, function variables, and simple unification. In LNCS 475, pages 253–281, 1991.
Tobias Nipkow. Higher order critical pairs. In Sixth Annual Symposium on Logic in Computer Science, Amsterdam, 1991.
Benjamin C. Pierce. Basic Category Theory for Computer Scientists. MIT Press, 1991.
A. John Power. An abstract formulation for rewrite systems. In Category Theory and Computer Science, 1989. LNCS 389.
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.
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.
W. Snyder and J. Gallier. Higher-order unification revisited: Complete sets of transformations. Journal of Symbolic Computation, 8:101–140, 1989.
Yoshihito Toyama. On the Chuch-Rosser property for the direct sum of term rewriting systems. Journal of the ACM, 34(1):128–143, 1987.
Author information
Authors and Affiliations
Editor information
Rights 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