English

Monitoring Blackbox Implementations of Multiparty Session Protocols

Programming Languages 2023-10-04 v3

Abstract

We present a framework for the distributed monitoring of networks of components that coordinate by message-passing, following multiparty session protocols specified as global types. We improve over prior works by (i) supporting components whose exact specification is unknown ("blackboxes") and (ii) covering protocols that cannot be analyzed by existing techniques. We first give a procedure for synthesizing monitors for blackboxes from global types, and precisely define when a blackbox correctly satisfies its global type. Then, we prove that monitored blackboxes are sound (they correctly follow the protocol) and transparent (blackboxes with and without monitors are behaviorally equivalent).

Keywords

Cite

@article{arxiv.2306.04204,
  title  = {Monitoring Blackbox Implementations of Multiparty Session Protocols},
  author = {Bas van den Heuvel and Jorge A. Pérez and Rares A. Dobre},
  journal= {arXiv preprint arXiv:2306.04204},
  year   = {2023}
}

Comments

Full version with appendices of our RV'23 paper

R2 v1 2026-06-28T10:58:30.923Z