Abstract
We introduce an intersection and union type system for the λμ-calculus, which includes a restricted version of the traditional union-elimination rule. We give a translation from intersection and union types into intersection and product types, which is a variant of negative translation from classical logic to intuitionistic logic and naturally reflects the structure of strict intersection and union types. It is shown that a derivation in our type system can be translated into a derivation in the type system of van Bakel, Barbanera and de’Liguoro. As a corollary, the terms typable in our system turn out to be strongly normalising. We also present an intersection and union type system in the style of sequent calculus, and show that the terms typable in the system coincide with the strongly normalising terms of the \(\overline\lambda\) μ-calculus, a call-by-name fragment of Curien and Herbelin’s \(\overline\lambda\mu\widetilde{\mu}\)-calculus.
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
van Bakel, S.: Complete restrictions of the intersection type discipline. Theor. Comput. Sci. 102(1), 135–163 (1992)
van Bakel, S.: Completeness and partial soundness results for intersection and union typing for \(\overline\lambda\mu\widetilde{\mu}\). Ann. Pure Appl. Logic 161(11), 1400–1430 (2010)
van Bakel, S.: Sound and complete typing for λμ. In: Proc. ITRS 2010. EPTCS, vol. 45, pp. 31–44 (2011)
van Bakel, S.: Strict intersection types for the lambda calculus. ACM Comput. Surv. 43(3) (2011)
van Bakel, S., Barbanera, F., de’Liguoro, U.: A filter model for the λμ-calculus. In: Ong, L. (ed.) TLCA 2011. LNCS, vol. 6690, pp. 213–228. Springer, Heidelberg (2011)
van Bakel, S., Barbanera, F., de’Liguoro, U.: Characterisation of strongly normalising λμ-terms. In: Proc. ITRS 2012. EPTCS, vol. 121, pp. 1–17 (2013)
Barbanera, F., Berardi, S.: A symmetric lambda calculus for classical program extraction. Inform. and Comput. 125(2), 103–117 (1996)
Barbanera, F., Dezani-Ciancaglini, M., de’Liguoro, U.: Intersection and union types: Syntax and semantics. Inform. and Comput. 119(2), 202–230 (1995)
Curien, P.-L., Herbelin, H.: The duality of computation. In: Proc. ICFP 2000, pp. 233–243 (2000)
Dougherty, D., Ghilezan, S., Lescanne, P.: Characterizing strong normalization in a language with control operators. In: Proc. PPDP 2004, pp. 155–166 (2004)
Dougherty, D., Ghilezan, S., Lescanne, P.: Intersection and union types in the \(\overline\lambda\mu\widetilde{\mu}\)-calculus. Electr. Notes Theor. Comput. Sci. 136, 153–172 (2005)
Dougherty, D., Ghilezan, S., Lescanne, P.: Characterizing strong normalization in the Curien-Herbelin symmetric lambda calculus: Extending the Coppo-Dezani heritage. Theor. Comput. Sci. 398(1-3), 114–128 (2008)
Dunfield, J., Pfenning, F.: Type assignment for intersections and unions in call-by-value languages. In: Gordon, A.D. (ed.) FOSSACS 2003. LNCS, vol. 2620, pp. 250–266. Springer, Heidelberg (2003)
Griffin, T.: A formulae-as-types notion of control. In: Proc. POPL 1990, pp. 47–58 (1990)
Herbelin, H.: A λ-calculus structure isomorphic to Gentzen-style sequent calculus structure. In: Pacholski, L., Tiuryn, J. (eds.) CSL 1994. LNCS, vol. 933, pp. 61–75. Springer, Heidelberg (1995)
Herbelin, H.: Séquents qu’on calcule. Thèse de Doctorat, Université Paris 7 (1995)
Kikuchi, K., Sakurai, T.: A translation of intersection and union types for the λμ-calculus (long version), http://www.nue.riec.tohoku.ac.jp/user/kentaro/
Laurent, O.: On the denotational semantics of the untyped lambda-mu calculus. Unpublished note (January 2004)
Parigot, M.: λμ-calculus: An algorithmic interpretation of classical natural deduction. In: Voronkov, A. (ed.) LPAR 1992. LNCS, vol. 624, pp. 190–201. Springer, Heidelberg (1992)
Riba, C.: On the values of reducibility candidates. In: Curien, P.-L. (ed.) TLCA 2009. LNCS, vol. 5608, pp. 264–278. Springer, Heidelberg (2009)
Streicher, T., Reus, B.: Classical logic, continuation semantics and abstract machines. J. Funct. Program. 8(6), 543–572 (1998)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2014 Springer International Publishing Switzerland
About this paper
Cite this paper
Kikuchi, K., Sakurai, T. (2014). A Translation of Intersection and Union Types for the λμ-Calculus. In: Garrigue, J. (eds) Programming Languages and Systems. APLAS 2014. Lecture Notes in Computer Science, vol 8858. Springer, Cham. https://doi.org/10.1007/978-3-319-12736-1_7
Download citation
DOI: https://doi.org/10.1007/978-3-319-12736-1_7
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-12735-4
Online ISBN: 978-3-319-12736-1
eBook Packages: Computer ScienceComputer Science (R0)