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 $\mu$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 $\pi$LIN, a variant of the linear $\pi$-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 $\pi$LIN (and indirectly for session calculi through their encoding into $\pi$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.
翻译:公平终止是可能“原则上”不同但“在实践上”终止“在实践上”的方案的属性,即根据关于非决定性选择的解决的适当公平假设。我们研究保守的“$mu$mall$$ infty$”的延伸,这是线性逻辑的多倍附加分块和最小和最大固定点的绝对证明系统,这种分解相当于公平终止。证明条款是“$pi$LIN”的过程,这是一个线性 $pi$-calulus 的变种,它具有(co) 稳妥的二进式和( some)多党会议可以编码。因此我们获得了一个用于$\pi$LIN(和通过将其编码成$\pi$LIN间接用于会话的计算计算计算计算计算卡力)的行为类型系统,可以确保公平的终止:虽然完善的程序可能涉及任意的长期互动,但可以完全保证最终执行所有待决行动。