首页 | 官方网站   微博 | 高级检索  
     

非线性循环不变式的自动生成
引用本文:毕忠勤,曾振柄,郭远华.非线性循环不变式的自动生成[J].计算机应用,2008,28(7):1854-1857.
作者姓名:毕忠勤  曾振柄  郭远华
作者单位:华东师范大学,上海市高可信计算重点实验室,上海,200062
基金项目:国家自然科学基金 , 国家重点基础研究发展计划(973计划) , 国家高技术研究发展计划(863计划) , 华东师范大学2008年优秀博士生培养基金
摘    要:提出了一个自动生成非线性循环不变式的算法。循环不变式可以表示成一个带参数的多项式的形式,根据断言的归纳特性,将循环不变式的生成问题转变成一个约束求解问题,这个约束求解问题的每个解对应于一个循环不变式,如果约束求解问题仅有零解,则说明不存在该参数多项式形式的循环不变式。该算法在Maple中得到了实现,并通过一些实例说明了该算法的有效性。

关 键 词:程序验证  循环不变式  变迁系统  约束求解问题
收稿时间:2008-01-14
修稿时间:2008-03-07

Automatic generation of non-linear loop invariants
BI Zhong-qin,ZENG Zhen-bing,GUO Yuan-hua.Automatic generation of non-linear loop invariants[J].journal of Computer Applications,2008,28(7):1854-1857.
Authors:BI Zhong-qin  ZENG Zhen-bing  GUO Yuan-hua
Affiliation:BI Zhong-qin,ZENG Zhen-bing,GUO Yuan-hua(Shanghai Key Laboratory of Trustworthy Computing,East China Normal University,Shanghai 200062,China)
Abstract:This paper proposed an approach to automatically generate non-linear loop invariants. An invariant of a loop was hypothesized as a parameterized polynomial. Based on the inductive assertion's properties, we reduced the non-linear loop invariant problem to a numerical constraint solving problem. All the solutions to these constraints were the non-linear loop invariants of the program. The approach has been implemented in Maple. The implementation has been used to automatically discover nontrivial invariants for many programs.
Keywords:program verification  loop invariant  transition system  constraint solving problem
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号