$\text{Theorem}:$ There exist no algorithms for deciding whether any given context-free grammar is ambiguous.
Show that if the language $L(G_A)\space \cap L(G_B) $ in Theorem is regular, then it must be empty. Use this to show that the problem $“L(G)$ is regular $”$ is undecidable for context-free $G$.