利用Doob分解合成概率不变量
Synthesizing Probabilistic Invariants via Doob's Decomposition
摘要:
在分析概率计算时,一个强大的方法是首先找到一个鞅-一个关于期望保持不变的程序变量的表达式-然后应用可选停止定理来推断终止时的属性。因此,主要的挑战之一是系统地找到鞅。我们提出了一个新的程序来合成鞅表达式从一个任意的初始表达式。与最先进的方法相反,我们不依赖于约束求解。相反,我们使用基于Doob分解的符号构造。这个过程可以产生非常复杂的鞅,用条件期望表示。我们展示了如何自动生成和简化这些鞅,以及如何应用可选停止定理来推断终止时间的属性。这最后一步通常涉及一些简化步骤,并且在当前方法中通常手动完成。我们实现了我们的技术在一个原型工具,并展示了我们的过程中的几个经典的例子。其中一些超出了目前半自动方法的能力。
英文摘要:
When analyzing probabilistic computations, a powerful approach is to first find a martingale---an expression on the program variables whose expectation remains invariant---and then apply the optional stopping theorem in order to infer properties at termination time. One of the main challenges, then, is to systematically find martingales. We propose a novel procedure to synthesize martingale expressions from an arbitrary initial expression. Contrary to state-of-the-art approaches, we do not rely on constraint solving. Instead, we use a symbolic construction based on Doob's decomposition. This procedure can produce very complex martingales, expressed in terms of conditional expectations. We show how to automatically generate and simplify these martingales, as well as how to apply the optional stopping theorem to infer properties at termination time. This last step typically involves some simplification steps, and is usually done manually in current approaches. We implement our techniques in a prototype tool and demonstrate our process on several classical examples. Some of them go beyond the capability of current semi-automatic approaches.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。