Abstract
F≤ is a type system used to study the integration of inclusion and parametric polymorphism. F≤ does not include a notion of recursive types, but extensions of F≤ with recursive types are widely used as a basis for foundational studies about the type systems of functional and object-oriented languages. In this paper we show that adding recursive types results in a non conservative extension of the system. This means that the algorithm for F≤ subtyping (the kernel of the algorithm for F≤ typing) is no longer complete for the extended system, even when it is applied only to judgements where no recursive type appears, and that most of the proofs of known properties of F≤ do not hold for the extended system; this is the case, for example, for Pierce's proof of undecidability of F≤. However, we prove that this non conservativity is limited to a very special class of subtyping judgements, the “diverging judgements” introduced in [Ghe]. This last result implies that the extension of F≤ with recursive types could be still useful for practical purposes.
This work was carried out with the partial support of E.E.C., Esprit Basic Research Action 6309 FIDE2 and of “Progetto Finalizzato Sistemi Informatici e Calcolo Parallelo” of the Italian National Research Council under grant No.91.00877.PF69.
Preview
Unable to display preview. Download preview PDF.
References
R. Amadio, L. Cardelli, Subtyping Recursive Types, DEC SRC Research Report 62, short version in Proc. of the 18th ACM Symposium on Principles of Programming Languages, 104–118, 1991.
K. Bruce, G. Longo, A Modest Model of Records, Inheritance and Bounded Quantification, Information and Computation 87 (1/2), 196–240, 1990.
L. Cardelli, Fsub: the System, note, 1991.
L. Cardelli, G. Longo, A Semantic Basis for Quest, DEC SRC Research Report 55, short version in Proc. Conf. on Lisp and Functional Programming, Nice, 1990.
L. Cardelli, S. Martini, J. Mitchell, A. Scedrov, An Extension of System F with Subtyping, Proc. Conference on Theoretical Aspects of Computer Software, Sendai, Japan, Springer-Verlag, Berlin, LNCS 526,1991.
L. Cardelli, P. Wegner, On Understanding Types, Data Abstraction and Polymorphism, ACM Computing Surveys 17(4), 471–522,1985.
P.-L. Curien, G. Ghelli, Coherence of Subsumption in F≤, Minimum Typing and Type Checking, Mathematical Structures in Computer Science 2(1), 55–91, 1992.
P.-L. Curien, G. Ghelli, Subtyping + Extensionality: Confluence of ßηtop≤ in F≤, extended abstract, Proc. Conference on Theoretical Aspects of Computer Software, Sendai, Japan, Springer-Verlag, Berlin, LNCS 526, 731–749,1991.
G. Ghelli, Divergence of F≤Type-checking, note, 1991.
G. Ghelli, B. Pierce, Bounded Existentials and Minimal Typing, note, 1992.
G. Ghelli, Proof-theoretic Studies about a Minimal Type System Integrating Inclusion and Parametric Polymorphism, PhD Thesis, TD-6/90, Univ. of Pisa, 1990.
D. Katiyar, S. Sankar, Completely bounded quantification is decidable, Proc. of the ACM SIGPLAN Workshop on ML and its Applications, 1992.
B. Pierce, Bounded Quantification is Undecidable, Proc. of the 19th ACM Symposium on Principles of Programming Languages, 305–315, 1992.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1993 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Ghelli, G. (1993). Recursive types are not conservative over F≤. 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/BFb0037104
Download citation
DOI: https://doi.org/10.1007/BFb0037104
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