computation

Definition

Pushdown Automaton Criterion

A Turing machine satisfies the pushdown automaton criterion if

  1. on the input tape it can never move to the left, and
  2. 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:

  1. by entering an accepting state after reading the whole input word, or
  2. 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

  1. reads the right boundary symbol of the input,
  2. reads the bottom stack symbol, and
  3. 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 .