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 条
  • [31] An internally non-linear ADC for a ΣΔ accelerometer loop
    Schmid, Hanspeter
    Sigel, Sven
    Pastre, Marc
    Kayal, Maher
    Zwahlen, Pascal
    Nguyen, Anne-Marie
    2010 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS, 2010, : 2155 - 2158
  • [32] Tight non-linear loop timing estimation
    van Engelen, RA
    Gallivan, KA
    INTERNATIONAL WORKSHOP ON INNOVATIVE ARCHITECTURE FOR FUTURE GENERATION HIGH-PERFORMANCE PROCESSORS AND SYSTEMS, 2002, : 21 - 26
  • [33] Using Loop Bound Analysis For Invariant Generation
    Cadek, Pavel
    Danninger, Clemens
    Sinn, Moritz
    Zuleger, Florian
    PROCEEDINGS OF THE 2018 18TH CONFERENCE ON FORMAL METHODS IN COMPUTER AIDED DESIGN (FMCAD), 2018, : 112 - 120
  • [34] ON THE CONSTRUCTION OF GROBNER BASES USING SYZYGIES
    MOLLER, HM
    JOURNAL OF SYMBOLIC COMPUTATION, 1988, 6 (2-3) : 345 - 359
  • [35] Equivalence Checking using Grobner Bases
    Sayed-Ahmed, Amr
    Grosse, Daniel
    Soeken, Mathias
    Drechsler, Rolf
    PROCEEDINGS OF THE 2016 16TH CONFERENCE ON FORMAL METHODS IN COMPUTER-AIDED DESIGN (FMCAD 2016), 2016, : 169 - 176
  • [36] Rationalizing Denominators Using Grobner Bases
    Li, Dongmei
    Wu, Man
    Liu, Jinwang
    Gao, Yiman
    COMPLEXITY, 2022, 2022
  • [37] Understanding aliasing using Grobner bases
    Pistone, G
    Riccomagno, E
    Wynn, HP
    MODA6 ADVANCES IN MODEL-ORIENTED DESIGN AND ANALYSIS, 2001, : 211 - 216
  • [38] Grobner Bases Applied to Systems of Linear Difference Equations
    Gerdt, V. P.
    PHYSICS OF PARTICLES AND NUCLEI LETTERS, 2008, 5 (03) : 248 - 254
  • [39] Non-linear approximation by 1-greedy bases
    Berna, Pablo M.
    Gonzalez, David
    JOURNAL OF MATHEMATICAL ANALYSIS AND APPLICATIONS, 2024, 531 (01)
  • [40] Grobner bases, Pade approximation, and decoding of linear codes
    Farr, JB
    Gao, SH
    CODING THEORY AND QUANTUM COMPUTING, 2005, 381 : 3 - 18