DeepAI AI Chat
Log In Sign Up

Formalising a Turing-Complete Choreographic Language in Coq

by   Luís Cruz-Filipe, et al.

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.


page 1

page 2

page 3

page 4


A Formal Theory of Choreographic Programming

Choreographic programming is a paradigm for writing coordination plans f...

Formalizing computability theory via partial recursive functions

We present a formalization of the foundations of computability theory in...

Average-Case Hardness of Proving Tautologies and Theorems

We consolidate two widely believed conjectures about tautologies – no op...

Zigzag normalisation for associative n-categories

The theory of associative n-categories has recently been proposed as a s...

Self-Reproducing Coins as Universal Turing Machine

Turing-completeness of smart contract languages in blockchain systems is...

Type Theory as a Language Workbench

Language Workbenches offer language designers an expressive environment ...

Now It Compiles! Certified Automatic Repair of Uncompilable Protocols

Choreographic programming is a paradigm where developers write the globa...