Inductive Invariants That Spark Joy: Using Invariant Taxonomies to Streamline Distributed Protocol Proofs
Tony Nuda Zhang, Travis Hance, Manos Kapritsos, Tej Chajed, Bryan Parno
Abstract
Proving the correctness of a distributed protocol is a challenging endeavor. Central to this task is finding an inductive invariant for the protocol. Currently, automated invariant inference algorithms require developers to describe protocols using a restricted logic. If the developer wants to prove a protocol expressed without these restrictions, they must devise an inductive invariant manually.
We propose an approach that simplifies and partially automates finding the inductive invariant of a distributed protocol, as well as proving that it really is an invariant. The key insight is to identify an invariant taxonomy that divides invariants into Regular Invariants, which have one of a few simple lowlevel structures, and Protocol Invariants, which capture the higher-level host relationships that make the protocol work.
Building on the insight of this taxonomy, we describe the Kondo methodology for proving the correctness of a distributed protocol modeled as a state machine. The developer first manually devises the Protocol Invariants by proving a synchronous version of the protocol correct. In this simpler version, sends and receives are replaced with atomic variable assignments. The Kondo tool then automatically generates the asynchronous protocol description, Regular Invariants, and proofs that the Regular Invariants are inductive on their own. Finally, Kondo combines these with the synchronous proof into a draft proof of the asynchronous protocol, which may then require a small amount of user effort to complete. Our evaluation shows that Kondo reduces developer effort for a wide variety of distributed protocols.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Basilisk: Using Provenance Invariants to Automate Proofs of Undecidable Protocols cites Finding Invariants of Distributed Systems: It's a Small (Enough) World After All
- Basilisk: Using Provenance Invariants to Automate Proofs of Undecidable Protocols cites DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols
- Basilisk: Using Provenance Invariants to Automate Proofs of Undecidable Protocols cites First-order quantified separators
- Basilisk: Using Provenance Invariants to Automate Proofs of Undecidable Protocols cites DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols
- Basilisk: Using Provenance Invariants to Automate Proofs of Undecidable Protocols cites Using Lightweight Formal Methods to Validate a Key-Value Storage Node in Amazon S3
- Finding Invariants of Distributed Systems: It's a Small (Enough) World After All cites First-order quantified separators
- DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols cites Finding Invariants of Distributed Systems: It's a Small (Enough) World After All
- DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols cites First-order quantified separators
- DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols cites DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols
- DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols cites Finding Invariants of Distributed Systems: It's a Small (Enough) World After All
- DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols cites First-order quantified separators
- AutoMan: Facilitating Verified Distributed Systems Development Through Automatic Code Generation and Manual Optimizations cites Basilisk: Using Provenance Invariants to Automate Proofs of Undecidable Protocols
- AutoMan: Facilitating Verified Distributed Systems Development Through Automatic Code Generation and Manual Optimizations cites Finding Invariants of Distributed Systems: It's a Small (Enough) World After All
- AutoMan: Facilitating Verified Distributed Systems Development Through Automatic Code Generation and Manual Optimizations cites DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols
- AutoMan: Facilitating Verified Distributed Systems Development Through Automatic Code Generation and Manual Optimizations cites DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols
- AutoMan: Facilitating Verified Distributed Systems Development Through Automatic Code Generation and Manual Optimizations cites Using Lightweight Formal Methods to Validate a Key-Value Storage Node in Amazon S3
- Specy: Learning Specifications for Distributed Systems from Event Traces cites Basilisk: Using Provenance Invariants to Automate Proofs of Undecidable Protocols
- Specy: Learning Specifications for Distributed Systems from Event Traces cites Finding Invariants of Distributed Systems: It's a Small (Enough) World After All
- Specy: Learning Specifications for Distributed Systems from Event Traces cites DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols
- Specy: Learning Specifications for Distributed Systems from Event Traces cites First-order quantified separators
- Specy: Learning Specifications for Distributed Systems from Event Traces cites DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols
- I3DP: Neuro-Symbolic Inductive Invariant Inference for Distributed Protocols cites Basilisk: Using Provenance Invariants to Automate Proofs of Undecidable Protocols
- I3DP: Neuro-Symbolic Inductive Invariant Inference for Distributed Protocols cites Finding Invariants of Distributed Systems: It's a Small (Enough) World After All
- I3DP: Neuro-Symbolic Inductive Invariant Inference for Distributed Protocols cites DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols
- I3DP: Neuro-Symbolic Inductive Invariant Inference for Distributed Protocols cites First-order quantified separators
- I3DP: Neuro-Symbolic Inductive Invariant Inference for Distributed Protocols cites DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols
Cited by top-tier papers4
- Basilisk: Using Provenance Invariants to Automate Proofs of Undecidable ProtocolsTony Nuda Zhang, Keshav Singh, Tej Chajed, Manos Kapritsos et al.OSDI 2025 · 9 citations
- AutoMan: Facilitating Verified Distributed Systems Development Through Automatic Code Generation and Manual OptimizationsZihao Zhang, Ti Zhou, Christa Jenkins, Omar Chowdhury et al.SOSP 2025 · 2 citations
- Specy: Learning Specifications for Distributed Systems from Event TracesMike He, Ankush Desai, Jagarapu Aishwarya, Doug Terry et al.OOPSLA 2026
- I3DP: Neuro-Symbolic Inductive Invariant Inference for Distributed ProtocolsWeining Cao, Guangyuan Wu, Yuan Yao, Hengfeng Wei et al.SOSP 2026
Builds on11
- DistAI: Data-Driven Automated Invariant Learning for Distributed ProtocolsJianan Yao, Runzhou Tao, Ronghui Gu, Jason Nieh et al.OSDI 2021 · 76 citations
- Finding Invariants of Distributed Systems: It's a Small (Enough) World After AllTravis Hance, Marijn Heule, Ruben Martins, Bryan ParnoNSDI 2021 · 69 citations
- Using Lightweight Formal Methods to Validate a Key-Value Storage Node in Amazon S3James Bornholt, Rajeev Joshi, Vytautas Astrauskas, Brendan Cully et al.SOSP 2021 · 63 citations
- DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed ProtocolsJianan Yao, Runzhou Tao, Ronghui Gu, Jason NiehOSDI 2022 · 50 citations
- First-order quantified separatorsJason R. Koenig, Oded Padon, Neil Immerman, Alex AikenPLDI 2020 · 31 citations
Related papers
- Induction duality: primal-dual search for invariantsOded Padon, James R. Wilcox, Jason R. Koenig, Kenneth L. McMillan et al.POPL 2022 · 14 citations
- Sift: Using Refinement-guided Automation to Verify Complex Distributed SystemsHaojun Ma, Hammad Ahmad, Aman Goel, Eli Goldweber et al.USENIX ATC 2022
- Inductive sequentialization of asynchronous programsBernhard Kragl, Constantin Enea, Thomas A. Henzinger, Suha Orhun Mutluergil et al.PLDI 2020 · 26 citations
- Concise Outlines for a Complex Logic: A Proof Outline Checker for TaDAFelix A. Wolf, Malte Schwerhoff, Peter MüllerFM 2021 · 10 citations
- The Secrets Must Not Flow: Scaling Security Verification to Large CodebasesLinard Arquint, Samarth Kishor, Jason R. Koenig, Joey Dodds et al.S&P 2026 · 1 citation
