MobilityReadingGroup

π-calculus, Session Types research at Imperial College

Certifying data in multiparty session types
Bernardo TONINHO, Nobuko YOSHIDA
Journal of Logical and Algebraic Methods in Programming. p. 1 - 1

Multiparty session types (MPST) are a typing discipline for ensuring the coordination of multi-agent communication in concurrent and distributed programs. The original MPST framework mainly focuses on the communication aspects of concurrency, unable to capture important data invariants in communicating programs. This work introduces value dependent types to the MPST framework in order to increase its expressiveness for certifying invariants of data exchanged among multiple participants. The key idea is to impose constraints on the exchanged data, which is explicitly witnessed at runtime by proof objects. The enriched MPST framework provides programmers with a precise global description of the interaction and data dependent patterns, from which local (data dependent) descriptions can be automatically generated for each endpoint, faithfully capturing at a local level the global data constraints. The framework ensures the absence of communication errors and guarantees communication progress in well-typed multiparty sessions. We also develop an extension of value dependencies based on proof irrelevance that enables the selective erasure of proof objects at runtime.

@article{TY2017,
  author = {Bernardo Toninho and Nobuko Yoshida},
  title = {{Certifying data in multiparty session types}},
  journal = {JLAMP},
  pages = {1--1},
  publisher = {Elsevier},
  year = 2017
}
@article{TY2017,
  author = {Bernardo Toninho and Nobuko Yoshida},
  title = {{Certifying data in multiparty session types}},
  journal = {Journal of Logical and Algebraic Methods in Programming},
  pages = {1--1},
  publisher = {Elsevier},
  doi = "10.1016/j.jlamp.2016.11.005",
  year = 2017
}