Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Let M=(Q,Σ,δ,q0,F)be a DFA and let be a state of Mcalled its “home”. A synchronizing sequence for M and h is a string s∈Σ∗whereδ(q,s)=hforeveryqQ. (Here we have extended to strings, so thatδ(q,s) equals the state where M ends up when M starts at state q and reads input s .) Say that M is synchronizable if it has a synchronizing sequence for some state h . Prove that if M is a k-state synchronizable DFA, then it has a synchronizing sequence of length at mostk3 . Can you improve upon this bound?

Short Answer

Expert verified

Step by Step Solution:

Step by step solution

01

Synchronizable DFA.

A synchronizing word or reset sequence is a word in the input alphabet of the deterministic finite automata that sends any state of the deterministic finite automata to one and the same state. That is, if an ensemble of copies of the deterministic finite automata are each started in different states, and all of the copies process the synchronizing word, they will all end up in the same state. Not every deterministic finite automata has a synchronizing word; for instance, a deterministic finite automata with two states, one for words of even length and one for words of odd length, can never be synchronized.

02

Proof of statement.

Here as from the questionM=Q,Σ,δ,q0,Fbe a deterministic finite automata and h be a state of M called its “home”.

And a synchronizing sequence for M is given.LetM=Q,Σ,δ,q0,Fbe a deterministic finite automata and let q'be a state of M called its "home".

A Synchronizing sequence for M and q'is a string sΣ* where δ(q,s)=q'for everysΣ*(We actually have extended δto strings so that δ(q,s)equals the state where M ends up when M starts at state and reads input).

Say that M is Synchronizableif it has a synchronizing sequence for some stateq'.

M' more interested in proving that the synchronized sequence is of length of at most then trying to improve upon this bound. There exists

In which|w|k2wk2sothat:δ(q1,w)=δ(q2,w)δq1,w=δq2,w for two distinct states in M : (thus, M can be read from two states in the automaton and get to the same final state).
If I prove it, I could construct a word M which will be a synchronizing sequence in M and |w|k3 as required.

Consider two states and then claim the following:

If there exists a word ww such that δq1,w=δq2,w, then there is such a word of length at most k2.

The proof of this a standard shrinking argument: if such a word is longer thank2, then during the runs from two states a pair of states repeats, and we can shrink w.

Now, since you assume the existence of a synchronizing word for all states, now proceed to construct a word that synchronizes all the states, pair by pair

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Give regular expressions generating the languages of Exercise 1.6.

a. {begins with a 1 and ends with a 0}

b. { w|wcontains at least three 1s}

c. { w|wcontains the substring 0101 (i.e., w = x0101y for some x and y)}

d. { w|whas length at least 3 and its third symbol is a 0}

e. { w|wstarts with 0 and has odd length, or starts with 1 and has even length}

f. { w|wdoesn’t contain the substring 110}

g. { w|the length of wis at most 5}

h. { w|wis any string except 11 and 111}

i. { w|every odd position of w is a 1 }

j. { contains at least two 0s and at most one 1}

k. {ε,0}

l. { w|wcontains an even number of 0 s, or contains exactly two 1s}

m. The empty set

n. All strings except the empty string

A homomorphism is a function f:Σ-Γ*from one alphabet to strings over another alphabet. We can extend f to operate on strings by defining:f(w)=f(w1)f(w2)···f(wn),wherew=w1w2···wnandeachwiΣ.

We further extend fto operate on languages by defining f(A)={f(w)|wA},for any language A.

a. Show, by giving a formal construction, that the class of regular languages is closed under homomorphism. In other words, given a DFA Mthat recognizes Band a homomorphism f, construct a finite automaton role="math" localid="1660800566802" M0that recognizes f(B).Consider the machine role="math" localid="1660800575641" M0that you constructed. Is it a DFA in every case?

b. Show, by giving an example, that the class of non-regular languages is not closed under homomorphism.

Question: Prove that the following languages are not regular. You may use the pumping lemma and the closure of the class of regular languages under union, intersection, and complement.

a.{0n1m0n|m,n0}b.{0m1n|mn}c.{w|w{0,1}*isnotapalindrome}d.{wtw|w,t{0,1}+

Use the pumping lemma to show that the following languages arenot regulara.   A1={0η1η2η|n0}b.   A2={ωωω|ω{a,b}*}c.   A3={a2η|n0}(Here,a2ηmeansastringof2ηa's.)a.   A1={0η1η2η|n0}b.   A2={ωωω|ω{a,b}*}c.   A3={a2η|n0}(Here,a2ηmeansastringof2ηa's.)

Let Σ2 be the same as in Problem 1.33. Consider the top and bottom rows to be strings of 0s and 1s, and letE={w*2| the bottom row of w is the reverse of the top row of w}. Show that is E not regular.

See all solutions

Recommended explanations on Computer Science Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free