Now It Compiles! Certified Automatic Repair of Uncompilable Protocols

Publikation: Konference artikel i Proceeding eller bog/rapport kapitelBidrag til bog/antologiForskningpeer review

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.
OriginalsprogEngelsk
Titel14th International Conference on Interactive Theorem Proving (ITP 2023) : Leibniz International Proceedings in Informatics (LIPIcs)
Antal sider19
Vol/bind268
UdgivelsesstedDagstuhl, Germany
ForlagSchloss Dagstuhl - Leibniz-Zentrum fuer Informatik GmbH
Publikationsdato1 jul. 2023
Sider1-19
ISBN (Elektronisk)978-3-95977-284-6
DOI
StatusUdgivet - 1 jul. 2023
Udgivet eksterntJa
NavnLeibniz International Proceedings in Informatics

Fingeraftryk

Dyk ned i forskningsemnerne om 'Now It Compiles! Certified Automatic Repair of Uncompilable Protocols'. Sammen danner de et unikt fingeraftryk.

Citationsformater