Nondeterministic tree-walking automata are not closed under complementation
Olga Martynova, Alexander Okhotin
TL;DR
This work settles Bojańczyk–Colcombet’s question by proving that the class of tree languages recognized by nondeterministic tree-walking automata is not closed under complementation. The authors construct a separating language $L$ recognizable by an NTWA yet whose complement cannot be recognized by any NTWA, using a pattern-based framework with Δ-n patterns and a faulty Δ-2M' pattern to force a contradiction. They also demonstrate that UTWAs are strictly weaker than NTWAs, while a deterministic one-pebble tree-walking automaton can recognize $L$, making its complement recognizable by a DTWA and highlighting non-deterministic limitations. Together, these results refine the landscape of tree-walking automata, imply that NTWA cannot be determinized, and raise further questions about the relative power and closure properties of unambiguous and graph-walking variants.
Abstract
It is proved that the family of tree languages recognized by nondeterministic tree-walking automata is not closed under complementation, solving a problem raised by Bojańczyk and Colcombet ("Tree-walking automata do not recognize all regular languages", SIAM J. Comp. 38 (2008) 658--701). In addition, it is shown that nondeterministic tree-walking automata are stronger than unambiguous tree-walking automata.
