Implicit Rankings for Verifying Liveness Properties in First-Order Logic
Authors:
Preprint
Abstract
Liveness properties are traditionally proven using a ranking function that maps system states to some well-founded set. Carrying out such proofs in first-order logic enables automation by SMT solvers. However, reasoning about many natural ranking functions is beyond reach of existing solvers. To address this, we introduce the notion of implicit rankings - first-order formulas that soundly approximate the reduction of some ranking function without defining it explicitly. We provide recursive constructors of implicit rankings that can be instantiated and composed to induce a rich family of implicit rankings. Our constructors use quantifiers to approximate reasoning about useful primitives such as cardinalities of sets and unbounded sums that are not directly expressible in first-order logic. We demonstrate the effectiveness of our implicit rankings by verifying liveness properties of several intricate examples, including Dijkstra's k-state, 4-state and 3-state self-stabilizing protocols.Keywords
All Related Versions
This publication has 39 references indexed in Scilit:
- Toward Liveness Proofs at Scale2024
- Infinite-State Liveness-to-Safety via Implicit Abstraction and Well-Founded Relations2016
- Fairness Modulo Theory: A New Approach to LTL Software Model Checking2015
- Linear Ranking for Linear Lasso Programs2013
- Z3: An Efficient SMT Solver2008
- Proving Program Invariance and Termination by Parametric Abstraction, Lagrangian Relaxation and Semidefinite Programming2005
- Abstraction Refinement for Termination2005
- Towards Automatic Convergence Verification of Self-stabilizing Algorithms2005
- A Complete Method for the Synthesis of Linear Ranking Functions2004
- An automata-theoretic approach to linear temporal logic1996