Synchronizability of Communicating Finite State Machines is not Decidable
Alain Finkel, Etienne Lozes
TL;DR
The paper investigates the decidability of synchronizability for systems of communicating finite state machines (CFSMs). It proves that synchronizability is undecidable for systems with at least three peers under the peer-to-peer FIFO model, and shows that the small-model property fails for both mailbox and peer-to-peer semantics, invalidating prior decidability claims. Conversely, it establishes decidability for oriented-ring topologies, leveraging confluence and trace normalization to prove that 1-synchronizability implies full synchronizability and that the reachability set is channel-recognizable. These results collectively illuminate the boundaries between decidability and undecidability in CFSM synchronization and identify precise conditions under which buffer-scaled behavior can be faithfully analyzed. The findings have implications for choreography realizability and the verification of distributed protocols across different communication models and topologies.
Abstract
A system of communicating finite state machines is synchronizable if its send trace semantics, i.e.the set of sequences of sendings it can perform, is the same when its communications are FIFO asynchronous and when they are just rendez-vous synchronizations. This property was claimed to be decidable in several conference and journal papers for either mailboxes or peer-to-peer communications, thanks to a form of small model property. In this paper, we show that this small model property does not hold neither for mailbox communications, nor for peer-to-peer communications, therefore the decidability of synchronizability becomes an open question. We close this question for peer-to-peer communications, and we show that synchronizability is actually undecidable. We show that synchronizability is decidable if the topology of communications is an oriented ring. We also show that, in this case, synchronizability implies the absence of unspecified receptions and orphan messages, and the channel-recognizability of the reachability set.
