Introduction
Restarting automata (RRWW-automata) are a class of computational models designed to formalize the linguistic concept of "analysis by reduction." This technique simplifies a sentence step-by-step by replacing complex sub-structures with simpler ones until a core structure is reached. Formally, these machines operate on a tape with a fixed-size "read/write window" that moves across the input. Upon performing a rewrite—replacing the window's contents with a shorter or "lighter" string—the automaton must restart its computation from the beginning of the tape.
A fundamental question in the study of these automata is the relationship between the window size ($k$) and the expressive power of the language class it can recognize. While it has long been established that a window size of $k=1$ is largely restricted to regular languages, the exact capabilities of a window size of $k=2$ have remained a subject of complex theoretical debate. This paper provides direct proofs for the power of small windows and explores how "shrinking" constraints—where rewrites reduce a defined weight rather than physical length—affect language characterization.
Methodology
The authors utilize several formal proof techniques to establish the computational boundaries of small-window restarting automata:
- Reverse Derivation Simulation: To demonstrate that a window size of 2 is sufficient for recognizing context-free languages (CFL), the authors show how a monotone RWW-automaton can simulate the derivation of a context-free grammar in Chomsky Normal Form in reverse.
- Automata Squeezing: For deterministic cases, the authors first construct a Deterministic Pushdown Automaton (DPDA) simulation using a window size of 3, then employ a clever reduction technique to compress this logic into a window of size 2.
- Weight Functions and Shrinking: The paper introduces "shrinking" automata ($sRWW$), where every rewrite step must reduce the total weight of the string according to a predefined mapping. This generalizes the standard length-reducing constraint.
- Taxonomy Mapping: The research culminates in a comprehensive mapping of the relationships between various classes of restarting automata and classical hierarchies, such as the Chomsky hierarchy and Church-Rosser languages.
Key Insights and Theoretical Results
The Threshold of $k=2$
The most significant finding is that a window size of 2 represents a fundamental threshold in computational power. For monotone automata—those where the rewrite position does not move "backward" relative to the end of the string across successive restarts—size 2 is the "sweet spot" required to recognize the full class of context-free languages.
Monotonicity and Determinism
The authors observe that for deterministic RWW-automata, a window size of 2 inherently forces the machine to behave monotonically. This observation simplifies the hierarchy of deterministic restarting automata, as it collapses certain distinctions that exist at larger window sizes.
Length vs. Weight
The distinction between length-reducing rewrites and weight-reducing (shrinking) rewrites is crucial. In the shrinking model, even a window of size 1 becomes significantly more powerful, reaching equivalence with "finite-change automata." Furthermore, the authors prove that deterministic shrinking RWW-automata with window size 2 exactly characterize the Church-Rosser languages (CRL), a class vital to string rewriting and logic.
Summary of Language Equivalences
The paper establishes several key equalities:
- CFL = L(mon-RWW(2)): Nondeterministic monotone restarting automata with window size 2 recognize exactly the context-free languages.
- DCFL = L(det-mon-RWW(2)): The deterministic variant recognizes exactly the deterministic context-free languages.
- CRL = L(det-sRWW(2)): Deterministic shrinking restarting automata with window size 2 characterize the Church-Rosser languages.
- Regularity at $k=1$: In the deterministic shrinking case, a window size of 1 remains limited to regular languages.
Limitations and Future Research
Despite clarifying the power of small windows, the paper identifies several open questions:
- The Shrinking Gap: While a window size of 9 is proven sufficient for nondeterministic shrinking RWW-automata to reach their full expressive power, the expressiveness of window sizes 3 through 8 remains unknown.
- The Palindrome Conjecture: The authors conjecture that the language of palindromes ($L_{pal} = \{ww^R\}$) cannot be accepted by any monotone shrinking RRWW-automaton with window size 1, though a formal proof is currently absent.
- Hierarchy Depth: It remains an open question whether increasing the window size beyond 2 for non-monotone deterministic RWW-automata creates an infinite hierarchy of increasingly powerful language classes.
Summary updated