Jump to content

Pebble automaton

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Cydebot (talk | contribs) at 03:28, 19 November 2015 (Robot - Moving category Automata theory to Category:Automata (computation) per CFD at Wikipedia:Categories for discussion/Log/2015 October 22.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computer science, a pebble automaton is an extension of tree walking automata which allows the automaton to use a finite amount of "pebbles", used for marking tree node[citation needed]. The result is a model stronger than ordinary tree walking automata, but still strictly weaker than branching automata.

Definitions

A pebble automaton is a tree walking automaton with an additional finite set of fixed size containing pebbles, identified with . Besides ordinary actions, an automaton can put a pebble at a currently visited node, lift a pebble from the currently visited node and perform a test "is the i-th pebble present at the current node?". There is an important stack restriction on the order in which pebbles can be put or lifted - the i+1-th pebble can be put only if the pebbles from 1st to i-th are already on the tree, and the i+1-th pebble can be lifted only if pebbles from i+2-th to n-th are not on the tree. Without this restriction, the automaton has undecidable emptiness and expressive power beyond regular tree languages.

The class of languages recognized by deterministic (resp. nondeterministic) pebble automata with n pebbles is denoted (resp. ). We also define and likewise .

Properties

  • there exists a language recognized by a pebble automaton with 1 pebble, but not by any tree walking automaton; this implies that either or these classes are incomparable, which is an open problem
  • , i.e. pebble automata are strictly weaker than branching automata
  • it is not known whether , i.e. whether pebble automata can be determinized
  • it is not known whether pebble automata are closed under complementation
  • the pebble hierarchy is strict, for every n and

Automata and logic

Pebble automata admit an interesting logical characterization. Let denote the set of tree properties describable in transitive closure first-order logic, and the same for positive transitive closure logic, i.e. a logic where the transitive closure operator is not used under the scope of negation. Then it can be proved that and, in fact, - the languages recognized by pebble automata are exactly those expressible in positive transitive closure logic.

See also