[Paper Review] A decompilation of the pi-calculus and its application to termination
This paper establishes a formal correspondence between a concurrent, call-by-value lambda calculus in administrative and continuation-passing style (CPS) and the pi-calculus, showing that termination of the former implies termination of the latter. By decomposing higher-order process calculi into familiar lambda-calculus constructs, the approach enables termination proofs via standard techniques without requiring complex logical relations or deep process calculus semantics.
We study the correspondence between a concurrent lambda-calculus in administrative, continuation passing style and a pi-calculus and we derive a termination result for the latter.
Motivation & Objective
- To establish a formal, compositional correspondence between a concurrent lambda-calculus and the pi-calculus through two compilation steps: administrative form and CPS translation.
- To show that termination in the concurrent lambda-calculus implies termination in the corresponding pi-calculus fragment.
- To provide a framework for reasoning about pi-calculus termination using familiar lambda-calculus techniques, avoiding complex logical relations or bisimulation.
- To identify syntactic and typing constraints that ensure well-foundedness and prevent mutual or self-referential recursion in pi-calculus processes.
- To demonstrate that the pi-calculus fragment derived from the lambda-calculus is isomorphic to a natural subset of the pi-calculus, preserving reduction and typing.
Proposed method
- The paper introduces a call-by-value lambda-calculus in administrative form (AF), where values are explicitly named, and applies a CPS translation to pass evaluation contexts as arguments.
- It proves that the CPS translation preserves reduction and typing, ensuring operational correspondence between the lambda-calculus and its CPS variant.
- The authors define a concurrent lambda-calculus in AF and CPS style ($\lambda^{ak}_{\parallel}$), extending the functional case to support parallel composition and behavior types.
- A bidirectional translation is established between $\lambda^{ak}_{\parallel}$ and a typed pi-calculus ($\pi$), with structural congruence, reduction, and typing rules preserved under the mapping.
- The framework enforces a linear ordering of name definitions to prevent cyclic or self-referential processes, ensuring well-foundedness.
- Termination is derived by showing that the pi-calculus fragment corresponds to a well-typed, terminating lambda-calculus fragment, leveraging standard termination arguments.
Experimental results
Research questions
- RQ1Can the pi-calculus be understood as a compilation target of a higher-order, concurrent lambda-calculus via administrative and CPS transformations?
- RQ2Does the correspondence between the lambda-calculus and the pi-calculus preserve reduction and typing, enabling operational equivalence?
- RQ3Can termination of a concurrent lambda-calculus with administrative and CPS forms imply termination of the corresponding pi-calculus process?
- RQ4What syntactic and typing constraints are necessary to prevent non-terminating behaviors such as self-referential or mutually recursive process definitions in the pi-calculus?
- RQ5Is it possible to prove pi-calculus termination without using reducibility candidates or complex bisimulation techniques?
Key findings
- The CPS translation from the administrative lambda-calculus to its CPS form preserves reduction and typing, ensuring operational correspondence.
- The concurrent lambda-calculus in CPS style ($\lambda^{ak}_{\parallel}$) is isomorphic to a natural fragment of the pi-calculus, with identical structural congruence, reduction, and typing rules.
- The paper identifies that self-referential and mutually recursive process definitions are rejected by the typing and syntactic constraints, preventing non-termination.
- Termination of the typed $\lambda^{ak}_{\parallel}$ calculus implies termination of the corresponding $\pi$ calculus fragment, as shown in Corollary 8.
- The framework allows termination proofs for the pi-calculus using only standard lambda-calculus techniques, without requiring reducibility candidates or labeled transition systems.
- The approach successfully avoids the need for stratified regions or complex logical relations, simplifying termination analysis.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.