English

Polynomial Template Generation using Sum-of-Squares Programming

Logic in Computer Science 2014-10-21 v2 Optimization and Control

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.

Keywords

Cite

@article{arxiv.1409.3941,
  title  = {Polynomial Template Generation using Sum-of-Squares Programming},
  author = {Assalé Adjé and Victor Magron},
  journal= {arXiv preprint arXiv:1409.3941},
  year   = {2014}
}

Comments

23 pages, 3 figures, 1 table

R2 v1 2026-06-22T05:55:55.681Z