An automata-based approach for synchronizable mailbox communication
Pith reviewed 2026-05-23 23:20 UTC · model grok-4.3
The pith
Checking if a mailbox communication system complies with round-based policy without round size limits is Pspace-complete.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The central claim is that the problem of determining whether a finite-state communicating system with one mailbox per process satisfies the round-based policy with no size limitation on rounds is Pspace-complete. The proof relies on a novel automata-based construction that encodes the mailbox semantics and the send-then-receive round discipline while preserving synchronizability, i.e., the existence of an equivalent round-respecting execution for every original execution.
What carries the argument
The automata constructions that encode mailbox semantics under the round-based policy while preserving the synchronizability property.
If this is right
- Synchronizability of mailbox systems with unbounded rounds can be decided in polynomial space.
- Several questions on mailbox communication studied in prior literature have Pspace complexity.
- The automata constructions decide whether every execution admits an equivalent round-respecting re-scheduling.
Where Pith is reading between the lines
- The same automata technique might be adapted to decide related properties such as absence of deadlocks under the same communication model.
- If the construction works for unbounded rounds, it suggests the complexity does not jump when moving from fixed-size to variable-size rounds.
- Similar automata encodings could be explored for peer-to-peer buffer models to compare their verification complexity.
Load-bearing premise
Finite-state communicating systems allow the mailbox semantics and round-based policy to be faithfully captured by automata constructions that preserve the synchronizability property.
What would settle it
An explicit finite-state mailbox system whose set of executions cannot be accepted by the constructed automata for the round-based policy, or whose synchronizability decision requires more than polynomial space, would falsify the Pspace-completeness claim.
Figures
read the original abstract
We revisit finite-state communicating systems with round-based communication under mailbox semantics. Mailboxes correspond to one FIFO buffer per process (instead of one buffer per pair of processes in peer-to-peer systems). Round-based communication corresponds to sequences of rounds in which processes can first send messages, then only receive (and receives must be in the same round as their sends). A system is called synchronizable if every execution can be re-scheduled into an equivalent execution that is a sequence of rounds. Previous work mostly considered the setting where rounds have fixed size. Our main contribution shows that the problem whether a mailbox communication system complies with the round-based policy, with no size limitation on rounds, is Pspace-complete. For this we use a novel automata-based approach, that also allows to determine the precise complexity (Pspace) of several questions considered in previous literature.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper revisits finite-state communicating systems under mailbox semantics (one FIFO buffer per process) with round-based communication, where each round consists of a send phase followed by a receive phase with receives matched to sends in the same round. It defines synchronizability as the property that every execution can be rescheduled into an equivalent round-based execution, and shows that deciding whether a system complies with the round-based policy (with no bound on round size) is PSPACE-complete. The proof uses a novel automata construction, which is also applied to determine PSPACE complexity for several related questions from prior literature on fixed-size rounds.
Significance. If the automata constructions are faithful, the result gives the first precise complexity classification for the unbounded-round case in mailbox systems, which is a strict generalization of previous fixed-size round results. The automata method provides a uniform decision procedure that may apply to other synchronizability variants and related verification questions.
major comments (2)
- [§4] §4 (automata construction for unbounded rounds): the product construction must be shown to preserve exact equivalence to the original mailbox semantics while allowing arbitrary round sizes; it is unclear whether the state encoding of rounds and the send/receive discipline enforces FIFO ordering and per-round send-receive matching without either bounding rounds implicitly or admitting spurious executions that violate the round-based policy.
- [§5] §5 (PSPACE upper bound): the reduction of the synchronizability problem to an automata emptiness or reachability question relies on the construction in §4 being faithful; without an explicit argument that the automata accept precisely the synchronizable executions (including for unbounded rounds), the PSPACE membership claim does not transfer to the original problem.
minor comments (2)
- [§2] Notation for mailbox contents and round indices should be introduced with a small example execution to clarify how FIFO order interacts with round boundaries.
- The abstract and introduction should explicitly contrast the new unbounded-round result with the fixed-size round results from prior work to highlight the technical novelty.
Simulated Author's Rebuttal
We thank the referee for the careful reading and the detailed comments on the automata construction. We address the two major comments below and will revise the manuscript to include additional explicit arguments establishing the faithfulness of the construction.
read point-by-point responses
-
Referee: [§4] §4 (automata construction for unbounded rounds): the product construction must be shown to preserve exact equivalence to the original mailbox semantics while allowing arbitrary round sizes; it is unclear whether the state encoding of rounds and the send/receive discipline enforces FIFO ordering and per-round send-receive matching without either bounding rounds implicitly or admitting spurious executions that violate the round-based policy.
Authors: The product construction encodes round information and mailbox contents so that transitions respect FIFO order via the per-process buffer simulation and enforce send-receive matching within each round by construction of the product states. Because the state space does not impose an a-priori bound on the number of messages that may be sent before the receive phase of a round, arbitrary round sizes are admitted. We agree that a self-contained lemma explicitly proving language equivalence (no spurious executions and completeness for all synchronizable mailbox executions) is currently only sketched; the revised version will contain this lemma together with the necessary invariants on the state encoding. revision: yes
-
Referee: [§5] §5 (PSPACE upper bound): the reduction of the synchronizability problem to an automata emptiness or reachability question relies on the construction in §4 being faithful; without an explicit argument that the automata accept precisely the synchronizable executions (including for unbounded rounds), the PSPACE membership claim does not transfer to the original problem.
Authors: The PSPACE upper bound is obtained by reducing the synchronizability question to emptiness of the product automaton defined in §4. Once the added equivalence lemma establishes that the automaton accepts exactly the synchronizable executions (for unbounded rounds), the reduction is correct and the PSPACE membership follows. Hardness is shown by a separate reduction that does not depend on the automata construction. The revised manuscript will make this dependency explicit by referencing the new lemma in §5. revision: yes
Circularity Check
No circularity; standard automata reduction for PSPACE-completeness
full rationale
The paper establishes PSPACE-completeness of synchronizability under unbounded round-based mailbox semantics via a novel automata construction. No self-definitional steps, fitted inputs renamed as predictions, or load-bearing self-citations appear in the derivation chain. The construction is presented as new and directly encodes the round discipline and FIFO mailboxes, with the complexity result following from standard automata decision procedures. This is a self-contained theoretical argument relying on explicit automata encodings rather than any reduction to prior fitted parameters or author-overlapping citations for the core claim.
Axiom & Free-Parameter Ledger
axioms (1)
- domain assumption Finite-state communicating systems with mailbox semantics can be modeled by finite automata.
Reference graph
Works this paper leans on
-
[1]
[BB11] Samik Basu and Tevfik Bultan
doi:10.1006/INCO.1996.0053. [BB11] Samik Basu and Tevfik Bultan. Choreography conformance via synchronizability. In Proceedings of the 20th International Conference on World Wide Web, WWW 2011, Hyderabad, India, March 28 - April 1, 2011 , pages 795–804. ACM,
-
[2]
[BB16] Samik Basu and Tevfik Bultan
doi:10.1145/1963405.1963516. [BB16] Samik Basu and Tevfik Bultan. On deciding synchronizability for asynchronously communicating systems. Theoretical Computer Science, 656:60–75,
-
[3]
com/science/article/pii/S0304397516305102, doi:https://doi.org/10.1016/j.tcs.2016
URL: https://www.sciencedirect. com/science/article/pii/S0304397516305102, doi:https://doi.org/10.1016/j.tcs.2016. 09.023. [BEJQ18] Ahmed Bouajjani, Constantin Enea, Kailiang Ji, and Shaz Qadeer. On the completeness of verifying message passing programs under bounded asynchrony. In Computer Aided Verification - 30th International Conference, CAV 2018, Hel...
-
[4]
SCInfer: Refinement- Based Verification of Software Countermeasures Against Side- Channel Attacks,
doi:10.1007/978-3-319-96142-2\_23 . [BGF+21] Benedikt Bollig, Cinzia Di Giusto, Alain Finkel, Laetitia Laversa, ´Etienne Lozes, and Amrita Suresh. A unifying framework for deciding synchronizability. In 32nd International Conference on Concurrency Theory, CONCUR 2021, August 24-27, 2021, Virtual Conference , volume 203 of LIPIcs, pages 14:1–14:18. Schloss...
-
[5]
[BZ83] Daniel Brand and Pitro Zafiropulo
doi:10.4230/LIPICS.CONCUR.2021.14. [BZ83] Daniel Brand and Pitro Zafiropulo. On communicating finite-state machines. Journal of the ACM , 30(2):323–342,
-
[6]
[CS09] Bernadette Charron-Bost and Andr´ e Schiper
doi:10.1145/322374.322380. [CS09] Bernadette Charron-Bost and Andr´ e Schiper. The Heard-Of model: computing in dis- tributed systems with benign faults. Distributed Computation, 22(1):49–71,
-
[7]
[DGLP24] Cinzia Di Giusto, Laetitia Laversa, and Kirstin Peters
doi:10.1007/ S00446-009-0084-6 . [DGLP24] Cinzia Di Giusto, Laetitia Laversa, and Kirstin Peters. Synchronisability in mailbox communica- tion. arXiv preprint arXiv:2411.14580 ,
- [8]
-
[9]
[DMS24] Romain Delpy, Anca Muscholl, and Gr´ egoire Sutre
doi:10.1007/978-3-642-38856-9\_24 . [DMS24] Romain Delpy, Anca Muscholl, and Gr´ egoire Sutre. An automata-based approach for syn- chronizable mailbox communication. In 35th International Conference on Concurrency Theory, CONCUR 2024, September 9-13, 2024, Calgary, Canada , volume 311 of LIPIcs, pages 22:1–22:19. Schloss Dagstuhl - Leibniz-Zentrum f¨ ur I...
-
[10]
[FBS04] Xiang Fu, Tevfik Bultan, and Jianwen Su
URL: https://doi.org/10.4230/ LIPIcs.CONCUR.2024.22, doi:10.4230/LIPICS.CONCUR.2024.22. [FBS04] Xiang Fu, Tevfik Bultan, and Jianwen Su. Analysis of interacting BPEL web services. In Proceedings of the 13th international conference on World Wide Web, WWW 2004, New York, NY, USA, May 17-20, 2004 , pages 621–630. ACM,
-
[11]
[FL23] Alain Finkel and ´Etienne Lozes
doi:10.1145/988672.988756. [FL23] Alain Finkel and ´Etienne Lozes. Synchronizability of communicating finite state machines is not decidable. Logical Methods in Computer Science, 19(4),
-
[12]
[FS01] Alain Finkel and Philippe Schnoebelen
URL: https://doi.org/10.46298/ lmcs-19(4:33)2023, doi:10.46298/LMCS-19(4:33)2023. [FS01] Alain Finkel and Philippe Schnoebelen. Well-structured transition systems everywhere!Theoretical Computer Science, 256(1-2):63–92,
-
[13]
[GFLL23] Cinzia Di Giusto, Davide Ferr´ e, Laetitia Laversa, and ´Etienne Lozes
doi:10.1016/S0304-3975(00)00102-X. [GFLL23] Cinzia Di Giusto, Davide Ferr´ e, Laetitia Laversa, and ´Etienne Lozes. A partial order view of message-passing communication models. Proceedings of the ACM on Programming Languages, 7(POPL):1601–1627,
-
[14]
[GKM07] Blaise Genest, Dietrich Kuske, and Anca Muscholl
doi:10.1145/3571248. [GKM07] Blaise Genest, Dietrich Kuske, and Anca Muscholl. On communicating automata with bounded channels. Fundamenta Informaticae, 80(1-3):147–167,
-
[15]
com/articles/fundamenta-informaticae/fi80-1-3-09
URL: http://content.iospress. com/articles/fundamenta-informaticae/fi80-1-3-09 . [GLL20] Cinzia Di Giusto, Laetitia Laversa, and ´Etienne Lozes. On the k-synchronizability of systems. In Foundations of Software Science and Computation Structures - 23rd International Conference, FOSSACS 2020, Held as Part of the European Joint Conferences on Theory and Pra...
work page 2020
-
[16]
[GLL23] Cinzia Di Giusto, Laetitia Laversa, and ´Etienne Lozes
doi:10.1007/978-3-030-45231-5\_9 . [GLL23] Cinzia Di Giusto, Laetitia Laversa, and ´Etienne Lozes. Guessing the buffer bound for k- synchronizability. International Journal of Foundations of Computer Science , 34(8):1051–1076,
-
[17]
[GMSZ06] Blaise Genest, Anca Muscholl, Helmut Seidl, and Marc Zeitoun
doi:10.1142/S0129054122430018. [GMSZ06] Blaise Genest, Anca Muscholl, Helmut Seidl, and Marc Zeitoun. Infinite-state high-level mscs: Model-checking and realizability. Journal of Computer and System Sciences , 72(4):617–647,
-
[18]
[HL00] Lo¨ ıc H´ elou¨ et and Pierre Le Maigat
doi:10.1016/J.JCSS.2005.09.007. [HL00] Lo¨ ıc H´ elou¨ et and Pierre Le Maigat. Decomposition of message sequence charts. InSAM 2000, 2nd Workshop on SDL and MSC, Col de Porte, Grenoble, France, June 26-28, 2000 , pages 47–60. Verimag, IRISA, SDL Forum,
-
[19]
doi:10.4171/AUTOMATA-2/9. [Lam78] Leslie Lamport. Time, clocks, and the ordering of events in a distributed system. Communications of the ACM , 21(7):558–565,
-
[20]
Time, Clocks, and the Ordering of Events in a Distributed System
doi:10.1145/359545.359563. [LSWZ23] Elaine Li, Felix Stutz, Thomas Wies, and Damien Zufferey. Complete multiparty session type projection with automata. In Computer Aided Verification - 35th International Conference, CAV 2023, Paris, France, July 17-22, 2023, Proceedings, Part III , volume 13966 of Lecture Notes in Computer Science, pages 350–373. Springer,
-
[21]
Making IP = PSPACE practical: Efficient interactive protocols for BDD algorithms
doi:10.1007/978-3-031-37709-9\_17 . [MMSZ21] Rupak Majumdar, Madhavan Mukund, Felix Stutz, and Damien Zufferey. Generalising projection in asynchronous multiparty session types. In 32nd International Conference on Concurrency Theory, CONCUR 2021, August 24-27, 2021, Virtual Conference, volume 203 ofLIPIcs, pages 35:1– 35:24. Schloss Dagstuhl - Leibniz-Zen...
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.