a).
First let us understand Minimal Context Free Grammar MINCFG .
MINCFG is a CFG where we cannot change or modify any production rule without changing the language from which it is generated.
We can transform MINCFG into equivalent grammar in Chomsky Normal form.
For a string of length p, there will be countable number of derivation with 2p-1 steps, for this we will run the generated CFG on a Turing Machine M. This TM M will accept the string which is in the language.
So we will construct the TM M as follows:
Here,
Create H as equivalent grammar to Chomsky Normal Form G
- Now let n = Length (w)
- Now, if n = 0
- Then check if all derivation at first step in H
Else
Then check derivations with 2n-1 steps
- Accept if any of the derivation accept w
Else
Reject.
If accept it means that MINCFG is Turing Recognizable.