<aside> 🥞 A finite automaton + a stack = a push down automaton.

</aside>

$P = (Q, \Sigma, \Gamma, \delta, q_0, F)$ where

<aside> 😋 By default, PDA are non-deterministic.

</aside>

Graphical notation

We label our transitions differently:

Screenshot 2023-02-12 at 18.32.43.png

We always

Any of these can be $\epsilon$.

If $a$ is not being read, or $c$ is not the top element of the stack, then the transition cannot be taken.


<aside> 🧬 We can more generally write $a,c \rightarrow w$ where $w \in \Sigma^*$. For example, $a,c \rightarrow milk$ will read $a$, pop $c$, and add $m-i-l-k$ to the stack such that $m$ ends up on top.

</aside>