Proving total correctness of recursive procedures

被引:0
|
作者
机构
[1] America, Pierre
[2] De Boer, Frank
来源
America, Pierre | 1600年 / 84期
关键词
Computer Programming--Theory;
D O I
暂无
中图分类号
学科分类号
摘要
We show that some well-known rules in a Hoare-style proof system for total correctness of recursive procedures can interact in such a way that they yield incorrect results. The problem is connected to the quantification scope of certain variables in the proof rules. By defining some restrictions on the applicability of the rules a system is obtained that is sound and complete. However, the completeness proof differs substantially from the original one. This technique is also applied to dynamic logic, where we show that the original proof rules for recursive procedures can be replaced by simpler and more natural ones, and that it is not necessary to extend the programming language in order to arrive at a sound and complete proof system.
引用
收藏
相关论文
共 50 条