Non-linear loop invariant generation using Grobner bases

被引:75
|
作者
Sankaranarayanan, S [1 ]
Sipma, HB [1 ]
Manna, Z [1 ]
机构
[1] Stanford Univ, Dept Comp Sci, Stanford, CA 94305 USA
关键词
program analysis; verification; invariant generation; symbolic computation; ideals; Grobner bases; constraint programming;
D O I
10.1145/982962.964028
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present a new technique for the generation of non-linear (algebraic) invariants of a program. Our technique uses the theory of ideals over polynomial rings to reduce the non-linear invariant generation problem to a numerical constraint solving problem. So far, the literature on invariant generation has been focussed on the construction of linear invariants for linear programs. Consequently, there has been little progress toward non-linear invariant generation. In this paper, we demonstrate a technique that encodes the conditions for a given template assertion being an invariant into a set of constraints, such that all the solutions to these constraints correspond to non-linear (algebraic) loop invariants of the program. We discuss some trade-offs between the completeness of the technique and the tractability of the constraint-solving problem generated. The application of the technique is demonstrated on a few examples.
引用
收藏
页码:318 / 329
页数:12
相关论文
共 50 条
  • [1] Non-linear loop invariant generation using Dxion resultant
    Yu, Wei
    Feng, Yong
    Sichuan Daxue Xuebao (Gongcheng Kexue Ban)/Journal of Sichuan University (Engineering Science Edition), 2012, 44 : 115 - 121
  • [2] Automatic generation of non-linear loop invariant
    Bi, Zhongqin
    Shan, Meijing
    Tian, Xiuxia
    Journal of Computational Information Systems, 2010, 6 (10): : 3335 - 3344
  • [3] APPLICATIONS OF GROBNER BASES IN NON-LINEAR COMPUTATIONAL GEOMETRY
    BUCHBERGER, B
    LECTURE NOTES IN COMPUTER SCIENCE, 1988, 296 : 52 - 81
  • [4] Endomorphisms for non-trivial non-linear loop invariant generation
    Rebiha, Rachid
    Matringe, Nadir
    Moura, Arnaldo Vieira
    THEORETICAL ASPECTS OF COMPUTING - ICTAC 2008, PROCEEDINGS, 2008, 5160 : 425 - +
  • [5] Linear invariant generation using non-linear constraint solving
    Colón, MA
    Sankaranarayanan, S
    Sipma, HB
    COMPUTER AIDED VERIFICATION, 2003, 2725 : 420 - 432
  • [6] GROBNER BASES AND INVARIANT-THEORY
    STURMFELS, B
    WHITE, N
    ADVANCES IN MATHEMATICS, 1989, 76 (02) : 245 - 259
  • [7] Grobner bases, invariant theory and equivariant dynamics
    Gatermann, K
    Guyard, F
    JOURNAL OF SYMBOLIC COMPUTATION, 1999, 28 (1-2) : 275 - 302
  • [8] Grobner bases of ideals invariant under endomorphisms
    Drensky, Vesselin
    La Scala, Roberto
    JOURNAL OF SYMBOLIC COMPUTATION, 2006, 41 (07) : 835 - 846
  • [9] APPLICATION OF INVARIANT RENORMALIZATION TO NON-LINEAR CHIRAL INVARIANT PION LAGRANGIAN IN ONE-LOOP APPROXIMATION
    ECKER, G
    HONERKAMP, J
    NUCLEAR PHYSICS B, 1971, B 35 (02) : 481 - +
  • [10] Morphisms for Non-trivial Non-linear Invariant Generation for Algebraic Hybrid Systems
    Matringe, Nadir
    Moura, Arnaldo Vieira
    Rebiha, Rachid
    HYBRID SYSTEMS: COMPUTATION AND CONTROL, 2009, 5469 : 445 - +