Minimality conditions on automata A. Restivo and R. Vaglica - - PowerPoint PPT Presentation

minimality conditions on automata
SMART_READER_LITE
LIVE PREVIEW

Minimality conditions on automata A. Restivo and R. Vaglica - - PowerPoint PPT Presentation

Minimality conditions on automata A. Restivo and R. Vaglica Dipartimento di Matematica e Informatica, Universit` a degli Studi di Palermo Via Archirafi 34, 90123 Palermo, Italy A. Restivo and R. Vaglica Minimality conditions on automata 1/37


slide-1
SLIDE 1

Minimality conditions on automata

  • A. Restivo and R. Vaglica

Dipartimento di Matematica e Informatica, Universit` a degli Studi di Palermo Via Archirafi 34, 90123 Palermo, Italy

  • A. Restivo and R. Vaglica

Minimality conditions on automata 1/37

slide-2
SLIDE 2

Abstract

  • We investigate the “Dynamical Aspects of Automata

minimality”. We are interested on how the choice of the final states can affect the minimality of the automata.

  • A particular attention is devoted to the analysis of some

extremal cases such as, for example, the automata that are minimal for any choice of final states (uniformly minimal automata) and the automata that are never minimal, under any assignment of final states (never-minimal automata).

  • A. Restivo and R. Vaglica

Minimality conditions on automata 2/37

slide-3
SLIDE 3

Minimization of DFAs and role of q0 (initial state)

minimization of DFAs indistinguishability notion of states the notion of initial state is irrelevant Moore’s and Hopcroft’s algorithms q0 indistinguishable states Let A = (Q, Σ, δ) a DFA, F ⊆ Q the set of final states and {p, q} ⊆ Q. p ≡ q ⇔ ∀w ∈ Σ∗ : δ∗(p, w) ∈ F iff δ∗(q, w) ∈ F

  • A. Restivo and R. Vaglica

Minimality conditions on automata 3/37

slide-4
SLIDE 4

Objects of study

DFA:

  • the initial state is not specified
  • the set of final states is not specified
  • strongly connected

֒ → path from each vertex to every other vertex A = (Q, Σ, δ)

a b b a b b

synchronization problem and ˇ Cern´ y’s conjecture

  • A. Restivo and R. Vaglica

Minimality conditions on automata 4/37

slide-5
SLIDE 5

Objects of study

DFA:

  • the initial state is not specified
  • the set of final states is not specified
  • strongly connected

֒ → path from each vertex to every other vertex A = (Q, Σ, δ)

a b b a b b

synchronization problem and ˇ Cern´ y’s conjecture

  • A. Restivo and R. Vaglica

Minimality conditions on automata 4/37

slide-6
SLIDE 6

A useful tool for our investigation: the state-pair graph

A G(A) Definition The state-pair graph of A = (Q, Σ, δ) is the graph G(A) = (VG, EG) where:

  • i. VG consists of all not ordered pairs of distinct states of A;
  • ii. EG = {((p, q), (p′, q′)) | δ(p, a) = p′, δ(q, a) = q′ and a ∈

Σ}.

  • A. Restivo and R. Vaglica

Minimality conditions on automata 5/37

slide-7
SLIDE 7

Example

A 1 2 3 4

a b a b a a b b

G(A)

12 23 34 14 13 24

  • A. Restivo and R. Vaglica

Minimality conditions on automata 6/37

slide-8
SLIDE 8

Example

A 1 2 3 4

a b a b a a b b

G(A)

12 23 34 14 13 24

  • A. Restivo and R. Vaglica

Minimality conditions on automata 6/37

slide-9
SLIDE 9

Example

A 1 2 3 4

a b a a b a b b

G(A)

12 23 34 14 13 24

  • A. Restivo and R. Vaglica

Minimality conditions on automata 6/37

slide-10
SLIDE 10

Example

A 1 2 3 4

