Skip to main content

An Elementary Affine λ-Calculus with Multithreading and Side Effects

  • Conference paper
Typed Lambda Calculi and Applications (TLCA 2011)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 6690))

Included in the following conference series:

Abstract

Linear logic provides a framework to control the complexity of higher-order functional programs. We present an extension of this framework to programs with multithreading and side effects focusing on the case of elementary time. Our main contributions are as follows. First, we introduce a modal call-by-value λ-calculus with multithreading and side effects. Second, we provide a combinatorial proof of termination in elementary time for the language. Third, we introduce an elementary affine type system that guarantees the standard subject reduction and progress properties. Finally, we illustrate the programming of iterative functions with side effects in the presented formalism.

Work partially supported by project ANR-08-BLANC-0211-01 “COMPLICE” and the Future and Emerging Technologies (FET) programme within the Seventh Framework Programme for Research of the European Commission, under FET-Open grant number: 243881 (project CerCo).

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. Amadio, R.M.: On stratified regions. In: Hu, Z. (ed.) APLAS 2009. LNCS, vol. 5904, pp. 210–225. Springer, Heidelberg (2009)

    Chapter  Google Scholar 

  2. Amadio, R.M., Baillot, P., Madet, A.: An affine-intuitionistic system of types and effects: confluence and termination. Technical report, Laboratoire PPS (2009), http://hal.archives-ouvertes.fr/hal-00438101/

  3. Asperti, A., Roversi, L.: Intuitionistic light affine logic. ACM Trans. Comput. Log. 3(1), 137–175 (2002)

    Article  Google Scholar 

  4. Baillot, P., Gaboardi, M., Mogbil, V.: A polytime functional language from light linear logic. In: Gordon, A.D. (ed.) ESOP 2010. LNCS, vol. 6012, pp. 104–124. Springer, Heidelberg (2010)

    Chapter  Google Scholar 

  5. Baillot, P., Terui, K.: A feasible algorithm for typing in elementary affine logic. In: Urzyczyn, P. (ed.) TLCA 2005. LNCS, vol. 3461, pp. 55–70. Springer, Heidelberg (2005)

    Chapter  Google Scholar 

  6. Barber, A.: Dual intuitionistic linear logic. Technical Report ECS-LFCS-96-347, The Laboratory for Foundations of Computer Science, University of Edinburgh (1996)

    Google Scholar 

  7. Boudol, G.: Typing termination in a higher-order concurrent imperative language. Inf. Comput. 208(6), 716–736 (2010)

    Article  MATH  Google Scholar 

  8. Coppola, P., Dal Lago, U., Ronchi Della Rocca, S.: Light logics and the call-by-value lambda calculus. Logical Methods in Computer Science 4(4) (2008)

    Google Scholar 

  9. Coppola, P., Martini, S.: Optimizing optimal reduction: A type inference algorithm for elementary affine logic. ACM Trans. Comput. Log. 7, 219–260 (2006)

    Article  Google Scholar 

  10. Danos, V., Joinet, J.-B.: Linear logic and elementary time. Inf. Comput. 183(1), 123–137 (2003)

    Article  MATH  Google Scholar 

  11. Girard, J.-Y.: Light linear logic. Inf. Comput. 143(2), 175–204 (1998)

    Article  MATH  Google Scholar 

  12. Lago, U.D., Martini, S., Sangiorgi, D.: Light logics and higher-order processes. In: EXPRESS 2010. EPTCS, vol. 41, pp. 46–60 (2010)

    Google Scholar 

  13. Madet, A., Amadio, R.M.: Elementary affine λ-calculus with multithreading and side effects. Technical report, Laboratoire PPS (2011), http://hal.archives-ouvertes.fr/hal-00569095/

  14. Terui, K.: Light affine lambda calculus and polynomial time strong normalization. Archive for Mathematical Logic 46(3-4), 253–280 (2007)

    Article  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Madet, A., Amadio, R.M. (2011). An Elementary Affine λ-Calculus with Multithreading and Side Effects. In: Ong, L. (eds) Typed Lambda Calculi and Applications. TLCA 2011. Lecture Notes in Computer Science, vol 6690. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-21691-6_13

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-21691-6_13

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-21690-9

  • Online ISBN: 978-3-642-21691-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics