The evolution of programs
The book is mainly concerned with questions on how to handle program modifications which occur in the life cycle of every program. Chapter 2 presents on overview of the general approach: Program development systems should incorporate formal tools, not only for constructing programs from scratch, but also for transforming and manipulating programs. In this work, it is illustrated how some of the evolutionary aspects of programming might be emulated by such a system. Modification and debugging are the subjects of Chapter 3: It is shown how to modify programs by first finding an analogy between the specification of the existing program and that of the program we wish to construct. This analogy is then used as a basis for transforming the existing program to meet the new specification. Program debugging is treated as a special case of modification. Chapter 4 covers abstraction and instantiation: The abstraction of a set of concrete programs to obtain a program schema and the instantiation of abstract schemata to solve concrete problems may be viewed from the perspective of modification methods. Beginning with a set of programs sharing some basic strategy, and their correctness proofs, a program schema that represents their analogous elements is derived. The resultant schema's abstract specification may be compared with a given concrete specification to suggest an instatiation that will yield a concrete program when applied to the schema. Synthesis and extension are discussed in Chapter 5: Extending a program to satisfy additional specifications is another form of program modification. If it is not possible to find a program that can be adapted to the problem at hand, one has a specification for the desired segment, and the goal is to transform it step-by-step into executable code. Annotation and analysis are the topics of Chapter 6: To debug an incorrect program, it helps to know what the program really does, not just what it was intended to do. For these purposes, it is convenient that the program is annotated with ``assertions. These annotations can be used for guiding transformations, verifying correctness, or analyzing efficiency.
- Top-down synthesis of divide-and-conquer algorithms
- Schema induction for logic program synthesis
- Logical debugging
- Annotations in formal specifications and proofs
- An abstract formalization of correct schemas for program synthesis
- Evolution of rule-based programs
- Program abstraction and instantiation
- Unifying program construction and modification
- Synthetic programming
This page was built for publication: The evolution of programs
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3783490)