← All papers
First page of Dugong: Composing Uncertified DAG Consensus

Dugong: Composing Uncertified DAG Consensus

George Danezis, Lefteris Kokoris-Kogias, Alberto Sonnino

cs.DC Nov 20, 2026 · v1 cs.CR
Formalizes a parameterized DAG consensus protocol in Lean 4 and Mathlib, proving safety, liveness and composition across about 125,000 lines, with mostly AI-generated proofs.
There is a significant number of uncertified DAG consensus protocols spanning partial synchrony and asynchrony as well as crash, Byzantine, and hybrid fault models, yet each protocol is designed, proved, and implemented from scratch. We introduce Dugong, a single parameterized protocol that unifies uncertified DAG consensus protocols. Its core algorithm, the Decider can implement eight existing protocols and yields four new ones by just tuning its parameters. Given the property that DAGs decouple throughput from latency Dugong presents a simple trade-off between latency and resilience to network and node faults. An operator can adapt the parameters of their protocol epoch-by-epoch to adjust the resilience without needing to develop a new protocol or worry about throughput. Around the Decider, Dugong layers production feature mechanisms (adaptive leader scheduling, checkpoints, responsive liveness, and crash recovery) that provably compose with each other and with the Decider's configurations. We formalize Dugong in Lean 4, proving safety and liveness under the established definitions of Byzantine atomic broadcast, and identify and repair gaps in published proofs. Finally, we implement Dugong as a reusable Rust library paired with a discrete-event network simulator, enabling direct latency comparisons across network and fault models.

Uncertified DAG consensus protocols are each designed, proved and implemented from scratch across varied network and fault models. This duplication is error-prone, as safety violations in published protocols such as Black Marlin and S-Minnow show.

Dugong is a single parameterized Decider that captures eight existing protocols and four new ones. Production mechanisms (responsive liveness, leader scheduling, checkpoints, crash recovery) are layered around it. The whole design is formalized in Lean 4 with Mathlib, proving atomic broadcast safety and liveness for each configuration and composition with the mechanisms. AI agents produced most of the proofs, while hand-reviewed definitions and theorem statements are kept in separate proof-free files.

About 125,000 lines of Lean prove atomic broadcast for every configuration, show the published protocols' commit rules equivalent to Decider configurations, and repair gaps in published proofs. A 25k-line Rust implementation with a discrete-event simulator enables latency comparisons across twelve configurations.