Hostname: page-component-7479d7b7d-m9pkr Total loading time: 0 Render date: 2024-07-12T21:55:02.799Z Has data issue: false hasContentIssue false

Verification of non-functional programs using interpretations in type theory

Published online by Cambridge University Press:  25 June 2003

JEAN-CHRISTOPHE FILLIÂTRE
Affiliation:
LRI, batiment 490, Université Paris Sud, 91405 Orsay, France (email: filliatr@lri.fr)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the ‘Save PDF’ action button.

We study the problem of certifying programs combining imperative and functional features within the general framework of type theory. Type theory is a powerful specification language which is naturally suited for the proof of purely functional programs. To deal with imperative programs, we propose a logical interpretation of an annotated program as a partial proof of its specification. The construction of the corresponding partial proof term is based on a static analysis of the effects of the program which excludes aliases. The missing subterms in the partial proof term are seen as proof obligations, whose actual proofs are left to the user. We show that the validity of those proof obligations implies the total correctness of the program. This work has been implemented in the Coq proof assistant. It appears as a tactic taking an annotated program as argument and generating a set of proof obligations. Several nontrivial algorithms have been certified using this tactic.

Type
Article
Copyright
© 2003 Cambridge University Press
Submit a response

Discussions

No Discussions have been published for this article.