Challenges and solutions to realisability semantics for intersection types with expansion variables - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue Fundamenta Informaticae Année : 2012

Challenges and solutions to realisability semantics for intersection types with expansion variables

Résumé

Expansion is a crucial operation for calculating principal typings in intersection type systems. Because the early definitions of expansion were complicated, E-variables were introduced in order to make the calculations easier to mechanise and reason about. Recently, E-variables have been further simplified and generalised to also allow calculating other type operators than just intersection. There has been much work on semantics for type systems with intersection types, but none whatsoever before our work, on type systems with E-variables. In this paper we expose the challenges of building a semantics for E-variables and we provide a novel solution. Because it is unclear how to devise a space of meanings for E-variables, we develop instead a space of meanings for types that is hierarchical. First, we index each type with a natural number and show that although this intuitively captures the use of E-variables, it is difficult to index the universal type w with this hierarchy and it is not possible to obtain completeness of the semantics if more than one E-variable is used. We then move to a more complex semantics where each type is associated with a list of natural numbers and establish that both w and an arbitrary number of E-variables can be represented without losing any of the desirable properties of a realisability semantics.
Fichier principal
Vignette du fichier
fund-inf-short.pdf (510.03 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00937952 , version 1 (29-01-2014)

Identifiants

  • HAL Id : hal-00937952 , version 1

Citer

Fairouz Kamareddine, Karim Nour, Vincent Rahli, J. B. Wells. Challenges and solutions to realisability semantics for intersection types with expansion variables. Fundamenta Informaticae, 2012, 121, pp.153-184. ⟨hal-00937952⟩
121 Consultations
76 Téléchargements

Partager

Gmail Facebook X LinkedIn More