Multiparty session types, beyond duality
File(s)1-s2.0-S2352220817301487-main.pdf (820.18 KB)
Published version
Author(s)
Scalas, A
Yoshida, Nobuko
Type
Journal Article
Abstract
Multiparty Session Types (MPST) are a well-established typing discipline for message-passing processes interacting on sessions involving two or more participants. Session typing can ensure desirable properties: absence of communication errors and deadlocks, and protocol conformance.
We propose a novel MPST theory based on a rely/guarantee typing system, that checks (1) the guaranteed behaviour of the process being typed, and (2) the relied upon behaviour of other processes. Crucially, our theory achieves type safety by enforcing a typing context liveness invariant throughout typing derivations.
Unlike “classic” MPST works, our typing system does not depend on global session types, and does not use syntactic duality checks. As a result, our new theory can prove type safety for processes that implement protocols with complex inter-role dependencies, thus sidestepping an intrinsic limitation of “classic” MPST.
We propose a novel MPST theory based on a rely/guarantee typing system, that checks (1) the guaranteed behaviour of the process being typed, and (2) the relied upon behaviour of other processes. Crucially, our theory achieves type safety by enforcing a typing context liveness invariant throughout typing derivations.
Unlike “classic” MPST works, our typing system does not depend on global session types, and does not use syntactic duality checks. As a result, our new theory can prove type safety for processes that implement protocols with complex inter-role dependencies, thus sidestepping an intrinsic limitation of “classic” MPST.
Date Issued
2018-06-01
Date Acceptance
2018-01-25
Citation
Journal of Logical and Algebraic Methods in Programming, 2018, 97, pp.55-84
ISSN
2352-2208
Publisher
Elsevier
Start Page
55
End Page
84
Journal / Book Title
Journal of Logical and Algebraic Methods in Programming
Volume
97
Copyright Statement
© 2018 The Authors. Published by Elsevier Inc. This is an open access article under the CC-BY license (http://creativecommons.org/licenses/by/4.0/)
Sponsor
Engineering & Physical Science Research Council (E
Engineering & Physical Science Research Council (E
Engineering & Physical Science Research Council (EPSRC)
Engineering & Physical Science Research Council (EPSRC)
Engineering & Physical Science Research Council (E
Grant Number
ERI 025567 (EP/K034413/1)
PO 1553380
EP/K011715/1
EP/N027833/1
PO: 1924138 - 72043/2
Subjects
Science & Technology
Technology
Computer Science, Theory & Methods
Logic
Computer Science
Science & Technology - Other Topics
Concurrency
Process calculi
Multiparty session types
Duality
GLOBAL PROGRESS
PROPOSITIONS
CALCULUS
MACHINES
Publication Status
Published
Date Publish Online
2018-03-10