Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Theory of computation Using the Pumping Lemma, give formal proofs that the following languages are not regular/ regular: This question further tests your understanding of

Theory of computation

Using the Pumping Lemma, give formal proofs that the following languages are not regular/ regular:

image text in transcribed

This question further tests your understanding of the subtleties of the Pumping Lemma: (a) [5 marks] Let Bi = { 0kirot l k 21 andz e *). Give a formal proof that Bi is not a regular language. (b) [5 marks] Let B2 = {0krot I k > 1 and z e *). Show that B2 is a regular language. (c) We just proved in part (b) above that B2 is regular. Consider now the following argument, which claims to prove that B2 is, in fact, not regular. Assume B2 is regular, and let p be the pumping length. Consider string s0P10P E B2, and decompose it as s = zy2 with | = e, y 0p, 2-10p. Then, pumping s down by setting i = 0 yields string s' = zyiz = zyoz = 10p B2. Hence, by the Pumping Lemma, we have a contradiction. We conclude that B2 is not regular. i. [3 marks] What is wrong with this proof

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

The Database Experts Guide To Database 2

Authors: Bruce L. Larson

1st Edition

0070232679, 978-0070232679

More Books

Students also viewed these Databases questions

Question

a sin(2x) x Let f(x)=2x+1 In(be)

Answered: 1 week ago