• DocumentCode
    1594091
  • Title

    Soundness of a Logic-Based Verification Method for Imperative Loops

  • Author

    Erascu, Madalina ; Jebelean, Tudor

  • Author_Institution
    Res. Inst. for Symbolic Comput., Johannes Kepler Univ., Linz, Austria
  • fYear
    2012
  • Firstpage
    127
  • Lastpage
    134
  • Abstract
    We present a logic-based verification method for imperative loops (including ones with abrupt termination) and the automatic proof of its soundness. The verification method consists in generating verification conditions for total correctness of an imperative loop annotated with an invariant. We realized, in the textit{Theorem a} system (url{www.theorema.org}), the automatic proof of the soundness of verification method: if the verification conditions hold, then the imperative loop is totally correct with respect to its given invariant. The approach is simpler than the others because it is based on functional semantics (no additional theory of program execution is necessary) and produces verification conditions in the object theory of the program. The computer-supported proofs reveal the minimal collection of logical assumptions (some from natural number theory) and logical inferences (including induction) which are necessary for the soundness of the verification technique.
  • Keywords
    inference mechanisms; logic programming; number theory; program control structures; program verification; theorem proving; Theorema system; abrupt termination; automatic soundness proof; computer-supported proofs; functional semantics; imperative loop annotation; logic-based verification method; logical inferences; natural number theory; program object theory; verification conditions; verification technique; Arrays; Calculus; Cognition; Indexes; Programming; Semantics; Syntactics; induction; program analysis and verification; semantics; symbolic execution; termination; textit{Theorema} system;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Symbolic and Numeric Algorithms for Scientific Computing (SYNASC), 2012 14th International Symposium on
  • Conference_Location
    Timisoara
  • Print_ISBN
    978-1-4673-5026-6
  • Type

    conf

  • DOI
    10.1109/SYNASC.2012.63
  • Filename
    6481021