A Mechanical Analysis of Program Verification Strategies

  • Authors:
  • Sandip Ray;Warren A. Hunt, Jr.;John Matthews;J. Strother Moore

  • Affiliations:
  • Department of Computer Sciences, The Unversity of Texas at Austin, Austin, USA 78712;Department of Computer Sciences, The Unversity of Texas at Austin, Austin, USA 78712;Galois Inc., Beaverton, USA 97005;Department of Computer Sciences, The Unversity of Texas at Austin, Austin, USA 78712

  • Venue:
  • Journal of Automated Reasoning
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

We analyze three proof strategies commonly used in deductive verification of deterministic sequential programs formalized with operational semantics. The strategies are (i) stepwise invariants, (ii) clock functions, and (iii) inductive assertions. We show how to formalize the strategies in the logic of the ACL2 theorem prover. Based on our formalization, we prove that each strategy is both sound and complete. The completeness result implies that given any proof of correctness of a sequential program one can derive a proof in each of the above strategies. The soundness and completeness theorems have been mechanically checked with ACL2.