Instead of the concept of live productions in CNF, let us define a live nonterminal to be

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 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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: