Abstract
This paper explores a theoretical framework for comparing complex systems using Two-Buffer Simulation Games. By extending traditional automata theory with multiple FIFO buffers, the authors provide a novel method to approximate the undecidable language inclusion problem for rational relations over infinite words. The framework introduces a hierarchy of relations that are computable in polynomial time when buffer sizes are fixed, offering a practical tool for formal verification.
Introduction: The Challenge of Language Inclusion
In formal verification, a fundamental task is determining if one system "covers" another, known as the language inclusion problem. While this is PSPACE-complete for finite automata, it becomes undecidable for rational relations—models representing systems with independent input and output streams.
To circumvent this, researchers often use "simulation relations." Standard simulation is computationally efficient but frequently too restrictive to prove equivalence or inclusion in complex systems. Previous extensions introduced a single buffer to provide the mimicking player more flexibility. However, a single buffer fails to capture the "shuffling" or partial commutativity inherent in systems with multiple independent streams. This paper addresses this gap by introducing a second buffer.
The Two-Buffer Simulation Game
The authors define a game played by two characters: Spoiler and Duplicator, on two Büchi automata.
- The Setup: The game proceeds on graphs representing infinite behaviors.
- The Buffers: When Spoiler moves, his choices are sorted into one of two FIFO buffers based on a predefined mapping.
- The Goal: Duplicator must match Spoiler’s moves by pulling symbols from either buffer to form her own valid run.
- Winning Conditions: Duplicator wins if she can maintain the run indefinitely without overflowing the buffers (if bounded) and ensures her run is "accepting" if Spoiler's is.
Key Insights: Partial Commutativity
The transition from one buffer to two is a qualitative leap. Two buffers introduce partial commutativity: symbols in Buffer A can be processed independently of those in Buffer B. This mirrors how rational relations operate over the product of independent sets of words.
If the buffers have a fixed maximum size $k$, the game can be reduced to a standard simulation game by encoding the buffer contents into the automaton's state space. This leads to a polynomial-time solution, providing a "sweet spot" for approximation. While the method is incomplete (it won't catch every case of inclusion), it is sound: a win for the Duplicator guarantees language inclusion.
Complexity and the Hierarchy of Relations
The paper establishes several key results regarding the complexity and expressiveness of these games:
- Decidability: For any fixed buffer capacity $k$, the two-buffer simulation relation is decidable in polynomial time.
- Undecidability: If buffers are unbounded, the problem becomes undecidable, proven via a reduction from Post’s Correspondence Problem (PCP).
- Hierarchy: A hierarchy is established where increasing buffer capacity $k$ results in a "stronger" simulation that more closely approximates true language inclusion.
Conclusion
Two-buffer simulation games provide a robust framework for approximating undecidable problems in formal verification. By leveraging fixed-size buffers, the authors transform an impossible computational task into a polynomial-time approximation. Future work aims to extend this to $m$ buffers and explore "flush" variants of the game to further refine the balance between complexity and approximation power.
Summary updated