Max-plus automata and Tropical identities Laure Daviaud University - - PowerPoint PPT Presentation

max plus automata and tropical identities
SMART_READER_LITE
LIVE PREVIEW

Max-plus automata and Tropical identities Laure Daviaud University - - PowerPoint PPT Presentation

Max-plus automata and Tropical identities Laure Daviaud University of Warwick Birmingham, 15-11-2017 Matrices vs machines... 2/15 Matrices vs machines... Matrices over ( N {} , max , +) 0 1


slide-1
SLIDE 1

Max-plus automata and Tropical identities

Laure Daviaud

University of Warwick Birmingham, 15-11-2017

slide-2
SLIDE 2

2/15

Matrices vs machines...

slide-3
SLIDE 3

Matrices over (N ∪ {−∞}, max, +)

  −∞ −∞ −∞ 1 −∞ −∞ −∞     −∞ −∞ −∞ −∞ −∞  

2/15

Matrices vs machines...

slide-4
SLIDE 4

Matrices over (N ∪ {−∞}, max, +)

  −∞ −∞ −∞ 1 −∞ −∞ −∞     −∞ −∞ −∞ −∞ −∞  

Max-plus Automata

b : 0 a, b : 0 b : 0 a : 1 a, b : 0

2/15

Matrices vs machines...

slide-5
SLIDE 5

Finite alphabet A = {a, b} Set of words A∗: finite sequences of a and b

3/15

A very simple machine: Automata

slide-6
SLIDE 6

Finite alphabet A = {a, b} Set of words A∗: finite sequences of a and b Check if a word has at least two b’s.

3/15

A very simple machine: Automata

slide-7
SLIDE 7

Finite alphabet A = {a, b} Set of words A∗: finite sequences of a and b Check if a word has at least two b’s. b a, b b a a, b

3/15

A very simple machine: Automata

slide-8
SLIDE 8

Finite alphabet A = {a, b} Set of words A∗: finite sequences of a and b Check if a word has at least two b’s. b a, b b a a, b A word is accepted by the automaton if there is a path labelled by the word from an initial state to a final state. In this case [ [A] ](w) = 0, otherwise [ [A] ](w) = −∞.

3/15

A very simple machine: Automata

slide-9
SLIDE 9

Finite alphabet A = {a, b} Set of words A∗: finite sequences of a and b Check if a word has at least two b’s. b a, b b a a, b A word is accepted by the automaton if there is a path labelled by the word from an initial state to a final state. In this case [ [A] ](w) = 0, otherwise [ [A] ](w) = −∞.

− → Quantitative extension: Weighted automata [Schützenberger, 61]

3/15

A very simple machine: Automata

slide-10
SLIDE 10

b : 0 a, b : 0 b : 0 a : 1 a, b : 0

4/15

Max-plus automata

slide-11
SLIDE 11

b : 0 a, b : 0 b : 0 a : 1 a, b : 0 Syntax : Non deterministic finite automaton for which each transition is labelled by a non negative integer (weight).

4/15

Max-plus automata

slide-12
SLIDE 12

b : 0 a, b : 0 b : 0 a : 1 a, b : 0 Syntax : Non deterministic finite automaton for which each transition is labelled by a non negative integer (weight). Semantic : Weight of a run: sum of the weights of the transitions. A+→N ∪ {−∞} w → Max of the weights of the accepting runs labelled by w (−∞ if no such run)

4/15

Max-plus automata

slide-13
SLIDE 13

b : 0 a, b : 0 b : 0 a : 1 a, b : 0 Syntax : Non deterministic finite automaton for which each transition is labelled by a non negative integer (weight). Semantic : Weight of a run: sum of the weights of the transitions. A+→N ∪ {−∞} w → Max of the weights of the accepting runs labelled by w (−∞ if no such run) an0ban1b · · · bank+1 → max(n1, . . . , nk)

4/15

Max-plus automata

slide-14
SLIDE 14

b : 0 a, b : 0 b : 0 a : 1 a, b : 0

5/15

Matrix representation

slide-15
SLIDE 15

b : 0 a, b : 0 b : 0 a : 1 a, b : 0

µ(a) =   −∞ −∞ −∞ 1 −∞ −∞ −∞  

5/15

Matrix representation

slide-16
SLIDE 16

b : 0 a, b : 0 b : 0 a : 1 a, b : 0

µ(a) =   −∞ −∞ −∞ 1 −∞ −∞ −∞   µ(b) =   −∞ −∞ −∞ −∞ −∞  

5/15

Matrix representation

