Finding Invariants of Distributed Systems: It's a Small (Enough) World After All
Travis Hance, Marijn Heule, Ruben Martins, Bryan Parno
摘要
Today's distributed systems are increasingly complex, leading to subtle bugs that are difficult to detect with standard testing methods. Formal verification can provably rule out such bugs, but historically it has been excessively labor intensive. For distributed systems, recent work shows that, given a correct inductive invariant, nearly all other proof work can be automated; however, the construction of such invariants is still a difficult manual task.
In this paper, we demonstrate a new methodology for automating the construction of inductive invariants, given as input a (formal) description of the distributed system and a desired safety condition. Our system performs an exhaustive search within a given space of candidate invariants in order to find and verify inductive invariants which suffice to prove the safety condition. Central to our ability to search efficiently is our algorithm's ability to learn from counterexamples whenever a candidate fails to be invariant, allowing us to check the remaining candidates more efficiently. We hypothesize that many distributed systems, even complex ones, may have concise invariants that make this approach practical, and in support of this, we show that our system is able to identify and verify inductive invariants for the Paxos protocol, which proved too complex for previous work.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 24 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Anvil: Verifying Liveness of Cluster Management Controllers 引用了 DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols
- Anvil: Verifying Liveness of Cluster Management Controllers 引用了 DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols
- Verus: A Practical Foundation for Systems Verification 引用了 DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols
- Verus: A Practical Foundation for Systems Verification 引用了 DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols
- DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols 引用了 First-order quantified separators
- DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols 引用了 DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols
- DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols 引用了 Learning nonlinear loop invariants with gated continuous logic networks
- Compiling Distributed System Models with PGo 引用了 DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols
- Compiling Distributed System Models with PGo 引用了 DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols
- DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols 引用了 First-order quantified separators
- DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols 引用了 Learning nonlinear loop invariants with gated continuous logic networks
引用它的顶会 Paper24
- DistAI: Data-Driven Automated Invariant Learning for Distributed ProtocolsJianan Yao, Runzhou Tao, Ronghui Gu, Jason Nieh 等OSDI 2021 · 76 次引用
- Anvil: Verifying Liveness of Cluster Management ControllersXudong Sun, Wenjie Ma, Jiawei Tyler Gu, Zicheng Ma 等OSDI 2024 · 50 次引用
- DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed ProtocolsJianan Yao, Runzhou Tao, Ronghui Gu, Jason NiehOSDI 2022 · 50 次引用
- Verus: A Practical Foundation for Systems VerificationAndrea Lattuada, Travis Hance, Jay Bosamiya, Matthias Brun 等SOSP 2024 · 22 次引用
- Compiling Distributed System Models with PGoA. Finn Hackett, Shayan Hosseini, Renato Costa, Matthew Do 等ASPLOS 2023 · 13 次引用
它引用的 Paper2
相关 Paper
- Basilisk: Using Provenance Invariants to Automate Proofs of Undecidable ProtocolsTony Nuda Zhang, Keshav Singh, Tej Chajed, Manos Kapritsos 等OSDI 2025 · 9 次引用
- Simplifying Safety Proofs with Forward-Backward Reasoning and ProphecyEden Frenkel, Kenneth L. McMillan, Oded Padon, Sharon ShohamPLDI 2026
- Specy: Learning Specifications for Distributed Systems from Event TracesMike He, Ankush Desai, Jagarapu Aishwarya, Doug Terry 等OOPSLA 2026
- I3DP: Neuro-Symbolic Inductive Invariant Inference for Distributed ProtocolsWeining Cao, Guangyuan Wu, Yuan Yao, Hengfeng Wei 等SOSP 2026
- Inductive Invariants That Spark Joy: Using Invariant Taxonomies to Streamline Distributed Protocol ProofsTony Nuda Zhang, Travis Hance, Manos Kapritsos, Tej Chajed 等OSDI 2024 · 9 次引用
