A case study on parametric verification of failure detectors

12/16/2021
by   Thanh-Hai Tran, et al.
0

Partial synchrony is a model of computation in many distributed algorithms and modern blockchains. These algorithms are typically parameterized in the number of participants, and their correctness requires the existence of bounds on message delays and on the relative speed of processes after reaching Global Stabilization Time. These characteristics make partially synchronous algorithms parameterized in the number of processes, and parametric in time bounds, which render automated verification of partially synchronous algorithms challenging. In this paper, we present a case study on formal verification of both safety and liveness of the Chandra and Toueg failure detector that is based on partial synchrony. To this end, we first introduce and formalize the class of symmetric point-to-point algorithms that contains the failure detector. Second, we show that these symmetric point-to-point algorithms have a cutoff, and the cutoff results hold in three models of computation: synchrony, asynchrony, and partial synchrony. As a result, one can verify them by model checking small instances, but the verification problem stays parametric in time. Next, we specify the failure detector and the partial synchrony assumptions in three frameworks: 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 TLA+. By running the tools for TLA+ and counter automata, we demonstrate safety for fixed time bounds. 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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/08/2020

Certifying Emptiness of Timed Büchi Automata

Model checkers for timed automata are widely used to verify safety-criti...
research
05/23/2019

Formalizing Time4sys using parametric timed automata

Critical real-time systems must be verified to avoid the risk of dramati...
research
02/04/2023

Parameterized Verification under TSO with Data Types

We consider parameterized verification of systems executing according to...
research
02/18/2020

Structural Invariants for the Verification of Systems with Parameterized Architectures

We consider parameterized concurrent systems consisting of a finite but ...
research
08/16/2022

The Weakest Failure Detector for Genuine Atomic Multicast (Extended Version)

Atomic broadcast is a group communication primitive to order messages ac...
research
08/20/2021

Abduction of trap invariants in parameterized systems

In a previous paper we have presented a CEGAR approach for the verificat...
research
11/15/2017

Efficient Verification of Multi-Property Designs (The Benefit of Wrong Assumptions) (Extended Version)

We consider the problem of efficiently checking a set of safety properti...

Please sign up or login with your details

Forgot password? Click here to reset