GATE / CS ARCHIVE

GATE CSE 1996 / QUESTION 1.9

Decidable equivalence for regular grammars

Theory of Computation · Decidability & Computability · Full GATE CSE 1996 paper

GATE 1996, Q1.9 1 mark · MCQ
Report issue

Decidability & Computability

Question 1.9, GATE 1996: Select the false undecidability claim among TM halting, CFG ambiguity, CFG equivalence and regular-grammar equivalence.
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

Regular grammars can be converted to finite automata. Determinize and complete the automata, form their product accepting the symmetric difference, and test whether any accepting product state is reachable. No reachable accepting state means the languages are equal. This is a terminating decision procedure, so saying regular-grammar equivalence is undecidable is false. TM halting, general CFG ambiguity and general CFG equivalence are undecidable problems. The finite-state restriction is what makes the fourth case different.

Original paper, page 2