Abstract
Extending the λ-calculus with either explicit substitution or generalised reduction has been the subject of extensive research recently which still has many open problems. Due to this reason, the properties of a calculus combining both generalised reduction and explicit substitutions have never been studied. This paper presents such a calculus λsg and shows that it is a desirable extension of the λ-calculus. In particular, we show that λsg preserves strong normalisation, is sound and it simulates classical β-reduction. Furthermore, we study the simply typed λ-calculus extended with both generalised reduction and explicit substitution and show that well-typed terms are strongly normalising and that other properties such as subtyping and subject reduction hold.
This work was carried out under EPSRC grant GR/K25014.
This is a preview of subscription content, log in via an institution.
Preview
Unable to display preview. Download preview PDF.
References
M. Abadi, L. Cardelli, P.-L. Curien, and J.-J. Lévy. Explicit Substitutions. Journal of Functional Programming, 1(4):375–416, 1991.
Z.M. Ariola, M. Felleisen, J. Maraist, M. Odersky, and P. Wadler. A call by need lambda calculus. Conf. Rec. 22nd Ann. ACM Symp. Princ. Program. Lang. ACM, 1995.
H. Barendregt. λ-calculi with types. Handbook of Logic in Computer Science, II, 1992.
Z. Benaissa, D. Briaud, P. Lescanne, and J. Rouyer-Degli. λν, a calculus of explicit substitutions which preserves strong normalisation. Personal communication, 1995.
R. Bloo. Preservation of Strong Normalisation for Explicit Substitution. Technical Report 95-08, Department of Mathematics and Computing Science, Eindhoven University of Technology, 1995.
R. Bloo, F. Kamareddine, and R. Nederpelt. The Barendregt Cube with Definitions and Generalised Reduction. Information and Computation, 126 (2):123–143, 1996.
R. Constable et al. Implementing Mathematics with the NUPRL Development System. Prentice-Hall, 1986.
P.-L. Curien. Categorical Combinators, Sequential Algorithms and Functional Programming. Pitman, 1986. Revised edition: Birkhäuser (1993).
P.-L. Curien, T. Hardin, and J.-J. Lévy. Confluence properties of weak and strong calculi of explicit substitutions. Technical Report RR 1617, INRIA, Rocquencourt, 1992.
N. G. de Bruijn. A namefree lambda calculus with facilities for internal definition of expressions and segments. Technical Report TH-Report 78-WSK-03, Department of Mathematics, Eindhoven University of Technology, 1978.
P. de Groote. The conservation theorem revisited. Int'l Conf. Typed Lambda Calculi and Applications LNCS, 664, 1993.
G. Dowek et al. The coq proof assistant version 5.6, users guide. Technical Report 134, INRIA, 1991.
F. Kamareddine. A reduction relation for which postponement of k-contractions, conservation and preservation of strong normalisation hold. Technical report, Glasgow University, 1996.
F. Kamareddine and R. Nederpelt. A useful λ-notation. Theoretical Computer Science, 155:85–109, 1996.
F. Kamareddine and R. P. Nederpelt. On stepwise explicit substitution. International Journal of Foundations of Computer Science, 4(3):197–240, 1993.
F. Kamareddine and R. P. Nederpelt. Generalising reduction in the λ-calculus. Journal of Functional Programming, 5(4):637–651, 1995.
F. Kamareddine and A. Ríos. A λ-calculus à la de Bruijn with explicit substitutions. Proceedings of PLILP'95. LNCS, 982:45–62, 1995.
F. Kamareddine and A. Ríos. The λs-calculus: its typed and its extended versions. Technical report, Department of Computing Science, University of Glasgow, 1995.
F. Kamareddine and A. Ríos. Extending a λ-calculus with Explicit Substitution which preserves Strong Normalisation into a Confluent Calculus on Open Terms. Journal of Functional Programming, 1996. To appear.
F. Kamareddine and A. Ríos. Generalised β-reduction and explicit substitutions. Technical Report TR-1996-21, Department of Computing Science, University of Glasgow, 1996.
M. Karr. Delayability in proofs of strong normalizability in the typed λ-calculus. Mathematical Foundations of Computer Software, LNCS, 185, 1985.
A.J. Kfoury, J. Tiuryn, and P. Urzyczyn. An analysis of ML typability. ACM, 41(2):368–398, 1994.
A.J. Kfoury and J.B. Wells. A direct algorithm for type inference in the rank-2 fragment of the second order λ-calculus. Proc. 1994 ACM Conf. LISP Funct. Program., 1994.
A.J. Kfoury and J.B. Wells. Addendum to new notions of reduction and nonsemantic proofs of β-strong normalisation in typed λ-calculi. Technical report, Boston University, 1995.
A.J. Kfoury and J.B. Wells. New notions of reductions and non-semantic proofs of β-strong normalisation in typed λ-calculi. LICS, 1995.
Z. Khasidashvili. The longest perpetual reductions in orthogonal expression reduction systems. Proc. of the 3rd International Conference on Logical Foundations of Computer Science, Logic at St Petersburg, 813, 1994.
J. W. Klop. Combinatory Reduction Systems. Mathematical Center Tracts, 27, 1980.
P.-A. Melliès. Typed λ-calculi with explicit substitutions may not terminate in Proceedings of TLCA'95. LNCS, 902, 1995.
C. A. Muñoz Hurtado. Confluence and preservation of strong normalisation in an explicit substitutions calculus. Technical Report 2762, INRIA, Rocquencourt, December 1995.
R. P. Nederpelt, J. H. Geuvers, and R. C. de Vrijer. Selected papers on Automath. North-Holland, Amsterdam, 1994.
S.L. Peyton-Jones. The Implementation of Functional Programming Languages. Prentice-Hall, 1987.
L. Regnier. Lambda calcul et réseaux. PhD thesis, Paris 7, 1992.
L. Regnier. Une équivalence sur les lambda termes. Theoretical Computer Science, 126:281–292, 1994.
A. Ríos. Contribution à l'étude des λ-calculs avec substitutions explicites. PhD thesis, Université de Paris 7, 1993.
A. Sabry and M. Felleisen. Reasoning about programs in continuation-passing style. Proc. 1992 ACM Conf. LISP Funct. Program., pages 288–298, 1992.
M. Sørensen. Strong normalisation from weak normalisation in typed λ-calculi. Submitted.
D. Vidal. Nouvelles notions de réduction en lambda calcul. PhD thesis, Université de Nancy 1, 1989.
H. Xi. On weak and strong normalisations. Technical Report 96-187, Carnegie Mellon University, 1996.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1996 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Kamareddine, F., Ríos, A. (1996). Generalized β-reduction and explicit substitutions. In: Kuchen, H., Doaitse Swierstra, S. (eds) Programming Languages: Implementations, Logics, and Programs. PLILP 1996. Lecture Notes in Computer Science, vol 1140. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-61756-6_98
Download citation
DOI: https://doi.org/10.1007/3-540-61756-6_98
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-61756-3
Online ISBN: 978-3-540-70654-0
eBook Packages: Springer Book Archive