A completeness result for a realisability semantics for an intersection type system - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue Annals of Pure and Applied Logic Année : 2007

A completeness result for a realisability semantics for an intersection type system

Karim Nour
  • Fonction : Auteur
  • PersonId : 859979

Résumé

In this paper we consider a type system with a universal type $\omega$ where any term (whether open or closed, $\beta$-normalising or not) has type $\omega$. We provide this type system with a realisability semantics where an atomic type is interpreted as the set of $\lambda$-terms saturated by a certain relation. The variation of the saturation relation gives a number of interpretations to each type. We show the soundness and completeness of our semantics and that for different notions of saturation (based on weak head reduction and normal $\beta$-reduction) we obtain the same interpretation for types. Since the presence of $\omega$ prevents typability and realisability from coinciding and creates extra difficulties in characterizing the interpretation of a type, we define a class ${\mathbb U}^+$ of the so-called positive types (where $\omega$ can only occur at specific positions). We show that if a term inhabits a positive type, then this term is $\beta$-normalisable and reduces to a closed term. In other words, positive types can be used to represent abstract data types. The completeness theorem for ${\mathbb U}^+$ becomes interesting indeed since it establishes a perfect equivalence between typable terms and terms that inhabit a type. In other words, typability and realisability coincide on ${\mathbb U}^+$. We give a number of examples to explain the intuition behind the definition of ${\mathbb U}^+$ and to show that this class cannot be extended while keeping its desired properties.
Fichier principal
Vignette du fichier
general7.pdf (299.53 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00380177 , version 1 (04-05-2009)

Identifiants

Citer

Fairouz Kamareddine, Karim Nour. A completeness result for a realisability semantics for an intersection type system. Annals of Pure and Applied Logic, 2007, 146, pp.180-198. ⟨hal-00380177⟩
153 Consultations
137 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More