Polynomial template generation using sum-of-squares programming
File(s)1409.3941v2.pdf (1005.87 KB)
Working paper
Author(s)
Adjé, A
Magron, V
Type
Report
Abstract
Template abstract domains allow to express more interesting properties than classical abstract domains. However, template generation is a challenging problem when one uses template abstract domains for program analysis. In this paper, we relate template generation with the program properties that we want to prove. We focus on one-loop programs with nested conditional branches. We formally define the notion of well-representative template basis with respect to such programs and a given property. The definition relies on the fact that template abstract domains produce inductive invariants. We show that these invariants can be obtained by solving certain systems of functional inequalities. Then, such systems can be strengthened using a hierarchy of sum-of-squares (SOS) problems when we consider programs written in polynomial arithmetic. Each step of the SOS hierarchy can possibly provide a solution which in turn yields an invariant together with a certificate that the desired property holds. The interest of this approach is illustrated on nontrivial program examples in polynomial arithmetic.
Date Issued
2015-08-18T09:01:20Z
2014-09-13
Copyright Statement
© 2014 The Authors
Identifier
http://arxiv.org/abs/1409.3941v2
Notes
23 pages, 3 figures, 1 table