subsection ‹PDA to CFG› text ‹Starting from a PDA that accepts by empty stack, we construct an equivalent CFG. The formalization is based on the Lean formalization by Leichtfried\cite{lean}.› theory PDA_To_CFG imports Pushdown_Automata Context_Free_Grammar.Context_Free_Grammar begin