pith. sign in

arxiv: 1703.07682 · v2 · pith:S5RWLABInew · submitted 2017-03-22 · 💻 cs.LO · cs.PL

A Weakest Pre-Expectation Semantics for Mixed-Sign Expectations

classification 💻 cs.LO cs.PL
keywords calculusreasoningsemanticsevenexpectedmixed-signpre-expectationpre-expectations
0
0 comments X
read the original abstract

We present a weakest-precondition-style calculus for reasoning about the expected values (pre-expectations) of \emph{mixed-sign unbounded} random variables after execution of a probabilistic program. The semantics of a while-loop is well-defined as the limit of iteratively applying a functional to a zero-element just as in the traditional weakest pre-expectation calculus, even though a standard least fixed point argument is not applicable in this context. A striking feature of our semantics is that it is always well-defined, even if the expected values do not exist. We show that the calculus is sound, allows for compositional reasoning, and present an invariant-based approach for reasoning about pre-expectations of loops.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.