A Theoretical Basis for Stepwise Refinement and the Programming Calculus
A Theoretical Basis for Stepwise Refinement and the Programming Calculus
复制标题
逐步求精和编程演算的理论基础
DOI:
10.1016/0167-6423(87)90011-6
复制
发表时间:
1987
期刊:
影响因子:
--
通讯作者:
Joseph M. Morris
中科院分区:
文献类型:
--
作者:
Joseph M. Morris
A uniform treatment of specifications, programs, and programming is presented. The treatment is based on adding a specification statement to a given procedural language and defining its semantics. The extended language is thus a specification language and programs are viewed as a subclass of specifications. A partial ordering on specifications/programs corresponding to ‘more defined’ is defined. In this partial ordering the program/specification hybrids that arise in the construction of a program by stepwise refinement form a monotonic sequence. We show how Dijkstra's calculus for the derivation of programs corresponds to constructing this monotonic sequence. Formalizing the calculus thus gives some insight into the intellectual activity it demands and allows us to hint at further developments.