Formalising a Turing-Complete Choreographic Language in Coq

Luís Cruz-Filipe, Fabrizio Montesi, Marco Peressotti [2021].
In CoRR abs/2102.02627.

Abstract
Theory of choreographic languages typically includes a number of complex results that are proved by structural induction. The high number of cases and the subtle details in some of them lead to long reviewing processes, and occasionally to errors being found in published proofs. In this work, we take a published proof of Turing completeness of a choreographic language and formalise it in Coq. Our development includes formalising the choreographic language and its basic properties, Kleene's theory of partial recursive functions, the encoding of these functions as choreographies, and proving this encoding correct. With this effort, we show that theorem proving can be a very useful tool in the field of choreographic languages: besides the added degree of confidence that we get from a mechanised proof, the formalisation process led us to a significant simplification of the underlying theory. Our results offer a foundation for the future formal development of choreographic languages.
Links
arxiv.org
Additional notes
None
Cite (BibTeX)
Click to expand
@article{DBLP:journals/corr/abs-2102-02627,
  author       = {Lu{\'{\i}}s Cruz{-}Filipe and
                  Fabrizio Montesi and
                  Marco Peressotti},
  title        = {Formalising a Turing-Complete Choreographic Language in Coq},
  journal      = {CoRR},
  volume       = {abs/2102.02627},
  year         = {2021},
  url          = {https://arxiv.org/abs/2102.02627},
  eprinttype    = {arXiv},
  eprint       = {2102.02627},
  timestamp    = {Tue, 09 Feb 2021 13:35:56 +0100},
  biburl       = {https://dblp.org/rec/journals/corr/abs-2102-02627.bib},
  bibsource    = {dblp computer science bibliography, https://dblp.org}
}

Peer-reviewed version
Click to show in publication list