Towards a Verified Model of the Algorand Consensus Protocol in Coq

Musab A. Alturki, Jing Chen, Victor Luchangco, Brandon Moore, Karl Palmskog +2 more
7/11/2019
cs.CRcs.DC

Official code: runtimeverification/algorand-verification (26 stars, Coq, last commit 2022-11-20).

Abstract

The Algorand blockchain is a secure and decentralized public ledger based on pure proof of stake rather than proof of work. At its core it is a novel consensus protocol with exactly one block certified in each round: that is, the protocol guarantees that the blockchain does not fork.

Show full abstract

In this paper, we report on our effort to model and formally verify the Algorand consensus protocol in the Coq proof assistant. Similar to previous consensus protocol verification efforts, we model the protocol as a state transition system and reason over reachable global states. However, in contrast to previous work, our model explicitly incorporates timing issues (e.g., timeouts and network delays) and adversarial actions, reflecting a more realistic environment faced by a public blockchain. Thus far, we have proved asynchronous safety of the protocol: two different blocks cannot be certified in the same round, even when the adversary has complete control of message delivery in the network. We believe that our model is sufficiently general and other relevant properties of the protocol such as liveness can be proved for the same model.

View on arXivView PDF

Code Implementations(1)

Formal verification of the Algorand consensus protocol

264Coq, TeXJun 17, 20194 years agoNOASSERTION

Similar Papers

Cite this paper

@article{alturki2019towards,
  title  = {Towards a Verified Model of the Algorand Consensus Protocol in Coq},
  author = {Musab A. Alturki and Jing Chen and Victor Luchangco and Brandon Moore and Karl Palmskog and Lucas Peña and Grigore Roşu},
  year   = {2019},
  eprint = {1907.05523},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1907.05523}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1907.05523.svg)](https://codeofpaper.com/paper/1907.05523)

Discussion