【24h】

Weakest-precondition of unstructured programs

机译:非结构化程序的最弱前提

获取原文

摘要

Program verification systems typically transform a program into a logical expression which is then fed to a theorem prover. The logical expression represents the weakest precondition of the program relative to its specification; when (and if!) the theorem prover is able to prove the expression, then the program is considered correct. Computing such a logical expression for an imperative, structured program is straightforward, although there are issues having to do with loops and the efficiency both of the computation and of the complexity of the formula with respect to the theorem prover. This paper presents a novel approach for computing the weakest precondition of an unstructured program that is sound even in the presence of loops. The computation is efficient and the resulting logical expression provides more leeway for the theorem prover efficiently to attack the proof.
机译:程序验证系统通常将程序转换为逻辑表达式,然后将其提供给定理证明者。逻辑表达式表示程序相对于其规范的最弱前提。当(如果!)定理证明者能够证明该表达式时,则该程序被认为是正确的。对于命令式结构化程序,计算这样的逻辑表达式很简单,尽管存在与循环以及与定理证明者有关的计算效率和公式复杂性有关的问题。本文提出了一种新颖的方法,用于计算非结构化程序的最弱前提条件,即使在存在循环的情况下,该条件也是合理的。该计算是有效的,并且所得的逻辑表达式为定理证明者有效地攻击证明提供了更多的余地。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号