Abstract
We consider the call-by-value λ-calculus extended with a may-convergent non-deterministic choice and a must-convergent parallel composition. Inspired by recent works on the relational semantics of linear logic and non-idempotent intersection types, we endow this calculus with a type system based on the so-called Girard’s second translation of intuitionistic logic into linear logic. We prove that a term is typable if and only if it is converging, and that its typing tree carries enough information to give a bound on the length of its lazy call-by-value reduction. Moreover, when the typing tree is minimal, such a bound becomes the exact length of the reduction.
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., Curien, P.L.: Domains and Lambda-Calculi. Cambridge Tracts in Theoretical Computer Science, vol. 46. Cambridge University Press (1998)
Arrighi, P., Díaz-Caro, A.: A System F accounting for scalars. Logical Methods in Computer Science 8(1:11) (2012)
Arrighi, P., Díaz-Caro, A., Valiron, B.: A type system for the vectorial aspects of the linear-algebraic λ-calculus. In: DCM 2011. EPTCS, vol. 88, pp. 1–15 (2012)
Arrighi, P., Dowek, G.: Linear-Algebraic λ-Calculus: Higher-Order, Encodings, and Confluence. In: Voronkov, A. (ed.) RTA 2008. LNCS, vol. 5117, pp. 17–31. Springer, Heidelberg (2008)
Barendregt, H.: The lambda calculus: its syntax and semantics. North-Holland, Amsterdam (1984)
Bernadet, A., Lengrand, S.: Complexity of Strongly Normalising λ-Terms via Non-idempotent Intersection Types. In: Hofmann, M. (ed.) FOSSACS 2011. LNCS, vol. 6604, pp. 88–107. Springer, Heidelberg (2011)
Boudol, G.: Lambda-calculi for (strict) parallel functions. Information and Computation 108(1), 51–127 (1994)
Breuvart, F.: On the discriminating power of tests in the resource λ-calculus (submitted), Draft available at http://hal.archives-ouvertes.fr/hal-00698609
Bucciarelli, A., Ehrhard, T., Manzonetto, G.: A relational semantics for parallelism and non-determinism in a functional setting. APAL 163(7), 918–934 (2012)
Coppo, M., Dezani-Ciancaglini, M.: A new type-assignment for λ-terms. Archiv für Math. Logik 19, 139–156 (1978)
de Carvalho, D.: Execution time of lambda-terms via denotational semantics and intersection types. INRIA Report RR-6638, http://hal.inria.fr/inria-00319822/PDF/RR-6638.pdf , To appear in Math. Struct. in Comp. Sci. (2008)
Dezani-Ciancaglini, M., de’Liguoro, U., Piperno, A.: Filter models for conjunctive-disjunctive lambda-calculi. Theor. Comp. Sci. 170(1-2), 83–128 (1996)
Dezani-Ciancaglini, M., de’Liguoro, U., Piperno, A.: A filter model for concurrent lambda-calculus. SIAM J. Comput. 27(5), 1376–1419 (1998)
Ehrhard, T.: Collapsing non-idempotent intersection types. In: CSL 2012. LIPIcs, vol. 16, pp. 259–273 (2012)
Girard, J.Y.: Linear logic. Theoretical Computer Science 50, 1–102 (1987)
Krivine, J.L.: Lambda-calcul: types et modèles. Études et recherches en informatique, Masson (1990)
Laurent, O.: Étude de la polarisation en logique. PhD thesis, Université de Aix-Marseille II, France (2002)
Manzonetto, G.: A General Class of Models of \(\mathcal{H}^*\). In: Královič, R., Niwiński, D. (eds.) MFCS 2009. LNCS, vol. 5734, pp. 574–586. Springer, Heidelberg (2009)
Maraist, J., Odersky, M., Turner, D.N., Wadler, P.: Call-by-name, call-by-value, call-by-need and the linear λ-calculus. Theor. Comp. Sci. 228(1-2), 175–210 (1999)
Pagani, M., Ronchi Della Rocca, S.: Linearity, non-determinism and solvability. Fundam. Inform. 103(1-4), 173–202 (2010)
Plotkin, G.D.: Call-by-name, call-by-value and the λ-calculus. Theor. Comp. Sci. 1(2), 125–159 (1975)
Sallé, P.: Une généralisation de la théorie de types en λ-calcul. RAIRO: Informatique Théorique 14(2), 143–167 (1980)
Vaux, L.: The algebraic lambda calculus. Math. Struct. in Comp. Sci. 19(5), 1029–1059 (2009)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Díaz-Caro, A., Manzonetto, G., Pagani, M. (2013). Call-by-Value Non-determinism in a Linear Logic Type Discipline. In: Artemov, S., Nerode, A. (eds) Logical Foundations of Computer Science. LFCS 2013. Lecture Notes in Computer Science, vol 7734. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-35722-0_12
Download citation
DOI: https://doi.org/10.1007/978-3-642-35722-0_12
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-35721-3
Online ISBN: 978-3-642-35722-0
eBook Packages: Computer ScienceComputer Science (R0)