• DocumentCode
    751146
  • Title

    On Development of Iterative Programs from Function Specifications

  • Author

    Basu, Sanat K.

  • Author_Institution
    Department of Computer Sciences, University of Nebraska
  • Issue
    2
  • fYear
    1980
  • fDate
    3/1/1980 12:00:00 AM
  • Firstpage
    170
  • Lastpage
    182
  • Abstract
    A systematic approach to the development of totally correct iterative programs is investigated for the class of accumulation problems. In these problems, the required output information is usually obtained by accumulation during successive passes over input data structures. The development of iterative programs for accumulation problems is shown to involve successive generalizations of the data domain and the corresponding function specifications. The problem of locating these generalizations is discussed. It is shown that not all function specifications can be realized in terms of terminating computations of a stand-alone iterative program. A linear data domain is defined in terms of decomposition and finiteness axioms, and the property of well behavedness of a loop body over a linear data domain is introduced. It is shown that this property can be used to generate loop body specifications from specifically chosen examples of program behavior. An abstract program for an accumulation problem is developed using these considerations. The role of generalizations as an added parameter to the program development process is discussed.
  • Keywords
    Function specifications; generalizations; iterative programs; linear data domain; program development; total correctness; Binary trees; Data structures; Equations; Iterative methods; Programmable logic arrays; Programming profession; Function specifications; generalizations; iterative programs; linear data domain; program development; total correctness;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.1980.230468
  • Filename
    1702714