Programming Language Constructs for Which It Is Impossible To Obtain Good Hoare Axiom Systems
Programming Language Constructs for Which It Is Impossible To Obtain Good Hoare Axiom Systems
复制标题
DOI:
10.1145/322108.322121
复制
发表时间:
1979
期刊:
影响因子:
--
通讯作者:
E. Clarke
中科院分区:
文献类型:
--
作者:
E. Clarke
Hoare axiom systems for establishing partial correctness of programs may fail to be complete because of (a) incompleteness of the assertion language relative to the underlying interpretation or (b) inability of the assertion language to express the mvanants of loops Cook has shown that if there IS a complete proof system for the assertion language (l e all true formulas of the assertion language) and if the assertion language satisfies a natural expresstbthty condition then a sound and complete axiom system for a large subset of Algol may be devised We exhibit programming language constructs for which it ms impossible to obtain sound and complete sets of Hoare axioms even in this special sense of Cook's These constructs include (0 recursive procedures with procedure parameters in a programming language which uses static scope of ldenufiers and (u) coroutmes in a language which allows parameterless recurslve procedures Modifications of these constructs for which sound and complete systems of axioms may be obtained are also discussed