最弱前提与最弱自由前提的比较
Comparing Weakest Precondition and Weakest Liberal Precondition
摘要:
本文研究了经典的最弱前提和最弱自由前提概念之间的关系,并给出了几个结果,即在一般情况下,最弱自由前提既不强于最弱前提,也不弱于最弱前提,但是,给定一个确定的、可终止的顺序while程序和一个后置条件,它们是等价的。因此,在这种情况下,使用哪种定义并不重要。
英文摘要:
In this article we investigate the relationships between the classical notions of weakest precondition and weakest liberal precondition, and provide several results, namely that in general, weakest liberal precondition is neither stronger nor weaker than weakest precondition, however, given a deterministic and terminating sequential while program and a postcondition, they are equivalent. Hence, in such situation, it does not matter which definition is used.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。