English

Guidelines for Producing Concise LNT Models, Illustrated with Formal Models of the Algorand Consensus Protocol

Programming Languages 2026-04-08 v1 Logic in Computer Science Software Engineering

Abstract

LNT is a modern language for the formal description of concurrent systems. It generalizes traditional process calculi and overcomes their known limitations by incorporating features such as an imperative programming style with direct assignments to variables, symmetric sequential composition, and explicit loop operators. The present article examines how these features can be taken advantage of to obtain LNT models as concise and readable as possible. The study is illustrated with a running example, the consensus protocol of the Algorand blockchain, a formal model of which was recently developed at the University of Urbino. It is shown that, using well-chosen transformations, the number of lines of LNT code can be divided by three, while improving readability. Also, various properties of the formal model are expressed and verified using visual checking, equivalence checking, and model checking.

Keywords

Cite

@article{arxiv.2604.05006,
  title  = {Guidelines for Producing Concise LNT Models, Illustrated with Formal Models of the Algorand Consensus Protocol},
  author = {Hubert Garavel},
  journal= {arXiv preprint arXiv:2604.05006},
  year   = {2026}
}

Comments

In Proceedings MARS 2026, arXiv:2604.03053

R2 v1 2026-07-01T11:55:49.556Z