Recursive polymorphic types and parametricity in an operational framework - Archive ouverte HAL Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2004

Recursive polymorphic types and parametricity in an operational framework

Paul-André Melliès
Jérôme Vouillon
  • Fonction : Auteur
  • PersonId : 830580

Résumé

We construct a realizability model of recursive polymorphic types, starting from an untyped language of terms and contexts. An orthogonality relation indicates when a term and a context may be safely combined in the language. Types are interpreted as sets of terms closed by biorthogonality. Our main result states that recursive types are approximated by converging sequences of interval types. Our proof is based on a ``type-directed'' approximation technique, which departs from the ``language-directed'' approximation technique developed by MacQueen, Plotkin and Sethi in the ideal model. We thus keep the language elementary (a call-by-name lambda-calculus) and unstratified (no typecase, no reduction labels). We also include a short account of parametricity, based on an orthogonality relation between quadruples of terms and contexts.
Fichier principal
Vignette du fichier
30_0409pp_Mellies.pdf (218.12 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-00150965 , version 1 (06-06-2007)
hal-00150965 , version 2 (07-06-2007)

Identifiants

  • HAL Id : hal-00150965 , version 1

Citer

Paul-André Melliès, Jérôme Vouillon. Recursive polymorphic types and parametricity in an operational framework. 2004. ⟨hal-00150965v1⟩

Collections

PPS
52 Consultations
167 Téléchargements

Partager

Gmail Facebook X LinkedIn More