Automat of trees
Introduction
A automat of tree is a type of machine in states. The automats of trees treat trees, rather than the Character strings of the more conventional automats.
As for the traditional automats, the automats of finished trees (FTA for finite tree automata in English) can be deterministic or not. According to the way in which the automats " déplacent" on the tree that they treat, the automats of trees can be of two types (A) ascending (b) downward. The distinction is important, because if the automats ascending (ND) not-determinists and descendants are equivalent, the downward deterministic automats are strictly less powerful than their ascending deterministic counterparts, because the properties of trees specified by the downward deterministic automats can depend only on the properties of ways.
Definitions
An automat of ascending tree finished on is defined by:
Here is a whole of unary states, is an ordered alphabet, is a whole of final states, and is a whole of rules of transition, i.e. of rewriting rules which transform the nodes of which the roots of wire are states in nodes of which the roots of which states. Consequently the state of a node is deduced from the states of his/her children.
There is no initial state as such, but the rules of transition for the constant symbols can be regarded as initial states. The tree is accepted if the state of the root is an accepting state.
An automat of finished tree going down on is defined by:
There are two differences with the automats of ascending trees: initially, , the whole of its initial states, replaces ; then, its rules of transition are the reverse, i.e. rewriting rules which transform the nodes of which the roots are states in nodes of which the roots of wire are states. The tree is accepted if all the branches are completely crossed until the end.
One can easily guess intuitively that the nondeterministic automats of downward trees are equivalent to their ascending counterparts; the rules of transition are simply reversed, and the final states become the initial states.
Why the downward FTA deterministic are then less powerful than their ascending counterparts? Because a deterministic MT cannot by definition never have two rules of transition of which the left part is identical. For the automats of trees, the rules of transition are rewriting rules; and for those which are downward, the left side will correspond to the nodes ancestors. Consequently a deterministic finite-state machine going down will be able to test only properties which are true in all the branches without exception, because the choice of the state to be written in each branch girl is determined with the node relative, without knowing the contents of the branches girls in question.
Properties
Determinism
As he is written higher, an automat of trees is deterministic if he does not have any pair of rules of transition having the same left side. This definition corresponds to the intuitive idea that so that an automat is deterministic, a transition and only one must be possible for a given node.
Reconnaissability
For an ascending automat, a basic term (i.e. a tree) is accepted if there exists a reduction which starts from T and leads to Q (T), where Q is a final state. For an automat going down, a basic term is accepted if there exists a reduction which starts from Q (T) and leads to T, where Q (T) is an initial state.The language of trees recognized by an automat of trees is the whole of all the basic terms accepted by . A whole of basic terms is recognizable if there exists an automat which recognizes it.
An important property is that linear homomorphisms (i.e., which preserve arite) preserve the reconnaissability .
Complétude and reduction
An automat of trees finished not determinist is complete if there is at least a rule of transition available for each possible combination symbol-state. A state is accessible if there exists a basic term such as there exists a reduction of with . A FTA is reduced if all its states are accessible.
Lemma of the star
That is to say a recognizable whole of basic terms. Then, there exists a constant such as: for each basic term in such as , there exists a context , a noncommonplace context and a basic term such as and for all .
Closing
The class of the languages of recognizable trees is closed for the union, the complementation and the intersection.
Theorem of Myhill-Nerode
The three following assertions are equivalent: (I) L is a recognizable language of trees (II) L is the union of classes of equivalence of a congruence with finished index (III) the relation is a congruence with finished indexDefinitions necessary for this theorem: A congruence on languages of trees is a relation such as: It is with finished index if its number of classes of equivalence is finished. For a language of trees given, so for any context , if .
External bonds
All information of this page was taken chapter 1 of TOUCHED
| Random links: | Brown Barbotte | Joseph Saver | Monique Orphé | John Parkinson (doctor) | Ettore Aguggini | Bureau_des_affaires_insulaires |