On the power of tree-walking automata

  • Authors:
  • Frank Neven;Thomas Schwentick

  • Affiliations:
  • Limburgs Universitair Centrum, Diepenbeek, Belgium;Philipps-Universität Marburg, Marburg, Germany

  • Venue:
  • Information and Computation - Special issue: ICC '99
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

Tree-walking automata (TWAs) recently received new attention in the fields of formal languages and databases. To achieve a better understanding of their expressiveness, we characterize them in terms of transitive closure logic formulas in normal form. It is conjectured by Engelfriet and Hoogeboom that TWAs cannot define all regular tree languages, or equivalently, all of monadic second-order logic. We prove this conjecture for a restricted, but powerful, class of TWAs. In particular, we show that 1-bounded TWAs, that is TWAs that are only allowed to traverse every edge of the input tree at most once in every direction, cannot define all regular languages. We then extend this result to a class of TWAs that can simulate first-order logic (FO) and is capable of expressing properties not definable in FO extended with regular path expressions; the latter logic being a valid abstraction of current query languages for XML and semistructured data.