2007
DOI: 10.1016/j.jsc.2007.01.002
|View full text |Cite
|
Sign up to set email alerts
|

Generating all polynomial invariants in simple loops

Abstract: This paper presents a method for automatically generating all polynomial invariants in simple loops. It is first shown that the set of polynomials serving as loop invariants has the algebraic structure of an ideal. Based on this connection, a fixpoint procedure using operations on ideals and Gröbner basis constructions is proposed for finding all polynomial invariants. Most importantly, it is proved that the procedure terminates in at most m + 1 iterations, where m is the number of program variables. The proof… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2
1

Citation Types

1
75
0

Year Published

2010
2010
2021
2021

Publication Types

Select...
7
1

Relationship

0
8

Authors

Journals

citations
Cited by 101 publications
(76 citation statements)
references
References 21 publications
(22 reference statements)
1
75
0
Order By: Relevance
“…Existing sound tools for non-linear invariant generation can produce invariants that are conjunctions of polynomial equalities [51,38,50,14,46,53,17]. However, by imposing strict restrictions on syntax (such as no nested loops) [51,38] do not need to assume the degree of polynomials as the input.…”
Section: Comparison With Tools For Non-linear Invariantsmentioning
confidence: 99%
See 1 more Smart Citation
“…Existing sound tools for non-linear invariant generation can produce invariants that are conjunctions of polynomial equalities [51,38,50,14,46,53,17]. However, by imposing strict restrictions on syntax (such as no nested loops) [51,38] do not need to assume the degree of polynomials as the input.…”
Section: Comparison With Tools For Non-linear Invariantsmentioning
confidence: 99%
“…However, by imposing strict restrictions on syntax (such as no nested loops) [51,38] do not need to assume the degree of polynomials as the input. Bagnara et al [4] introduce new variables for monomials and generate linear invariants over them by abstract interpretation over convex polyhedra.…”
Section: Comparison With Tools For Non-linear Invariantsmentioning
confidence: 99%
“…The details of NLA and AES are given in Tables II and III, respectively. The NLA test suite consists of 24 programs from various sources collected by Rodríguez-Carbonell and Kapur [23], [24]. These programs implement classic arithmetic algorithms that are widely used in programming, such as mult, div, pow, mod, sqrt, gcd, lcm.…”
Section: A Programsmentioning
confidence: 99%
“…Since one ingredient of our method is numeric invariant generation, we also compare it with other polynomial invariant generation techniques [22,25,24]. Papers [22,25] compute polynomial equalities of fixed degree as invariants using the polynomial ideal theory.…”
Section: Introductionmentioning
confidence: 99%
“…Our algorithm thus returns a finite representation of the polynomial invariant ideal, whereas [22,25] may only iteratively increase the polynomial degree to infer such a basis. Paper [24] derives polynomial invariants for loops with positive rational eigenvalues, by iteratively approximating the polynomial invariant ideal using Gröbner basis computation [3]. In contrast to [24], our approach generates polynomial invariants over scalars for polynomial loops with algebraic, and not just rational, eigenvalues.…”
Section: Introductionmentioning
confidence: 99%