Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

5 . [ 1 2 points ] Let r be a positive integer and Lr be the following language over { 0 , 1 }

5.[12 points] Let r be a positive integer and Lr be the following language over {0,1}: Lr = u0v : u in {0,1},v in {0,1}r1.
Equivalently, a string is in Lr if and only if its r-th symbol from the right end is 0. In this problem we show that any DFA for Lr must have at least 2r states:
(a)[6 points] Assume for a contradiction that D is a DFA for Lr with less than 2r states. Show that there are two different strings x, y in {0,1}r such that running D on x reaches the same state as running D on y at the end.
(b)[6 points] Continue from (a). Given that x and y are different, let l be the largest index such that xl = yl. Use x and y to give a contradiction with Lr = L(D).(Hint: Consider the following two strings x 0l1 and y 0l1.)

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

SQL Instant Reference

Authors: Gruber, Martin Gruber

2nd Edition

0782125395, 9780782125399

More Books

Students also viewed these Databases questions

Question

8. Do the organizations fringe benefits reflect diversity?

Answered: 1 week ago