Abstract
We investigate the Girard's calculus F ω as a “Curry style” type assignment system for pure lambda terms. We prove that the type-reconstruction problem for F ω is undecidable (even with quantification restricted to constructor variables of rank 1). In addition, we show an example of a strongly normalizable pure lambda term that is untypable in F ω.
This work is partly supported by NSF grant CCR-9113196 and by Polish KBN Grant 2 1192 91 01
Preview
Unable to display preview. Download preview PDF.
References
Barendregt, H.P., Hemerik, K., Types in lambda calculi and programming languages, Proc. ESOP'90, pp. 1–35.
Boehm, H.J., Partial polymorphic type inference is undecidable, Proc. 26th FOCS, 1985, pp. 339–345.
Coquand, T., Metamathematical investigations of a calculus of constructions, in: Logic in Computer Science (Odifreddi, ed.), Acad. Press, 1990, pp. 91–122.
Gallier, J. H., On Girard's “Candidats de Reductibilité”, in: Logic in Computer Science, (Odifreddi, ed.), Acad. Press, 1990, pp. 123–203.
Giannini, P., Ronchi Della Rocca, S., Characterization of typings in polymorphic type discipline, Proc. 3rd LICS, 1988, pp. 61–70.
Giannini, P., Ronchi Della Rocca, S., Type inference in polymorphic type discipline, Proc. Theoretical Aspects of Computer Software (Ito, Meyer, eds.), LNCS 526, Springer, Berlin, 1991, pp. 18–37.
Giannini, P., Ronchi Della Rocca, S., Honsell, F., Type inference: some results, some problems, manuscript, 1992, to appear in Fundamenta Informaticae.
Girard, J.-Y., The system F of variable types fifteen years later Theoret. Comput. Sci., 45 (1986), 159–192.
Henglein, F., A lower bound for full polymorphic type inference: Girard/Reynolds typability is DEXPTIME-hard, Technical Report RUU-CS-90-14, University of Utrecht, April 1990.
Henglein, F., Mairson, H.G., The complexity of type inference for higher-order typed lambda calculi, Proc. 18th POPL, 1991, pp. 119–130.
Kfoury, A.J. and Tiuryn, J., Type reconstruction in finite-rank fragments of the second-order λ-calculus, Information and Computation, vol. 98, No. 2, 1992, 228–257.
Kfoury, A.J., Tiuryn, J. and Urzyczyn, P., An analysis of ML typability, to appear in Journal of the ACM (preliminary version in Proc. CAAP/ESOP'90).
Kfoury, A.J., Tiuryn, J. and Urzyczyn, P., The undecidability of the semiunification problem, to appear in Information and Computation (preliminary version in Proc. STOC'90).
Kanellakis, P.C., Mitchell, J.C., Polymorphic unification and ML typing, Proc. 16th POPL, 1989, pp. 105–115.
Kanellakis, P.C., Mairson H.G.; Mitchell J.C., Unification and ML type reconstruction, Chapter 13 in Computational Logic, Essays in Honor of Alan J. Robinson, (J-L. Lassez and G. Plotkin eds), MIT Press, 1991.
Krivine, J.L., Un algorithme non typable dans le système F, F.C.R. Acad. Sci. Paris, Série I, 304 (1987), 123–126.
Leivant, D., Polymorphic type inference, Proc. 10th POPL, 1983, pp. 88–98.
Mairson, H.G., Deciding ML typability is complete for deterministic exponential time, Proc. 17th POPL, 1990, pp. 382–401.
Malecki, S., Generic terms having no polymorphic types, Proc. 17th ICALP, LNCS 443, Springer, Berlin, 1990, pp. 46–59.
Pfenning, F., Partial polymorphic type inference and higher-order unification, Proc. Lisp and Functional Programming, 1988, pp. 153–163.
Pierce, B., Dietzen, S., Michaylov, S., Programming in higher-order typed lambda calculi, Research Report CMU-CS-89-111, Carnegie-Mellon University, 1989.
Urzyczyn, P., Type reconstruction in F ω, Research Report BU-CS-92-014, Boston University, 1992.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1993 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Urzyczyn, P. (1993). Type reconstruction in Fω is undecidable. In: Bezem, M., Groote, J.F. (eds) Typed Lambda Calculi and Applications. TLCA 1993. Lecture Notes in Computer Science, vol 664. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0037122
Download citation
DOI: https://doi.org/10.1007/BFb0037122
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-56517-8
Online ISBN: 978-3-540-47586-6
eBook Packages: Springer Book Archive