Introduce nonterminals for the terminals and one for the pair :
Because the original start symbol occurs on a right-hand side, take a fresh start symbol . After eliminating the unit production , one grammar in Chomsky normal form is
The original grammar generates exactly
The displayed grammar generates the same set: adds an on the left, adds one pair on the right, and terminates the derivation with . Since the original grammar does not generate ,

Articles by others on the same topic (0)

There are currently no matching articles.