Skip to main content

Multiparty Compatibility in Communicating Automata: Characterisation and Synthesis of Global Session Types

  • Conference paper
Automata, Languages, and Programming (ICALP 2013)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 7966))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Basu, S., Bultan, T., Ouederni, M.: Deciding choreography realizability. In: POPL 2012, pp. 191ā€“202. ACM (2012)

    Google ScholarĀ 

  2. 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)

    ChapterĀ  Google ScholarĀ 

  3. Brand, D., Zafiropulo, P.: On communicating finite-state machines. J. ACMĀ 30, 323ā€“342 (1983)

    ArticleĀ  MathSciNetĀ  MATHĀ  Google ScholarĀ 

  4. 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)

    ChapterĀ  Google ScholarĀ 

  5. Castagna, G., Dezani-Ciancaglini, M., Padovani, L.: On global types and multi-party session. LMCSĀ 8(1) (2012)

    Google ScholarĀ 

  6. CĆ©cĆ©, G., Finkel, A.: Verification of programs with half-duplex communication. Inf. Comput.Ā 202(2), 166ā€“190 (2005)

    ArticleĀ  MATHĀ  Google ScholarĀ 

  7. 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

  8. 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)

    Google ScholarĀ 

  9. http://arxiv.org/abs/1304.1902

  10. Girard, J.-Y.: Linear logic. TCSĀ 50 (1987)

    Google ScholarĀ 

  11. Gouda, M., Manning, E., Yu, Y.: On the progress of communication between two finite state machines. Information and ControlĀ 63, 200ā€“216 (1984)

    ArticleĀ  MathSciNetĀ  MATHĀ  Google ScholarĀ 

  12. 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)

    ChapterĀ  Google ScholarĀ 

  13. Honda, K., Yoshida, N., Carbone, M.: Multiparty Asynchronous Session Types. In: POPL 2008, pp. 273ā€“284. ACM (2008)

    Google ScholarĀ 

  14. 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)

    ChapterĀ  Google ScholarĀ 

  15. 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)

    ChapterĀ  Google ScholarĀ 

  16. 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)

    ChapterĀ  Google ScholarĀ 

  17. DoC Technical Report, Imperial College London, Computing, DTR13-5 (2013)

    Google ScholarĀ 

  18. 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)

    ChapterĀ  Google ScholarĀ 

  19. Villard, J.: Heaps and Hops. PhD thesis, ENS Cachan (2011)

    Google ScholarĀ 

  20. Wadler, P.: Proposition as Sessions. In: ICFP 2012, pp. 273ā€“286 (2012)

    Google ScholarĀ 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics