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
62 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献