a b a a b a b b

G(A)

12 23 34 14 13 24

  • A. Restivo and R. Vaglica

Minimality conditions on automata 6/37

slide-11
SLIDE 11

Example

A 1 2 3 4

a b a b a a b b

G(A)

12 23 34 14 13 24

  • A. Restivo and R. Vaglica

Minimality conditions on automata 6/37

slide-12
SLIDE 12

Example

A 1 2 3 4

a b a b a a b b

G(A)

12 23 34 14 13 24

  • A. Restivo and R. Vaglica

Minimality conditions on automata 6/37

slide-13
SLIDE 13

Example

A 1 2 3 4

a b a b a a b b

G(A)

12 23 34 14 13 24

  • A. Restivo and R. Vaglica

Minimality conditions on automata 6/37

slide-14
SLIDE 14

Notation and terminology

  • A = (Q, Σ, δ)
  • ˆ

A: completion of A

  • A(i, F) : DFA with initial state i ∈ Q and F ⊆ Q as set of

final states

  • A(i, F) is said to be trim if all its states are both accessible

and coaccessible.

  • A. Restivo and R. Vaglica

Minimality conditions on automata 7/37

slide-15
SLIDE 15

Closed components of a G( ˆ A)

A closed component of a graph G is a subset S of the set of the vertices of G such that

  • there exists a path from any element of S to any other

element of S (i.e. S is a strongly connected component), and

  • there is no outgoing edge from one element of S to a

vertex of G which is not in S.

12 23 34 14 13 24

G(A)

  • A. Restivo and R. Vaglica

Minimality conditions on automata 8/37

slide-16
SLIDE 16

To check the minimality of a DFA

γF : VG → {B, W} γF(p, q) = B if p ∈ F and q / ∈ F, or vice versa; W

  • therwise.

Theorem Let A = (Q, Σ, δ), i ∈ Q and F ⊆ Q such that A(i, F) is a trim

  • DFA. Then A(i, F) is minimal iff in any closed component of

G( ˆ A) there is at least an element v such that γF(v) = B.

  • A. Restivo and R. Vaglica

Minimality conditions on automata 9/37

slide-17
SLIDE 17

To check the minimality of a DFA

γF : VG → {B, W} γF(p, q) = B if p ∈ F and q / ∈ F, or vice versa; W

  • therwise.

Theorem Let A = (Q, Σ, δ), i ∈ Q and F ⊆ Q such that A(i, F) is a trim

  • DFA. Then A(i, F) is minimal iff in any closed component of

G( ˆ A) there is at least an element v such that γF(v) = B.

  • A. Restivo and R. Vaglica

Minimality conditions on automata 9/37

slide-18
SLIDE 18

Example

1 2 3 4 12 23 34 14 13 24 a b a b a a b b

F = {1}

1 2 3 4 12 23 34 14 13 24 a b a b a a b b

  • A. Restivo and R. Vaglica

Minimality conditions on automata 10/37

slide-19
SLIDE 19

Example

F = {1, 2}

1 2 3 4 12 23 23 34 14 14 13 13 24 24 a b a b a a b b

F = {1}

1 2 3 4 12 23 34 14 13 24 a b a b a a b b

  • A. Restivo and R. Vaglica

Minimality conditions on automata 10/37

slide-20
SLIDE 20

A main question

Do there exist minimal automata whose minimality is not affected by the choice of the final states? Remark A(i, F) is trim for some i ∈ Q and for all F ⊆ Q if and only if A is strongly connected. Thus the above question makes sense

  • nly if we consider strongly connected automata.
  • A. Restivo and R. Vaglica

Minimality conditions on automata 11/37

slide-21
SLIDE 21

A main question

Do there exist minimal automata whose minimality is not affected by the choice of the final states? Remark A(i, F) is trim for some i ∈ Q and for all F ⊆ Q if and only if A is strongly connected. Thus the above question makes sense

  • nly if we consider strongly connected automata.
  • A. Restivo and R. Vaglica

