Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
97 tokens/sec
GPT-4o
53 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
5 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Finding polynomial loop invariants for probabilistic programs (1707.02690v1)

Published 10 Jul 2017 in cs.LO

Abstract: Quantitative loop invariants are an essential element in the verification of probabilistic programs. Recently, multivariate Lagrange interpolation has been applied to synthesizing polynomial invariants. In this paper, we propose an alternative approach. First, we fix a polynomial template as a candidate of a loop invariant. Using Stengle's Positivstellensatz and a transformation to a sum-of-squares problem, we find sufficient conditions on the coefficients. Then, we solve a semidefinite programming feasibility problem to synthesize the loop invariants. If the semidefinite program is unfeasible, we backtrack after increasing the degree of the template. Our approach is semi-complete in the sense that it will always lead us to a feasible solution if one exists and numerical errors are small. Experimental results show the efficiency of our approach.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (5)
  1. Yijun Feng (5 papers)
  2. Lijun Zhang (239 papers)
  3. David N. Jansen (11 papers)
  4. Naijun Zhan (52 papers)
  5. Bican Xia (38 papers)
Citations (35)

Summary

We haven't generated a summary for this paper yet.