arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.14548cs.LOcs.PL
收藏

概率程序的相对完全验证

Relatively Complete Verification of Probabilistic Programs

Kevin Batz, Benjamin Lucien Kaminski, Joost-Pieter Katoen, Christoph Matheja

摘要:

我们研究的语法指定定量的“断言”-函数映射程序状态的数字-概率程序验证。我们证明,我们的语法是表达在以下意义上:给定任何概率程序$C$,如果一个函数$f$是表达在我们的语法,然后映射每个初始状态$σ$的期望值$f$评估在$σ$(也称为最弱的预期$\textit{wp} [C](f)$)终止后达到的最终状态也是表达在我们的语法。因此,我们得到了一个相对完整的验证系统的预期值和概率的意义上的推理库克:除了证明一个单一的两个功能之间的不平等的语法表达式在我们的语言,给定$f$,$g$,$C$,我们可以检查是否$g \preceq \textit{wp} [C] (f)$。

英文摘要:

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 $C$, if a function $f$ is expressible in our syntax, then the function mapping each initial state $σ$ to the expected value of $f$ evaluated in the final states reached after termination of $C$ on $σ$ (also called the weakest preexpectation $\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 $f$, $g$, and $C$, we can check whether $g \preceq \textit{wp} [C] (f)$.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