Pebble automaton

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. 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 \{ 1, 2, \dots, n \}. 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 DPA_{n} (resp. PA_{n}). We also define DPA = \bigcup_{n} DPA_{n} and likewise PA = \bigcup_{n} PA_{n}.

Properties

Automata and logic

Pebble automata admit an interesting logical characterization. Let FO+TC denote the set of tree properties describable in transitive closure first-order logic, and FO+\text{pos}\,TC 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 PA \subseteq FO+TC and, in fact, PA = FO+\text{pos}\,TC - the languages recognized by pebble automata are exactly those expressible in positive transitive closure logic.

See also

This article is issued from Wikipedia - version of the Thursday, November 19, 2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.