Question: Instead of the concept of live productions in CNF, let us define a live nonterminal to be one appearing at the left side of a
Instead of the concept of live productions in CNF, let us define a live nonterminal to be one appearing at the left side of a live production. A dead nonterminal N is one with only productions of the single form
N → terminal
If m is the number of live nonterminals in a CFG in CNF, prove that any word w of length more than 2m will have self-embedded nonterminals.
Step by Step Solution
3.31 Rating (160 Votes )
There are 3 Steps involved in it
If a CFG in CNF has m live nonterminals then any word w ... View full answer
Get step-by-step solutions from verified subject matter experts
