Lune

PLDI2026Top-tier venue

Simplifying Safety Proofs with Forward-Backward Reasoning and Prophecy

Eden Frenkel, Kenneth L. McMillan, Oded Padon, Sharon Shoham

Abstract

We propose an incremental approach for safety proofs that decomposes a proof with a complex inductive invariant into a sequence of simpler proof steps. Our proof system combines rules for (i) forward reasoning using inductive invariants, (ii) backward reasoning using inductive invariants of a time-reversed system, and (iii) prophecy steps that add witnesses for existentially quantified properties. We prove each rule sound and give a construction that recovers a single safe inductive invariant from an incremental proof. The construction of the invariant demonstrates the increased complexity of a single inductive invariant compared to the invariant formulas used in an incremental proof, which may have simpler Boolean structures and fewer quantifiers and quantifier alternations. Under natural restrictions on the available invariant formulas, each proof rule strictly increases proof power. That is, each rule allows to prove more safety problems with the same set of formulas. Thus, the incremental approach is able to reduce the search space of invariant formulas needed to prove safety of a given system. A case study on Paxos, several of its variants, and Raft demonstrates that forward-backward steps can remove complex Boolean structure while prophecy eliminates quantifiers and quantifier alternations.

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.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • 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
  • Efficient Implementation of an Abstract Domain of Quantified First-Order Formulas cites Finding Invariants of Distributed Systems: It's a Small (Enough) World After All
  • Efficient Implementation of an Abstract Domain of Quantified First-Order Formulas cites DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on4

  1. Finding Invariants of Distributed Systems: It's a Small (Enough) World After AllTravis Hance, Marijn Heule, Ruben Martins, Bryan ParnoNSDI 2021 · 69 citations
  2. DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed ProtocolsJianan Yao, Runzhou Tao, Ronghui Gu, Jason NiehOSDI 2022 · 50 citations
  3. First-order quantified separatorsJason R. Koenig, Oded Padon, Neil Immerman, Alex AikenPLDI 2020 · 31 citations
  4. Efficient Implementation of an Abstract Domain of Quantified First-Order FormulasEden Frenkel, Tej Chajed, Oded Padon, Sharon ShohamCAV 2024 · 2 citations

Related papers

  1. Basilisk: Using Provenance Invariants to Automate Proofs of Undecidable ProtocolsTony Nuda Zhang, Keshav Singh, Tej Chajed, Manos Kapritsos et al.OSDI 2025 · 9 citations
  2. Inductive sequentialization of asynchronous programsBernhard Kragl, Constantin Enea, Thomas A. Henzinger, Suha Orhun Mutluergil et al.PLDI 2020 · 26 citations
  3. Mostly Automated Verification of Liveness Properties for Distributed Protocols with Ranking FunctionsJianan Yao, Runzhou Tao, Ronghui Gu, Jason NiehPOPL 2024 · 12 citations
  4. DistAI: Data-Driven Automated Invariant Learning for Distributed ProtocolsJianan Yao, Runzhou Tao, Ronghui Gu, Jason Nieh et al.OSDI 2021 · 76 citations
  5. Adore: atomic distributed objects with certified reconfigurationWolf Honoré, Ji-Yong Shin, Jieung Kim, Zhong ShaoPLDI 2022 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines