Abstract
We present a formalisation in Agda of the theory of concurrent transitions, residuation and causal equivalence of traces for the π-calculus. Our formalisation employs de Bruijn indices and dependently typed syntax, and aligns the ‘proved transitions’ proposed by Boudol and Castellani in the context of CCS with the proof terms naturally present in Agda's representation of the labelled transition relation. Our main contributions are proofs of the ‘diamond lemma’ for the residuals of concurrent transitions and a formal definition of equivalence of traces up to permutation of transitions.In the π-calculus, transitions represent propagating binders whenever their actions involve bound names. To accommodate these cases, we require a more general diamond lemma where the target states of equivalent traces are no longer identical, but are related by abraidingthat rewires the bound and free names to reflect the particular interleaving of events involving binders. Our approach may be useful for modelling concurrency in other languages where transitions carry meta-data sensitive to particular interleavings, such as dynamically allocated memory addresses.
Publisher
Cambridge University Press (CUP)
Subject
Computer Science Applications,Mathematics (miscellaneous)
Reference49 articles.
1. A Coq Library for Verification of Concurrent Programs
2. Consistency of the theory of contexts
3. Hirschkoff D. (1997b). Handling substitutions explicitly in the pi-calculus. In: Proceedings of the Second International Workshop on Explicit Substitutions: Theory and Applications to Programs and Proofs, 28–43.
Cited by
7 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. The Concurrent Calculi Formalisation Benchmark;Lecture Notes in Computer Science;2024
2. Formalizing CCS and π-calculus in Guarded Cubical Agda;Journal of Logical and Algebraic Methods in Programming;2023-02
3. A parametric framework for reversible π-calculi;Information and Computation;2020-12
4. HO$$\pi $$ in Coq;Journal of Automated Reasoning;2020-09-14
5. Formalizing -calculus in guarded cubical Agda;Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs;2020-01-20