Proof of Imperative Programs in Type Theory
Jean-Christophe Filliâtre6 
| (6) |
LRI, URA CNRS 410, Bât. 490, Université Paris Sud, 91405 ORSAY Cedex, France |
Abstract
We present a new approach to certifying functional programs with imperative aspects, in the context of Type Theory. The key
is a functional translation of imperative programs, based on a combination of the type and effect discipline and monads. Then
an incomplete proof of the specification is built in the Type Theory, whose gaps would correspond to proof obligations. On
sequential imperative programs, we get the same proof obligations as those given by Floyd-Hoare logic. Compared to the latter,
our approach also includes functional constructions in a straight-forward way. This work has been implemented in the Coq Proof
Assistant and applied on non-trivial examples.
This research was partly supported by ESPRIT Working Group “Types”.
References secured to subscribers.