Characterizing Implementability of Global Protocols with Infinite States and Data

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Li, Elaine, Stutz, Felix, Wies, Thomas, Zufferey, Damien
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912237155778560
author Li, Elaine
Stutz, Felix
Wies, Thomas
Zufferey, Damien
author_facet Li, Elaine
Stutz, Felix
Wies, Thomas
Zufferey, Damien
contents We study the implementability problem for an expressive class of symbolic communication protocols involving multiple participants. Our symbolic protocols describe infinite states and data values using dependent refinement predicates. Implementability asks whether a global protocol specification admits a distributed, asynchronous implementation, namely one for each participant, that is deadlock-free and exhibits the same behavior as the specification. We provide a unified explanation of seemingly disparate sources of non-implementability through a precise semantic characterization of implementability for infinite protocols. Our characterization reduces the problem of implementability to (co)reachability in the global protocol restricted to each participant. This compositional reduction yields the first sound and relatively complete algorithm for checking implementability of symbolic protocols. We use our characterization to show that for finite protocols, implementability is co-NP-complete for explicit representations and PSPACE-complete for symbolic representations. The finite, explicit fragment subsumes a previously studied fragment of multiparty session types for which our characterization yields a co-NP decision procedure, tightening a prior PSPACE upper bound.
format Preprint
id arxiv_https___arxiv_org_abs_2411_05722
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Characterizing Implementability of Global Protocols with Infinite States and Data
Li, Elaine
Stutz, Felix
Wies, Thomas
Zufferey, Damien
Programming Languages
Formal Languages and Automata Theory
We study the implementability problem for an expressive class of symbolic communication protocols involving multiple participants. Our symbolic protocols describe infinite states and data values using dependent refinement predicates. Implementability asks whether a global protocol specification admits a distributed, asynchronous implementation, namely one for each participant, that is deadlock-free and exhibits the same behavior as the specification. We provide a unified explanation of seemingly disparate sources of non-implementability through a precise semantic characterization of implementability for infinite protocols. Our characterization reduces the problem of implementability to (co)reachability in the global protocol restricted to each participant. This compositional reduction yields the first sound and relatively complete algorithm for checking implementability of symbolic protocols. We use our characterization to show that for finite protocols, implementability is co-NP-complete for explicit representations and PSPACE-complete for symbolic representations. The finite, explicit fragment subsumes a previously studied fragment of multiparty session types for which our characterization yields a co-NP decision procedure, tightening a prior PSPACE upper bound.
title Characterizing Implementability of Global Protocols with Infinite States and Data
topic Programming Languages
Formal Languages and Automata Theory
url https://arxiv.org/abs/2411.05722