期刊导航

论文摘要

用Dixon结式产生非线性循环不变式

Non-linear Loop Invariant Generation Using Dxion Resultant

作者:余伟(中国科学院 成都计算机应用研究所);冯勇(中国科学院 成都计算机应用研究所)

Author:Yu Wei(Chengdu Inst. of Computer Application,Chinese Academy of Sciences);Feng Yong(Chengdu Inst. of Computer Application,Chinese Academy of Sciences)

收稿日期:2012-01-11          年卷(期)页码:2012,44(4):115-121

期刊名称:工程科学与技术

Journal Name:Advanced Engineering Sciences

关键字:循环不变式;Dixon结式;模板;约束

Key words:loop invariant;Dixon resultant;template;constraints

基金项目:国家“973”计划资助项目(2011CB302402);国家自然科学基金面上项目(11171053);国家自然科学基金重大研究计划资助项目(91118001)

中文摘要

针对循环程序的部分正确性问题,在代数变迁系统理论基础上,结合约束理论提出了一种用Dixon结式生成循环不变式的算法。首先,程序被转换成代数变迁系统,再根据代数变迁关系和不变式模板构造一个多项式组,计算此多项式组的Dixon结式可以得到关于模板变量的约束,最后对该约束系统求解就得到该模板形式的程序不变式。经实例分析,该算法应用于单路径和多路径程序均是有效的。

英文摘要

To solve the partial correct problem of loop program, an algorithm was presented 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 to whether single-path or multi-path programs through case study.

关闭

Copyright © 2020四川大学期刊社 版权所有.

地址:成都市一环路南一段24号

邮编:610065