paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Verifying Almost-Sure Termination for Randomized Distributed Algorithms

验证随机化分布式算法的几乎必然终止性
POPL 10(POPL)2026匹配度 4/10 · 论文属于概率程序验证(鞅+弱公平性的可靠性证明规则,并在 Caesar 上实现 SMT 验证),在'兼具理论形式化与工程实现'这一点上与画像的偏好契合,且与概率程序分析沾边;但其目标领域是随机分布式共识算法的几乎必然终止,既未涉及 LLM/Agent 与静态分析的交叉,也未涉及浮点程序分析或贝叶斯程序分析,与画像的三个核心交叉方向都不直接相关。引用 4 inbox
Constantin Enea, Rupak Majumdar, Harshit Jitendra Motwani, V. R. Sathiyanarayana
crossref: 2026-09-10

AI 速览

一句话:提出结合鞅与弱公平性的可靠证明规则,在 Caesar 上以 SMT 验证随机分布式共识的几乎必然终止。

本文研究随机化分布式算法活性性质(几乎必然终止)的验证问题。作者提出一条可靠的证明规则,将基于鞅(martingale)的几乎必然终止技术与弱公平性推理相结合,并能处理状态无界增长的参数化协议,突破了此前依赖有界变体函数或归约到非概率公平性的限制。该规则在概率程序验证器 Caesar 上实现,可生成 SMT 证明。作者用其对随机异步共识协议(包括 Ben-Or 协议与 graded binary consensus)在崩溃故障与拜占庭故障下的终止性给出证明;这些协议的终止性证明历来困难,此前方法无法覆盖。

问题
随机化分布式算法的活性(几乎必然终止)验证困难,尤其对状态无界增长的参数化协议,现有方法依赖有界变体函数或非概率公平性归约。
方法
提出一条可靠的证明规则,结合基于鞅的几乎必然终止推理与弱公平性论证,并在概率程序验证器 Caesar 上实现为 SMT 证明。
评估
用该规则为 Ben-Or 协议和 graded binary consensus 等随机异步共识协议在崩溃与拜占庭故障下生成 SMT 终止性证明。
原文摘要(Abstract)

We present a technique for the verification of liveness properties of randomized distributed algorithms. Our technique gives SMT-based proofs for many common consensus algorithms, both for crash faults and for Byzantine faults. It is based on a sound proof rule for fair almost-sure termination of distributed systems that combines martingale-based techniques for almost-sure termination with reasoning about weak fairness. Our proof rule is able to handle parametrized protocols where the state grows unboundedly and every variant function is unbounded. These protocols were out of scope for previous approaches, which either relied on bounded variant functions or on reductions to (non-probabilistic) fairness. We have implemented our proof rules on top of Caesar, a program verifier for probabilistic programs. We use our proof rule to give SMT-based proofs for termination properties of randomized asynchronous consensus protocols, including Ben-Or’s protocol and graded binary consensus, for both crash and Byzantine faults. These protocols have notoriously difficult proofs of termination but fall within the scope of our proof rule.

链接与引用

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

BibTeX
@article{EneaMMS26,
  title = {Verifying Almost-Sure Termination for Randomized Distributed Algorithms},
  author = {Constantin Enea and Rupak Majumdar and Harshit Jitendra Motwani and V. R. Sathiyanarayana},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {10},
  number = {POPL},
  year = {2026},
  doi = {10.1145/3776691}
}