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

1 Expert Approved Answer
Step: 1 Unlock

If a CFG in CNF has m live nonterminals then any word w ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related SQL Database Programming Questions!