slide-17
SLIDE 17

b : 0 a, b : 0 b : 0 a : 1 a, b : 0

µ(a) =   −∞ −∞ −∞ 1 −∞ −∞ −∞   µ(b) =   −∞ −∞ −∞ −∞ −∞   I =

  • −∞

−∞

  • F =

  −∞ −∞  

5/15

Matrix representation

slide-18
SLIDE 18

b : 0 a, b : 0 b : 0 a : 1 a, b : 0

µ(a) =   −∞ −∞ −∞ 1 −∞ −∞ −∞   µ(b) =   −∞ −∞ −∞ −∞ −∞   I =

  • −∞

−∞

  • F =

  −∞ −∞  

µ(w)i,j = max of the weights of the runs from i to j labelled by w [ [A] ](w) = Iµ(w)F

5/15

Matrix representation

slide-19
SLIDE 19

b : 0 a, b : 0 b : 0 a : 1 a, b : 0

µ(a) =   −∞ −∞ −∞ 1 −∞ −∞ −∞   µ(b) =   −∞ −∞ −∞ −∞ −∞   I =

  • −∞

−∞

  • F =

  −∞ −∞  

µ(w)i,j = max of the weights of the runs from i to j labelled by w [ [A] ](w) = Iµ(w)F

Dimension = Number of states

5/15

Matrix representation

slide-20
SLIDE 20

Decidability and complexity

Equivalence [Krob] Boundedness [Simon] Determinisation [Kirsten, Klimann, Lombardy, Mairesse, Prieur] Minimisation ...

6/15

Questions ?

slide-21
SLIDE 21

A

u [ [A] ](u)

A

v [ [A] ](v) = ?

Which pairs of inputs can be distinguished by a given computational model?

7/15

A natural and fundamental question:

slide-22
SLIDE 22

Semiring (N ∪ {−∞}, max, +) [ [A] ] : A∗ → N ∪ {−∞}

[ [A] ] : w → max

ρ accepting path labelled by w

  • ρ1 + ρ2 + · · · + ρ|w|
  • C: class of the max-plus automata

8/15

Distinguishing words

slide-23
SLIDE 23

Semiring (N ∪ {−∞}, max, +) [ [A] ] : A∗ → N ∪ {−∞}

[ [A] ] : w → max

ρ accepting path labelled by w

  • ρ1 + ρ2 + · · · + ρ|w|
  • C: class of the max-plus automata

1 For all u = v, is there A ∈ C which distinguishes u and v? → Yes

8/15

Distinguishing words

slide-24
SLIDE 24

Semiring (N ∪ {−∞}, max, +) [ [A] ] : A∗ → N ∪ {−∞}

[ [A] ] : w → max

ρ accepting path labelled by w

  • ρ1 + ρ2 + · · · + ρ|w|
  • C: class of the max-plus automata

1 For all u = v, is there A ∈ C which distinguishes u and v? → Yes 2 Is there A ∈ C which distinguishes all pairs u = v? → No

8/15

Distinguishing words

slide-25
SLIDE 25

Semiring (N ∪ {−∞}, max, +) [ [A] ] : A∗ → N ∪ {−∞}

[ [A] ] : w → max

ρ accepting path labelled by w

  • ρ1 + ρ2 + · · · + ρ|w|
  • C: class of the max-plus automata

1 For all u = v, is there A ∈ C which distinguishes u and v? → Yes 2 Is there A ∈ C which distinguishes all pairs u = v? → No 3 Minimal size to distinguish two given input words? → ??????

8/15

Distinguishing words

slide-26
SLIDE 26

Given a positive integer n, are there u = v such that for all max-plus automata A with at most n states: [ [A] ](u) = [ [A] ](v) ?

9/15

slide-27
SLIDE 27

Given a positive integer n, are there u = v such that for all max-plus automata A with at most n states: [ [A] ](u) = [ [A] ](v) ? For matrices: Given a dimension n, does there exists a non trivial identity for the semigroup of square matrices of dimension n ?

9/15

slide-28
SLIDE 28

A = {a, b} a : α b : β

10/15

If n = 1

slide-29
SLIDE 29

A = {a, b} a : α b : β w → α|w|a + β|w|b

10/15

If n = 1

slide-30
SLIDE 30

A = {a, b} a : α b : β w → α|w|a + β|w|b Max-plus automata with one state can distinguish words with different contents (in particular different lengths), and only these

  • nes.

10/15

If n = 1

slide-31
SLIDE 31

There exist pairs of distinct words with the same values for all automata with at most 3 states...

11/15

