arrow
Return

Verifying Almost-Sure Termination for Randomized Distributed Algorithms

delete2026-01-01
delete0
PRE
AI
C
Constantin Enea *
R
Rupak Majumdar
H
Harshit J. Motwani
V
V. R. Sathiyanarayana
DOI:10.1145/3776691delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
We present a technique for the verification of liveness properties of randomized distributed algorithms. Our technique gives SMT-based proofs for many common consensus algorithms, both for crash faults and for Byzantine faults. It is based on a sound proof rule for fair almost-sure termination of distributed systems that combines martingale-based techniques for almost-sure termination with reasoning about weak fairness. Our proof rule is able to handle parametrized protocols where the state grows unboundedly and every variant function is unbounded. These protocols were out of scope for previous approaches, which either relied on bounded variant functions or on reductions to (non-probabilistic) fairness. We have implemented our proof rules on top of Caesar, a program verifier for probabilistic programs. We use our proof rule to give SMT-based proofs for termination properties of randomized asynchronous consensus protocols, including Ben-Or's protocol and graded binary consensus, for both crash and Byzantine faults. These protocols have notoriously difficult proofs of termination but fall within the scope of our proof rule.
Keywords:
probabilistic programs
proof rules
almost-sure termination

Journal

P
Proceedings of the ACM on Programming Languages-PACMPL
IF:
2.8
Papers:
308
Citations:
4.7K

Organization

E
Ecole Polytechnique
Scholars:
6.6K
Papers: 4.8K
Citations: 211
I
institut polytechnique de paris
Scholars:
1.3W
Papers: 1.0W
Citations: 6
Cited Papers

Cited Papers

err
IF0
err
err0
PREAI
err
errShare
errSave
errShare
errSave
Verifying Randomized Byzantine Agreement_
err2002-01-01
err0
PREAI
errKwiatkowska,Marta; Norman,Gethin
errShare
errSave
errShare
errSave
researcher View more