pith. sign in

arxiv: 1201.5086 · v2 · pith:WOFEWX5Mnew · submitted 2012-01-24 · 💻 cs.SE · cs.DM· cs.SC· math.CO

Generating Program Invariants via Interpolation

classification 💻 cs.SE cs.DMcs.SCmath.CO
keywords interpolationinvariantspolynomialalgorithmdegreeexistgeneratingproblems
0
0 comments X
read the original abstract

This article focuses on automatically generating polynomial equations that are inductive loop invariants of computer programs. We propose a new algorithm for this task, which is based on polynomial interpolation. Though the proposed algorithm is not complete, it is efficient and can be applied to a broader range of problems compared to existing methods targeting similar problems. The efficiency of our approach is testified by experiments on a large collection of programs. The current implementation of our method is based on dense interpolation, for which a total degree bound is needed. On the theoretical front, we study the degree and dimension of the invariant ideal of loops which have no branches and where the assignments define a P-solvable recurrence. In addition, we obtain sufficient conditions for non-trivial polynomial equation invariants to exist (resp. not to exist).

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.