Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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}).
image text in transcribed

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

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

More Books

Students also viewed these Databases questions

Question

What is the role of the Joint Commission in health care?

Answered: 1 week ago