Advertisement

Recursive types are not conservative over F≤

Extended abstract
  • Giorgio Ghelli
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 664)

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.

Keywords

Extended System Proof Tree Compatible Relation Deduction Rule Transitivity Rule 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. [AmCa]
    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.Google Scholar
  2. [BrLo]
    K. Bruce, G. Longo, A Modest Model of Records, Inheritance and Bounded Quantification, Information and Computation 87 (1/2), 196–240, 1990.Google Scholar
  3. [Ca]
    L. Cardelli, Fsub: the System, note, 1991.Google Scholar
  4. [CaLo]
    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.Google Scholar
  5. [CaMaMiSce]
    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.Google Scholar
  6. [CaWe]
    L. Cardelli, P. Wegner, On Understanding Types, Data Abstraction and Polymorphism, ACM Computing Surveys 17(4), 471–522,1985.Google Scholar
  7. [CuGhe]
    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.Google Scholar
  8. [CuGhe2]
    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.Google Scholar
  9. [Ghe]
    G. Ghelli, Divergence of F≤Type-checking, note, 1991.Google Scholar
  10. [GhePie]
    G. Ghelli, B. Pierce, Bounded Existentials and Minimal Typing, note, 1992.Google Scholar
  11. [GheTh]
    G. Ghelli, Proof-theoretic Studies about a Minimal Type System Integrating Inclusion and Parametric Polymorphism, PhD Thesis, TD-6/90, Univ. of Pisa, 1990.Google Scholar
  12. [Ka]
    D. Katiyar, S. Sankar, Completely bounded quantification is decidable, Proc. of the ACM SIGPLAN Workshop on ML and its Applications, 1992.Google Scholar
  13. [Pie]
    B. Pierce, Bounded Quantification is Undecidable, Proc. of the 19th ACM Symposium on Principles of Programming Languages, 305–315, 1992.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 1993

Authors and Affiliations

  • Giorgio Ghelli
    • 1
  1. 1.Dipartimento di InformaticaUniversità di PisaPisaItaly

Personalised recommendations