Definition

A pushdown automaton is a 6-tuple where:

  1. is a finite set of states.
  2. is a finite input alphabet.
  3. is the finite stack alphabet.
  4. , the transition function.
  5. is the start state.
  6. is the set of accepting (or finishing) states.

Computation

The machine utilizes a logical stack for memory. Transitions depend on the current state, input symbol, and the symbol popped from the top of the stack.

Configuration

The configuration of a pushdown automaton at each timestep is a 3-tuple :

  1. The control state .
  2. The stack .
  3. The remaining word .

Initial configuration

Given an input word , start with configuration

Transitions

Let be the current state.

  1. If is empty, then reject, else pop off .
  2. let

Language Class

Nondeterministic PDAs accept Context-Free Languages. Deterministic PDAs accept a strict subset known as deterministic context-free languages.