An improved rule for while loops in deductive program verification

  • Authors:
  • Bernhard Beckert;Steffen Schlager;Peter H. Schmitt

  • Affiliations:
  • Institute for Computer Science, University of Koblenz-Landau, Koblenz, Germany;Institute for Theoretical Computer Science, Universität Karlsruhe, Karlsruhe, Germany;Institute for Theoretical Computer Science, Universität Karlsruhe, Karlsruhe, Germany

  • Venue:
  • ICFEM'05 Proceedings of the 7th international conference on Formal Methods and Software Engineering
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Performance and usability of deductive program verification systems can be enhanced if specifications not only consist of pre-/post-condition pairs and invariants but also include information on which memory locations are modified by the program. This allows to separate the aspects of (a) which locations change and (b) how they change, state the change information in a compact way, and make the proof process more efficient. In this paper, we extend this idea from method specifications to loop invariants; and we define a proof rule for while loops that makes use of the change information associated with the loop body. It has been implemented and is successfully used in the KeY software verification system.