Question: Exercise 2 4 Language of a state ( 6 points ) You already know that the language of a deterministic finite automaton ( DFA )

Exercise 24 Language of a state
(6 points)
You already know that the language of a deterministic finite automaton (DFA) is the set of all words
w such that beginning at the start state and reading the word w, the DFA ends up in a final state.
We now define the language of a state Z(si) as the set of words w such that beginning at a given state
si and reading the word w, the DFA ends up in a final state. Formally: ?2
Z(si)={win**|(hat())(si,w)inE}
Now let the following deterministic automaton M be given:
As an example, starting at s2, a final state can be reached by reading b or bab, therefore binZ(s2) and
babinZ(s2). On the other hand, ba!inZ(s2), baa Z(s2),!inZ(s2), since reading all these words
results in a non-final state being reached.
(a) For each state of M, specify the language of this state. You can use set notation (Z(si)={dots})
or regular expressions (Z(si)=L(dots)).
(b) Recall the definition of Myhill-Nerode equivalence:
x-=?LyLongleftrightarrow for all zin**it holds that (xzinL>yzinL)
We have hat()(s1,a)=s2 and hat()(s1,aba)=s4. Also, it is easy to see that Z(s2)=Z(s4)(if you did
not solve subtask (a), then you may simply assume that this is true). Based on this, what is the
relationship between the words a and aba regarding Myhill-Nerode equivalence? Give a short
justification for your answer.
(c) Specify the Myhill-Nerode equivalence class of the word aba ([aba]T(M)={dots}).
 Exercise 24 Language of a state (6 points) You already know

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 Databases Questions!