Barbed Similarity for the π-Calculus in Beluga: A Case Study in Coinductive Reasoning

Lea Trogni
(Dipartimento di Matematica, Università degli Studi di Milano, Italy)
Gabriele Cecilia
(School of Computer & Cyber Sciences, Augusta University, Augusta, USA)
Alberto Momigliano
(Dipartimento di Matematica, Università degli Studi di Milano, Italy)

We formalize strong barbed similarity for the pi-calculus in the Beluga proof assistant, completing a line of work addressing the Concurrent Calculi Formalization Benchmark. By extending previous developments to include replication, we give a coinductive encoding of behavioral equivalence based on barbs and internal actions. Using Beluga's copattern-based coinduction, we obtain concise and compositional proofs, including compatibility properties and a context lemma characterizing barbed precongruence. The case study demonstrates the effectiveness of combining HOAS and coinductive reasoning for mechanizing concurrent calculi.

In Sophie Tourret and Olivier Hermant: Proceedings of the 21st Workshop on Logical Frameworks and Meta Languages: Theory and Practice (LFMTP 2026), Lisbon, Portugal, 24th July 2026, Electronic Proceedings in Theoretical Computer Science 448, pp. 1–17.
Published: 14th July 2026.

ArXived at: https://dx.doi.org/10.4204/EPTCS.448.1 bibtex PDF
References in reconstructed bibtex, XML and HTML format (approximated).
Comments and questions to: eptcs@eptcs.org
For website issues: webmaster@eptcs.org