J4 ›› 2013, Vol. 51 ›› Issue (01): 94-100.

• 计算机科学 • 上一篇    下一篇

基于克雷格插值的反例理解方法

黄宏涛, 黄少滨, 陈志远, 张涛   

  1. 哈尔滨工程大学 计算机科学与技术学院, 哈尔滨 150001
  • 收稿日期:2011-11-11 出版日期:2013-01-26 发布日期:2013-01-31
  • 通讯作者: 陈志远 E-mail:hhtdeemail@126.com

Understanding Counterexamples Based on Craig Interpolation

HUANG Hongtao, HUANG Shaobin, CHEN Zhiyuan, ZHANG Tao   

  1. College of Computer Science and Technology, Harbin Engineering University, Harbin 150001, China
  • Received:2011-11-11 Online:2013-01-26 Published:2013-01-31
  • Contact: CHEN Zhiyuan E-mail:hhtdeemail@126.com

摘要:

针对错误原因提取效率低的问题, 提出一种利用克雷格插值对模型检测器产生的反例进行自动理解的方法. 该方法首先从反例失效状态出发推导出其最弱前置条件, 然后对初始状态与反例最弱前置条件进行不一致分析, 能在线性时间内提取克雷格插值作为反例失效原因, 产生的插值能直接用于定位错误事件. 实验结果表明, 基于克雷格插值的反例理解方法能显著提高反例理解速度, 提高软件的调试效率, 从而提升软件的可靠性和质量.

关键词: 模型检测; 反例; 反例理解; 最弱前置条件; 克雷格插值

Abstract:

An interpolation based method was proposed to automatically understand counterexamples produced by model checker. By this method the we
akest precondition of a counterexample was first derived from its failure state, and then inconsistent analysis was performed on the initial state and the weakest precondition of the counterexample. Craig interpolations which can be extracted in linear time are the causes of model failure; these causes can be mapped to corresponding events directly. Experimental results show that our method improves the efficiency of understanding counterexamples remarkably, which can reduce the burden of software debugging workers and promote reliability and quality imp
rovement of software.

Key words:  model checking, counterexample, understanding counterexample, weakest precondition, Craig interpolation

中图分类号: 

  • TP311.5