Lune

POPL2024顶会

Mostly Automated Verification of Liveness Properties for Distributed Protocols with Ranking Functions

Jianan Yao, Runzhou Tao, Ronghui Gu, Jason Nieh

摘要

Distributed protocols have long been formulated in terms of their safety and liveness properties. Much recent work has focused on automatically verifying the safety properties of distributed protocols, but doing so for liveness properties has remained a challenging, unsolved problem. We present LVR, the first framework that can mostly automatically verify liveness properties for distributed protocols. Our key insight is that most liveness properties for distributed protocols can be reduced to a set of safety properties with the help of ranking functions. Such ranking functions for practical distributed protocols have certain properties that make them straightforward to synthesize, contrary to conventional wisdom. We prove that verifying a liveness property can then be reduced to a simpler problem of verifying a set of safety properties, namely that the ranking function is strictly decreasing and nonnegative for any protocol state transition, and there is no deadlock. LVR automatically synthesizes ranking functions by formulating a parameterized function of integer protocol variables, statically analyzing the lower and upper bounds of the variables as well as how much they can change on each state transition, then feeding the constraints to an SMT solver to determine the coefficients of the ranking function. It then uses an off-the-shelf verification tool to find inductive invariants to verify safety properties for both ranking functions and deadlock freedom. We show that LVR can mostly automatically verify the liveness properties of several distributed protocols, including various versions of Paxos, with limited user guidance.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Anvil: Verifying Liveness of Cluster Management Controllers 引用了 Finding Invariants of Distributed Systems: It's a Small (Enough) World After All
  • 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
  • Anvil: Verifying Liveness of Cluster Management Controllers 引用了 Storage Systems are Distributed Systems (So Verify Them That Way!)
  • Finding Invariants of Distributed Systems: It's a Small (Enough) World After All 引用了 First-order quantified separators
  • DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols 引用了 Finding Invariants of Distributed Systems: It's a Small (Enough) World After All
  • 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
  • DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols 引用了 Finding Invariants of Distributed Systems: It's a Small (Enough) World After All
  • DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols 引用了 First-order quantified separators
  • MeshTest: End-to-End Testing for Service Mesh Traffic Management 引用了 DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols
  • Multi-Grained Specifications for Distributed System Model Checking and Verification 引用了 Anvil: Verifying Liveness of Cluster Management Controllers
  • Multi-Grained Specifications for Distributed System Model Checking and Verification 引用了 Finding Invariants of Distributed Systems: It's a Small (Enough) World After All
  • Multi-Grained Specifications for Distributed System Model Checking and Verification 引用了 DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols
  • Multi-Grained Specifications for Distributed System Model Checking and Verification 引用了 DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. Anvil: Verifying Liveness of Cluster Management ControllersXudong Sun, Wenjie Ma, Jiawei Tyler Gu, Zicheng Ma 等OSDI 2024 · 50 次引用
  2. MeshTest: End-to-End Testing for Service Mesh Traffic ManagementNaiqian Zheng, Tianshuo Qiao, Xuanzhe Liu, Xin JinNSDI 2025 · 7 次引用
  3. Let a Neural Network be Your InvariantMirco Giacobbe, Daniel Kroening, Abhinandan Pal, Michael TautschnigNeurIPS 2025 · 6 次引用
  4. Model Checking Distributed Protocols in MustConstantin Enea, Dimitra Giannakopoulou, Michalis Kokologiannakis, Rupak MajumdarOOPSLA 2024 · 5 次引用
  5. Multi-Grained Specifications for Distributed System Model Checking and VerificationLingzhi Ouyang, Xudong Sun, Ruize Tang, Yu Huang 等EuroSys 2025 · 4 次引用

它引用的 Paper9

  1. DistAI: Data-Driven Automated Invariant Learning for Distributed ProtocolsJianan Yao, Runzhou Tao, Ronghui Gu, Jason Nieh 等OSDI 2021 · 76 次引用
  2. Finding Invariants of Distributed Systems: It's a Small (Enough) World After AllTravis Hance, Marijn Heule, Ruben Martins, Bryan ParnoNSDI 2021 · 69 次引用
  3. Storage Systems are Distributed Systems (So Verify Them That Way!)Travis Hance, Andrea Lattuada, Chris Hawblitzel, Jon Howell 等OSDI 2020 · 52 次引用
  4. DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed ProtocolsJianan Yao, Runzhou Tao, Ronghui Gu, Jason NiehOSDI 2022 · 50 次引用
  5. First-order quantified separatorsJason R. Koenig, Oded Padon, Neil Immerman, Alex AikenPLDI 2020 · 31 次引用

相关 Paper

  1. Basilisk: Using Provenance Invariants to Automate Proofs of Undecidable ProtocolsTony Nuda Zhang, Keshav Singh, Tej Chajed, Manos Kapritsos 等OSDI 2025 · 9 次引用
  2. Checking Qualitative Liveness Properties of Replicated Systems with Stochastic SchedulingMichael Blondin, Javier Esparza, Martin Helfrich, Antonín Kucera 等CAV 2020 · 9 次引用
  3. Verifying Almost-Sure Termination for Randomized Distributed AlgorithmsConstantin Enea, Rupak Majumdar, Harshit Jitendra Motwani, V. R. SathiyanarayanaPOPL 2026 · 1 次引用
  4. Toward Liveness Proofs at ScaleKenneth L. McMillanCAV 2024 · 4 次引用
  5. SureDistrib: Verifying Almost-Sure Termination of Composite Asynchronous Byzantine ProtocolsLongfei Qiu, Jingqi Xiao, Ji-Yong Shin, Zhong ShaoPLDI 2026 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