Hostname: page-component-74656f9884-g96k6 Total loading time: 0 Render date: 2026-11-09T22:38:01.784Z Has data issue: false hasContentIssue false

Proof-relevant π-calculus: a constructive account of concurrency and causality

Published online by Cambridge University Press:  04 May 2017

ROLY PERERA
Affiliation:
School of Computing Science, University of Glasgow, Glasgow, U.K. Email: rperera@inf.ac.uk School of Informatics, University of Edinburgh, Edinburgh, U.K.jcheney@inf.ed.ac.uk
JAMES CHENEY
Affiliation:
School of Informatics, University of Edinburgh, Edinburgh, U.K.jcheney@inf.ed.ac.uk
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

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 a braiding that 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.

Information

Type
Paper
Copyright
Copyright © Cambridge University Press 2017