Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(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

Step: 1

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... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions