Question: Let = {0,1}. Show that the problem of determining whether a CFG generates some string in 1 is decidable. In other words, show that
Let Σ = {0,1}. Show that the problem of determining whether a CFG generates some string in 1
is decidable. In other words, show that
{〈G〉| G is a CFG over {0,1} and 1* ∩ L(G) ≠ ⌀} is a decidable language.
Step by Step Solution
3.52 Rating (155 Votes )
There are 3 Steps involved in it
To prove that the problem is decidable we need to show that there exists an algorithm that can determine whether a given contextfree grammar CFG gener... View full answer
Get step-by-step solutions from verified subject matter experts
