Typing weak MSOL properties - Archive ouverte HAL Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2014

Typing weak MSOL properties

Résumé

We consider non-interpreted functional programs: the result of the execution of a program is its normal form, that can be seen as the tree of calls to built-in operations. Weak monadic second-order logic (wMSO) is well suited to express properties of such trees. This is an extension of first order logic with quantification over finite sets. Many behavioral properties of programs can be expressed in wMSO. We use the simply typed lambda calculus with the fixpoint operator, $\lambda Y$-calculus, as an abstraction of functional programs that faithfully represents the higher-order control flow. We give a type system for ensuring that the result of the execution of a $\lambda Y$-program satisfies a given wMSO property. The type system is an extension of a standard intersection type system with both: the least-fixpoint rule, and a restricted version of the greatest-fixpoint rule. In order to prove soundness and completeness of the system we construct a denotational semantics of $\lambda Y$-calculus that is capable of computing properties expressed in wMSO. The model presents many symmetries reflecting dualities in the logic and has also other applications on its own. The type system is obtained from the model following the domain in logical form approach.
Fichier principal
Vignette du fichier
popl.pdf (1.29 Mo) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-01061202 , version 1 (05-09-2014)
hal-01061202 , version 2 (19-01-2015)

Identifiants

  • HAL Id : hal-01061202 , version 1

Citer

Sylvain Salvati, Igor Walukiewicz. Typing weak MSOL properties. 2014. ⟨hal-01061202v1⟩
384 Consultations
229 Téléchargements

Partager

Gmail Facebook X LinkedIn More