paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Hopping Proofs of Expectation-Based Properties: Applications to Skiplists and Security Proofs

基于期望性质的跳跃证明:在跳表与安全证明中的应用
OOPSLA 8(OOPSLA1)2024匹配度 2/10 · 论文研究概率程序期望性质的形式化验证与 EasyCrypt 实现,属于程序验证/定理证明方向,与用户当前关注的 LLM/Agent 交叉、浮点程序分析、贝叶斯程序分析及面向 ML/Agent 的静态分析均无直接关联。虽然涉及形式验证,但未结合 LLM/Agent,也未体现工业落地或问题驱动 benchmark。引用 5 inbox
Martin Avanzini, Gilles Barthe, Benjamin Grégoire, Georg Moser, Gabriele Vanoni
crossref: 2026-09-10

AI 速览

一句话:提出 EHL 的 hopping 证明规则,将概率程序的期望性质目标归约到相关程序,并在 EasyCrypt 中机验证其可靠性。

概率程序的期望性质(如期望复杂度)验证十分困难,现有语法导向证明系统难以处理需要改变程序结构的情形。本文提出 hopping 证明方法,将 EHL(一种语法导向的期望性质证明系统)与一条 hopping 规则结合:该规则把原程序的证明目标归约到另一个通过 pRHL 与原程序关联的程序的目标。作者证明了 EHL 对含过程调用与对抗计算的核语言的可靠性,并在无对抗片段上证明其完备性;同时将 EHL 实现进 EasyCrypt,与 pRHL 等程序逻辑紧密集成。借助该集成,作者给出了原地随机化快速选择与跳表的期望复杂度的机器化证明,并讨论了其在密码学证明中的应用与更广泛影响。

问题
如何验证概率程序的期望性质(如期望时间复杂度),特别是当证明需要把目标从原程序转移到结构不同的相关程序时。
方法
提出 EHL 的 hopping 证明规则,将原程序的期望性质目标归约到经 pRHL 关联的另一程序的目标;证明 EHL 对含过程调用与对抗计算的核语言的可靠性,以及对无对抗片段的完备性,并实现到 EasyCrypt 中与 pRHL 等逻辑紧密集成。
评估
在 EasyCrypt 中对原地随机化快速选择与跳表的期望复杂度给出机器化证明,并给出密码学证明的应用示例。
原文摘要(Abstract)

We propose, implement, and evaluate a hopping proof approach for proving expectation-based properties of probabilistic programs. Our approach combines EHL, a syntax-directed proof system for reducing proof goals of a program to proof goals of simpler programs, with a "hopping" proof rule for reducing proof goals of an original program to proof goal of a different program which is suitably related (by means of pRHL, a relational program logic for probabilistic program) to the original program. We prove that EHL is sound for a core language with procedure calls and adversarial computations, and complete for the adversary-free fragment of the language. We also provide an implementation of EHL into EasyCrypt, a proof assistant tailored for reasoning about relational properties of probabilistic programs. We provide a tight integration of EHL with other program logics supported by EasyCrypt, and in particular probabilistic Relational Hoare Logic (pRHL). Using this tight integration, we give mechanized proofs of expected complexity of in-place implementations of randomized quickselect and skip lists. We also sketch applications of our approach to cryptographic proofs and discuss the broader impact of EHL in the EasyCrypt proof assistant.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot2551,
  title = {Hopping Proofs of Expectation-Based Properties: Applications to Skiplists and Security Proofs},
  author = {Martin Avanzini and Gilles Barthe and Benjamin Grégoire and Georg Moser and Gabriele Vanoni},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {8},
  number = {OOPSLA1},
  year = {2024},
  doi = {10.1145/3649839}
}