• DocumentCode
    749647
  • Title

    Some Aspects of the Verification of Loop Computations

  • Author

    Misra, Jayadev

  • Author_Institution
    Department of Computer Science, University of Texas
  • Issue
    6
  • fYear
    1978
  • Firstpage
    478
  • Lastpage
    486
  • Abstract
    The problem of proving whether or not a loop computes a given function is investigated. We consider loops which have a certain "closure" property and derive necessary and sufficient conditions for such a loop to compute a given function. It is argued that closure is a fundamental concept in program proving. Extensions of the basic result to proofs involving relations other than functional relations, which typically arise in nondeterministic loops, are explored. Several applications of these results are given, particularly in showing that certain classes of programs may be directly proven (their loop invariants generated) given only their input-output relationships. Implications of these results are discussed.
  • Keywords
    Inductive assertions; loop invariants; nondeterministic programs; program verification; proof rules; proving program schemas; proving programs correct; Computer science; Contracts; Military computing; Milling machines; Production; Sufficient conditions; Inductive assertions; loop invariants; nondeterministic programs; program verification; proof rules; proving program schemas; proving programs correct;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.1978.233871
  • Filename
    1702567