arXiv:2611.07919cs.DCNov 2026

Manuscript Offprint

arXiv:2611.07919

Modular Parameterized Model Checking of Threshold-Based Distributed Algorithms

Paul Eichler, Swen Jacobs

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Paul Eichler¹⁵ and Swen Jacobs¹⁵

CISPA Helmholtz Center for Information Security, Saarbrücken, Germany { paul.eichler, jacobs }@cispa.de

Abstract. We present a novel approach for model checking fault-tolerant distributed algorithms: instead of building large, monolithic algorithm models, we propose a modular approach where the user decomposes the algorithm into modules, verifies them individually, and replaces them with a synchronous abstraction. To enable our technique, we introduce a new system model that combines aspects of threshold automata and global synchronization protocols. We investigate the expressiveness of our new model, and present a (bounded) model checking procedure as well as a method for checking the correctness of the abstraction step. We implemented the technique and report on promising experimental results on a case study.

Keywords: Model Checking, Parameterized Verification, Distributed Algorithms

1 Introduction

Large-scale distributed systems, such as cloud platforms or blockchain systems, increasingly form the backbone of much of our industry and society. Bugs or failures in these systems can lead to significant harm, which encouraged a wide range of efforts to formally verify their correctness [28, 30, 42, 46–48, 56].

However, the task remains challenging because of the intrinsic complexity of the setting. Distributed systems and their underlying algorithms are usually required to scale to an arbitrary number of participants. Since the probability of a failure in such a system increases with the number of components, to be practical, distributed algorithms also need to be fault-tolerant. In settings like blockchain protocols, where arbitrary untrusted nodes can join, the algorithms need to withstand arbitrary failures referred to as Byzantine failures [41].

One of the main techniques for verifying the correctness of distributed algorithms is parameterized model checking [1, 8, 21], where the number of participants is treated as a parameter and verification is conducted for any parameter value. Even though the parameterized model checking problem (PMCP) is undecidable in general [2], even for very restricted classes of systems [53], many system classes for which the problem is decidable have been identified [17, 18, 22, 25]. In particular, threshold automata (TA) [35, 38, 39] provide a framework for the modeling and verification of (threshold-based) distributed algorithms with Byzantine fault-tolerance, where processes communicate via shared variables to model

P. Eichler, S. Jacobs

message-passing, and decisions can depend on these shared variables meeting certain (parametric) threshold values. TA have been used to verify correctness of a wide range of consensus and broadcast algorithms [6, 10–12, 33, 34, 44].

A major challenge of parameterized model checking is the requirement to create a faithful model of the algorithm under consideration. Since distributed algorithms can be very complex, the resulting models can become so large that they are effectively impossible to understand or mechanically verify, even in a decidable fragment. A potential solution to this problem is to model such systems at different levels of granularity in order to keep the verification problem manageable at every separate level.

Global synchronization protocols (GSPs) [29–31] are a suitable high-level model for (applications built on) distributed algorithms, abstracting from individual message passing between processes by summarizing the result as a synchronous global step.¹ However, modeling an application as a GSP requires hard trade-offs in precision. In particular, the effects of Byzantine failures are not modeled explicitly, but are assumed to be completely encapsulated in synchronous steps. Moreover, modeling on different levels of precision requires additional correctness arguments connecting the different levels, which may be hard to obtain.

To facilitate truly modular parameterized model checking, this work proposes a system model that supports both fine-grained modeling of individual process steps and high-level synchronous steps, with explicit support of Byzantine faults. This enables the modeling of complex applications at different levels of abstraction within the same framework, using synchronous module abstraction to replace multiple asynchronous steps by one synchronous step. We determine conditions under which parameterized model checking problems in our setting are decidable, and show how to automatically verify the correctness of a synchronous module abstraction. To the best of our knowledge, this is the first modular parameterized model checking approach that directly supports different levels of abstraction, and automatically produces a correctness argument for the abstraction.

Contributions. In this paper, we introduce the model of threshold automata with synchronous actions, which is an extension of TA with global steps that are inspired by GSPs, but adapted to a setting with shared variables and Byzantine fault-tolerance (Section 3). We show that adding this type of synchronous actions to TA in general makes the PMCP undecidable, even for simple specifications like state reachability (Section 4). In Section 5, we establish a bounded model checking procedure, which becomes a decision procedure if we can statically bound the number of synchronous steps in any execution of the protocol. We argue that this will be the case for many of our intended applications.

We then introduce the technique of synchronous module abstraction, which combines our bounded model checking technique at different levels of abstraction with an automatic correctness check for the abstractions (Section 6), and

¹ Note that this is different from synchronous threshold automata [50–52], where processes execute in lock-step, but the algorithm is still modeled on the level of individual message passing.

demonstrate how to apply it to a case study. Finally, we report on a prototype implementation of our technique and promising experimental results on the modeling and verification of a modular king consensus algorithm (Section 7).

References (55)