Complexity of B uchi automata minimization Dejan Kostyszyn Chair - - PowerPoint PPT Presentation

complexity of b uchi automata minimization
SMART_READER_LITE
LIVE PREVIEW

Complexity of B uchi automata minimization Dejan Kostyszyn Chair - - PowerPoint PPT Presentation

Overview Foundations Definitions & Constructions Main proof Complexity of B uchi automata minimization Dejan Kostyszyn Chair of Software Engineering February 3, 2018 Dejan Kostyszyn Complexity of B uchi automata minimization 1


slide-1
SLIDE 1

Overview Foundations Definitions & Constructions Main proof

Complexity of B¨ uchi automata minimization

Dejan Kostyszyn

Chair of Software Engineering

February 3, 2018

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 1

slide-2
SLIDE 2

Overview Foundations Definitions & Constructions Main proof Overview & Theorem Roadmap

Short overview

◮ Proof by Sven Schewe in 2010

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 2

slide-3
SLIDE 3

Overview Foundations Definitions & Constructions Main proof Overview & Theorem Roadmap

Short overview

◮ Proof by Sven Schewe in 2010 ◮ Minimization of deterministic B¨

uchi automata (MIN) is NP-complete

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 2

slide-4
SLIDE 4

Overview Foundations Definitions & Constructions Main proof Overview & Theorem Roadmap

Short overview

◮ Proof by Sven Schewe in 2010 ◮ Minimization of deterministic B¨

uchi automata (MIN) is NP-complete

◮ Reduction from vertex cover problem to MIN

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 2

slide-5
SLIDE 5

Overview Foundations Definitions & Constructions Main proof Overview & Theorem Roadmap

Short overview

◮ Proof by Sven Schewe in 2010 ◮ Minimization of deterministic B¨

uchi automata (MIN) is NP-complete

◮ Reduction from vertex cover problem to MIN

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 2

slide-6
SLIDE 6

Overview Foundations Definitions & Constructions Main proof Overview & Theorem Roadmap

Roadmap

◮ Foundations

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 3

slide-7
SLIDE 7

Overview Foundations Definitions & Constructions Main proof Overview & Theorem Roadmap

Roadmap

◮ Foundations

◮ Deterministic B¨

uchi automata

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 3

slide-8
SLIDE 8

Overview Foundations Definitions & Constructions Main proof Overview & Theorem Roadmap

Roadmap

◮ Foundations

◮ Deterministic B¨

uchi automata

◮ NP-completeness Dejan Kostyszyn Complexity of B¨ uchi automata minimization 3

slide-9
SLIDE 9

Overview Foundations Definitions & Constructions Main proof Overview & Theorem Roadmap

Roadmap

◮ Foundations

◮ Deterministic B¨

uchi automata

◮ NP-completeness ◮ The vertex cover problem Dejan Kostyszyn Complexity of B¨ uchi automata minimization 3

slide-10
SLIDE 10

Overview Foundations Definitions & Constructions Main proof Overview & Theorem Roadmap

Roadmap

◮ Foundations

◮ Deterministic B¨

uchi automata

◮ NP-completeness ◮ The vertex cover problem

◮ Definitions & Constructions

◮ ’Nice graph Gv0’ ◮ Language of the nice graph L(Gv0) ◮ DBA that recognises L(Gv0) Dejan Kostyszyn Complexity of B¨ uchi automata minimization 3

slide-11
SLIDE 11

Overview Foundations Definitions & Constructions Main proof Overview & Theorem Roadmap

Roadmap

◮ Foundations

◮ Deterministic B¨

uchi automata

◮ NP-completeness ◮ The vertex cover problem

◮ Definitions & Constructions

◮ ’Nice graph Gv0’ ◮ Language of the nice graph L(Gv0) ◮ DBA that recognises L(Gv0)

◮ The proof

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 3

slide-12
SLIDE 12

Overview Foundations Definitions & Constructions Main proof DBA NP-completeness Vertex cover problem

Deterministic B¨ uchi automata (DBA)

Deterministic B¨ uchi automaton B := (Σ, Q, q0, δ, F), where Σ = finite set of symbols Q = finite set of states Q+ = Q ∪ {⊥, ⊤} q0 ∈ Q+ is initial state δ : Q+ × Σ → Q+ , δ(⊥, a) = ⊥ ∧ δ(⊤, a) = ⊤, a ∈ Σ F ⊆ Q+, finite set of final states.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 4

