Less is more: multiparty session types revisited

Author:

Scalas Alceste1,Yoshida Nobuko1

Affiliation:

1. Imperial College London, UK

Abstract

Multiparty Session Types (MPST) are a typing discipline ensuring that a message-passing process implements a multiparty session protocol , without errors. In this paper, we propose a new, generalised MPST theory. Our contribution is fourfold. (1) We demonstrate that a revision of the theoretical foundations of MPST is necessary : classic MPST have a limited subject reduction property, with inherent restrictions that are easily overlooked, and in previous work have led to flawed type safety proofs; our new theory removes such restrictions and fixes such flaws. (2) We contribute a new MPST theory that is less complicated, and yet more general, than the classic one: it does not require global multiparty session types nor binary session type duality — instead, it is grounded on general behavioural type-level properties, and proves type safety of many more protocols and processes. (3) We produce a detailed analysis of type-level properties, showing how, in our new theory, they allow to ensure decidability of type checking, and statically guarantee that processes enjoy, , deadlock-freedom and liveness at run-time. (4) We show how our new theory can integrate type and model checking: type-level properties can be expressed in modal µ-calculus, and verified with well-established tools.

Funder

Engineering and Physical Sciences Research Council

European Cooperation in Science and Technology

Publisher

Association for Computing Machinery (ACM)

Subject

Safety, Risk, Reliability and Quality,Software

Reference51 articles.

1. Behavioral Types in Programming Languages

2. Samik Basu and Tevfik Bultan. 2011. Choreography conformance via synchronizability. In WWW. 10.1145/1963405.1963516 Samik Basu and Tevfik Bultan. 2011. Choreography conformance via synchronizability. In WWW. 10.1145/1963405.1963516

3. Samik Basu Tevfik Bultan and Meriem Ouederni. 2012. Synchronizability for Verification of Asynchronously Communicating Systems. In VMCAI. 10.1007/978-3-642-27940-9_5 Samik Basu Tevfik Bultan and Meriem Ouederni. 2012. Synchronizability for Verification of Asynchronously Communicating Systems. In VMCAI. 10.1007/978-3-642-27940-9_5

Cited by 51 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Deadlock-Free Separation Logic: Linearity Yields Progress for Dependent Higher-Order Message Passing;Proceedings of the ACM on Programming Languages;2024-01-05

2. Branching pomsets: Design, expressiveness and applications to choreographies;Journal of Logical and Algebraic Methods in Programming;2024-01

3. Alice or Bob?: Process polymorphism in choreographies;Journal of Functional Programming;2024

4. Programming Language Implementations with Multiparty Session Types;Lecture Notes in Computer Science;2024

5. Session Types with Multiple Senders Single Receiver;Dependable Software Engineering. Theories, Tools, and Applications;2023-12-15

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3