Subtyping recursion and parametric polymorphism in kernel fun

Dario Colazzo, Giorgio Ghelli

Research output: Contribution to journalArticlepeer-review

Abstract

We study subtype checking for recursive types in system kernel Fun, a typed λ-calculus with subtyping and bounded second-order polymorphism. Along the lines of [ACM Transactions on Programming Languages and Systems, 15(4), (1993) 575], we define a subtype relation over kernel Fun recursive types, and prove it to be transitive. We then show that the natural extension of the algorithm introduced in [loc.cit] to compare first-order recursive types yields a non complete algorithm. Finally, we prove the completeness and correctness of a different algorithm, which lends itself to efficient implementations.

Original languageEnglish
Pages (from-to)71-147
Number of pages77
JournalInformation and Computation
Volume198
Issue number2
DOIs
Publication statusPublished - 1 May 2005
Externally publishedYes

Keywords

  • Kernel Fun
  • Recursive types
  • Subtyping
  • Type theory and type systems

Fingerprint

Dive into the research topics of 'Subtyping recursion and parametric polymorphism in kernel fun'. Together they form a unique fingerprint.

Cite this