paperbot · PL 论文追踪

全部论文 待读 收藏

P2 LiDO-DAG: A Framework for Verifying Safety and Liveness of DAG-Based Consensus Protocols

LiDO-DAG:验证基于 DAG 的共识协议安全性与活性的框架
PLDI 9(PLDI)2025匹配度 2/10 · 该论文属于分布式共识协议的形式化验证(Coq 机械化证明),与用户核心方向 PL×AI(LLM/Agent 用于静态分析或形式化验证)没有直接交叉,也不涉及浮点程序分析或贝叶斯程序分析。虽然同属形式化验证领域,但并未利用 LLM/Agent,也未聚焦程序分析或 ML/Agentic 程序。引用 3 inbox
Longfei Qiu, Jingqi Xiao, Ji-Yong Shin, Zhong Shao
crossref: 2026-09-10

AI 速览

一句话:提出 LiDO-DAG 并发对象模型,并在 Coq 中为三种 DAG 共识协议机化验证安全性与活性。

全球规模区块链需要高性能 BFT 共识,但经典 PBFT 类协议受领导者瓶颈限制。基于 DAG 的协议通过分离数据传播与区块排序提升吞吐,却使安全性与活性逻辑更复杂,且多仅有纸面证明。本文提出 LiDO-DAG:结合 DAG 抽象与 LiDO(面向领导者共识的抽象)的并发对象模型,统一刻画此类协议。作者在 Coq 中实现该框架,并应用于 Narwhal、Bullshark 和 Sailfish 三个近期协议,机械化了它们的安全性与活性证明,其中活性证明为 DAG 协议首次。该框架还揭示了 Sailfish 的一项优化,可改善其最坏情况延迟。

问题
基于 DAG 的 BFT 共识协议安全性与活性逻辑复杂,现有工作多只有纸面证明,缺乏高效构建形式化证明的方法。
方法
提出 LiDO-DAG 并发对象模型,将 DAG 抽象与 LiDO 领导者共识抽象结合,并在 Coq 中实现,用于机化验证具体 DAG 协议。
评估
将框架应用于 Narwhal、Bullshark 和 Sailfish,成功生成安全性与活性机械化证明,并发现可改善 Sailfish 最坏情况延迟的优化。
原文摘要(Abstract)

Blockchains operating at the global scale demand high-performance byzantine fault-tolerant (BFT) consensus protocols. Most classic PBFT-like protocols suffer from an issue known as the leader bottleneck, which severely limits their throughput and resource utilization. Recently, Directed Acyclic Graph, or DAG-based protocols, have emerged as a promising approach for eliminating the leader bottleneck and achieving better performance. They attain higher throughput by separating data dissemination and block ordering. However, their safety and liveness logic is also significantly more elaborate. So far, most DAG-based protocols have only enjoyed on-paper security proofs, and it is not clear how to construct formal proofs of these protocols efficiently. We introduce LiDO-DAG, a concurrent object model that abstracts the common logic of these protocols. LiDO-DAG is constructed by combining a DAG abstraction and LiDO, a recently proposed abstraction for leader-based consensus. To demonstrate that our framework enables rapid validation of new DAG-based protocol designs, we implemented LiDO-DAG in Coq and applied it to three recent DAG-based protocols, including Narwhal, Bullshark, and Sailfish. Our framework readily yields mechanized safety and liveness proofs for all three protocols, which are also the first mechanized liveness proofs of any DAG-based protocol. Our framework has also revealed an optimization for Sailfish that improves its worst-case latency.

链接与引用

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

BibTeX
@article{paperbot3121,
  title = {LiDO-DAG: A Framework for Verifying Safety and Liveness of DAG-Based Consensus Protocols},
  author = {Longfei Qiu and Jingqi Xiao and Ji-Yong Shin and Zhong Shao},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {9},
  number = {PLDI},
  year = {2025},
  doi = {10.1145/3729306}
}