slide-13
SLIDE 13

Overview Foundations Definitions & Constructions Main proof DBA NP-completeness Vertex cover problem

Deterministic B¨ uchi automata (DBA)

Deterministic B¨ uchi automaton B := (Σ, Q, q0, δ, F), where Σ = finite set of symbols Q = finite set of states Q+ = Q ∪ {⊥, ⊤} q0 ∈ Q+ is initial state δ : Q+ × Σ → Q+ , δ(⊥, a) = ⊥ ∧ δ(⊤, a) = ⊤, a ∈ Σ F ⊆ Q+, finite set of final states. ρ = q0q1q2 . . . , where i ∈ N0 ∧ qi ∈ Q+, a run. B accepts exactly those runs in which at least one of the infinitely

  • ften occurring states is in F

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 4

slide-14
SLIDE 14

Overview Foundations Definitions & Constructions Main proof DBA NP-completeness Vertex cover problem

Deterministic B¨ uchi automata (DBA)

Σ∗ is infinite set of finite words. Contains all possible finite combinations of symbols in Σ

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 5

slide-15
SLIDE 15

Overview Foundations Definitions & Constructions Main proof DBA NP-completeness Vertex cover problem

Deterministic B¨ uchi automata (DBA)

Σ∗ is infinite set of finite words. Contains all possible finite combinations of symbols in Σ Σω is infinite set of infinite words. Contains all possible infinite combinations of symbols in Σ

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 5

slide-16
SLIDE 16

Overview Foundations Definitions & Constructions Main proof DBA NP-completeness Vertex cover problem

Deterministic B¨ uchi automata (DBA)

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 6

slide-17
SLIDE 17

Overview Foundations Definitions & Constructions Main proof DBA NP-completeness Vertex cover problem

Deterministic B¨ uchi automata (DBA)

L = {w ∈ Σω|w contains infinitely many a′s}

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 6

slide-18
SLIDE 18

Overview Foundations Definitions & Constructions Main proof DBA NP-completeness Vertex cover problem

Deterministic B¨ uchi automata (DBA)

L = {w ∈ Σω|w contains infinitely many a′s} ⇒ Minimal, equivalent, but non-isomorphic

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 6

slide-19
SLIDE 19

Overview Foundations Definitions & Constructions Main proof DBA NP-completeness Vertex cover problem

NP-completeness

By Behnam Esfahbod, CC BY-SA 3.0, https:commons.wikimedia.org/w/index.php?curid=3532181 Dejan Kostyszyn Complexity of B¨ uchi automata minimization 7

slide-20
SLIDE 20

Overview Foundations Definitions & Constructions Main proof DBA NP-completeness Vertex cover problem

NP-completeness

By Behnam Esfahbod, CC BY-SA 3.0, https:commons.wikimedia.org/w/index.php?curid=3532181

NP is the set of problems that can be solved in non-deterministic polynomial time.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 7

slide-21
SLIDE 21

Overview Foundations Definitions & Constructions Main proof DBA NP-completeness Vertex cover problem

NP-completeness

By Behnam Esfahbod, CC BY-SA 3.0, https:commons.wikimedia.org/w/index.php?curid=3532181

NP is the set of problems that can be solved in non-deterministic polynomial time. A problem H is NP-hard if every problem L ∈ NP can be reduced in polynomial time to H.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 7

slide-22
SLIDE 22

Overview Foundations Definitions & Constructions Main proof DBA NP-completeness Vertex cover problem

NP-completeness

By Behnam Esfahbod, CC BY-SA 3.0, https:commons.wikimedia.org/w/index.php?curid=3532181

NP is the set of problems that can be solved in non-deterministic polynomial time. A problem H is NP-hard if every problem L ∈ NP can be reduced in polynomial time to H. A problem is NP-complete if it belongs to NP and NP-hard.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 7

slide-23
SLIDE 23

Overview Foundations Definitions & Constructions Main proof DBA NP-completeness Vertex cover problem

Vertex cover problem

