Translating types and effects with state monads and linear logic - Archive ouverte HAL Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2010

Translating types and effects with state monads and linear logic

Résumé

We study a lambda-calculus with references and a types and effects system. In the first part of the paper, we translate it into the ordinary lambda-calculus with products, implementing an interacting family of state monads localized at sets of regions. In general the target language must be endowed with recursive types. However we prove that the stratification condition on regions, already used in type and effect systems to assure termination, is equivalent to completely avoid the use of recursion in the types used in the translation. We thus obtain a logical characterization of stratification, and by simulation we also provide a new proof that it yields termination. In the second part of the paper we extend the call-by-value translation of ordinary lambda-terms in linear logic proof nets to the calculus with references. This allows for a parallel evaluation of the calculus that preserves its sequential semantics.
Fichier principal
Vignette du fichier
typeseffects.pdf (382.54 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00465793 , version 1 (21-03-2010)

Identifiants

  • HAL Id : hal-00465793 , version 1

Citer

Paolo Tranquilli. Translating types and effects with state monads and linear logic. 2010. ⟨hal-00465793⟩
116 Consultations
67 Téléchargements

Partager

Gmail Facebook X LinkedIn More