[Paper Review] Complexity of Verification and Synthesis of Threshold Automata
This paper presents a systematic complexity analysis of threshold automata, a formalism for modeling fault-tolerant distributed algorithms with threshold guards. It establishes that reachability, coverability, safety, and liveness problems are NP-complete, while bounded synthesis is Σ₂^p-complete, using a novel characterization of the reachability relation as an existential Presburger formula. The approach enables efficient verification and synthesis algorithms, validated through implementation and comparison with ByMC.
Threshold automata are a formalism for modeling fault-tolerant distributed algorithms. In this paper, we study the parameterized complexity of reachability of threshold automata. As a first result, we show that the problem becomes W[1]-hard even when parameterized by parameters which are quite small in practice. We then consider two restricted cases which arise in practice and provide fixed-parameter tractable algorithms for both these cases. Finally, we report on experimental results conducted on some protocols taken from the literature.
Motivation & Objective
- To systematically analyze the computational complexity of verification and synthesis problems in threshold automata, a formalism for modeling fault-tolerant distributed algorithms.
- To close the gap in understanding the complexity of key problems like reachability, coverability, safety, and liveness in threshold automata, which had not been previously studied despite their practical use.
- To develop a novel characterization of the reachability relation as an existential Presburger formula, enabling efficient algorithmic solutions.
- To apply this characterization to prove complexity bounds for model checking of Fault-Tolerant Temporal Logic and bounded synthesis.
- To implement and empirically evaluate the proposed algorithms against existing tools like ByMC, demonstrating competitive performance.
Proposed method
- Characterize the reachability relation of a threshold automaton as an existential Presburger formula, enabling logical reasoning over configurations.
- Use this characterization to derive NP upper bounds for coverability, reachability, safety, and liveness problems.
- Prove Σ₂^p-completeness for the bounded synthesis problem via a reduction from Σ₂-3-SAT.
- Construct a threshold automaton that simulates a Σ₂-3-SAT formula, encoding variable assignments and disjunctive constraints through threshold guards and shared variables.
- Design self-loop and synchronization rules to enforce consistency across processes and prevent inconsistent progress.
- Implement the verification and synthesis algorithms in a prototype tool and compare its performance with ByMC on benchmark protocols.
Experimental results
Research questions
- RQ1What is the computational complexity of the parameterized reachability problem for threshold automata?
- RQ2Are the coverability, safety, and liveness problems for threshold automata NP-complete?
- RQ3What is the complexity of the bounded synthesis problem for threshold automata?
- RQ4Can the reachability relation of a threshold automaton be expressed in existential Presburger arithmetic?
- RQ5How does the proposed approach compare in practice to existing tools like ByMC for parameterized verification?
Key findings
- The coverability, reachability, safety, and liveness problems for threshold automata are all NP-complete.
- The bounded synthesis problem for threshold automata is Σ₂^p-complete.
- The reachability relation of any threshold automaton can be expressed as an existential Presburger formula, providing a logical foundation for verification.
- The proposed characterization enables the design of novel, efficient verification and synthesis algorithms.
- The implementation of the approach outperforms ByMC on several benchmark instances of fault-tolerant distributed protocols.
- The reduction from Σ₂-3-SAT to bounded synthesis confirms the tight complexity bound of Σ₂^p for the synthesis problem.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.