A Semi-Syntactic Soundness Proof for HM(X) - INRIA - Institut National de Recherche en Informatique et en Automatique Accéder directement au contenu
Rapport (Rapport De Recherche) Année : 2001

A Semi-Syntactic Soundness Proof for HM(X)

Résumé

This document gives a soundness proof for the generic constraint-based type inference framework HM(X). Our proof is semi-syntactic. It consists in two steps. The first step is to define a ground type system, where polymorphism is extensional, and prove its correctness in a syntactic way. The second step is to interpret HM(X) judgements as (sets of) judgements in the underlying system, which gives a logical view of polymorphism and constraints. Overall, the approach may be seen as more modular than a purely syntactic approach: because polymorphism and constraints are dealt with separately, they do not clutter the subject reduction proof. However, it yields a slightly weaker result: it only establishes type soundness, rather than subject reduction, for HM(X).

Domaines

Autre [cs.OH]
Fichier principal
Vignette du fichier
RR-4150.pdf (221.31 Ko) Télécharger le fichier

Dates et versions

inria-00072475 , version 1 (24-05-2006)

Identifiants

  • HAL Id : inria-00072475 , version 1

Citer

François Pottier. A Semi-Syntactic Soundness Proof for HM(X). [Research Report] RR-4150, INRIA. 2001. ⟨inria-00072475⟩
67 Consultations
237 Téléchargements

Partager

Gmail Facebook X LinkedIn More