I have the following problem:
Given a context-free grammar $\mathcal{G}$ and a finite state automaton $\mathcal{A}$, where both are over the alphabet $\Sigma=\{0, 1\}$. Is it decidable whether $L(\mathcal{G})=L(\mathcal{A})$?
I assume this is undecidable, since I already know the following fact:
It is undecidable whether $L(\mathcal G)=R$ for CFG $\mathcal G$ and regular language $R$.
Therefore I think it should be impossible to decide whether a CFG and a FSM generate the same language. Is my assumption correct?