Question: Prove that the following two languages are undecidable. a. OVERLAP CFG = {G,H| G and H are CFGs where L(G) L(H) }. Adapt
Prove that the following two languages are undecidable.
a. OVERLAPCFG = {〈G,H〉| G and H are CFGs where L(G) ∩ L(H) ≠ ⌀}.
Adapt the hint in Problem 5.21.
b. PREFIX-FREECFG = {〈G〉| G is a CFG where L(G) is prefix-free}.
Problem 5.21.
Let AMBIGCFG = {〈G〉| G is an ambiguous CFG}. Show that AMBIGCFG is undecidable. Use a reduction from PCP. Given an instance

of the Post Correspondence Problem, construct a CFG G with the rules

where a1, . . . , ak are new terminal symbols. Prove that this reduction works.
tk P =
Step by Step Solution
3.52 Rating (165 Votes )
There are 3 Steps involved in it
First Step 94 T ranslation Synthesis of proteins is one of a cells most energy consuming metabolic processes Proteins account for more mass than any o... View full answer
Get step-by-step solutions from verified subject matter experts
