ACM Home Page
Please provide us with feedback. Feedback
Non-linear loop invariant generation using Gröbner bases
Full text PdfPdf (156 KB)
Source Annual Symposium on Principles of Programming Languages archive
Proceedings of the 31st ACM SIGPLAN-SIGACT symposium on Principles of programming languages table of contents
Venice, Italy
Pages: 318 - 329  
Year of Publication: 2004
ISBN:1-58113-729-X
Also published in ...
Authors
Sriram Sankaranarayanan  Stanford University, Stanford, CA
Henny B. Sipma  Stanford University, Stanford, CA
Zohar Manna  Stanford University, Stanford, CA
Sponsors
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
ACM: Association for Computing Machinery
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 3,   Downloads (12 Months): 65,   Citation Count: 9
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues   peer to peer  

Tools and Actions: Review this Article  
Save this Article to a Binder    Display Formats: BibTex  EndNote ACM Ref   
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/964001.964028
What is a DOI?

ABSTRACT

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.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
Ballarin, C., and Kauers, M. Solving parametric linear systems: an experiment with constraint algebraic programming. In Eighth Rhine Workshop on Computer Algebra (2002), pp. 101--114.
 
3
 
4
 
5
 
6
 
7
 
8
 
9
Colòn, M., Sankaranarayanan, S., and Sipma, H. Linear invariant generation using non-linear constraint solving. In Computer Aided Verification (July 2003), F. Somenzi and W. H. Jr, Eds., vol. 2725 of LNCS, Springer Verlag, pp. 420--433.
10
11
 
12
Cox, D., little, J., and O'Shea, D. Ideals, Varieties and Algorithms: An Introduction to Computational Algebraic Geometry and Commutative Algebra. Springer, 1991.
13
 
14
Floyd, R. W. Assigning meanings to programs. Proc. Symposia in Applied Mathematics 19 (1967), 19--32.
 
15
16
17
 
18
Karr, M. Affine relationships among variables of a program. Acta Inf. 6 (1976), 133--151.
 
19
 
20
 
21
 
22
 
23
 
24
 
25
Tarski, A. A decision method for elementary algebra and geometry. Univ. of California Press, Berkeley 5 (1951).
 
26
 
27
 
28
29
 
30
Windsteiger, W., and Buchberger, B. Groebner: A library for computing grobner bases based on saclib. Tech. rep., RISC-Linz, 1993.

CITED BY  9
 
 
 
 

Collaborative Colleagues:
Sriram Sankaranarayanan: colleagues
Henny B. Sipma: colleagues
Zohar Manna: colleagues

Peer to Peer - Readers of this Article have also read: