首页> 外文会议>International Symposium on Symbolic and Algebraic Computation(ISSAC 2004); 20040704-07; Santander(ES) >Automatic Generation of Polynomial Loop Invariants: Algebraic Foundations
【24h】

Automatic Generation of Polynomial Loop Invariants: Algebraic Foundations

机译:多项式环不变量的自动生成:代数基础

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

摘要

This paper presents the algebraic foundation for an approach for generating polynomial loop invariants in imperative programs. It is first shown that the set of polynomials serving as loop invariants has the algebraic structure of an ideal. Using this connection, a procedure for finding loop invariants is given in terms of operations on ideals, for which Groebner basis constructions can be employed. Most importantly, it is proved that if the assignment statements in a loop are solvable (in particular, affine) mappings with positive eigenvalues, then the procedure terminates in at most 2m + 1 iterations, where m is the number of variables in the loop. The proof is done by showing that the irreducible subvarieties of the variety associated with the polynomial ideal approximating the invariant polynomial ideal of the loop either stay the same or increase their dimension in every iteration. This yields a correct and complete algorithm for inferring conjunctions of polynomial equations as invariants. The method has been implemented in Maple using the Groebner package. The implementation has been used to automatically discover nontrivial invariants for several examples to illustrate the power of the techniques.
机译:本文为在命令式程序中生成多项式循环不变式的方法提供了代数基础。首先表明,用作循环不变式的多项式集具有理想的代数结构。使用该连接,给出了根据理想条件下的运算求出循环不变式的过程,为此可以采用Groebner基础构造。最重要的是,证明如果循环中的赋值语句是具有正特征值的可解(特别是仿射)映射,则该过程最多以2m +1次迭代终止,其中m是循环中变量的数量。通过证明与近似于循环不变多项式理想的多项式理想相关的变数的不可约子变量在每次迭代中保持不变或增加其维数来进行证明。这样就产生了一个正确而完整的算法,可以将多项式方程的并集推导为不变量。该方法已使用Groebner软件包在Maple中实现。该实现已被用于自动发现非平凡不变性的几个示例,以说明该技术的强大功能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号