Let G = (E, V ) be an undirected graph. S ⊆ V is called a vertex cover if (u, v) ∈ E ⇒ u ∈ S ∨ v ∈ S.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 8

slide-24
SLIDE 24

Overview Foundations Definitions & Constructions Main proof DBA NP-completeness Vertex cover problem

Vertex cover problem

Let G = (E, V ) be an undirected graph. S ⊆ V is called a vertex cover if (u, v) ∈ E ⇒ u ∈ S ∨ v ∈ S. A minimal vertex cover (MCOVER) is a vertex cover of minimal size.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 8

slide-25
SLIDE 25

Overview Foundations Definitions & Constructions Main proof DBA NP-completeness Vertex cover problem

Vertex cover problem

Let G = (E, V ) be an undirected graph. S ⊆ V is called a vertex cover if (u, v) ∈ E ⇒ u ∈ S ∨ v ∈ S. A minimal vertex cover (MCOVER) is a vertex cover of minimal size.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 8

slide-26
SLIDE 26

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Next steps

◮ Definition ’nice graph’

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 9

slide-27
SLIDE 27

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Next steps

◮ Definition ’nice graph’ ◮ Definition characteristic language of nice graph L(Gv0)

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 9

slide-28
SLIDE 28

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Next steps

◮ Definition ’nice graph’ ◮ Definition characteristic language of nice graph L(Gv0) ◮ Construction DBA that recognises L(Gv0)

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 9

slide-29
SLIDE 29

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of a nice graph

We call a non-trivial (|V | > 1) simple connected graph Gv0 = (V , E) with a distinguished initial vertex v0 ∈ V nice.

Lemma (1)

The problem of checking whether a nice graph Gv0 has a vertex cover of size k is NP-complete.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 10

slide-30
SLIDE 30

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of the characteristic language of the nice graph

We define the characteristic language L(Gv0) of a nice graph Gv0 = (V , E) as the ω-language over V# = V ⊎ {#}. # indicates a stop

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 11

slide-31
SLIDE 31

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of the characteristic language of the nice graph

L(Gv0) consists of:

◮ trace words:

all ω-words of the form v∗

0 v+ 1 v+ 2 v+ 3 v+ 4 · · · ∈ V ω with

{vi−1, vi} ∈ E for all i ∈ N

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 12

slide-32
SLIDE 32

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of the characteristic language of the nice graph

L(Gv0) consists of:

◮ trace words:

all ω-words of the form v∗

0 v+ 1 v+ 2 v+ 3 v+ 4 · · · ∈ V ω with

{vi−1, vi} ∈ E for all i ∈ N

◮ #-words (’stop’-words):

all words starting with v∗

0 v+ 1 v+ 2 . . . v+ n #vn ∈ V ∗ # with n ∈ N0

and {vi−1, vi} ∈ E for all i ∈ N.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 12

slide-33
SLIDE 33

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of the characteristic language of the nice graph

L(Gv0) consists of:

◮ trace words:

all ω-words of the form v∗

0 v+ 1 v+ 2 v+ 3 v+ 4 · · · ∈ V ω with

{vi−1, vi} ∈ E for all i ∈ N

◮ #-words (’stop’-words):

all words starting with v∗

0 v+ 1 v+ 2 . . . v+ n #vn ∈ V ∗ # with n ∈ N0

and {vi−1, vi} ∈ E for all i ∈ N. Trace words are in V ω and #-words are in V ω

# \ V ω

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 12

slide-34
SLIDE 34

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of DBA that recognises L(Gv0)

DBA B = (V , Q, q0, δ, F), nice graph Gv0 = (V , E).

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 13

slide-35
SLIDE 35

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of DBA that recognises L(Gv0)

DBA B = (V , Q, q0, δ, F), nice graph Gv0 = (V , E). The states of B are called

◮ v-state if it can be reached upon an input word

v∗

0 v+ 1 v+ 2 . . . v+ n ∈ V ∗, with n ∈ N0 and {vi−1, vi} ∈ E for all

i ∈ N, that ends in v = vn.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 13

slide-36
SLIDE 36

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of DBA that recognises L(Gv0)

DBA B = (V , Q, q0, δ, F), nice graph Gv0 = (V , E). The states of B are called

◮ v-state if it can be reached upon an input word

