A Process Calculus for Formally Verifying Blockchain Consensus Protocols

Wolfgang Jeltsch
11/19/2019
cs.PL

Official code: jeltsch/wflp-2019 (2 stars, TeX, last commit 2019-12-05).

Abstract

Blockchains are becoming increasingly relevant in a variety of fields, such as finance, logistics, and real estate. The fundamental task of a blockchain system is to establish data consistency among distributed agents in an open network.

Show full abstract

Blockchain consensus protocols are central for performing this task. Since consensus protocols play such a crucial role in blockchain technology, several projects are underway that apply formal methods to these protocols. One such project is carried out by a team of the Formal Methods Group at IOHK. This project, in which the author is involved, aims at a formally verified implementation of the Ouroboros family of consensus protocols, the backbone of the Cardano blockchain. The first outcome of our project is the $\natural$-calculus (pronounced "natural calculus"), a general-purpose process calculus that serves as our implementation language. The $\natural$-calculus is a domain-specific language embedded in a functional host language using higher-order abstract syntax. This paper will be a ramble through the $\natural$-calculus. First we will look at its language and its operational semantics. The latter is unique in that it uses a stack of two labeled transition systems to treat phenomena like data transfer and the opening and closing of channel scope in a modular fashion. The presence of multiple transition systems calls for a generic treatment of derived concurrency concepts. We will see how such a treatment can be achieved by capturing notions like scope opening and silent transitions abstractly using axiomatically defined algebraic structures based on functors and monads.

View on arXivView PDF

Code Implementations(1)

jeltsch/wflp-2019Official100%

A Process Calculus for Formally Verifying Blockchain Consensus Protocols (WFLP ’19 invited contribution)

20TeX, IsabelleJun 10, 20196 years ago
blockchaindistributed-computingformal-verificationfunctional-programminghigher-order-abstract-syntax+1 more

Similar Papers

Cite this paper

@article{jeltsch2019process,
  title  = {A Process Calculus for Formally Verifying Blockchain Consensus Protocols},
  author = {Wolfgang Jeltsch},
  year   = {2019},
  eprint = {1911.08033},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.08033}
}

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/1911.08033.svg)](https://codeofpaper.com/paper/1911.08033)

Discussion