Question: Exercise 7 . 1 . 8 : Let G be an epsilon - production free grammar whose total length of production bodies is n .
Exercise : Let G be an epsilonproduction free grammar whose total length of production bodies is n We convert G to CNF a Show that the CNF grammar has at most On productions. b Show that it is possible for the CNF grammar to have a number of productions proportional to n Hint Consider the construction that eliminates unit productions
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