v∗

0 v+ 1 v+ 2 . . . v+ n ∈ V ∗, with n ∈ N0 and {vi−1, vi} ∈ E for all

i ∈ N, that ends in v = vn.

◮ v#-state if it can be reached from a v-state upon reading a

# sign.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 13

slide-37
SLIDE 37

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of DBA that recognises L(Gv0)

DBA B = (V , Q, q0, δ, F), nice graph Gv0 = (V , E). The states of B are called

◮ v-state if it can be reached upon an input word

v∗

0 v+ 1 v+ 2 . . . v+ n ∈ V ∗, with n ∈ N0 and {vi−1, vi} ∈ E for all

i ∈ N, that ends in v = vn.

◮ v#-state if it can be reached from a v-state upon reading a

# sign. vertex-states = set of v-states.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 13

slide-38
SLIDE 38

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of DBA that recognises L(Gv0)

DBA B = (V , Q, q0, δ, F), nice graph Gv0 = (V , E). The states of B are called

◮ v-state if it can be reached upon an input word

v∗

0 v+ 1 v+ 2 . . . v+ n ∈ V ∗, with n ∈ N0 and {vi−1, vi} ∈ E for all

i ∈ N, that ends in v = vn.

◮ v#-state if it can be reached from a v-state upon reading a

# sign. vertex-states = set of v-states. #-states = set of v#-states.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 13

slide-39
SLIDE 39

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of DBA that recognises L(Gv0)

DBA B = (V , Q, q0, δ, F), nice graph Gv0 = (V , E). The states of B are called

◮ v-state if it can be reached upon an input word

v∗

0 v+ 1 v+ 2 . . . v+ n ∈ V ∗, with n ∈ N0 and {vi−1, vi} ∈ E for all

i ∈ N, that ends in v = vn.

◮ v#-state if it can be reached from a v-state upon reading a

# sign. vertex-states = set of v-states. #-states = set of v#-states.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 13

slide-40
SLIDE 40

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of DBA, that recognises L(Gv0)

Lemma (2)

B has the following properties:

  • 1. The vertex- and #-states of B are disjoint.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 14

slide-41
SLIDE 41

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of DBA, that recognises L(Gv0)

Lemma (2)

B has the following properties:

  • 1. The vertex- and #-states of B are disjoint.

Proof.

Let q#

v be a v#-state and q a vertex-state.

As B recognises L(Gv0), Bq#

v must accept vω, while Bq must reject

it. trace-words: v∗

0 v+ 1 v+ 2 v+ 3 v+ 4 · · · ∈ V ω

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 14

slide-42
SLIDE 42

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of DBA, that recognises L(Gv0)

Lemma (2)

B has the following properties:

  • 1. The vertex- and #-states of B are disjoint.
  • 2. ∀v, w ∈ V with v = w the v-states and w-states are disjoint.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 15

slide-43
SLIDE 43

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of DBA, that recognises L(Gv0)

Lemma (2)

B has the following properties:

  • 1. The vertex- and #-states of B are disjoint.
  • 2. ∀v, w ∈ V with v = w the v-states and w-states are disjoint.
  • 3. ∀v, w ∈ V with v = w the v#-states and w#-states are

disjoint.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 15

slide-44
SLIDE 44

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of DBA, that recognises L(Gv0)

Lemma (2)

B has the following properties:

  • 1. The vertex- and #-states of B are disjoint.
  • 2. ∀v, w ∈ V with v = w the v-states and w-states are disjoint.
  • 3. ∀v, w ∈ V with v = w the v#-states and w#-states are

disjoint.

  • 4. For each vertex v ∈ V , there is a v#-state.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 15

slide-45
SLIDE 45

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of DBA, that recognises L(Gv0)

Lemma (2)

B has the following properties:

  • 1. The vertex- and #-states of B are disjoint.
  • 2. ∀v, w ∈ V with v = w the v-states and w-states are disjoint.
  • 3. ∀v, w ∈ V with v = w the v#-states and w#-states are

disjoint.

  • 4. For each vertex v ∈ V , there is a v#-state.
  • 5. For each vertex v ∈ V , there is a rejecting v-state.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 15

slide-46
SLIDE 46

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of DBA, that recognises L(Gv0)

