Abstract

We study a syntax for specifying quantitative "assertions" - functions mapping program states to numbers - for probabilistic program verification. We prove that our syntax is expressive in the following sense: Given any probabilistic program CC, if a function ff is expressible in our syntax, then the function mapping each initial state σσ to the expected value of ff evaluated in the final states reached after termination of CC on σσ (also called the weakest preexpectation wp[C](f)\textit{wp} [C](f)) is also expressible in our syntax. As a consequence, we obtain a relatively complete verification system for reasoning about expected values and probabilities in the sense of Cook: Apart from proving a single inequality between two functions given by syntactic expressions in our language, given ff, gg, and CC, we can check whether g⪯wp[C](f)g \preceq \textit{wp} [C] (f).

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.