An Iterative Method For Generating Loop Invariants

Shikun Chen,Zhoujun Li,Xiaoyu Song,Mengjun Li
DOI: https://doi.org/10.1007/978-3-642-21204-8_29
2011-01-01
Abstract:Automatic derivation of invariants is one of the critical conundrums in the framework of the inductive program verification methodologies. This paper presents a novel and simple approach to generating polynomial equations as loop invariants. Finite difference of expressions and linear equation solving are harnessed. Unlike related work, the generated constraints are linear equalities, which can be solved efficiently. Furthermore, invariants of higher degree can be constructed in terms of those of lower degree. The case studies demonstrate the effectiveness of the approach.
What problem does this paper attempt to address?