Projects per year
Abstract
Choreographic programming is a paradigm where developers write the global specification (called choreography) of a communicating system, and then a correct-by-construction distributed implementation is compiled automatically. Unfortunately, it is possible to write choreographies that cannot be compiled, because of issues related to an agreement property known as knowledge of choice. This forces programmers to reason manually about implementation details that may be orthogonal to the protocol that they are writing. Amendment is an automatic procedure for repairing uncompilable choreographies. We present a formalisation of amendment from the literature, built upon an existing formalisation of choreographic programming. However, in the process of formalising the expected properties of this procedure, we discovered a subtle counterexample that invalidates the original published and peer-reviewed pen-and-paper theory. We discuss how using a theorem prover led us to both finding the issue, and stating and proving a correct formulation of the properties of amendment.
| Original language | English |
|---|---|
| Title of host publication | 14th International Conference on Interactive Theorem Proving, ITP 2023 |
| Editors | Adam Naumowicz, Rene Thiemann |
| Number of pages | 19 |
| Volume | 268 |
| Publisher | Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing |
| Publication date | Jul 2023 |
| Article number | 11 |
| ISBN (Electronic) | 9783959772846 |
| DOIs | |
| Publication status | Published - Jul 2023 |
| Event | 14th International Conference on Interactive Theorem Proving, ITP 2023 - Bialystok, Poland Duration: 31. Jul 2023 → 4. Aug 2023 |
Conference
| Conference | 14th International Conference on Interactive Theorem Proving, ITP 2023 |
|---|---|
| Country/Territory | Poland |
| City | Bialystok |
| Period | 31/07/2023 → 04/08/2023 |
| Series | Leibniz International Proceedings in Informatics |
|---|---|
| Volume | 268 |
| ISSN | 1868-8969 |
Keywords
- choreographic programming
- compilation
- program repair
- theorem proving
Fingerprint
Dive into the research topics of 'Now It Compiles! Certified Automatic Repair of Uncompilable Protocols'. Together they form a unique fingerprint.-
X-IDF: X-IDF: Explainable Internet Data Flows
Montesi, F. (PI) & de Vreese, C. H. (PI)
02/09/2022 → 02/09/2026
Project: Private Foundations
-
Choco: Choco: Choreographies for connected IT systems
Montesi, F. (PI)
01/05/2020 → 30/06/2025
Project: Private Foundations