Abstraction and verification in Alphard: Defining and specifying iteration and generators
Abstraction and verification in Alphard: Defining and specifying iteration and generators
复制标题
Alphard 中的抽象和验证:定义和指定迭代和生成器
DOI:
10.1145/800022.808321
复制
发表时间:
1977
期刊:
影响因子:
--
通讯作者:
R. L. London
中科院分区:
文献类型:
--
作者:
M. Shaw;Wm. A. Wulf;R. L. London
The Alphard form provides the programmer with a great deal of control over the implementation of abstract data types. In this paper we extend the abstraction techniques 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. We introduce a means of specializing Alphard's loops to operate on abstract entities without explicit dependence on the representation of those entities. We develop specification and verification techniques that allow the properties of the generators for such iterations to be expressed in the form of proof rules. We obtain results for common special cases of these loops that are essentially identical to the corresponding constructs in other languages. We also provide a means of showing that a generator will terminate.