首页 | 本学科首页   官方微博 | 高级检索  
     

用Dixon结式产生非线性循环不变式
引用本文:余伟,冯勇.用Dixon结式产生非线性循环不变式[J].四川大学学报(工程科学版),2012,44(4):115-121.
作者姓名:余伟  冯勇
作者单位:中国科学院成都计算机应用研究所,四川成都,610041
摘    要:针对循环程序的部分正确性问题,在代数变迁系统理论基础上,结合约束理论提出了一种用Dixon结式生成循环不变式的算法。首先,程序被转换成代数变迁系统,再根据代数变迁关系和不变式模板构造一个多项式组,计算此多项式组的Dixon结式可以得到关于模板变量的约束,最后对该约束系统求解就得到该模板形式的程序不变式。经实例分析,该算法应用于单路径和多路径程序均是有效的。

关 键 词:循环不变式  Dixon结式  模板  约束
收稿时间:1/11/2012 2:56:29 AM
修稿时间:4/12/2012 1:53:21 PM

Non-linear Loop Invariant Generation Using Dxion Resultant
Yu Wei and Feng Yong.Non-linear Loop Invariant Generation Using Dxion Resultant[J].Journal of Sichuan University (Engineering Science Edition),2012,44(4):115-121.
Authors:Yu Wei and Feng Yong
Affiliation:Chengdu Inst. of Computer Application,Chinese Academy of Sciences;Chengdu Inst. of Computer Application,Chinese Academy of Sciences
Abstract:To solve the partial correct problem of loop program, this paper presented an algorithm to generate non-linear loop invariant by computing Dixon resultant based on algebraic transition system and constraint system. The loop program was firstly transformed to an algebraic transition system, then a polynomial set was constructed from algebraic transition relation and invariant template, and a constraint system w.r.t template variable was obtained by computing Dixon resultant, finally the constraint system was resolved to get invariant. The algorithm was effective when applied to whether single-path or multi-path programs through case study.
Keywords:loop invariant  Dixon resultant  template  constraints
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《四川大学学报(工程科学版)》浏览原始摘要信息
点击此处可从《四川大学学报(工程科学版)》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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