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

Prove that every NFA can be converted to an equivalent one that has a single accept state.

A finite state transducer (FST) is a type of deterministic finite automaton whose output is a string and not just accept or reject. The following are state diagrams of finite state transducers T1andT2.

Each transition of an FST is labeled with two symbols, one designating the input symbol for that transition and the other designating the output symbol. The two symbols are written with a slash, I, separating them. In T1, the transition from q1toq2has input symbol 2 and output symbol 1. Some transitions may have multiple input–output pairs, such as the transition in T1from q1to itself. When an FST computes on an input string w, it takes the input symbols w1···wnone by one and, starting at the start state, follows the transitions by matching the input labels with the sequence of symbols w1···wn=w. Every time it goes along a transition, it outputs the corresponding output symbol. For example, on input 2212011, machine T1enters the sequence of states q1,q2,q2,q2,q2,q1,q1,q1and produces output 1111000. On input abbb, T2outputs 1011. Give the sequence of states entered and the output produced in each of the following parts.

a. T1on input011

b. T1on input211

c. T1on input121

d. T1on input0202

e. T2on input b

f. T2on input bbab

g. T2on input bbbbbb

h. T2on input localid="1663158267545" ε

An all- NFAMisa5-tuple(Q,Σ,δ,q0,F)that accepts xΣ* if every possible state that M could be in after reading input M is a state from F. Note, in contrast, that an ordinary NFA accepts a string if some state among these possible states is an accept state. Prove that all-NFAs recognizes the class of regular languages.

Recall that string x is a prefix of string y if a string z exists where xz=y, and that x is a proper prefix of y if in addition x6=y. In each of the following parts, we define an operation on a language A. Show that the class of regular languages is closed under that operation.

a)NOPREFIXA={wA|noproperprefixofwisamemberofA}.b)NOEXTENDA={wA|wisnottheproperprefixofanystringinA}.

Let A/B={ω|ωχAforsomeχB}.Show that if is regular and is any language, thenA/B is 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