Question: Exercise 6 Let M = ( Q , , , q 0 , F ) be a DFA. A state qinQ is reachable iff there

Exercise 6
Let M=(Q,,,q0,F) be a DFA. A state qinQ is reachable iff there is some string win**
such that hat()(q0,w)=q. Consider the following method for computing the set QrsubeQ of
reachable states: define the sequence of sets QrisubeQ where
Qr0:={q0}
Qri+1:={qinQ|EEpinQri,EEain,q=(p,a)}
Prove by induction on i that Qri is the set of all reachable states from q0 using paths of
length i.
Give an example of a DFA such that Qri+1Qri for all i0.
Change the inductive definition of Qri as follows:
Qri+1:=Qri{qinQ|EEpinQri,EEain,q=(p,a)}
Prove that there exists an i0 such that Qri0+1=Qri0=Qr.
Define the DFA Mr as follows: Mr=(Qr,,r,q0,FQr), where r:QrQr is the
restriction of to Qr.
Explain why Mr is indeed a DFA.
Prove that L(Mr)=L(M). A DFA is called reachable or trim if M=Mr.
Exercise 6 Let M = ( Q , , , q 0 , F ) be a DFA.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!