arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1204.2932cs.LO
收藏

用模式证明概率程序的终止性

Proving Termination of Probabilistic Programs Using Patterns

Javier Esparza, Andreas Gaiser, Stefan Kiefer

摘要:

证明程序终止是计算机科学的一个基本挑战。最近的研究已经产生了强大的工具,可以检查各种程序的终止。类似于概率程序,即概率为1的终止(“几乎确定终止”),是随机算法和概率协议同样重要的性质。我们提出了一个新的算法来证明概率程序的几乎必然终止性。我们的算法利用了最先进的模型检查器和终止证明器的非概率程序的力量:它调用这样的工具在一个细化循环,从而迭代地构建一个“终止模式”,这是一组终止运行的概率为1。我们报告各种案例研究,说明我们的算法的有效性。作为进一步的应用,我们的算法可以提高可达概率的下限。

英文摘要:

Proving programs terminating is a fundamental computer science challenge. Recent research has produced powerful tools that can check a wide range of programs for termination. The analog for probabilistic programs, namely termination with probability one ("almost-sure termination"), is an equally important property for randomized algorithms and probabilistic protocols. We suggest a novel algorithm for proving almost-sure termination of probabilistic programs. Our algorithm exploits the power of state-of-the-art model checkers and termination provers for nonprobabilistic programs: it calls such tools within a refinement loop and thereby iteratively constructs a "terminating pattern", which is a set of terminating runs with probability one. We report on various case studies illustrating the effectiveness of our algorithm. As a further application, our algorithm can improve lower bounds on reachability probabilities.

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

↑