Minimality conditions on automata 11/37

slide-22
SLIDE 22

Uniformly minimal automata

Definition A strongly connected automaton A = (Q, Σ, δ) is called uniformly minimal if, for all F ⊆ Q, it is minimal.

Remark If A is complete and F = Q, then A is minimal only if it corresponds to the trivial automaton with only one state. So a nontrivial uniformly minimal automaton is not complete.

Lemma A strongly connected (incomplete) automaton A is uniformly minimal if and only if the only closed component of G( ˆ A) is {(q, s) | q ∈ Q and s is the sink state}. consequence polynomial algorithm to test uniform minimality

  • A. Restivo and R. Vaglica

Minimality conditions on automata 12/37

slide-23
SLIDE 23

Uniformly minimal automata

Definition A strongly connected automaton A = (Q, Σ, δ) is called uniformly minimal if, for all F ⊆ Q, it is minimal.

Remark If A is complete and F = Q, then A is minimal only if it corresponds to the trivial automaton with only one state. So a nontrivial uniformly minimal automaton is not complete.

Lemma A strongly connected (incomplete) automaton A is uniformly minimal if and only if the only closed component of G( ˆ A) is {(q, s) | q ∈ Q and s is the sink state}. consequence polynomial algorithm to test uniform minimality

  • A. Restivo and R. Vaglica

Minimality conditions on automata 12/37

slide-24
SLIDE 24

Uniformly minimal automata

Example 1

2 3 4 a a a b b a,b 13 24 12 14 23 34 1s 4s 2s 3s 1s 4s 2s 3s

Figure: A uniformly minimal automaton A and the associated state-pair

graph G( ˆ A).

  • A. Restivo and R. Vaglica

Minimality conditions on automata 13/37

slide-25
SLIDE 25

Uniformly minimal automata

Example 1

2 3 4 a a a b b a,b 13 24 12 14 23 34 1s 4s 2s 3s 1s 4s 2s 3s

Figure: A uniformly minimal automaton A and the associated state-pair

graph G( ˆ A).

  • A. Restivo and R. Vaglica

Minimality conditions on automata 13/37

slide-26
SLIDE 26

Remark

Uniformly minimal automata are related to well-known objects in different contexts:

  • multiple-entry DFAs
  • Fisher covers of irreducible sofic shifts in Symbolic

Dynamics

  • A. Restivo and R. Vaglica

Minimality conditions on automata 14/37

slide-27
SLIDE 27

FA with a Limited Nondeterminism

DFAs with multiple initial states (multiple-entry DFAs) A = (Q, Σ, δ) I, F ⊆ Q A(I, F) = (Q, Σ, δ, I, F) I set of initial states F set of final states If | I |≤ k, A(I, F) is called k-entry DFA.

1 2 3 a a a, b b b

  • A. Restivo and R. Vaglica

Minimality conditions on automata 15/37

slide-28
SLIDE 28

Different notions of minimality

For an arbitrary regular language L, we have:

1 minimal DFA 2 minimal multiple-entry DFA 3 minimal k-entry DFA

More relevant,

  • in general, minimal multiple-entry (resp. k-entry) DFAs are

not unique, and

  • the related minimization problems are computationally

hard.

  • A. Restivo and R. Vaglica

Minimality conditions on automata 16/37

slide-29
SLIDE 29

Different notions of minimality

For an arbitrary regular language L, we have:

1 minimal DFA 2 minimal multiple-entry DFA 3 minimal k-entry DFA

More relevant,

  • in general, minimal multiple-entry (resp. k-entry) DFAs are

not unique, and

  • the related minimization problems are computationally

hard.

  • A. Restivo and R. Vaglica

Minimality conditions on automata 16/37

slide-30
SLIDE 30

Example

1 2 3 a a a, b b b 1 3 2 4 6 5 a a b a, b a a b b b a b

Figure: A 2-entry DFA and the corresponding minimal DFA.

  • A. Restivo and R. Vaglica

Minimality conditions on automata 17/37

slide-31
SLIDE 31

Remark

DFA

The minimal DFA A recognizing a regular language L has a minimal number of final states. Q F the Nerode equivalence ∼A is the largest congruence saturating F ∀A′ : L(A′) = L → ∼A ≤ ∼A′

k-entry DFA

L ← unary string language whose length is not a multiple of 3 both 2-entry minimal for L

  • A. Restivo and R. Vaglica

Minimality conditions on automata 18/37

slide-32
SLIDE 32

Remark

DFA

The minimal DFA A recognizing a regular language L has a minimal number of final states. Q F the Nerode equivalence ∼A is the largest congruence saturating F ∀A′ : L(A′) = L → ∼A ≤ ∼A′

k-entry DFA

L ← unary string language whose length is not a multiple of 3 both 2-entry minimal for L

  • A. Restivo and R. Vaglica

Minimality conditions on automata 18/37

slide-33
SLIDE 33

Symbolic dynamics

Sofic shifts are recognized by finite automata where all states are both initial and final. A sofic shift is irreducible if it is recognized by a strongly connected automaton. In general, the minimal automaton for an arbitrary sofic shift is not unique. However, it is unique (up to the labeling of the states) in the case of an irreducible sofic shift L. This minimal automaton (called Fisher cover) can be obtained from a strongly connected deterministic automaton recognizing L, by merging the indistinguishable states.

  • A. Restivo and R. Vaglica

Minimality conditions on automata 19/37

slide-34
SLIDE 34

Theorem Let A = (Q, Σ, δ) a strongly connected DFA. The following conditions are equivalent:

1

A({q}, F) is minimal for some q ∈ Q and for all F ⊆ Q, i.e. A is uniformly minimal.

2

A({q}, F) is minimal for all q ∈ Q and for all F ⊆ Q.

3

A({q}, Q) is minimal for some q ∈ Q.

4

A({q}, Q) is minimal for all q ∈ Q.

5

A(I, F) is |I|-entry minimal for all I ⊆ Q and for all F ⊆ Q.

6

A(I, F) is multiple-entry minimal for all I ⊆ Q and for all F ⊆ Q.

7

A(Q, Q) is the Fisher cover of some irreducible sofic shift.

8

A(Q, Q) is multiple-entry minimal.

  • A. Restivo and R. Vaglica

Minimality conditions on automata 20/37

slide-35
SLIDE 35

Scheme of the proof

1

A({q}, F) is minimal for some q ∈ Q and for all F ⊆ Q.

2

A({q}, F) is minimal for all q ∈ Q and for all F ⊆ Q.

3

A({q}, Q) is minimal for some q ∈ Q.

4

A({q}, Q) is minimal for all q ∈ Q.

5

A(I, F) is |I|-entry minimal for all I ⊆ Q and for all F ⊆ Q.

6

A(I, F) is multiple-entry minimal for all I ⊆ Q and for all F ⊆ Q.

7

A(Q, Q) is the Fisher cover of some irreducible sofic shift.

8

A(Q, Q) is multiple-entry minimal.

7 3 4 1 2 5 6 8

  • A. Restivo and R. Vaglica

Minimality conditions on automata 21/37

slide-36
SLIDE 36

consequence Uniformly minimal automata correspond to Fisher covers of irreducible sofic shifts in Symbolic Dynamics. There are infinitely many uniformly minimal automata.

  • A. Restivo and R. Vaglica

Minimality conditions on automata 22/37

slide-37
SLIDE 37

Almost uniformly minimal automata

A strongly connected DFA A = (Q, Σ, δ) is almost uniformly minimal if, for all proper subsets F ⊂ Q, it is minimal.

  • A. Restivo and R. Vaglica

