A Theory of Formal Choreographic Languages

We introduce a meta-model based on formal languages, dubbed formal choreographic languages, to study message-passing systems. Our framework allows us to generalise standard constructions from the literature and to compare them. In particular, we consider notions such as global view, local view, and...

Full description

Bibliographic Details
Main Authors: Franco Barbanera, Ivan Lanese, Emilio Tuosto
Format: Article
Language:English
Published: Logical Methods in Computer Science e.V. 2023-08-01
Series:Logical Methods in Computer Science
Subjects:
Online Access:https://lmcs.episciences.org/10165/pdf
_version_ 1797268487032274944
author Franco Barbanera
Ivan Lanese
Emilio Tuosto
author_facet Franco Barbanera
Ivan Lanese
Emilio Tuosto
author_sort Franco Barbanera
collection DOAJ
description We introduce a meta-model based on formal languages, dubbed formal choreographic languages, to study message-passing systems. Our framework allows us to generalise standard constructions from the literature and to compare them. In particular, we consider notions such as global view, local view, and projections from the former to the latter. The correctness of local views projected from global views is characterised in terms of a closure property. We consider a number of communication properties -- such as (dead)lock-freedom -- and give conditions on formal choreographic languages to guarantee them. Finally, we show how formal choreographic languages can capture existing formalisms; specifically we consider communicating finite-state machines, choreography automata, and multiparty session types. Notably, formal choreographic languages, differently from most approaches in the literature, can naturally model systems exhibiting non-regular behaviour.
first_indexed 2024-04-25T01:33:15Z
format Article
id doaj.art-3d9b6eca6a17483d83697f64b59426ac
institution Directory Open Access Journal
issn 1860-5974
language English
last_indexed 2024-04-25T01:33:15Z
publishDate 2023-08-01
publisher Logical Methods in Computer Science e.V.
record_format Article
series Logical Methods in Computer Science
spelling doaj.art-3d9b6eca6a17483d83697f64b59426ac2024-03-08T10:42:53ZengLogical Methods in Computer Science e.V.Logical Methods in Computer Science1860-59742023-08-01Volume 19, Issue 310.46298/lmcs-19(3:9)202310165A Theory of Formal Choreographic LanguagesFranco BarbaneraIvan LaneseEmilio TuostoWe introduce a meta-model based on formal languages, dubbed formal choreographic languages, to study message-passing systems. Our framework allows us to generalise standard constructions from the literature and to compare them. In particular, we consider notions such as global view, local view, and projections from the former to the latter. The correctness of local views projected from global views is characterised in terms of a closure property. We consider a number of communication properties -- such as (dead)lock-freedom -- and give conditions on formal choreographic languages to guarantee them. Finally, we show how formal choreographic languages can capture existing formalisms; specifically we consider communicating finite-state machines, choreography automata, and multiparty session types. Notably, formal choreographic languages, differently from most approaches in the literature, can naturally model systems exhibiting non-regular behaviour.https://lmcs.episciences.org/10165/pdfcomputer science - logic in computer science
spellingShingle Franco Barbanera
Ivan Lanese
Emilio Tuosto
A Theory of Formal Choreographic Languages
Logical Methods in Computer Science
computer science - logic in computer science
title A Theory of Formal Choreographic Languages
title_full A Theory of Formal Choreographic Languages
title_fullStr A Theory of Formal Choreographic Languages
title_full_unstemmed A Theory of Formal Choreographic Languages
title_short A Theory of Formal Choreographic Languages
title_sort theory of formal choreographic languages
topic computer science - logic in computer science
url https://lmcs.episciences.org/10165/pdf
work_keys_str_mv AT francobarbanera atheoryofformalchoreographiclanguages
AT ivanlanese atheoryofformalchoreographiclanguages
AT emiliotuosto atheoryofformalchoreographiclanguages
AT francobarbanera theoryofformalchoreographiclanguages
AT ivanlanese theoryofformalchoreographiclanguages
AT emiliotuosto theoryofformalchoreographiclanguages