If n = 2 or n = 3

slide-32
SLIDE 32

There exist pairs of distinct words with the same values for all automata with at most 3 states... 2 states [Izhakian, Margolis] - words of length 20

11/15

If n = 2 or n = 3

slide-33
SLIDE 33

There exist pairs of distinct words with the same values for all automata with at most 3 states... 2 states [Izhakian, Margolis] - words of length 20 3 states [Shitov] - words of length 1795308

11/15

If n = 2 or n = 3

slide-34
SLIDE 34

12/15

Triangular automata

slide-35
SLIDE 35

Theorem [Izhakian] For all n, there exist a pair of distinct words u = v such that for all triangular automata A with at most n states, [ [A] ](u) = [ [A] ](v)

12/15

Triangular automata

slide-36
SLIDE 36

Theorem [Izhakian] For all n, there exist a pair of distinct words u = v such that for all triangular automata A with at most n states, [ [A] ](u) = [ [A] ](v)

For n = 2, exactly the identities for the bicyclic monoid [D., Johnson, Kambites]

12/15

Triangular automata

slide-37
SLIDE 37

A = {a, b}

a : α2 b : β2 a : α4 b : β4 a : α1 b : β1 a : α3 b : β3

13/15

Let’s go back to automata with 2 states

slide-38
SLIDE 38

A = {a, b}

a : α2 b : β2 a : α4 b : β4 a : α1 b : β1 a : α3 b : β3 Theorem [D., Johnson] - counter-example to a conjecture of Izhakian There are two pairs of distinct words of minimal length which cannot be distinguished by any max-plus automata with two states:

a2b3a3babab3a2 = a2b3ababa3b3a2 and ab3a4baba2b3a = ab3a2baba4b3a

13/15

Let’s go back to automata with 2 states

slide-39
SLIDE 39

A = {a, b} a : α2 b : β2 a : α4 b : β4 a : α1 b : β1 a : α3 b : β3

14/15

Let’s go back to automata with 2 states

slide-40
SLIDE 40

A = {a, b} a : α2 b : β2 a : α4 b : β4 a : α1 b : β1 a : α3 b : β3 First attempt: Restrict the class of automata we have to consider

14/15

Let’s go back to automata with 2 states

slide-41
SLIDE 41

A = {a, b} a : α2 b : β2 a : α4 b : β4 a : α1 b : β1 a : α3 b : β3 First attempt: Restrict the class of automata we have to consider R − → Q − → Z − → N

14/15

Let’s go back to automata with 2 states

slide-42
SLIDE 42

A = {a, b} a : α2 b : β2 a : α4 b : β4 a : α1 b : β1 a : α3 b : β3 First attempt: Restrict the class of automata we have to consider R − → Q − → Z − → N Complete automaton

14/15

Let’s go back to automata with 2 states

slide-43
SLIDE 43

A = {a, b} a : α2 b : β2 a : α4 b : β4 a : α1 b : β1 a : α3 b : β3 First attempt: Restrict the class of automata we have to consider R − → Q − → Z − → N Complete automaton Only one initial and one final states

14/15

Let’s go back to automata with 2 states

slide-44
SLIDE 44

A = {a, b} a : α2 b : β2 a : α4 b : β4 a : α1 b : β1 a : α3 b : β3 First attempt: Restrict the class of automata we have to consider R − → Q − → Z − → N Complete automaton Only one initial and one final states Reduce the number of parameters

14/15

Let’s go back to automata with 2 states

slide-45
SLIDE 45

A = {a, b} a : α2 b : β2 a : α4 b : β4 a : α1 b : β1 a : α3 b : β3 First attempt: Restrict the class of automata we have to consider R − → Q − → Z − → N Complete automaton Only one initial and one final states Reduce the number of parameters Second attempt: Give a list of criteria which can be checked

14/15

Let’s go back to automata with 2 states

slide-46
SLIDE 46

15/15

List of criteria

slide-47
SLIDE 47

First and last blocks b : 0 a : 1 a : 0 b : 0

15/15

List of criteria

slide-48
SLIDE 48

First and last blocks Block-permutation b : −m b : 0 a : 0 b : 0 a : 1 b : −m

15/15

List of criteria

slide-49
SLIDE 49

First and last blocks Block-permutation “Counting modulo 2” criteria Number of a’s after an even number of b’s b : 0 b : 0 a : 1 a : 0

15/15

List of criteria

slide-50
SLIDE 50

First and last blocks Block-permutation “Counting modulo 2” criteria Triangular automata with two states

15/15

List of criteria