Minimality conditions on automata 23/37

slide-38
SLIDE 38

Almost uniformly minimal automata

Theorem For any integer n ≥ 2 there exists a (complete) almost uniformly minimal DFA with n states.

δ(i, a) = i+1, if 1 ≤ i < n; 1, if i = n. δ(i, b) =    i, for i ∈ {1, n}; i+1, if i = 2k for positive integers k ≤ n

2 − 1;

i-1, if i = 1 + 2k for positive integers k ≤ n

2 − 1;

n even δ(i, b) =                i, for i ∈ {1, n}; i, if i = 2k for integers k ∈ [ n+1

4 , n+3 4 ];

i+1, if i = 2k for positive integers k < n+1

4 ;

i-1, if i = 1 + 2k for positive integers k < n+1

4 ;

i+1, if i = n − 2k for positive integers k ≤ n−3

4 ;

i-1, if i = n + 1 − 2k for positive integers k ≤ n−3

4 .

n odd

  • A. Restivo and R. Vaglica

Minimality conditions on automata 24/37

slide-39
SLIDE 39

Almost uniformly minimal automata

Example

1 2 3 4 5 a a,b a a a b b b b b

23 12 51 45 34 41 25 13 24 35

Figure: The automaton M5 and its state-pair graph (strongly connected).

Remark If G( ˆ A) is strongly connected then, for all proper subsets F ⊂ Q, it has at least one vertex v such that γF(v) = B.

  • A. Restivo and R. Vaglica

Minimality conditions on automata 25/37

slide-40
SLIDE 40

Almost uniformly minimal automata

On the complexity of the decisional problem Remark Almost uniformly minimal automata do not correspond to strongly connected DFAs which are minimal for all choices of the set of final states F with maximal cardinality.

1 2 4 3 12 34 24 13 14 23 b b b b a a a a

Figure: minimal for all F with |F| = 3, but not almost uniformly minimal

  • A. Restivo and R. Vaglica

Minimality conditions on automata 26/37

slide-41
SLIDE 41

Almost uniformly minimal automata

On the complexity of the decisional problem Remark Almost uniformly minimal automata do not correspond to strongly connected DFAs which are minimal for all choices of the set of final states F with maximal cardinality.

1 2 4 3 12 34 24 13 14 23 24 13 14 23 b b b b a a a a

Figure: minimal for all F with |F| = 3, but not almost uniformly minimal

  • A. Restivo and R. Vaglica

Minimality conditions on automata 26/37

slide-42
SLIDE 42

Almost uniformly minimal automata

On the complexity of the decisional problem

Theorem Let A = (Q, Σ, δ) be a strongly connected DFA which is not uniformly minimal. A is almost uniformly minimal if and only if for any closed component S of G( ˆ A) and any pair of states q, q′ ∈ Q there exists a sequence q1, ..., qt ∈ ˆ Q, with t ≥ 1, such that q = q1, qt = q′ and (qi, qi+1) ∈ S, for 1 ≤ i < t. consequence polynomial algorithm to decide whether an automaton is almost uniformly minimal

  • A. Restivo and R. Vaglica

Minimality conditions on automata 27/37

slide-43
SLIDE 43

Almost uniformly minimal automata

On the complexity of the decisional problem

Theorem Let A = (Q, Σ, δ) be a strongly connected DFA which is not uniformly minimal. A is almost uniformly minimal if and only if for any closed component S of G( ˆ A) and any pair of states q, q′ ∈ Q there exists a sequence q1, ..., qt ∈ ˆ Q, with t ≥ 1, such that q = q1, qt = q′ and (qi, qi+1) ∈ S, for 1 ≤ i < t. consequence polynomial algorithm to decide whether an automaton is almost uniformly minimal

  • A. Restivo and R. Vaglica

Minimality conditions on automata 27/37

slide-44
SLIDE 44

Almost uniformly minimal automata

