Question

Hello, I need help solving this computer science problem. 1) Use the Pumping Lemma to show...

Hello, I need help solving this computer science problem.

1) Use the Pumping Lemma to show that the set of all binary strings of length a power of 2 is not regular.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

answer)

length power of 2 means length is 0,2,4,8,16,......

pumping lemma for regular languages:

1)assume given language is regular and there exist a finite automata with 2k states.

2)take a valid string z from L.

z=1010

3)divide the string z into 3 parts,U,V,W in such a way that |V|>=1 and |UV|<=2k

U=10

V=1

W=0

4)if for any value of i, UVIW belongs to L then L is regular otherwise L is not regular.

say i=2 then UViW becomes 10110 (here length is not power of 2)this is not belongs to L

this is contradiction to given statement.

therefore L is not regular.

Add a comment
Know the answer?
Add Answer to:
Hello, I need help solving this computer science problem. 1) Use the Pumping Lemma to show...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT