Question: 8. For each language below, use the pumping lemma (page 78) to prove that it is not regular: a. Lj = {w|w E {a, b}*

 8. For each language below, use the pumping lemma (page 78)

8. For each language below, use the pumping lemma (page 78) to prove that it is not regular: a. Lj = {w|w E {a, b}* and w has more a's than b's} b. L2 = {ww {(,)}* and w is a properly balanced string of parentheses}. A string of parentheses is properly balanced if every open parenthesis is matched with a close parenthesis, and pairs are nested inside each other properly. We don't need to be any more formal at this point, but consider some examples: ((0) and (000)) are properly balanced, while (O)(O) and (()) are not

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!