Lune

USENIX ATC2022Top-tier venue

Sift: Using Refinement-guided Automation to Verify Complex Distributed Systems

Haojun Ma, Hammad Ahmad, Aman Goel, Eli Goldweber, Jean-Baptiste Jeannin, Manos Kapritsos, Baris Kasikci

Abstract

Distributed systems are hard to design and implement correctly. Recent work has tried to use formal verification techniques to provide rigorous correctness guarantees. These works present a hard choice, though. One must either opt for the power of refinement-based approaches like IronFleet and Verdi, at the cost of large amounts of manual effort; or choose the more automated approach of I4, IC3PO, SWISS and DistAI which give up the ability to prove refinement and the power and scalability that come with it.

We propose an alternative approach, Sift, that combines the power of refinement with the ability to automate proofs. Sift is a two-tier methodology that uses a new technique, refinement-guided automation, to leverage automation in a refinement proof and a divide-and-conquer technique to split a system into more refinement layers when necessary. This combination advances the frontier of what systems can be proven correct using a high degree of automation. Contrary to what was possible before, our evaluation shows that our novel approach allows us to prove the correctness of a number of systems with little manual effort, and to extend our proofs to include not just the protocols, but also an executable distributed implementation of these systems.

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.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless Computing cites DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols
  • Anvil: Verifying Liveness of Cluster Management Controllers cites Finding Invariants of Distributed Systems: It's a Small (Enough) World After All
  • Anvil: Verifying Liveness of Cluster Management Controllers cites DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols
  • Anvil: Verifying Liveness of Cluster Management Controllers cites Mostly Automated Verification of Liveness Properties for Distributed Protocols with Ranking Functions
  • Anvil: Verifying Liveness of Cluster Management Controllers cites Armada: low-effort verification of high-performance concurrent programs
  • Finding Invariants of Distributed Systems: It's a Small (Enough) World After All cites First-order quantified separators
  • Compiling Distributed System Models with PGo cites Finding Invariants of Distributed Systems: It's a Small (Enough) World After All
  • Compiling Distributed System Models with PGo cites DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols
  • Compiling Distributed System Models with PGo cites Armada: low-effort verification of high-performance concurrent programs
  • DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols cites CLN2INV: Learning Loop Invariants with Continuous Logic Networks
  • 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
  • Mostly Automated Verification of Liveness Properties for Distributed Protocols with Ranking Functions cites Finding Invariants of Distributed Systems: It's a Small (Enough) World After All
  • Mostly Automated Verification of Liveness Properties for Distributed Protocols with Ranking Functions cites First-order quantified separators
  • Mostly Automated Verification of Liveness Properties for Distributed Protocols with Ranking Functions cites DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols
  • Inductive Invariants That Spark Joy: Using Invariant Taxonomies to Streamline Distributed Protocol Proofs cites Finding Invariants of Distributed Systems: It's a Small (Enough) World After All
  • Inductive Invariants That Spark Joy: Using Invariant Taxonomies to Streamline Distributed Protocol Proofs cites First-order quantified separators
  • Inductive Invariants That Spark Joy: Using Invariant Taxonomies to Streamline Distributed Protocol Proofs cites DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. Anvil: Verifying Liveness of Cluster Management ControllersXudong Sun, Wenjie Ma, Jiawei Tyler Gu, Zicheng Ma et al.OSDI 2024 · 50 citations
  2. Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless ComputingSheng Qi, Xuanzhe Liu, Xin JinSOSP 2023 · 16 citations
  3. Compiling Distributed System Models with PGoA. Finn Hackett, Shayan Hosseini, Renato Costa, Matthew Do et al.ASPLOS 2023 · 13 citations
  4. Mostly Automated Verification of Liveness Properties for Distributed Protocols with Ranking FunctionsJianan Yao, Runzhou Tao, Ronghui Gu, Jason NiehPOPL 2024 · 12 citations
  5. Inductive Invariants That Spark Joy: Using Invariant Taxonomies to Streamline Distributed Protocol ProofsTony Nuda Zhang, Travis Hance, Manos Kapritsos, Tej Chajed et al.OSDI 2024 · 9 citations

Builds on6

  1. DistAI: Data-Driven Automated Invariant Learning for Distributed ProtocolsJianan Yao, Runzhou Tao, Ronghui Gu, Jason Nieh et al.OSDI 2021 · 76 citations
  2. CLN2INV: Learning Loop Invariants with Continuous Logic NetworksGabriel Ryan, Justin Wong, Jianan Yao, Ronghui Gu et al.ICLR 2020 · 72 citations
  3. Finding Invariants of Distributed Systems: It's a Small (Enough) World After AllTravis Hance, Marijn Heule, Ruben Martins, Bryan ParnoNSDI 2021 · 69 citations
  4. First-order quantified separatorsJason R. Koenig, Oded Padon, Neil Immerman, Alex AikenPLDI 2020 · 31 citations
  5. Armada: low-effort verification of high-performance concurrent programsJacob R. Lorch, Yixuan Chen, Manos Kapritsos, Bryan Parno et al.PLDI 2020 · 25 citations

Related papers

  1. Igloo: soundly linking compositional refinement and separation logic for distributed system verificationChristoph Sprenger, Tobias Klenze, Marco Eilers, Felix A. Wolf et al.OOPSLA 2020 · 27 citations
  2. 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
  3. Psym: Efficient Symbolic Exploration of Distributed SystemsLauren Pick, Ankush Desai, Aarti GuptaPLDI 2023 · 1 citation
  4. Proof Automation for Linearizability in Separation LogicIke Mulder, Robbert KrebbersOOPSLA 2023 · 8 citations
  5. Basilisk: Using Provenance Invariants to Automate Proofs of Undecidable ProtocolsTony Nuda Zhang, Keshav Singh, Tej Chajed, Manos Kapritsos et al.OSDI 2025 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines