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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

76 Henrik Björklund<br />

Proof. Consider n determ<strong>in</strong>istic f<strong>in</strong>ite automata A1,...,An over the alphabet<br />

{0}, such that the transitions of Ai form a cycle of length pi, wherepi is the ith<br />

prime number. The only accept<strong>in</strong>g state of Ai is the predecessor of the <strong>in</strong>itial<br />

state. Thus Ai accepts 0 k if and only if pi | (k + 1). This means that the shortest<br />

str<strong>in</strong>g accepted by all automata has length m = � n<br />

i=1 pi − 1. If there was a<br />

str<strong>in</strong>g of length m ′ < m, accepted by all automata, then for all i ∈{1,...,n},<br />

we have pi | (m ′ + 1). Thus, by unique prime factorization, m ′ +1= � n<br />

i=1 pi, a<br />

contradiction.<br />

Now note that � n<br />

i=1 pi − 1 ≥ 2 n is exponential <strong>in</strong> the total representation<br />

size of the automata, which is polynomial <strong>in</strong> n by Gauss’ prime number theorem,<br />

and apply the reduction used <strong>in</strong> the proof of Theorem 3.2.1. The sequence r0 m f<br />

will be the shortest UIO sequence for state s, s<strong>in</strong>ce for any shorter str<strong>in</strong>g, the<br />

states of at least one automaton will produce an output of all zeroes.<br />

3.3 Convergence and Inference Graphs<br />

S<strong>in</strong>ce we saw <strong>in</strong> Section 3.2 that it is <strong>in</strong> general PSPACE-hard to determ<strong>in</strong>e<br />

whether a state has a UIO sequence, it is <strong>in</strong>terest<strong>in</strong>g to identify subclasses of<br />

mach<strong>in</strong>es and states, for which the question can be answered efficiently. Us<strong>in</strong>g<br />

the concept of convergence, first made explicit by Miller and Paul [MP93], Naik<br />

presents a number of results of this k<strong>in</strong>d [Nai97], which are surveyed <strong>in</strong> this<br />

section.<br />

Def<strong>in</strong>ition 3.4 (Convergence [MP93]). Let Mealy mach<strong>in</strong>e M have states<br />

t1, t2,...,tk that all have edges to the state s with the same edge label a/b. Say<br />

that<br />

• states t1,...,tk are converg<strong>in</strong>g states,<br />

• state s is a convergent state,<br />

• edges (t1, s),...,(tk, s) withlabela/bare converg<strong>in</strong>g edges.<br />

If a mach<strong>in</strong>e has some converg<strong>in</strong>g states it is a converg<strong>in</strong>g mach<strong>in</strong>e. Otherwise,<br />

the mach<strong>in</strong>e is nonconverg<strong>in</strong>g.<br />

Us<strong>in</strong>g these concepts, Naik <strong>in</strong>vented a way of us<strong>in</strong>g a UIO sequence for one<br />

state to <strong>in</strong>fer sequences for other states. The basic construction used is the<br />

follow<strong>in</strong>g.<br />

Def<strong>in</strong>ition 3.5 (Inference Graph [Nai97]). Let G be the transition graph of a<br />

Mealy mach<strong>in</strong>e M. The<strong>in</strong>ference graph of M is the graph GI , obta<strong>in</strong>ed from<br />

G by remov<strong>in</strong>g all converg<strong>in</strong>g edges.<br />

Given graph G for mach<strong>in</strong>e M, the <strong>in</strong>ference graph GI is computable <strong>in</strong> time<br />

O(|E| 2 ), where E is the set of edges of G.<br />

Figure 3.5 shows the <strong>in</strong>ference graph for the mach<strong>in</strong>e <strong>in</strong> Figure 3.3. We see<br />

that the two edges (s3, s1) and(s2, s1) have been taken away. S<strong>in</strong>ce they both<br />

end <strong>in</strong> the same state and have the same label they are converg<strong>in</strong>g. The same is<br />

true for the edges (s1, s4) and(s4, s4).<br />

The <strong>in</strong>ference graph is used as follows.

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

Saved successfully!

Ooh no, something went wrong!