Expectation Invariants as Fixed Points of Probabilistic Programs Conference Proceeding uri icon



  • We present static analyses for probabilistic loops using expectation invariants. Probabilistic loops are imperative while-loops augmented with calls to random variable generators. Whereas, traditional program analysis uses Floyd-Hoare style invariants to over-approximate the set of reachable states, our approach synthesizes invariant inequalities involving the expected values of program expressions at the loop head. We first define the notion of expectation invariants, and demonstrate their usefulness in analyzing probabilistic program loops. Next, we present the set of expectation invariants for a loop as a fixed point of the pre-expectation operator over sets of program expressions. Finally, we use existing concepts from abstract interpretation theory to present an iterative analysis that synthesizes expectation invariants for probabilistic program loops. We show how the standard polyhedral abstract domain can be used to synthesize expectation invariants for probabilistic programs, and demonstrate the usefulness of our approach on some examples of probabilistic program loops.

publication date

  • January 1, 2014

Date in CU Experts

  • January 28, 2016 4:38 AM

Full Author List

  • Chakarov A; Sankaranarayanan S

author count

  • 2

Additional Document Info

start page

  • 85

end page

  • 100


  • 8723