A decorated proof system for exceptions - Archive ouverte HAL Accéder directement au contenu
Rapport Année : 2013

A decorated proof system for exceptions

Résumé

In this paper, we first provide a careful description of the denotational semantics of exceptions in an object-oriented setting. Then we define a proof system for exceptions which is sound with respect to this denotational semantics. Our proof system is close to the syntax, as in effect systems, in the sense that the exceptions do not appear explicitly in the type of expressions which may raise them, much like compiler qualifiers or specifiers. But our system also involves different kind of equations, in order to separate the verification of properties that are true only up to effects from the verification of generic properties. Thanks to a duality between the global state effect and the core part of the exception effect, the proofs are in two parts: the first part is generic and can be directly dualized from the proofs on global states, while the second part uses specific rules. These specific rules are related to the encapsulation of the core part into some control for the conditional raising and handling of exceptions.
Fichier principal
Vignette du fichier
ProofExceptions.pdf (272.35 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-00867237 , version 1 (08-10-2013)
hal-00867237 , version 2 (11-10-2013)
hal-00867237 , version 3 (13-03-2014)

Identifiants

Citer

Jean-Guillaume Dumas, Dominique Duval, Jean-Claude Reynaud. A decorated proof system for exceptions. 2013. ⟨hal-00867237v1⟩
471 Consultations
314 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More