A generalized program verification workflow based on loop elimination and SA form

This paper presents a minimal model of the functioning of program verification and property checking tools based on (i) the encoding of loops as non-iterating programs, either conservatively, making use of invariants and assume/assert commands, or in a bounded way; and (ii) the use of an intermediat...

Full description

Bibliographic Details
Main Author: Belo Lourenco, Claudio (author)
Other Authors: Frade, M. J. (author), Pinto, Jorge Sousa (author)
Format: conferencePaper
Language:eng
Published: 2019
Subjects:
Online Access:http://hdl.handle.net/1822/66206
Country:Portugal
Oai:oai:repositorium.sdum.uminho.pt:1822/66206
Description
Summary:This paper presents a minimal model of the functioning of program verification and property checking tools based on (i) the encoding of loops as non-iterating programs, either conservatively, making use of invariants and assume/assert commands, or in a bounded way; and (ii) the use of an intermediate single-assignment (SA) form. The model captures the basic workflow of tools like Boogie, Why3, or CBMC, building on a clear distinction between operational and axiomatic semantics. This allows us to consider separately the soundness of program annotation, loop encoding, translation into SA form, and VC generation, as well as appropriate notions of completeness for each of these processes. To the best of our knowledge, this is the first formalization of a bounded model checking of software technique, including soundness and completeness proofs using Hoare logic; we also give the first completeness proof of a deductive verification technique based on a conservative encoding of invariant-annotated loops with assume/assert in SA form, as well as the first soundness proof based on a program logic.