Abstract
It is well known, that simply-typed λ-terms can be used to represent numbers, as well as some other data types. We prove, however, that in a λ-term of a fixed type we can store only a fixed number of natural numbers, in such a way that they can be extracted using λ-terms. More precisely, while representing k numbers in a closed λ-term of some type we only require that there are k closed λ-terms M 1,…,M k such that M i takes as argument the λ-term representing the k-tuple, and returns the i-th number in the tuple (we do not require that, using λ-calculus, one can construct the representation of the k-tuple out of the k numbers in the tuple). Moreover, the same result holds when we allow that the numbers can be extracted approximately, up to some error (even when we only want to know whether a set is bounded or not).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Barendregt, H., Dekkers, W., Statman, R.: Lambda calculus with types. In: Perspectives in Logic. Cambridge University Press (2013)
Parys, P.: On the significance of the collapse operation. In: LICS, pp. 521–530. IEEE (2012)
Kobayashi, N.: Pumping by typing. In: LICS, pp. 398–407. IEEE Computer Society (2013)
Schwichtenberg, H.: Definierbare funktionen im lambda-kalkl mit typen. Archiv Logic Grundlagenforsch 17, 113–114 (1976)
Statman, R.: The typed lambda-calculus is not elementary recursive. Theor. Comput. Sci. 9, 73–81 (1979)
Zaionc, M.: Word operation definable in the typed lambda-calculus. Theor. Comput. Sci. 52, 1–14 (1987)
Krivine, J.L.: A call-by-name lambda-calculus machine. Higher-Order and Symbolic Computation 20(3), 199–207 (2007)
Lang, M.: Resource-bounded reachability on pushdown systems. Master’s thesis, RWTH Aachen (2011)
Chatterjee, K., Fijalkow, N.: Infinite-state games with finitary conditions. In: Rocca, S.R.D. (ed.) CSL. LIPIcs, vol. 23, pp. 181–196. Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik (2013)
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
Parys, P. (2014). How Many Numbers Can a Lambda-Term Contain?. In: Codish, M., Sumii, E. (eds) Functional and Logic Programming. FLOPS 2014. Lecture Notes in Computer Science, vol 8475. Springer, Cham. https://doi.org/10.1007/978-3-319-07151-0_19
Download citation
DOI: https://doi.org/10.1007/978-3-319-07151-0_19
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-07150-3
Online ISBN: 978-3-319-07151-0
eBook Packages: Computer ScienceComputer Science (R0)