A Weakest Pre-Expectation Semantics for Mixed-Sign Expectations
Logic in Computer Science
2017-04-19 v2 Programming Languages
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.
Keywords
Cite
@article{arxiv.1703.07682,
title = {A Weakest Pre-Expectation Semantics for Mixed-Sign Expectations},
author = {Benjamin Lucien Kaminski and Joost-Pieter Katoen},
journal= {arXiv preprint arXiv:1703.07682},
year = {2017}
}