Affiliation:
1. University of Edinburgh, UK
Abstract
Session types provide static guarantees that concurrent programs respect communication protocols. We give a novel account of recursive session types in the context of GV, a small concurrent extension of the linear λ-calculus. We extend GV with recursive types and catamorphisms, following the initial algebra semantics of recursion, and show that doing so naturally gives rise to recursive session types. We show that this principled approach to recursion resolves long-standing problems in the treatment of duality for recursive session types.
We characterize the expressiveness of GV concurrency by giving a CPS translation to (non-concurrent) λ-calculus and proving that reduction in GV is simulated by full reduction in λ-calculus. This shows that GV remains terminating in the presence of positive recursive types, and that such arguments extend to other extensions of GV, such as polymorphism or non-linear types, by appeal to normalization results for sequential λ-calculi. We also show that GV remains deadlock free and deterministic in the presence of recursive types.
Finally, we extend CP, a session-typed process calculus based on linear logic, with recursive types, and show that doing so preserves the connection between reduction in GV and cut elimination in CP.
Funder
Engineering and Physical Sciences Research Council
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Reference36 articles.
1. Proofs as processes
2. R.
Atkey S.
Lindley and
J. G.
Morris
.
Conflation confers concurrency
. In S. Lindley C. McBride P. W. Trinder and D. Sannella editors A List of Successes That Can Change the World - Essays Dedicated to Philip Wadler on the Occasion of His 60th
Birthday volume
9600
of
Lecture Notes in Computer Science pages 32–
55
. Springer 2016. R. Atkey S. Lindley and J. G. Morris. Conflation confers concurrency. In S. Lindley C. McBride P. W. Trinder and D. Sannella editors A List of Successes That Can Change the World - Essays Dedicated to Philip Wadler on the Occasion of His 60th Birthday volume 9600 of Lecture Notes in Computer Science pages 32–55. Springer 2016.
3. Least and Greatest Fixed Points in Linear Logic
4. On the π-calculus and linear logic
Cited by
41 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. A logical account of subtyping for session types;Journal of Logical and Algebraic Methods in Programming;2024-10
2. Fair termination of multiparty sessions;Journal of Logical and Algebraic Methods in Programming;2024-06
3. Deadlock-Free Separation Logic: Linearity Yields Progress for Dependent Higher-Order Message Passing;Proceedings of the ACM on Programming Languages;2024-01-05
4. Prioritise the Best Variation;Logical Methods in Computer Science;2023-12-18
5. Separating Sessions Smoothly;Logical Methods in Computer Science;2023-07-12