Example

1 2 3 4 5

A

b a,b b b b a a a a

34 45 15 12 23 25 13 24 35 14

G( ˆ A) 1 1

  • A. Restivo and R. Vaglica

Minimality conditions on automata 28/37

slide-45
SLIDE 45

Almost uniformly minimal automata

Example

1 2 3 4 5

A

b a,b b b b a a a a

34 45 15 12 23 25 13 24 35 14

G( ˆ A) 1 1

  • A. Restivo and R. Vaglica

Minimality conditions on automata 28/37

slide-46
SLIDE 46

Almost uniformly minimal automata

Example

1 2 3 4 5

A

b a,b b b b a a a a

34 45 15 12 23 25 13 24 35 14

G( ˆ A) 1 1

14 1 4

  • A. Restivo and R. Vaglica

Minimality conditions on automata 28/37

slide-47
SLIDE 47

Almost uniformly minimal automata

Example

1 2 3 4 5

A

b a,b b b b a a a a

34 45 15 12 23 25 13 24 35 14

G( ˆ A) 1 1

14 1 4 35 3 5

  • A. Restivo and R. Vaglica

Minimality conditions on automata 28/37

slide-48
SLIDE 48

Almost uniformly minimal automata

Example

1 2 3 4 5

A

b a,b b b b a a a a

34 45 15 12 23 25 13 24 35 14

G( ˆ A) 1 1

14 1 4 35 3 5 24 2

  • A. Restivo and R. Vaglica

Minimality conditions on automata 28/37

slide-49
SLIDE 49

Almost uniformly minimal automata

Example

1 2 3 4 5

A

b a,b b b b a a a a

34 45 15 12 23 25 13 24 35 14

G( ˆ A) 1 1

14 1 4 35 3 5 24 2 13

  • A. Restivo and R. Vaglica

Minimality conditions on automata 28/37

slide-50
SLIDE 50

Almost uniformly minimal automata

Example

1 2 3 4 5

A

b a,b b b b a a a a

34 45 15 12 23 25 13 24 35 14

G( ˆ A) 1 1

14 1 4 35 3 5 24 2 13 25

  • A. Restivo and R. Vaglica

Minimality conditions on automata 28/37

slide-51
SLIDE 51

Never-minimal automata

Question Do there exist strongly connected automata which aren’t minimal for any choice of their final states? We call never-minimal a DFA which isn’t minimal for any choice

  • f their final states.

Theorem For any integer n ≥ 4 there exists a never-minimal strongly connected DFA with n states.

  • A. Restivo and R. Vaglica

Minimality conditions on automata 29/37

slide-52
SLIDE 52

Never-minimal automata

Question Do there exist strongly connected automata which aren’t minimal for any choice of their final states? We call never-minimal a DFA which isn’t minimal for any choice

  • f their final states.

Theorem For any integer n ≥ 4 there exists a never-minimal strongly connected DFA with n states.

  • A. Restivo and R. Vaglica

Minimality conditions on automata 29/37

slide-53
SLIDE 53

Never-minimal automata

Question Do there exist strongly connected automata which aren’t minimal for any choice of their final states? We call never-minimal a DFA which isn’t minimal for any choice

  • f their final states.

Theorem For any integer n ≥ 4 there exists a never-minimal strongly connected DFA with n states.

  • A. Restivo and R. Vaglica

Minimality conditions on automata 29/37

slide-54
SLIDE 54

Proof: Q = {1, 2, ..., n}, Σ = {a, b} δ(i, a) = 1, if i ≤ 3 i-1, if 4 ≤ i ≤ n δ(i, b) =    4, if i ≤ 3 i+1, if 3 < i ≤ n − 1 2, if i = n 12 23 13 have no outgoing edge 1 ∈ F ⇒ 2 / ∈ F ⇒ 3 ∈ F ⇒ γF(1, 3) = W. 1 2 4 3 5 6 b a a

