混合符号期望的最弱预期望语义
A Weakest Pre-Expectation Semantics for Mixed-Sign Expectations
摘要:
我们提出了一个最弱的先决条件式演算推理的期望值(前预期)的\emph{mixed-sign unbounded}随机变量执行后的概率程序。while循环的语义被定义为迭代地将泛函应用于零元素的极限,就像传统的最弱预期望演算一样,即使标准的最小不动点参数在这种情况下不适用。我们的语义的一个显著特征是,它总是定义良好的,即使期望值不存在。我们表明,微积分是健全的,允许组合推理,并提出了一个基于不变的方法推理循环的预期。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。