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

并界的程序逻辑

A program logic for union bounds

Gilles Barthe, Marco Gaboardi, Benjamin Grégoire, Justin Hsu, Pierre-Yves Strub

摘要:

我们提出了一个基于联合界的概率霍尔逻辑aHL,这是一个来自基本概率论的工具。虽然联合界很简单,但它是分析随机算法的一个非常常用的工具。在形式化验证术语中,联合边界允许对算法可能出错的可能方式进行灵活和组合推理。它也使得关于概率的推理和关于事件的推理之间能够清晰地分离,这在我们的逻辑中被表示为标准的一阶公式。值得注意的是,我们逻辑中的断言是非概率性的,尽管我们可以从判断中得出概率性的事实。我们的逻辑还可以证明交互式程序的准确性,程序必须在输入到达时立即产生中间输出,而不是一次访问整个输入。此设置还启用自适应性,其中较晚的输入可能取决于较早的中间输出。我们展示了如何证明准确性的几个例子,从差分隐私文学,互动和非互动。

英文摘要:

We propose a probabilistic Hoare logic aHL based on the union bound, a tool from basic probability theory. While the union bound is simple, it is an extremely common tool for analyzing randomized algorithms. In formal verification terms, the union bound allows flexible and compositional reasoning over possible ways an algorithm may go wrong. It also enables a clean separation between reasoning about probabilities and reasoning about events, which are expressed as standard first-order formulas in our logic. Notably, assertions in our logic are non-probabilistic, even though we can conclude probabilistic facts from the judgments. Our logic can also prove accuracy properties for interactive programs, where the program must produce intermediate outputs as soon as pieces of the input arrive, rather than accessing the entire input at once. This setting also enables adaptivity, where later inputs may depend on earlier intermediate outputs. We show how to prove accuracy for several examples from the differential privacy literature, both interactive and non-interactive.

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

↑