Tree stack automaton
Appearance
This article, Tree stack automaton, has recently been created via the Articles for creation process. Please check to see if the reviewer has accidentally left this template after accepting the draft and take appropriate action as necessary.
Reviewer tools: Inform author |
A tree stack automaton (plural: tree stack automata) is a device considered in automata theory. It is a finite state automaton with the additional ability to manipulate a tree-shaped stack. A restricted class of tree stack automata recognises exactly the languages generated by multiple context-free grammars[1] (or linear context-free rewriting systems).
Definition
Tree stack
A tree stack over Γ is a tuple (t, p) where
- t is a partial function from ℕ* to a finite set Γ with prefix-closed[a] domain (called tree) and
- p is an element of the domain of t (called stack pointer).
The set of all tree stacks over Γ is denoted by TS(Γ).
The set of predicates on TS(Γ), denoted by Pred(Γ) contains the following unary predicates:
- true which is true for any tree stack over Γ,
- bottom which is true for tree stacks whose stack pointer is the empty word, and
- for every stack symbol γ the predicate equals(γ) which is true for some tree stack (t, p) if t(p) = γ.
The set of instructions on TS(Γ), denoted by Instr(Γ) contains the following partial functions:
- id: TS(Γ) → TS(Γ),
- pushn,γ: TS(Γ) → TS(Γ),
- upn: TS(Γ) → TS(Γ),
- down: TS(Γ) → TS(Γ), and
- setγ: TS(Γ) → TS(Γ).
Tree stack automata
A tree stack automaton is a 6-tuple A = (Q, Γ, Σ, qi, δ, Qf) where
- Q, Γ, and Σ are finite sets (called states, stack symbols, and input symbols, respectively),
- qi ∈ Q (called initial state),
- δ ⊆fin. Q × Σ × Pred(Γ) × Instr(Γ) × Q (called set of transitions), and
- Qf ⊆ TS(Γ) (called set of final states).
Example
Restricted tree stack automata
Notes
- ^ A set of strings is prefix closed if for every element w in the set, all prefixes of w are also in the set.
References
- ^ Denkinger, Tobias (2016). An automata characterisation for multiple context-free languages. Proceedings of the 20th International Conference on Developments in Language Theory (DLT 2016). arXiv:1606.02975 [cs.FL].