[Paper Review] An Infinitary Proof Theory of Linear Logic Ensuring Fair Termination in the Linear $π$-Calculus
This paper proposes a conservative extension of the infinitary proof system µMALL∞ to serve as a behavioral type system for πLIN, a linear π-calculus with (co)recursive types. By integrating a fairness-aware validity condition and a rule for non-deterministic choices, the system ensures that well-typed processes fairly terminate—meaning all pending actions are eventually performed under fairness assumptions, even if infinite executions exist in principle.
Fair termination is the property of programs that may diverge "in principle" but that terminate "in practice", i.e. under suitable fairness assumptions concerning the resolution of non-deterministic choices. We study a conservative extension of $μ$MALL$^\infty$, the infinitary proof system of the multiplicative additive fragment of linear logic with least and greatest fixed points, such that cut elimination corresponds to fair termination. Proof terms are processes of $π$LIN, a variant of the linear $π$-calculus with (co)recursive types into which binary and (some) multiparty sessions can be encoded. As a result we obtain a behavioral type system for $π$LIN (and indirectly for session calculi through their encoding into $π$LIN) that ensures fair termination: although well-typed processes may engage in arbitrarily long interactions, they are fairly guaranteed to eventually perform all pending actions.
Motivation & Objective
- To develop a type system that guarantees fair termination for processes in a linear π-calculus with (co)recursive types.
- To establish a direct correspondence between proof terms in an extended µMALL∞ and processes in πLIN.
- To ensure that all infinite executions are deemed unfair and thus ignored, while all pending actions are guaranteed to eventually occur.
- To provide a logical foundation for fair termination that avoids unnatural reduction rules like commuting conversions or prefix swapping.
- To enable the encoding of binary and multiparty sessions into πLIN while preserving fair termination guarantees.
Proposed method
- Extend µMALL∞ with a single rule to handle autonomous non-deterministic choices in processes.
- Relax the validity condition on µMALL∞ proofs to focus only on fair behaviors, excluding unfair infinite executions.
- Map proof terms in the extended system to processes in πLIN, preserving structural and behavioral correspondence.
- Leverage the bottom-up cut elimination property of µMALL∞ to align with the standard reduction semantics of πLIN, which operates only on exposed (unguarded) parts of processes.
- Ensure that cut elimination in the proof system corresponds precisely to fair termination in the process calculus.
- Use the duality between recursion and corecursion in πLIN to model infinite but fair protocols, such as interactive loops in session-like communications.
Experimental results
Research questions
- RQ1How can a type system be designed to ensure fair termination in a linear π-calculus with (co)recursive types?
- RQ2What modifications to µMALL∞ are necessary to capture fairness in process behavior while preserving cut elimination?
- RQ3How does the correspondence between proof terms and processes in πLIN support a sound and complete type system for fair termination?
- RQ4Can the absence of commuting conversions and prefix swapping in πLIN’s semantics be reconciled with the bottom-up cut elimination of µMALL∞?
- RQ5To what extent is the proposed type system more general or expressive than prior systems for session calculi?
Key findings
- The proposed type system ensures that all well-typed processes in πLIN fairly terminate, meaning all pending actions are eventually performed under fairness assumptions.
- The system is a conservative extension of µMALL∞, with only a single rule added for non-deterministic choices and a relaxation of the validity condition to focus on fair behaviors.
- Proof terms in the extended system correspond exactly to processes in πLIN, and cut elimination in the proof system mirrors fair termination in the process calculus.
- The reduction semantics of πLIN is standard and does not require unnatural rules like commuting conversions or prefix swapping, which aligns naturally with bottom-up cut elimination.
- The system can type processes that previous systems cannot, such as a forwarder that applies subtyping unboundedly, while rejecting 'compulsive' players that loop indefinitely without termination.
- The approach provides a logical foundation for fair subtyping and may support future investigations into the logical underpinnings of fair session types.
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.