A Formal Theory of Choreographic Programming

Luís Cruz-Filipe, Fabrizio Montesi, Marco Peressotti [2023].
In J. Autom. Reason. 67.

Choreographic programming is a paradigm for writing coordination plans for distributed systems from a global point of view, from which correct-by-construction decentralised implementations can be generated automatically. Theory of choreographies 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 these proofs has led to important errors being found in published works. In this work, we formalise the theory of a choreographic programming language in Coq. Our development includes the basic properties of this language, a proof of its Turing completeness, a compilation procedure to a process language, and an operational characterisation of the correctness of this procedure. Our formalisation experience illustrates the benefits of using a theorem prover: we get both an additional degree of confidence from the mechanised proof, and a significant simplification of the underlying theory. Our results offer a foundation for the future formal development of choreographic languages.
Additional notes
Cite (BibTeX)
Click to expand
  author       = {Lu{\'{\i}}s Cruz{-}Filipe and
                  Fabrizio Montesi and
                  Marco Peressotti},
  title        = {A Formal Theory of Choreographic Programming},
  journal      = {J. Autom. Reason.},
  volume       = {67},
  number       = {2},
  pages        = {21},
  year         = {2023},
  url          = {https://doi.org/10.1007/s10817-023-09665-3},
  doi          = {10.1007/S10817-023-09665-3},
  timestamp    = {Tue, 12 Sep 2023 07:57:44 +0200},
  biburl       = {https://dblp.org/rec/journals/jar/CruzFilipeMP23.bib},
  bibsource    = {dblp computer science bibliography, https://dblp.org}

A PDF is available (possibly a preprint):

Download PDF