Abstract
This paper introduces a new theory of multiparty session types based on symmetric sum types, by which we can type non-deterministic orchestration choice behaviours. While the original branching type in session types can represent a choice made by a single participant and accepted by others determining how the session proceeds, the symmetric sum type represents a choice made by agreement among all the participants of a session. Such behaviour can be found in many practical systems, including collaborative workflow in healthcare systems for clinical practice guidelines (CPGs). Processes using the symmetric sums can be embedded into the original branching types using conductor processes. We show that this type-driven embedding preserves typability, satisfies semantic soundness and completeness, and meets the encodability criteria [18, 9] adapted to the typed setting. The theory leads to an efficient implementation of a prototypical tool for CPGs which automatically translates the original CPG specifications from a representation called the ProcessMatrix to symmetric sum types, type checks programs and executes them.
Original language | English |
---|---|
Title of host publication | Proceedings 17th International Workshop on Expressiveness in Concurrency |
Editors | Sibylle Fröschle, Frank D. Valencia |
Number of pages | 15 |
Volume | 41 |
Publication date | 28 Nov 2010 |
Pages | 121-135 |
DOIs | |
Publication status | Published - 28 Nov 2010 |
Event | 17th International Workshop on Expressiveness in Concurrency - Paris, France Duration: 30 Aug 2010 → 30 Aug 2010 Conference number: 17 |
Conference
Conference | 17th International Workshop on Expressiveness in Concurrency |
---|---|
Number | 17 |
Country/Territory | France |
City | Paris |
Period | 30/08/2010 → 30/08/2010 |
Series | Electronic Proceedings in Theoretical Computer Science |
---|---|
ISSN | 2075-2180 |
Keywords
- Faculty of Science
- computer science
- multiparty
- session types
- interaction
- communication
- decission
- sum types