I. Definition


The PDA is an automaton equivalent to the CFG in language-defining power.

Intuition: an $\varepsilon$-NFA with the additional power that it can manipulate a stack

Its moves are determined by:

  1. The current state
  2. The current input symbol
  3. The current symbol on top of its stack

1. Formalism

$$ ⁍ $$

where

II. Moves of the PDA


If $δ(q, a, Z)$ contains $(p, \alpha)$ among its actions, then one thing the PDA can do in state $q$, with $a$ at the front of the input, and $Z$ on top of the stack is: