Gå til søgefeltetSpring over til navigationSpring til hovedindhold

Now It Compiles! Certified Automatic Repair of Uncompilable Protocols

  • Luís Cruz-Filipe
    ,
  • Fabrizio Montesi
  • Syddansk Universitet
Publikation:
Konference artikel i Proceeding eller bog/rapport kapitel
Bidrag til bog/antologi
Peer-review

Open Access

Resume

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.

Publikation information

Produktionstype

Publikation:
Konference artikel i Proceeding eller bog/rapport kapitel
Bidrag til bog/antologi
Peer-review

Undertitel på værtspublikation

Leibniz International Proceedings in Informatics (LIPIcs)

Originalsprog

Engelsk

Sider fra-til (Antal sider)

Sider 1-19 (19 sider)

Publikationsmilepæle

  • Udgivet - 01/07/2023

Publikationsstatus

Udgivet - 01/07/2023

Udgivelsessted

Dagstuhl, Germany

Bind

268

Forlag

Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik GmbH

Bogserie

  • Bogserienavn: Leibniz International Proceedings in Informatics

ISBN (Elektronisk)

978-3-95977-284-6

Publication IDs

  • Scopus: 85168767662

Titel på værtspublikation

14th International Conference on Interactive Theorem Proving (ITP 2023)

Metrikker