2

I know that the equivalence of two context-free grammars is undecidable, but what about the equivalence of a regular grammar and a context-free grammar?

Raphael
  • 73,212
  • 30
  • 182
  • 400

1 Answers1

7

It is undecidable whether for a given CFG $G$, $L(G)=\Delta^*$, the set of all strings (over the terminal alphabet of $G$). That answers your question, by chosing the most simple regular grammar.

Hendrik Jan
  • 31,459
  • 1
  • 54
  • 109