Verification of non-functional programs using interpretations in type theory

Research output: Contribution to journalReview articlepeer-review

Abstract

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.

Original languageEnglish
Pages (from-to)709-745
Number of pages37
JournalJournal of Functional Programming
Volume13
Issue number4
DOIs
Publication statusPublished - 1 Jul 2003
Externally publishedYes

Fingerprint

Dive into the research topics of 'Verification of non-functional programs using interpretations in type theory'. Together they form a unique fingerprint.

Cite this