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).
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
Amadio, R.M.: On stratified regions. In: Hu, Z. (ed.) APLAS 2009. LNCS, vol. 5904, pp. 210–225. Springer, Heidelberg (2009)
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/
Asperti, A., Roversi, L.: Intuitionistic light affine logic. ACM Trans. Comput. Log. 3(1), 137–175 (2002)
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)
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)
Barber, A.: Dual intuitionistic linear logic. Technical Report ECS-LFCS-96-347, The Laboratory for Foundations of Computer Science, University of Edinburgh (1996)
Boudol, G.: Typing termination in a higher-order concurrent imperative language. Inf. Comput. 208(6), 716–736 (2010)
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)
Coppola, P., Martini, S.: Optimizing optimal reduction: A type inference algorithm for elementary affine logic. ACM Trans. Comput. Log. 7, 219–260 (2006)
Danos, V., Joinet, J.-B.: Linear logic and elementary time. Inf. Comput. 183(1), 123–137 (2003)
Girard, J.-Y.: Light linear logic. Inf. Comput. 143(2), 175–204 (1998)
Lago, U.D., Martini, S., Sangiorgi, D.: Light logics and higher-order processes. In: EXPRESS 2010. EPTCS, vol. 41, pp. 46–60 (2010)
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/
Terui, K.: Light affine lambda calculus and polynomial time strong normalization. Archive for Mathematical Logic 46(3-4), 253–280 (2007)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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)