# Towards a Verified Model of the Algorand Consensus Protocol in Coq

**Authors:** Musab A. Alturki, Jing Chen, Victor Luchangco, Brandon Moore, Karl, Palmskog, Lucas Pe\~na, Grigore Ro\c{s}u

arXiv: 1907.05523 · 2020-08-26

## TL;DR

This paper presents a formal Coq model of the Algorand consensus protocol, incorporating timing and adversarial factors, and proves its asynchronous safety in a realistic environment.

## Contribution

It is the first to model and verify Algorand's protocol with timing and adversarial considerations in Coq, ensuring safety properties.

## Key findings

- Proved asynchronous safety of Algorand in the model
- Model includes timing issues and adversarial actions
- Demonstrated the potential for verifying additional properties

## 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. 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.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1907.05523/full.md

## References

11 references — full list in the complete paper: https://tomesphere.com/paper/1907.05523/full.md

---
Source: https://tomesphere.com/paper/1907.05523