Abstract
We present an extension of the λ(η)-calculus with a case construct that propagates through functions like a head linear substitution, and show that this construction permits to recover the expressiveness of ML-style pattern matching. We then prove that this system enjoys the Church-Rosser property using a semi-automatic ‘divide and conquer’ technique by which we determine all the pairs of commuting subsystems of the formalism (considering all the possible combinations of the nine primitive reduction rules). Finally, we prove a separation theorem similar to Böhm’s theorem for the whole formalism.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Arbiser, A., Miquel, A., Ríos, A.: A λ-calculus with constructors. Available from the web pages of the authors (manuscript, 2006)
Baader, F., Nipkow, T.: Rewriting and All That. Addison-Wesley, Reading (1999)
Barendregt, H.: The Lambda Calculus: Its Syntax and Semantics. Studies in Logic and The Foundations of Mathematics, vol. 103. North-Holland, Amsterdam (1984)
Böhm, C., Dezani-Ciancaglini, M., Peretti, P., Ronchi Della Rocha, S.: A discrimination algorithm inside lambda-beta-calculus. Theoretical Computer Science 8(3), 265–291 (1979)
Cerrito, S., Kesner, D.: Pattern matching as cut elimination. In: Logics In Computer Science (LICS 1999), pp. 98–108 (1999)
Church, A.: The calculi of lambda-conversion. Annals of Mathematical Studies, vol. 6. Princeton University Press, Princeton (1941)
Cirstea, H., Kirchner, C.: Rho-calculus, the rewriting calculus. In: 5th International Workshop on Constraints in Computational Logics (1998)
Girard, J.-Y.: Locus solum: From the rules of logic to the logic of rules. Mathematical Structures in Computer Science 11(3), 301–506 (2001)
Barry Jay, C.: The pattern calculus. ACM Transactions on Programming Languages and Systems 26(6), 911–937 (2004)
Peyton Jones, S., et al.: The Revised Haskell 98 Report. Cambridge Univ. Press, Cambridge (2003), Also on: http://haskell.org/
Kahl, W.: Basic Pattern Matching Calculi: A Fresh View on Matching Failure. In: Kameyama, Y., Stuckey, P.J. (eds.) FLOPS 2004. LNCS, vol. 2998, pp. 276–290. Springer, Heidelberg (2004)
Milner, R., Tofte, M., Harper, R.: The definition of Standard ML. MIT Press, Cambridge (1990)
The Objective Caml language, http://caml.inria.fr/
van Oostrom, V.: Lambda calculus with patterns. Technical Report IR-228, Vrije Universiteit, Amsterdam (1990)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Arbiser, A., Miquel, A., Ríos, A. (2006). A Lambda-Calculus with Constructors. In: Pfenning, F. (eds) Term Rewriting and Applications. RTA 2006. Lecture Notes in Computer Science, vol 4098. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11805618_14
Download citation
DOI: https://doi.org/10.1007/11805618_14
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-36834-2
Online ISBN: 978-3-540-36835-9
eBook Packages: Computer ScienceComputer Science (R0)