Formally verified asymptotic consensus in robust networks

02/28/2022
by   Mohit Tekriwal, et al.
0

Distributed architectures are used to improve performance and reliability of various systems. An important capability of a distributed architecture is the ability to reach consensus among all its nodes. To achieve this, several consensus algorithms have been proposed for various scenarii, and many of these algorithms come with proofs of correctness that are not mechanically checked. Unfortunately, those proofs are known to be intricate and prone to errors. In this paper, we formalize and mechanically check a consensus algorithm widely used in the distributed controls community: the Weighted-Mean Subsequence Reduced (W-MSR) algorithm proposed by Le Blanc et al. This algorithm provides a way to achieve asymptotic consensus in a distributed controls scenario in the presence of adversarial agents (attackers) that may not update their states based on the nominal consensus protocol, and may share inaccurate information with their neighbors. Using the Coq proof assistant, we formalize the necessary and sufficient conditions required to achieve resilient asymptotic consensus under the assumed attacker model. We leverage the existing Coq formalizations of graph theory, finite sets and sequences of the mathcomp library for our development. To our knowledge, this is the first mechanical proof of an asymptotic consensus algorithm. During the formalization, we clarify several imprecisions in the paper proof, including an imprecision on quantifiers in the main theorem.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/08/2017

Impossibility of n-1-strong-equllibrium for Distributed Consensus with Rational Agents

An algorithm for n-1-strong-equillibrium for distributed consensus in a ...
research
07/24/2019

Leveraging Diversity for Achieving Resilient Consensus in Sparse Networks

A networked system can be made resilient against adversaries and attacks...
research
02/13/2022

Understanding Paxos and other distributed consensus algorithms

Paxos is a widely used and notoriously hard to understand method for sol...
research
03/26/2021

Verification of Eventual Consensus in Synod Using a Failure-Aware Actor Model

Successfully attaining consensus in the absence of a centralized coordin...
research
05/29/2020

Egalitarian and Just Digital Currency Networks

Cryptocurrencies are a digital medium of exchange with decentralized con...
research
02/01/2021

Verifying the Hashgraph Consensus Algorithm

The Hashgraph consensus algorithm is an algorithm for asynchronous Byzan...
research
01/26/2021

Study of Graph Theory, Distributed Average Consensus Algorithm and Centralized Algorithm

In this paper, we hope to bring closer graph theory and consensus algori...

Please sign up or login with your details

Forgot password? Click here to reset