b

a a b b b a a b

  • A. Restivo and R. Vaglica

Minimality conditions on automata 30/37

slide-55
SLIDE 55

Proof: Q = {1, 2, ..., n}, Σ = {a, b} δ(i, a) = 1, if i ≤ 3 i-1, if 4 ≤ i ≤ n δ(i, b) =    4, if i ≤ 3 i+1, if 3 < i ≤ n − 1 2, if i = n 12 23 13 have no outgoing edge 1 ∈ F ⇒ 2 / ∈ F ⇒ 3 ∈ F ⇒ γF(1, 3) = W. 1 2 4 3 5 6 b a a

b

a a b b b a a b

  • A. Restivo and R. Vaglica

Minimality conditions on automata 30/37

slide-56
SLIDE 56

Proof: Q = {1, 2, ..., n}, Σ = {a, b} δ(i, a) = 1, if i ≤ 3 i-1, if 4 ≤ i ≤ n δ(i, b) =    4, if i ≤ 3 i+1, if 3 < i ≤ n − 1 2, if i = n 12 23 13 have no outgoing edge 1 ∈ F ⇒ 2 / ∈ F ⇒ 3 ∈ F ⇒ γF(1, 3) = W. 1 2 4 3 5 6 b a a

b

a a b b b a a b

  • A. Restivo and R. Vaglica

Minimality conditions on automata 30/37

slide-57
SLIDE 57

Proof: Q = {1, 2, ..., n}, Σ = {a, b} δ(i, a) = 1, if i ≤ 3 i-1, if 4 ≤ i ≤ n δ(i, b) =    4, if i ≤ 3 i+1, if 3 < i ≤ n − 1 2, if i = n 12 23 13 have no outgoing edge 1 ∈ F ⇒ 2 / ∈ F ⇒ 3 ∈ F ⇒ γF(1, 3) = W. 1 2 4 3 5 6 b a a

b

a a b b b a a b

  • A. Restivo and R. Vaglica

Minimality conditions on automata 30/37

slide-58
SLIDE 58

Never-minimal automata

A sufficient condition

Let A = (Q, Σ, δ) a DFA and a ∈ Σ: δa : Q → Q q → δ(q, a) Definition We say that a DFA A = (Q, Σ, δ) satisfies condition Ch if there is Qh ⊆ Q, with | Qh |= h, such that, for all a ∈ Σ, the restriction

  • f δa to Qh is a constant or an identity function.

Theorem Let A = (Q, Σ, δ) a DFA. If A satisfies C3 then it is never-minimal.

  • A. Restivo and R. Vaglica

Minimality conditions on automata 31/37

slide-59
SLIDE 59

Never-minimal automata

C3 is not a necessary condition 1 2 5 3 4 13 24 23 14 34 12

a b b b a a a a b b

Figure: A never-minimal automaton A that doesn’t satisfy condition C3 and

the closed components of G( ˆ A).

polynomial time algorithm for never-minimal DFA?

  • A. Restivo and R. Vaglica

Minimality conditions on automata 32/37

slide-60
SLIDE 60

Never-minimal automata

C3 is not a necessary condition 1 2 5 3 4 13 24 23 14 34 12

a b b b a a a a b b

Figure: A never-minimal automaton A that doesn’t satisfy condition C3 and

the closed components of G( ˆ A).

polynomial time algorithm for never-minimal DFA?

  • A. Restivo and R. Vaglica

Minimality conditions on automata 32/37

slide-61
SLIDE 61

Never-minimal automata

Relationships to the “syntactic monoid problem” If M is a finite monoid and P a subset of M, there is a largest congruence σP saturating P defined by: xσPy ⇔ ∀s, t ∈ M (sxt ∈ P ⇔ syt ∈ P). The set P is called disjunctive if σP is the equality in M. A monoid M is syntactic if it has a disjunctive subset. Syntactic monoid problem Instance: A finite monoid M Question: is M syntactic? P . Goralcik, V. Koubek (98)

  • Polynomial-time algorithm (O(|M|3)) for the syntactic monoid problem

