Question: This problem shows that this exponential blowup in the number of states is necessary. Let Asub { 0 , 1 } * * be the
This problem shows that this exponential blowup in the number of states
is necessary. Let Asub be the set of all strings of length at least that have
a exactly places from the right hand end. That is
:
a points Draw the state diagram for an NFA with states that recognizes
AYou can use and don't have to draw all states, as long as it's
clear what the statestransitions would be in the omitted statesRay: Update: I
think you need states. If you have or states, that's fine.
b points Show that no DFA on less than states can recognize Hint:
In this class, we learn several methods for proving a language is regular: constructing a DFA recog
nizing constructing an NFA recognizing finding a regular expression for However, we only learn
one method for proving a language is not regular. What is it
Give a proof by contradiction and assume such a DFA exists. Apply pigeonhole to all strings of
length to get two strings and of length that end up at the same state after digesting. Derive a
contradiction by considering the strings and for some carefully chosen string
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
