Formulas as Processes, Deadlock-Freedom as Choreographies (Extended Version)
Matteo Acclavio, Giulia Manara, Fabrizio Montesi
TL;DR
The paper develops a computation-as-deduction framework that models recursion-free $\pi$-calculus processes as formulas in a non-commutative linear logic, $\mathsf{PiL}$, linking operational reductions to linear implications. It proves that deadlock-freedom and progress correspond to derivability in $\mathsf{PiL}$ and achieves a strong completeness result showing that every race-free, deadlock-free finite network composed in parallel at the top level has a faithful choreography representation. By introducing choreographies, an endpoint projection mechanism, and a sequent calculus $\mathsf{ChorL}$ for the endpoint calculus, the authors establish a proofs-as-choreographies correspondence that characterizes the expressive power of choreographic programming in this setting. This work bridges logic, π-calculus expressiveness, and choreographic languages, enabling precise reasoning about cyclic dependencies, mobility, and safe coordination in concurrent systems.
Abstract
We introduce a novel approach to studying properties of processes in the π-calculus based on a processes-as-formulas interpretation, by establishing a correspondence between specific sequent calculus derivations and computation trees in the reduction semantics of the recursion-free π-calculus. Our method provides a simple logical characterisation of deadlock-freedom for the recursion- and race-free fragment of the π-calculus, supporting key features such as cyclic dependencies and an independence of the name restriction and parallel operators. Based on this technique, we establish a strong completeness result for a nontrivial choreographic language: all deadlock-free and race-free finite π-calculus processes composed in parallel at the top level can be faithfully represented by a choreography. With these results, we show how the paradigm of computation-as-derivation extends the reach of logical methods for the study of concurrency, by bridging important gaps between logic, the expressiveness of the π-calculus, and the expressiveness of choreographic languages.
