# Infinite tree automaton

In computer science and mathematical logic, an infinite tree automaton is a state machine that deals with infinite tree structures. It can be viewed as an extension from a finite tree automaton, which accepts only finite tree structures. It can also be viewed as an extension of some infinite word automatons such as the Büchi automaton and the Muller automaton.

A finite automaton which runs on an infinite tree was first used by Rabin[1] for proving decidability of monadic second order logic. It has been further observed that tree automaton and logical theories are closely connected and it allows decision problems in logic to be reduced into decision problems for automata.

## Definition

Infinite tree automaton runs of over a ${\displaystyle \Sigma }$-labeled tree. There are many slightly different formulations of tree automaton. Here one of the formulation is described. An infinite tree automaton is a tuple ${\displaystyle A=(\Sigma ,D,Q,\delta ,q_{0},F)}$ where,

• ${\displaystyle \Sigma }$ is an alphabet.
• ${\displaystyle D\subset \mathbb {N} }$ is a finite set. Each element of ${\displaystyle D}$ is an allowed degree in input tree.
• ${\displaystyle Q}$ is a finite set of states.
• ${\displaystyle \delta :Q\times \Sigma \times D\rightarrow 2^{Q^{*}}}$ is a transition relation that maps an automaton state ${\displaystyle q\in Q}$, an input letter ${\displaystyle \sigma \in \Sigma }$, and a degree ${\displaystyle d\in D}$ to a set of d-tuple of states.
• ${\displaystyle q_{0}\in Q}$ is an initial state of automaton.
• ${\displaystyle F\subseteq \Sigma ^{\omega }}$ is an accepting condition.

## Run

A run of tree automaton ${\displaystyle A}$ over a ${\displaystyle \Sigma }$-labeled tree ${\displaystyle (T,V)}$ is a ${\displaystyle Q}$-labeled tree ${\displaystyle (T_{r},r)}$. Lets suppose that the tree automaton is at state ${\displaystyle q}$ and it has reached to a node t labeled with ${\displaystyle \sigma \in \Sigma }$ of input tree. ${\displaystyle d(t)}$ is degree of node t. Then, the automaton proceeds by selecting a tuple ${\displaystyle (q_{1},...,q_{d(t)})}$ from set ${\displaystyle \delta (q,\sigma ,d(t))}$ and splitting into ${\displaystyle d(t)}$ copies of itself. For each ${\displaystyle 0, one copy enters into ${\displaystyle q_{i}}$ state and proceeds to the node ${\displaystyle t.i}$. This process produces a run over a tree.

Formally, a run ${\displaystyle (T_{r},r)}$ on the input tree satisfy following two conditions:

1. ${\displaystyle r(\epsilon )=q_{0}}$
2. For every ${\displaystyle t\in T_{r}}$ with ${\displaystyle r(t)=q}$, there exists a ${\displaystyle (q_{1},...,q_{d(t)})\in \delta (q,V(t),d(t))}$ such that for every ${\displaystyle 0, we have ${\displaystyle t.i\in T_{r}}$ and ${\displaystyle r(t.i)=q_{i}}$

## Acceptance condition

In a run ${\displaystyle (T_{r},r)}$, an infinite path is labeled by a sequence of states. This sequence of states form an infinite word over states. If all these infinite words belong to accepting condition ${\displaystyle F}$, then the run is accepting. The interesting accepting conditions are Büchi, Rabin, Streett and Muller. If for an input ${\displaystyle \Sigma }$-labeled tree ${\displaystyle (T,V)}$ there exist an accepting run then the input tree is accepted by the automaton. The set of all the accepted ${\displaystyle \Sigma }$-labeled trees is called tree language ${\displaystyle {\mathcal {L}}(A)}$ which is recognized by tree automaton ${\displaystyle A}$.

## Remarks

The set D may seem unusual to some people. Some times D is omitted from the definition when it is a singleton set that means input tree has fixed branching at each node. For example, if D = {2} then the input tree has to be a full binary tree.

Infinite tree automaton is deterministic if for some ${\displaystyle q\in Q}$, ${\displaystyle \sigma \in \Sigma }$, and ${\displaystyle d\in D}$ transition relation ${\displaystyle \delta (q,\sigma ,d)}$ has exactly one element. Otherwise the automaton is non-deterministic.

## Accepting tree languages

Muller, parity, Rabin, and Streett accepting conditions in an infinite tree automaton recognize the same tree languages.

But, Büchi accepting condition is strictly weaker than other accepting conditions, i.e., there exists a tree language which can be recognized by Muller accepting condition in infinite tree automata but can't be recognized by any Büchi accepting condition in some infinite tree automaton.[2]

Tree languages which are recognized by Muller accepting conditions are closed under union, intersection, projection and complementation.

## Reference list

1. ^ Rabin, M. O.: Decidability of second order theories and automata on infinite trees,Transactions of the American Mathematical Society, vol. 141, pp. 1–35, 1969.
2. ^ Rabin, M. O.: Weakly definable relations and special automata,Mathematical logic and foundation of set theory, pp. 1–23, 1970.