Complexity of Verification and Synthesis of Threshold Automata
A. R. Balasubramanian, Javier Esparza, Marijana Lazic
TL;DR
The paper analyzes the complexity of verification and synthesis for threshold automata, a model for parameterized fault-tolerant distributed protocols. It introduces an existential Presburger arithmetic characterization of the reachability relation, enabling NP membership for reachability and parameterized reachability, and provides a model-checking approach for ELTLFT. It establishes NP-completeness for coverability, reachability, safety, and liveness, and proves $\Sigma_p^2$-completeness for the bounded synthesis problem, with further results tying synthesis for sane guards to the same complexity. An implemented tool using Z3 demonstrates favorable performance compared to ByMC on large benchmarks. Overall, the work offers a principled, scalable framework for verifying and synthesizing threshold-based distributed algorithms across varying system sizes.
Abstract
Threshold automata are a formalism for modeling and analyzing fault-tolerant distributed algorithms, recently introduced by Konnov, Veith, and Widder, describing protocols executed by a fixed but arbitrary number of processes. We conduct the first systematic study of the complexity of verification and synthesis problems for threshold automata. We prove that the coverability, reachability, safety, and liveness problems are NP-complete, and that the bounded synthesis problem is $Σ_p^2$ complete. A key to our results is a novel characterization of the reachability relation of a threshold automaton as an existential Presburger formula. The characterization also leads to novel verification and synthesis algorithms. We report on an implementation, and provide experimental results.
