Publication

[ChenHWZ15] Counterexample-Guided Polynomial Loop Invariant Generation by Lagrange Interpolation Chen, Y.-F.; Hong, C.-D.; Wang, B.-Y. and Zhang, L. In Computer Aided Verification (CAV), pages 658-674, Springer, 2015.Downloads: pdf, bibURL: http://dx.doi.org/10.1007/978-3-319-21690-4_44 Abstract. We apply multivariate Lagrange interpolation to synthesizing polynomial quantitative loop invariants for probabilistic programs.We reduce the computation of an quantitative loop invariant to solving constraints over program variables and unknown coefficients. Lagrange interpolation allows us to find constraints with less unknown coefficients. Counterexample-guided refinement furthermore generates linear constraints that pinpoint the desired quantitative invariants. We evaluate our technique by several case studies with polynomial quantitative loop invariants in the experiments.