Abstraction and verification in Alphard: Defining and specifying iteration and generators

M Shaw, WA Wulf, RL London - Communications of the ACM, 1977 - dl.acm.org
M Shaw, WA Wulf, RL London
Communications of the ACM, 1977dl.acm.org
The Alphard “form” provides the programmer with a great deal of control over the
implementation of abstract data types. In this paper the abstraction techniques are extended
from simple data representation and function definition to the iteration statement, the most
important point of interaction between data and the control structure of the language itself. A
means of specializing Alphard's loops to operate on abstract entities without explicit
dependence on the representation of those entities is introduced. Specification and …
The Alphard “form” provides the programmer with a great deal of control over the implementation of abstract data types. In this paper the abstraction techniques are extended from simple data representation and function definition to the iteration statement, the most important point of interaction between data and the control structure of the language itself. A means of specializing Alphard's loops to operate on abstract entities without explicit dependence on the representation of those entities is introduced. Specification and verification techniques that allow the properties of the generators for such iterations to be expressed in the form of proof rules are developed. Results are obtained that for common special cases of these loops are essentially identical to the corresponding constructs in other languages. A means of showing that a generator will terminate is also provided.
ACM Digital Library