• DocumentCode
    750226
  • Title

    A Method for Analyzing Loop Programs

  • Author

    Waters, Richard C.

  • Author_Institution
    Artificial Intelligence Laboratory and the Laboratory for Computer Science, Massachusetts Institute of Technology
  • Issue
    3
  • fYear
    1979
  • fDate
    5/1/1979 12:00:00 AM
  • Firstpage
    237
  • Lastpage
    247
  • Abstract
    This paper presents a method for automatically analyzing loops, and discusses why it is a useful way to look at loops. The method is based on the idea that there are four basic ways in which the logical structure of a loop is built up. An experiment is presented which shows that this accounts for the structure of a large class of loops. The paper discusses how the method can be used to automatically analyze the structure of a loop, and how the resulting analysis can be used to guide a proof of correctness for the loop. An automatic system is described which performs this type of analysis. The paper discusses the relationship between the structure building methods presented and programming language constructs. A system is described which is designed to assist a person who is writing a program. The intent is that the system will cooperate with a programmer throughout aUl phases of work on a program and be able to communicate with the programmer about it.
  • Keywords
    Loops; plans; program analysis; program understanding; program verification; Abstracts; Algorithms; Artificial intelligence; Buildings; Computer languages; Computer science; Contracts; Performance analysis; Programming profession; Writing; Loops; plans; program analysis; program understanding; program verification;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.1979.234185
  • Filename
    1702623