Lemma (2)

B has the following properties:

  • 1. The vertex- and #-states of B are disjoint.
  • 2. ∀v, w ∈ V with v = w the v-states and w-states are disjoint.
  • 3. ∀v, w ∈ V with v = w the v#-states and w#-states are

disjoint.

  • 4. For each vertex v ∈ V , there is a v#-state.
  • 5. For each vertex v ∈ V , there is a rejecting v-state.
  • 6. For every edge {v, w} ∈ E, there is an accepting v-state or an

accepting w-state.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 15

slide-47
SLIDE 47

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of DBA, that recognises L(Gv0)

  • 6. For every edge {v, w} ∈ E, there is an accepting v-state or an

accepting w-state. ⇒ The set C of vertices with an accepting vertex-state is a vertex cover of G = (V , E).

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 16

slide-48
SLIDE 48

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of DBA, that recognises L(Gv0)

Corollary (1)

For a DBA B that recognises the characteristic language of a nice graph Gv0 = (V , E) with initial vertex v0, the set C = {v ∈ V | there is an accepting v-state} is a vertex cover of Gv0, and B has at least 2|V | + |C| states.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 17

slide-49
SLIDE 49

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of DBA, that recognises L(Gv0)

B′ = (V#, (V × {r, #}) ⊎ (C × {a}), (v0, r), δ, (C × {a}) ⊎ {⊤}).

◮ δ((v, r), v′) = (v′, a) if {v, v′} ∈ E and v′ ∈ C,

δ((v, r), v′) = (v′, r) if {v, v′} ∈ E and v′ ∈ C, δ((v, r), v′) = (v, r) if v = v′, δ((v, r), v′) = (v, #) if v = #, δ((v, r), v′) = ⊥ otherwise;

◮ δ((v, a), v′) = δ((v, r), v#), and ◮ δ((v, #), v) = ⊤ and δ((v, #), v′) = ⊥ for v# = v.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 18

slide-50
SLIDE 50

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Example of DBA, that recognises L(Gv0)

δ((v, r), v′) = (v′, a) if {v, v′} ∈ E and v′ ∈ C, δ((v, r), v′) = (v′, r) if {v, v′} ∈ E and v′ ∈ C, δ((v, r), v′) = (v, r) if v = v′, δ((v, r), v′) = (v, #) if v = #, δ((v, r), v′) = ⊥ otherwise; δ((v, a), v′) = δ((v, r), v#), δ((v, #), v) = ⊤ and δ((v, #), v′) = ⊥ for v# = v. Dejan Kostyszyn Complexity of B¨ uchi automata minimization 19

slide-51
SLIDE 51

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of DBA, that recognises L(Gv0)

Lemma (3)

For a nice graph Gv0 = (V , E) with initial vertex v0 and vertex cover C, B′ recognises the characteristic language of Gv0.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 20

slide-52
SLIDE 52

Overview Foundations Definitions & Constructions Main proof Nice graph Characteristic language of nice graph L(Gv0 ) DBA that recognises L(Gv0 )

Definition of DBA, that recognises L(Gv0)

Corollary (1)

For a DBA B that recognises the characteristic language of a nice graph Gv0 = (V , E) with initial vertex v0, the set C = {v ∈ V | there is an accepting v-state} is a vertex cover of Gv0, and B has at least 2|V | + |C| states.

Lemma (3)

For a nice graph Gv0 = (V , E) with initial vertex v0 and vertex cover C, B′ recognises the characteristic language of Gv0. ⇒

Corollary (2)

Let C be a MCOVER of a nice graph Gv0 = (V , E). Then B′ is a minimal DBA that recognises the characteristic language of Gv0.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 21

slide-53
SLIDE 53

Overview Foundations Definitions & Constructions Main proof Proof of Theorem

Proof of Theorem

Theorem

The problem of whether there is, for a given DBA, a language equivalent B¨ uchi automaton with at most k states is NP-complete.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 22

slide-54
SLIDE 54

Overview Foundations Definitions & Constructions Main proof Proof of Theorem

Proof of Theorem

Theorem

The problem of whether there is, for a given DBA, a language equivalent B¨ uchi automaton with at most k states is NP-complete.

Proof: Containment in NP.

For containment in NP, we can simply use non-determinism to guess such an automaton. Because the equivalence test can be done in polynomial time, the problem must be in NP.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 22

slide-55
SLIDE 55

Overview Foundations Definitions & Constructions Main proof Proof of Theorem

Proof of Theorem

Theorem

The problem of whether there is, for a given DBA, a language equivalent B¨ uchi automaton with at most k states is NP-complete.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 23

slide-56
SLIDE 56

Overview Foundations Definitions & Constructions Main proof Proof of Theorem

Proof of Theorem

Theorem

The problem of whether there is, for a given DBA, a language equivalent B¨ uchi automaton with at most k states is NP-complete.

Proof: Containment in NP-hard.

Gv = (V , E)

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 23

slide-57
SLIDE 57

Overview Foundations Definitions & Constructions Main proof Proof of Theorem

Proof of Theorem

Theorem

The problem of whether there is, for a given DBA, a language equivalent B¨ uchi automaton with at most k states is NP-complete.

Proof: Containment in NP-hard.

Gv = (V , E) trivial vertex cover C = V , |V | = m

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 23

slide-58
SLIDE 58

Overview Foundations Definitions & Constructions Main proof Proof of Theorem

Proof of Theorem

Theorem

The problem of whether there is, for a given DBA, a language equivalent B¨ uchi automaton with at most k states is NP-complete.

Proof: Containment in NP-hard.

Gv = (V , E) trivial vertex cover C = V , |V | = m Construction B′ has 2|V | + |C| = 2m + m = 3m states

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 23

slide-59
SLIDE 59

Overview Foundations Definitions & Constructions Main proof Proof of Theorem

Proof of Theorem

Theorem

The problem of whether there is, for a given DBA, a language equivalent B¨ uchi automaton with at most k states is NP-complete.

Proof: Containment in NP-hard.

Gv = (V , E) trivial vertex cover C = V , |V | = m Construction B′ has 2|V | + |C| = 2m + m = 3m states Question 1: ∃ vertex cover of size k?

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 23

slide-60
SLIDE 60

Overview Foundations Definitions & Constructions Main proof Proof of Theorem

Proof of Theorem

Theorem

The problem of whether there is, for a given DBA, a language equivalent B¨ uchi automaton with at most k states is NP-complete.

Proof: Containment in NP-hard.

Gv = (V , E) trivial vertex cover C = V , |V | = m Construction B′ has 2|V | + |C| = 2m + m = 3m states Question 1: ∃ vertex cover of size k? Question 2: ∃ DBA B with 2m + k states?

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 23

slide-61
SLIDE 61

Overview Foundations Definitions & Constructions Main proof Proof of Theorem

Proof of Theorem

Theorem

The problem of whether there is, for a given DBA, a language equivalent B¨ uchi automaton with at most k states is NP-complete.

Proof: Containment in NP-hard.

Gv = (V , E) trivial vertex cover C = V , |V | = m Construction B′ has 2|V | + |C| = 2m + m = 3m states Question 1: ∃ vertex cover of size k? Question 2: ∃ DBA B with 2m + k states? Corollary 2: If C is MCOVER, then B is minimal.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 23

slide-62
SLIDE 62

Overview Foundations Definitions & Constructions Main proof Proof of Theorem

Proof of Theorem

Theorem

The problem of whether there is, for a given DBA, a language equivalent B¨ uchi automaton with at most k states is NP-complete.

Proof: Containment in NP-hard.

Gv = (V , E) trivial vertex cover C = V , |V | = m Construction B′ has 2|V | + |C| = 2m + m = 3m states Question 1: ∃ vertex cover of size k? Question 2: ∃ DBA B with 2m + k states? Corollary 2: If C is MCOVER, then B is minimal. ⇒ NP-complete

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 23

slide-63
SLIDE 63

Overview Foundations Definitions & Constructions Main proof Proof of Theorem

Sources

Thank you for listening!

Schewe, Sven. 2010. ”Minimisation of Deterministic Parity and Buchi Automata and Relative Minimisation of Deterministic Finite Automata“. arXiv:1007.1333 [cs], Juli. http://arxiv.org/abs/1007.1333.

Dejan Kostyszyn Complexity of B¨ uchi automata minimization 24