Definition
Pushdown Automaton Criterion
A Turing machine satisfies the pushdown automaton criterion if
- on the input tape it can never move to the left, and
- for the read/write head on the work tape, in every configuration it holds that:
- to the left of the head there can only be non-blank symbols, and
- to the right of the head there can only be blank symbols
The machines behaves like a stack.
Normal Form
A pushdown automaton can accept in two standard ways:
- by entering an accepting state after reading the whole input word, or
- by emptying the stack.
A useful normal form combines both acceptance conditions.
Normal Form of a Pushdown Automaton
A pushdown automaton is in normal form if it accepts an input word exactly when, in one transition, it
- reads the right boundary symbol of the input,
- reads the bottom stack symbol, and
- enters its unique accepting state.
Thus, the automaton accepts simultaneously by final state and by empty stack.
In this form, acceptance is only possible after the complete input has been read and the stack has been reduced to its bottom symbol.
Intuition
The automaton may accept only in the moment when the input head reaches and the stack has been reduced to its bottom symbol . The transition then moves into the unique accepting state.
Examples
A pushdown automaton in normal form for
The following pushdown automaton in normal form accepts
with
where:
The first two transitions push one for every two symbols. After that, the automaton reads one initial , then removes one for each further . It accepts when the input head reaches and the stack has been reduced to .