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 条
  • [21] Computing Grobner Bases within Linear Algebra
    Suzuki, Akira
    COMPUTER ALGEBRA IN SCIENTIFIC COMPUTING, PROCEEDINGS, 2009, 5743 : 310 - 321
  • [22] On a Grobner bases structure associated to linear codes
    Borges-Quintana, M.
    Borges-Trenard, M. A.
    Martinez-Moro, E.
    JOURNAL OF DISCRETE MATHEMATICAL SCIENCES & CRYPTOGRAPHY, 2007, 10 (02): : 151 - 191
  • [23] INVARIANT THEORETICAL CONSIDERATION OF NON-LINEAR REALIZATIONS
    HAMAMOTO, S
    PROGRESS OF THEORETICAL PHYSICS, 1978, 60 (01): : 315 - 316
  • [24] INVARIANT REGULARIZATION OF NON-LINEAR CHIRAL THEORIES
    SLAVNOV, AA
    NUCLEAR PHYSICS B, 1971, B 31 (02) : 301 - &
  • [25] ON THE DYNAMICAL MASS GENERATION IN GAUGE-INVARIANT NON-LINEAR SIGMA-MODELS
    DIAZ, A
    HELAYELNETO, JA
    SMITH, AW
    PHYSICS LETTERS B, 1988, 200 (04) : 515 - 519
  • [26] The common invariant subspace problem: an approach via Grobner bases
    Arapura, D
    Peterson, C
    LINEAR ALGEBRA AND ITS APPLICATIONS, 2004, 384 (1-3 SUPPL.) : 1 - 7
  • [27] Generation of spatial solitons using non-linear guided modes
    R. W. Micallef
    Yu. S. Kivshar
    J. D. Love
    D. Burak
    R. Binder
    Optical and Quantum Electronics, 1998, 30 : 751 - 770
  • [28] Generation of spatial solitons using non-linear guided modes
    Micallef, RW
    Kivshar, YS
    Love, JD
    Burak, D
    Binder, R
    OPTICAL AND QUANTUM ELECTRONICS, 1998, 30 (7-10) : 751 - 770
  • [29] Non-linear and adaptive flight control of autonomous aircraft using invariant manifolds
    Karagiannis, D.
    Astolfi, A.
    PROCEEDINGS OF THE INSTITUTION OF MECHANICAL ENGINEERS PART G-JOURNAL OF AEROSPACE ENGINEERING, 2010, 224 (G4) : 403 - 415
  • [30] NON-LINEAR ANALYSIS OF PHASE LOCKED LOOP
    PRIESTLEY, B
    ELECTRONIC ENGINEERING, 1983, 55 (676): : 27 - 27