07.01.2013 Views

Lecture Notes in Computer Science 3472

Lecture Notes in Computer Science 3472

Lecture Notes in Computer Science 3472

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1 Hom<strong>in</strong>g and Synchroniz<strong>in</strong>g Sequences 27<br />

ϕ is satisfiable and let ν be the satisfy<strong>in</strong>g assignment, so ν(vi ) ∈{T, F}. Then<br />

the correspond<strong>in</strong>g sequence ν(v1)ν(v2) ...ν(vn ) ∈ I ∗ is synchroniz<strong>in</strong>g: start<strong>in</strong>g<br />

with j ≥ 2orfroms, wereachs<strong>in</strong> ≤ n steps. Consider state<br />

from any state si j<br />

si 1 and recall that at least one of the literals <strong>in</strong> the i’th clause is satisfied. Thus,<br />

if this literal conta<strong>in</strong>s variable vj , the shortcut from si j to s will be taken, so also<br />

from si 1 will s be reached <strong>in</strong> ≤ n steps.<br />

Conversely, assume there is a synchroniz<strong>in</strong>g sequence b = b1b2 ...bk of length<br />

k ≤ n. Hence δ(t, b) =s for every state t. In particular, start<strong>in</strong>g from si 1 one of<br />

the shortcuts must be taken, say from si j to s. Thusvjoccurs <strong>in</strong> the i:th clause<br />

and sett<strong>in</strong>g it to bj makes the clause true. It follows that the assignment that<br />

sets vj to bj ,for1≤j ≤ n, makes all clauses true. This completes the proof. ⊓⊔<br />

Rivest and Schapire [RS93] mention without proof that it is also possible to<br />

reduce from the problem exact 3-set cover.<br />

Exercise 1.7. Show that the problem of comput<strong>in</strong>g the shortest hom<strong>in</strong>g sequence<br />

is NP-complete, even if the mach<strong>in</strong>e is m<strong>in</strong>imized and the output alphabet has<br />

size at most two.<br />

1.4.2 PSPACE-Completeness of a More General Problem<br />

So far we assumed the biggest possible amount of ignorance – the mach<strong>in</strong>e can<br />

<strong>in</strong>itially be <strong>in</strong> any state. However, it is sometimes known that the <strong>in</strong>itial state<br />

belongs to a particular subset Q of S. If a sequence takes every state <strong>in</strong> Q to the<br />

same f<strong>in</strong>al state, call it an Q-synchroniz<strong>in</strong>g sequence. Similarly, say that an Qhom<strong>in</strong>g<br />

sequence is one for which the output reveals the f<strong>in</strong>al state if the <strong>in</strong>itial<br />

state is <strong>in</strong> Q. In particular, hom<strong>in</strong>g and synchroniz<strong>in</strong>g are the same as S-hom<strong>in</strong>g<br />

and S-synchroniz<strong>in</strong>g. Even if no hom<strong>in</strong>g or synchroniz<strong>in</strong>g sequence exists, a mach<strong>in</strong>e<br />

can have Q-hom<strong>in</strong>g or Q-synchroniz<strong>in</strong>g sequences (try to construct such<br />

a mach<strong>in</strong>e, us<strong>in</strong>g Theorem 1.14). However, it turns out that even determ<strong>in</strong><strong>in</strong>g<br />

if such sequences exist is far more difficult: as we will show soon, this problem<br />

is PSPACE-complete. PSPACE-completeness is an ever stronger hardness result<br />

than NP-completeness, mean<strong>in</strong>g that the problem is “hardest” among all problems<br />

that can be solved us<strong>in</strong>g polynomial space. It is widely believed that such<br />

problems do not have polynomial time algorithms, not even if nondeterm<strong>in</strong>ism is<br />

allowed. It is <strong>in</strong>terest<strong>in</strong>g to note that Q-hom<strong>in</strong>g and Q-synchroniz<strong>in</strong>g sequences<br />

are not polynomially bounded: as we will see later <strong>in</strong> this section, there are mach<strong>in</strong>es<br />

that have synchroniz<strong>in</strong>g sequences but only of exponential length. The<br />

follow<strong>in</strong>g theorem was proved by Rystsov [Rys83]. It is similar to Theorem 3.2<br />

<strong>in</strong> Section 3.<br />

Theorem 1.22 ([Rys83]). The follow<strong>in</strong>g problems, tak<strong>in</strong>g as <strong>in</strong>put a Mealy mach<strong>in</strong>e<br />

M andasubsetQ⊆ S of its states, are PSPACE-complete:<br />

(1) Does M have an Q-hom<strong>in</strong>g sequence?<br />

(2) Does M have an Q-synchroniz<strong>in</strong>g sequence?

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!