Question: (a) Prove that the language L = {12/3221} is not regular by using the Pumping Lemma. Use the string 1232 and i = 3

(a) Prove that the language L = {12/322/1} is not regular by using the Pumping Lemma. Use the string 1

(a) Prove that the language L = {12/3221} is not regular by using the Pumping Lemma. Use the string 1"2"32" and i = 3 at appropriate points in the proof. (b) Write out the proof of the same result which uses the string 132 and i=0 instead. Which steps are different? Which steps remain the same? (e) There are some errors in the proof below that the language L = {1'2' #32 @2'1'} is not context-free. Find and correct all such errors. The best way to do this is to write out the correct proof, highlighting the differences between the correct proof and the one below. Claim: The language L = {12 #32 @21'} is not context-free. Proof: Assume L2 is regular. Then the Pumping Lemma applics and so for some n1 such that for some w L such that wn, w = xyzuv where lyzu n y and u ry' zu've L for all i > 0 w= Choose w 12" 32" @2"1" and so we L and wn. So by the Pumping Lemma w = xyzuv = 12 #32@2"1" and lyzul

Step by Step Solution

3.52 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

SOLUTION A To prove that the language L1 1i 2j 32i 2j 1i is not regular using the Pumping Lemma well assume that L1 is regular and then derive a contradiction Here are the steps of the proof Assume th... 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 Programming Questions!