Abstract
Multiparty session types are a type system that can ensure the safety and liveness of distributed peers via the global specification of their interactions. To construct a global specification from a set of distributed uncontrolled behaviours, this paper explores the problem of fully characterising multiparty session types in terms of communicating automata. We equip global and local session types with labelled transition systems (LTSs) that faithfully represent asynchronous communications through unbounded buffered channels. Using the equivalence between the two LTSs, we identify a class of communicating automata that exactly correspond to the projected local types. We exhibit an algorithm to synthesise a global type from a collection of communicating automata. The key property of our findings is the notion of multiparty compatibility which non-trivially extends the duality condition for binary session types.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Basu, S., Bultan, T., Ouederni, M.: Deciding choreography realizability. In: POPL 2012, pp. 191ā202. ACM (2012)
Bettini, L., Coppo, M., DāAntoni, L., De Luca, M., Dezani-Ciancaglini, M., Yoshida, N.: Global progress in dynamically interleaved multiparty sessions. In: van Breugel, F., Chechik, M. (eds.) CONCUR 2008. LNCS, vol.Ā 5201, pp. 418ā433. Springer, Heidelberg (2008)
Brand, D., Zafiropulo, P.: On communicating finite-state machines. J. ACMĀ 30, 323ā342 (1983)
Caires, L., Pfenning, F.: Session types as intuitionistic linear propositions. In: Gastin, P., Laroussinie, F. (eds.) CONCUR 2010. LNCS, vol.Ā 6269, pp. 222ā236. Springer, Heidelberg (2010)
Castagna, G., Dezani-Ciancaglini, M., Padovani, L.: On global types and multi-party session. LMCSĀ 8(1) (2012)
CĆ©cĆ©, G., Finkel, A.: Verification of programs with half-duplex communication. Inf. Comput.Ā 202(2), 166ā190 (2005)
DeniĆ©lou, P.-M., Yoshida, N.: Dynamic multirole session types. In: POPL, pp. 435ā446. ACM, Full version, Prototype at http://www.doc.ic.ac.uk/~pmalo/dynamic
DeniĆ©lou, P.-M., Yoshida, N.: Multiparty session types meet communicating automata. In: Seidl, H. (ed.) ESOP 2012. LNCS, vol.Ā 7211, pp. 194ā213. Springer, Heidelberg (2012)
Girard, J.-Y.: Linear logic. TCSĀ 50 (1987)
Gouda, M., Manning, E., Yu, Y.: On the progress of communication between two finite state machines. Information and ControlĀ 63, 200ā216 (1984)
Honda, K., Vasconcelos, V.T., Kubo, M.: Language primitives and type discipline for structured communication-based programming. In: Hankin, C. (ed.) ESOP 1998. LNCS, vol.Ā 1381, pp. 122ā138. Springer, Heidelberg (1998)
Honda, K., Yoshida, N., Carbone, M.: Multiparty Asynchronous Session Types. In: POPL 2008, pp. 273ā284. ACM (2008)
Lange, J., Tuosto, E.: Synthesising choreographies from local session types. In: Koutny, M., Ulidowski, I. (eds.) CONCUR 2012. LNCS, vol.Ā 7454, pp. 225ā239. Springer, Heidelberg (2012)
Mostrous, D., Yoshida, N., Honda, K.: Global principal typing in partially commutative asynchronous sessions. In: Castagna, G. (ed.) ESOP 2009. LNCS, vol.Ā 5502, pp. 316ā332. Springer, Heidelberg (2009)
Muscholl, A.: Analysis of communicating automata. In: Dediu, A.-H., Fernau, H., MartĆn-Vide, C. (eds.) LATA 2010. LNCS, vol.Ā 6031, pp. 50ā57. Springer, Heidelberg (2010)
DoC Technical Report, Imperial College London, Computing, DTR13-5 (2013)
Takeuchi, K., Honda, K., Kubo, M.: An interaction-based language and its typing system. In: Halatsis, C., Philokyprou, G., Maritsas, D., Theodoridis, S. (eds.) PARLE 1994. LNCS, vol.Ā 817, pp. 398ā413. Springer, Heidelberg (1994)
Villard, J.: Heaps and Hops. PhD thesis, ENS Cachan (2011)
Wadler, P.: Proposition as Sessions. In: ICFP 2012, pp. 273ā286 (2012)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
Ā© 2013 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
DeniƩlou, PM., Yoshida, N. (2013). Multiparty Compatibility in Communicating Automata: Characterisation and Synthesis of Global Session Types. In: Fomin, F.V., Freivalds, R., Kwiatkowska, M., Peleg, D. (eds) Automata, Languages, and Programming. ICALP 2013. Lecture Notes in Computer Science, vol 7966. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-39212-2_18
Download citation
DOI: https://doi.org/10.1007/978-3-642-39212-2_18
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-39211-5
Online ISBN: 978-3-642-39212-2
eBook Packages: Computer ScienceComputer Science (R0)