A Case Study on Parametric Verification of Failure Detectors - Formal Techniques for Distributed Objects, Components, and Systems Access content directly
Conference Papers Year : 2021

A Case Study on Parametric Verification of Failure Detectors

Abstract

Partial synchrony is a model of computation in many distributed algorithms and modern blockchains. Correctness of these algorithms requires the existence of bounds on message delays and on the relative speed of processes after reaching Global Stabilization Time (GST). This makes partially synchronous algorithms parametric in time bounds, which renders automated verification of partially synchronous algorithms challenging. In this paper, we present a case study on formal verification of both safety and liveness of a Chandra and Toueg failure detector that is based on partial synchrony. To this end, we specify the algorithm and the partial synchrony assumptions in three frameworks: $$\textsc {TLA}^+$$TLA+, Ivy, and counter automata. Importantly, we tune our modeling to use the strength of each method: (1) We are using counters to encode message buffers with counter automata, (2) we are using first-order relations to encode message buffers in Ivy, and (3) we are using both approaches in $$\textsc {TLA}^+$$TLA+. By running the tools for $$\textsc {TLA}^+$$TLA+ (TLC and APALACHE) and counter automata (FAST), we demonstrate safety for fixed time bounds. This helped us to find the inductive invariants for fixed parameters, which we used as a starting point for the proofs with Ivy. By running Ivy, we prove safety for arbitrary time bounds. Moreover, we show how to verify liveness of the failure detector by reducing the verification problem to safety verification. Thus, both properties are verified by developing inductive invariants with Ivy. We conjecture that correctness of other partially synchronous algorithms may be proven by following the presented methodology.
Fichier principal
Vignette du fichier
509782_1_En_8_Chapter.pdf (508.29 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-03740258 , version 1 (29-07-2022)

Licence

Attribution

Identifiers

Cite

Thanh-Hai Tran, Igor Konnov, Josef Widder. A Case Study on Parametric Verification of Failure Detectors. 41th International Conference on Formal Techniques for Distributed Objects, Components, and Systems (FORTE), Jun 2021, Valletta, Malta. pp.138-156, ⟨10.1007/978-3-030-78089-0_8⟩. ⟨hal-03740258⟩
7 View
1 Download

Altmetric

Share

Gmail Facebook X LinkedIn More