• DocumentCode
    3037087
  • Title

    Subtyping recursive types in kernel Fun

  • Author

    Colazzo, Dario ; Ghelli, Giorgio

  • Author_Institution
    Dipt. di Inf., Pisa Univ., Italy
  • fYear
    1999
  • fDate
    1999
  • Firstpage
    137
  • Lastpage
    146
  • Abstract
    The problem of defining and checking a subtype relation between recursive types was studied in Armadio and Cardelli (1993) for a first order type system, but for second order systems, which combine subtyping and parametric polymorphism, only negative results are known. This paper studies the problem of subtype checking for recursive types in system kernel Fun, a typed λ-calculus with subtyping and bounded second order polymorphism. Along the lines of Armadio and Cardelli (1993), we study the definition of a subtype relation over kernel Fun recursive types, and then we present a subtyping algorithm which is sound and complete with respect to this relation. We show that the natural extension of the techniques introduced in Armadio and Cardelli (1993) to compare first order recursive types gives a non complete algorithm. We prove the completeness and correctness of a different algorithm, which also admits an efficient implementation
  • Keywords
    lambda calculus; recursive functions; completeness; correctness; first order recursive types; kernel Fun; recursive types; typed lambda-calculus; Character generation; Java; Kernel; Open systems; Programming profession;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Logic in Computer Science, 1999. Proceedings. 14th Symposium on
  • Conference_Location
    Trento
  • ISSN
    1043-6871
  • Print_ISBN
    0-7695-0158-3
  • Type

    conf

  • DOI
    10.1109/LICS.1999.782605
  • Filename
    782605