for a large class of finite monoids.

  • A slide generalization of syntactic monoid problem makes it

NP-complete.

  • Is there any chance to have a polynomial-time algorithm for the

“syntactic monoid problem” ?

  • A. Restivo and R. Vaglica

Minimality conditions on automata 33/37

slide-62
SLIDE 62

Never-minimal automata

Relationships to the “syntactic monoid problem” Let M be the transition monoid of a DFA A. M not syntactic A never-minimal

  • A. Restivo and R. Vaglica

Minimality conditions on automata 34/37

slide-63
SLIDE 63

Never-minimal automata

Relationships to the “syntactic monoid problem” Let M be the transition monoid of a DFA A. M not syntactic A never-minimal

  • A. Restivo and R. Vaglica

Minimality conditions on automata 34/37

slide-64
SLIDE 64

Complete characterization for the automata over a unary alphabet

Strongly connected DFAs are cyclic.

Uniformly minimal automata There do not exist nontrivial uniformly minimal automata. Never-minimal automata All vertices of the associated state-pair graphs are covered by disjoint cycles. Moreover, for each q ∈ Q there is at least one vertex in any cyclic component

  • f G(A) that contains q. It follows that A is minimal for every choice of the set
  • f final states F with |F| = 1.

⇒ There do not exist never-minimal automata.

  • A. Restivo and R. Vaglica

Minimality conditions on automata 35/37

slide-65
SLIDE 65

Complete characterization for the automata over a unary alphabet

Strongly connected DFAs are cyclic.

Uniformly minimal automata There do not exist nontrivial uniformly minimal automata. Never-minimal automata All vertices of the associated state-pair graphs are covered by disjoint cycles. Moreover, for each q ∈ Q there is at least one vertex in any cyclic component

  • f G(A) that contains q. It follows that A is minimal for every choice of the set
  • f final states F with |F| = 1.

⇒ There do not exist never-minimal automata.

  • A. Restivo and R. Vaglica

Minimality conditions on automata 35/37

slide-66
SLIDE 66

Complete characterization for the automata over a unary alphabet

Strongly connected DFAs are cyclic.

Uniformly minimal automata There do not exist nontrivial uniformly minimal automata. Never-minimal automata All vertices of the associated state-pair graphs are covered by disjoint cycles. Moreover, for each q ∈ Q there is at least one vertex in any cyclic component

  • f G(A) that contains q. It follows that A is minimal for every choice of the set
  • f final states F with |F| = 1.

⇒ There do not exist never-minimal automata.

  • A. Restivo and R. Vaglica

Minimality conditions on automata 35/37

slide-67
SLIDE 67

Complete characterization for the automata over a unary alphabet

Almost uniformly minimal automata Theorem Let A = (Q, {σ}, δ) be a cyclic DFA with | Q |= n. A is almost uniformly minimal if and only if n is a prime number.

Proof: (⇐) n = hk, F = {q1, ..., qh} δ∗(qi, σk) = qi+1, if i ∈ {1, ..., h − 1}; q1, if i = h. If i ∈ F ⇒ L(A) = {w | |w| = k · c, c ≥ 0} ⇒ A(i, F) isn’t minimal. (⇒) n prime, |F| = m < n. L(A(i, F)), ∀i, is given by all words over {σ} whose length belongs to the union of exactly m equivalence classes modulo n. Since n is prime, this set of integer numbers cannot be equal to the union of classes modulo different integers. Therefore A(i, F) is minimal.

  • A. Restivo and R. Vaglica

Minimality conditions on automata 36/37

slide-68
SLIDE 68

Thank you for your attention!

  • A. Restivo and R. Vaglica

Minimality conditions on automata 37/37