首页> 外文期刊>Journal of Logic and Algebraic Programming >Instrumenting a weakest precondition calculus for counterexample generation
【24h】

Instrumenting a weakest precondition calculus for counterexample generation

机译:检测最弱的前提演算以生成反例

获取原文
获取原文并翻译 | 示例

摘要

A major issue in the activity of deductive program verification is to understand why automated provers fail to discharge a proof obligation. To help the user understand the problem and decide what needs to be fixed in the code or the specification, it is essential to provide means to investigate such a failure. We present our approach for the design and the implementation of counterexample generation, exhibiting values for the variables of the program where a given part of the specification fails to be validated. To produce a counterexample, we exploit the ability of SMT solvers to propose, when a proof of a formula is not found, a counter-model. Turning such a counter-model into a counterexample for the initial program is not trivial because of the many transformations leading from a particular piece of code and its specification to a set of proof goals given to external provers. (C) 2018 Elsevier Inc. All rights reserved.
机译:演绎程序验证活动中的一个主要问题是要了解为什么自动证明不能履行证明义务。为了帮助用户理解问题并确定需要在代码或规范中解决的问题,必须提供调查此类故障的方法。我们介绍了设计和实现反例生成的方法,展示了规范中给定部分未能通过验证的程序变量的值。为了产生一个反例,我们利用SMT求解器的能力,在找不到公式证明的情况下提出反模型。将这样的反模型转换为初始程序的反例并非易事,因为从特定的代码段及其规范到给外部证明者提供的一组证明目标需要进行许多转换。 (C)2018 Elsevier Inc.保留所有权利。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号