section ‹Equivalence of Final and Stack Acceptance› subsection ‹Stack Acceptance to Final Acceptance› text ‹Starting from a PDA that accepts by empty stack we construct an equivalent PDA that accepts by final state, following Kozen \cite{kozen2007automata}.› theory Stack_To_Final_PDA imports Pushdown_Automata begin