(iv) Prove that the language of this CFG is the set of all words in (a + b)* with an even number of a's with the followi
Posted: Fri May 06, 2022 6:17 am
(iv) Prove that the language of this CFG is the set of all words in (a + b)* with an even number of a's with the following exception: We consider the word A to have an even number of a's, as do all words with no a's, but of the words with no a's only A can be generated. (v) Show how the difficulty in part (iv) can be alleviated by adding the production S→XS