Skip to main content

A Translation of Intersection and Union Types for the λμ-Calculus

  • Conference paper
Programming Languages and Systems (APLAS 2014)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 8858))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. van Bakel, S.: Complete restrictions of the intersection type discipline. Theor. Comput. Sci. 102(1), 135–163 (1992)

    Article  MATH  Google Scholar 

  2. 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)

    Article  MathSciNet  MATH  Google Scholar 

  3. van Bakel, S.: Sound and complete typing for λμ. In: Proc. ITRS 2010. EPTCS, vol. 45, pp. 31–44 (2011)

    Google Scholar 

  4. van Bakel, S.: Strict intersection types for the lambda calculus. ACM Comput. Surv. 43(3) (2011)

    Google Scholar 

  5. 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)

    Google Scholar 

  6. van Bakel, S., Barbanera, F., de’Liguoro, U.: Characterisation of strongly normalising λμ-terms. In: Proc. ITRS 2012. EPTCS, vol. 121, pp. 1–17 (2013)

    Google Scholar 

  7. Barbanera, F., Berardi, S.: A symmetric lambda calculus for classical program extraction. Inform. and Comput. 125(2), 103–117 (1996)

    Article  MathSciNet  MATH  Google Scholar 

  8. Barbanera, F., Dezani-Ciancaglini, M., de’Liguoro, U.: Intersection and union types: Syntax and semantics. Inform. and Comput. 119(2), 202–230 (1995)

    Google Scholar 

  9. Curien, P.-L., Herbelin, H.: The duality of computation. In: Proc. ICFP 2000, pp. 233–243 (2000)

    Google Scholar 

  10. Dougherty, D., Ghilezan, S., Lescanne, P.: Characterizing strong normalization in a language with control operators. In: Proc. PPDP 2004, pp. 155–166 (2004)

    Google Scholar 

  11. 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)

    Article  MathSciNet  Google Scholar 

  12. 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)

    Article  MathSciNet  MATH  Google Scholar 

  13. 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)

    Chapter  Google Scholar 

  14. Griffin, T.: A formulae-as-types notion of control. In: Proc. POPL 1990, pp. 47–58 (1990)

    Google Scholar 

  15. 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)

    Chapter  Google Scholar 

  16. Herbelin, H.: Séquents qu’on calcule. Thèse de Doctorat, Université Paris 7 (1995)

    Google Scholar 

  17. 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/

  18. Laurent, O.: On the denotational semantics of the untyped lambda-mu calculus. Unpublished note (January 2004)

    Google Scholar 

  19. 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)

    Chapter  Google Scholar 

  20. Riba, C.: On the values of reducibility candidates. In: Curien, P.-L. (ed.) TLCA 2009. LNCS, vol. 5608, pp. 264–278. Springer, Heidelberg (2009)

    Chapter  Google Scholar 

  21. Streicher, T., Reus, B.: Classical logic, continuation semantics and abstract machines. J. Funct. Program. 8(6), 543–572 (1998)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics