Introduction to weighted automata theory Lectures given at the - - PowerPoint PPT Presentation

introduction to weighted automata theory
SMART_READER_LITE
LIVE PREVIEW

Introduction to weighted automata theory Lectures given at the - - PowerPoint PPT Presentation

Introduction to weighted automata theory Lectures given at the 19th Estonian Winter School in Computer Science Jacques Sakarovitch CNRS / Telecom ParisTech Based on Chapter III Chapter 4 The presentation is very much inspired by a joint


slide-1
SLIDE 1

Introduction to weighted automata theory

Lectures given at the 19th Estonian Winter School in Computer Science Jacques Sakarovitch

CNRS / Telecom ParisTech

slide-2
SLIDE 2

Based on Chapter III Chapter 4

slide-3
SLIDE 3

The presentation is very much inspired by a joint work with

Marie-Pierre B´ eal

(Univ. Paris-Est) and

Sylvain Lombardy

(Univ. Bordeaux) entitled On the equivalence and conjugacy of weighted automata, a first version of which has been published in Proc. of CSR 2006 and whose final complete version is still in preparation.

slide-4
SLIDE 4

Lecture I The model of (finite) weighted automata

slide-5
SLIDE 5

A touch of general system theory

p

State Finite control

a1 a2 a3 a4 an

$

k1 k2 k3 k4 kl

$

Paradigm of a machine for the computer scientists

slide-6
SLIDE 6

A touch of general system theory

input

  • utput

Paradigm of a machine for the rest of the world

slide-7
SLIDE 7

A touch of general system theory α(·)

y x y = α(x)

Paradigm of a machine for the rest of the world

slide-8
SLIDE 8

A touch of general system theory α(·)

y x y = α(x) x ∈ Rn , y ∈ Rm

Paradigm of a machine for the rest of the world

slide-9
SLIDE 9

Getting back to computer science α(·)

x y

slide-10
SLIDE 10

Getting back to computer science α(·)

w ∈ A∗ y

The input belongs to a free monoid A∗

slide-11
SLIDE 11

Getting back to computer science α(·)

w ∈ A∗ B ∋ k

The input belongs to a free monoid A∗ The output belongs to the Boolean semiring B

slide-12
SLIDE 12

Getting back to computer science

w ∈ A∗ B ∋ k L L ⊆ A∗

The input belongs to a free monoid A∗ The output belongs to the Boolean semiring B The function realised is a language

slide-13
SLIDE 13

Getting back to computer science α(·)

(u, v) ∈ A∗×B∗ B ∋ k

The input belongs to a direct product of free monoids A∗×B∗ The output belongs to the Boolean semiring B

slide-14
SLIDE 14

Getting back to computer science

(u, v) ∈ A∗×B∗ B ∋ k R R ⊆ A∗×B∗

The input belongs to a direct product of free monoids A∗×B∗ The output belongs to the Boolean semiring B The function realised is a relation between words

slide-15
SLIDE 15

The simplest Turing Machine

p

State Finite control

a1 a2 a3 a4 an

$

Direction of movement of the read head The 1 way 1 tape Turing Machine (1W1TM)

slide-16
SLIDE 16

The simplest Turing Machine is equivalent to finite automata

p q b a b a b

B1

slide-17
SLIDE 17

The simplest Turing Machine is equivalent to finite automata

p q b a b a b

B1 bab ∈ A∗

slide-18
SLIDE 18

The simplest Turing Machine is equivalent to finite automata

p q b a b a b

B1 bab ∈ A∗ − → p

b

− − →p

a

− → p

b

− − → q − → − → p

b

− − →q

a

− → q

b

− − → q − →

slide-19
SLIDE 19

The simplest Turing Machine is equivalent to finite automata

p q b a b a b

B1 L(B1) ⊆ A∗ bab ∈ A∗ − → p

b

− − →p

a

− → p

b

− − → q − → − → p

b

− − →q

a

− → q

b

− − → q − → L(B1) = {w ∈ A∗| w ∈ A∗bA∗} = {w ∈ A∗| |w|b 1}

slide-20
SLIDE 20

Rational (or regular) languages Languages accepted (or recognized) by finite automata

=

Languages described by rational (or regular) expressions

=

Languages defined by MSO formulae

slide-21
SLIDE 21

Remarkable features of the finite automaton model Decidable equivalence (decidable inclusion) Closure under complement Canonical automaton (minimal deterministic automaton)

slide-22
SLIDE 22

Automata versus languages

p q b a b a b

B1 L(B1) ⊆ A∗

slide-23
SLIDE 23

Automata versus languages

p q b a b a b

B1 L(B1) ⊆ A∗

p q b a a b

B′

1

L(B′

1) ⊆ A∗

slide-24
SLIDE 24

Automata versus languages

p q b a b a b

B1 L(B1) ⊆ A∗

p q b a a b

B′

1

L(B′

1) ⊆ A∗

L(B1) = L(B′

1) =

  • w ∈ A∗

|w|b 1

slide-25
SLIDE 25

Automata versus languages

p q b a b a b

B1 L(B1) ⊆ A∗

p q b a a b

B′

1

L(B′

1) ⊆ A∗

L(B1) = L(B′

1) =

  • w ∈ A∗

|w|b 1

  • = A∗bA∗
slide-26
SLIDE 26

Ambiguity: a preliminary to multiplicity

Here, automaton stands for classical (Boolean) automaton.

Definition

A (trim) automaton A is unambiguous if no word is the label of more than one successful computation of A.

slide-27
SLIDE 27

Ambiguity: a preliminary to multiplicity

Here, automaton stands for classical (Boolean) automaton.

Definition

A (trim) automaton A is unambiguous if no word is the label of more than one successful computation of A.

Theorem

It is decidable whether an automaton is ambiguous or not.

slide-28
SLIDE 28

Ambiguity: a preliminary to multiplicity

Here, automaton stands for classical (Boolean) automaton.

Definition

A (trim) automaton A is unambiguous if no word is the label of more than one successful computation of A.

Theorem

It is decidable whether an automaton is ambiguous or not.

Proof ?

slide-29
SLIDE 29

Ambiguity: a preliminary to multiplicity

p q b a b a b

B1 L(B1) = A∗b A∗

slide-30
SLIDE 30

Ambiguity: a preliminary to multiplicity

p q b a b a b

B1 L(B1) = A∗b A∗

p q b a a b

B′

1

L(B′

1) = A∗b A∗

slide-31
SLIDE 31

Ambiguity: a preliminary to multiplicity

p q b a b a b

B1 L(B1) = A∗b A∗

p q b a a b

B′

1

L(B′

1) = A∗b A∗

Counting the number of successful computations B1 : bab − → 2 B′

1 : bab

− → 1

slide-32
SLIDE 32

Ambiguity: a preliminary to multiplicity

p q b a b a b

B1 L(B1) = A∗b A∗

p q b a a b

B′

1

L(B′

1) = A∗b A∗

Counting the number of successful computations B1 : w − → |w|b B′

1 : w

− → 1

slide-33
SLIDE 33

A new automaton model

w ∈ A∗ N ∋ k

α(·)

The input belongs to a free monoid A∗ The output belongs to the integer semiring N

slide-34
SLIDE 34

A new automaton model

w ∈ A∗ N ∋ k s s : A∗ → N

The input belongs to a free monoid A∗ The output belongs to the integer semiring N The function realised is a function from A∗ to N

slide-35
SLIDE 35

A new automaton model

w ∈ A∗ N ∋ k s s : A∗ → N s ∈ N A∗

  • The input belongs to a free monoid A∗

The output belongs to the integer semiring N The function realised is a function from A∗ to N we call it a series

slide-36
SLIDE 36

A new automaton model

w ∈ A∗ N ∋ k s s : A∗ → N s ∈ N A∗

  • s1 = b + ab + b a + 2b b + aab + · · · + 2b b a + 3b b b + · · ·

The input belongs to a free monoid A∗ The output belongs to the integer semiring N The function realised is a function from A∗ to N we call it a series

slide-37
SLIDE 37

The weighted automaton model

p q b a b a b

B1

slide-38
SLIDE 38

The weighted automaton model

p q b a b 2a 2b

C1

slide-39
SLIDE 39

The weighted automaton model

p q b a b 2a 2b

C1

1

− − → p

b

− − →p

a

− − → p

b

− − → q

1

− − →

1

− − → p

b

− − →q

2 a

− − − → q

2 b

− − − → q

1

− − →

slide-40
SLIDE 40

The weighted automaton model

p q b a b 2a 2b

C1

1

− − → p

b

− − →p

a

− − → p

b

− − → q

1

− − →

1

− − → p

b

− − →q

2 a

− − − → q

2 b

− − − → q

1

− − →

◮ Weight of a path c: product of the weights of transitions in c ◮ Weight of a word w: sum of the weights of paths with label w

.

slide-41
SLIDE 41

The weighted automaton model

p q b a b 2a 2b

C1

1

− − → p

b

− − →p

a

− − → p

b

− − → q

1

− − →

1

− − → p

b

− − →q

2 a

− − − → q

2 b

− − − → q

1

− − →

◮ Weight of a path c: product of the weights of transitions in c ◮ Weight of a word w: sum of the weights of paths with label w

. b ab − → 1 + 4 = 5

slide-42
SLIDE 42

The weighted automaton model

p q b a b 2a 2b

C1

1

− − → p

b

− − →p

a

− − → p

b

− − → q

1

− − →

1

− − → p

b

− − →q

2 a

− − − → q

2 b

− − − → q

1

− − →

◮ Weight of a path c: product of the weights of transitions in c ◮ Weight of a word w: sum of the weights of paths with label w

. b ab − → 1 + 4 = 5 = 1012

slide-43
SLIDE 43

The weighted automaton model

p q b a b 2a 2b

C1 C1 ∈ N A∗

  • 1

− − → p

b

− − →p

a

− − → p

b

− − → q

1

− − →

1

− − → p

b

− − →q

2 a

− − − → q

2 b

− − − → q

1

− − →

◮ Weight of a path c: product of the weights of transitions in c ◮ Weight of a word w: sum of the weights of paths with label w

. b ab − → 1 + 4 = 5 C1 : A∗ − → N

slide-44
SLIDE 44

The weighted automaton model

p q b a b 2a 2b

C1 C1 ∈ N A∗

  • 1

− − → p

b

− − →p

a

− − → p

b

− − → q

1

− − →

1

− − → p

b

− − →q

2 a

− − − → q

2 b

− − − → q

1

− − →

◮ Weight of a path c: product of the weights of transitions in c ◮ Weight of a word w: sum of the weights of paths with label w

. C1 = b + ab + 2b a + 3b b + aab + 2ab a + · · · + 5b ab + · · ·

slide-45
SLIDE 45

The weighted automaton model

w ∈ A∗ K ∋ k s s : A∗ → K s ∈ K A∗

  • The input belongs to a free monoid A∗

The output belongs to a semiring K The function realised is a function from A∗ to K: a series in K A∗

slide-46
SLIDE 46

Richness of the model of weighted automata

◮ B

‘classic’ automata

◮ N

‘usual’ counting

◮ Z , Q , R

numerical multiplicity

◮ Z ∪ +∞, min, +

Min-plus automata

◮ Z, min, max

fuzzy automata

◮ P (B∗) = B

B∗

  • transducers

◮ N

B∗

  • weighted transducers

◮ P (F(B))

pushdown automata

slide-47
SLIDE 47

Another example

p q 0a 1b 1a 0b

L1 L1 ∈ Zmin A∗

slide-48
SLIDE 48

Another example

p q 0a 1b 1a 0b

L1 L1 ∈ Zmin A∗

− → p

1 b

− − − →p

0 a

− − − → p

1 b

− − − → p − − → − − → q

0 b

− − − →q

1 a

− − − → q

0 b

− − − → q − − →

slide-49
SLIDE 49

Another example

p q 0a 1b 1a 0b

L1 L1 ∈ Zmin A∗

− → p

1 b

− − − →p

0 a

− − − → p

1 b

− − − → p − − → − − → q

0 b

− − − →q

1 a

− − − → q

0 b

− − − → q − − →

◮ Weight of a path c:

product, that is, the sum, of the weights of transitions in c

◮ Weight of a word w:

sum, that is, the min of the weights of paths with label w.

slide-50
SLIDE 50

Another example

p q 0a 1b 1a 0b

L1 L1 ∈ Zmin A∗

− → p

1 b

− − − →p

0 a

− − − → p

1 b

− − − → p − − → − − → q

0 b

− − − →q

1 a

− − − → q

0 b

− − − → q − − →

◮ Weight of a path c:

product, that is, the sum, of the weights of transitions in c

◮ Weight of a word w:

sum, that is, the min of the weights of paths with label w. b ab − → min(1 + 0 + 1, 0 + 1 + 0) = 1 L1 : A∗ − → Zmin

slide-51
SLIDE 51

Another example

p q 0a 1b 1a 0b

L1 L1 ∈ Zmin A∗

− → p

1 b

− − − →p

0 a

− − − → p

1 b

− − − → p − − → − − → q

0 b

− − − →q

1 a

− − − → q

0 b

− − − → q − − →

◮ Weight of a path c:

product, that is, the sum, of the weights of transitions in c

◮ Weight of a word w:

sum, that is, the min of the weights of paths with label w. C1 = 01A∗ + 0a + 0b + 1ab + 1b a + 0b b + · · · + 1b ab + · · ·

slide-52
SLIDE 52

Series play the role of languages K A∗ plays the role of P (A∗)

slide-53
SLIDE 53

Weighted automata theory is linear algebra

  • f computer science
slide-54
SLIDE 54

The Turing Machine equivalent to finite transducers

p

State Finite control

a1 a2 a3 a4 an

$

k1 k2 k3 k4 kl

$

Direction of movement of the k read heads The 1 way k tape Turing Machine (1WkTM)

slide-55
SLIDE 55

Outline of the lectures

  • 1. Rationality
  • 2. Recognisability
  • 3. Reduction and equivalence
  • 4. Morphisms of automata
slide-56
SLIDE 56

Lecture II Rationality

slide-57
SLIDE 57

Outline of Lecture II

◮ The set of series K

A∗ is a K-algebra.

◮ Automata are (essentially) matrices:

A = I, E, T

◮ Computing the behaviour of an automaton boils down

to solving a linear system X = E · X + T (s)

◮ Solving the linear system (s) amounts to invert

the matrix (Id − E) (hence the name rational)

◮ The inversion of Id − E is realised by

an infinite sum Id + E + E 2 + E 3 + · · · : the star of E

◮ What can be computed by a finite automaton

is exactly what can be computed by the star operation (together with the algebra operations)

slide-58
SLIDE 58

The semiring K A∗

  • K semiring

A∗ free monoid s ∈ K A∗

  • s : A∗ → K

s : w − → s, w s =

  • w∈A∗

s, w w Point-wise addition s + t, w = s, w + t, w Cauchy product s t, w =

  • u v=w

s, ut, v {(u, v)| u v = w} finite = ⇒ Cauchy product well-defined

K A∗ is a semiring

slide-59
SLIDE 59

The semiring K M

  • K semiring

M monoid s ∈ K M

  • s : M → K

s : m − → s, m s =

  • m∈M

s, w w Point-wise addition s + t, m = s, m + t, m Cauchy product s t, m =

  • x y=m

s, x t, y ∀m {(x, y)| x y = m} finite = ⇒ Cauchy product well-defined

slide-60
SLIDE 60

The semiring K M

  • Conditions for

{(x, y)| x y = m} finite for all m

Definition

M is graded if M equipped with a length function ϕ ϕ: M → N ϕ(mm′) = ϕ(m) + ϕ(m′)

M f.g. and graded = ⇒ K M is a semiring

Examples

M trace monoid, then K M is a semiring K A∗×B∗ is a semiring F(A) , the free group on A , is not graded

slide-61
SLIDE 61

The algebra K M

  • K semiring

M f.g. graded monoid s ∈ K A∗

  • s : A∗ → K

s : w − → s, w s =

  • w∈A∗

s, w w Point-wise addition s + t, m = s, m + t, m Cauchy product s t, m =

  • x y=m

s, x t, y External multiplication k s, m = k s, m

K M is an algebra

slide-62
SLIDE 62

The star operation

t ∈ K t∗ =

  • n∈N

tn

How to define infinite sums ? One possible solution Topology on K

Definition of summable families and of their sum

t∗ defined if {tn}n∈N summable Other possible solutions

axiomatic definition of star, equational definition of star

slide-63
SLIDE 63

The star operation

t ∈ K t∗ =

  • n∈N

tn

slide-64
SLIDE 64

The star operation

t ∈ K t∗ =

  • n∈N

tn

◮ ∀K

(0K)∗ = 1K

◮ K = N

∀x = 0 x∗ not defined.

◮ K = N = N ∪ {+∞}

∀x = 0 x∗ = ∞ .

◮ K = Q

(1

2)∗ = 2 with the natural topology,

(1

2)∗ is undefined with the discrete topology.

slide-65
SLIDE 65

The star operation

t ∈ K t∗ =

  • n∈N

tn

In any case t∗ = 1K + t t∗ Star has the same flavor as the inverse If K is a ring t∗ (1K − t) = 1K 1K 1K − t = 1K + t + t2 + · · · + tn + · · ·

slide-66
SLIDE 66

Star of series

s ∈ K A∗

  • When is s∗ =
  • n∈N

sn defined ?

Topology on K yields topology on K A∗

  • s proper

s0 = s, 1A∗ = 0K

s proper = ⇒ s∗ defined

slide-67
SLIDE 67

Rational series KA∗ ⊆ K A∗

  • subalgebra of polynomials

KRat A∗ closure of KA∗ under

◮ sum ◮ product ◮ exterior multiplication ◮ and star

KRat A∗ ⊆ K A∗

  • subalgebra of rational series
slide-68
SLIDE 68

Fundamental theorem of finite automata Theorem s ∈ KRat A∗ ⇐ ⇒ ∃A ∈ WA (A∗) s = | | |A| | |

slide-69
SLIDE 69

Fundamental theorem of finite automata Theorem s ∈ KRat A∗ ⇐ ⇒ ∃A ∈ WA (A∗) s = | | |A| | |

Kleene theorem ?

slide-70
SLIDE 70

Fundamental theorem of finite automata Theorem s ∈ KRat A∗ ⇐ ⇒ ∃A ∈ WA (A∗) s = | | |A| | |

Kleene theorem ?

Theorem M finitely generated graded monoid s ∈ KRat M ⇐ ⇒ ∃A ∈ WA (M) s = | | |A| | |

slide-71
SLIDE 71

Automata are matrices

p q b a b 2a 2b

C1

C1 = I1, E1, T1 =

  • 1
  • ,

a + b b 2a + 2b

  • ,

1

  • .
slide-72
SLIDE 72

Automata are matrices A = I, E, T E = incidence matrix

slide-73
SLIDE 73

Automata are matrices A = I, E, T E = incidence matrix Notation wl(x) = weighted label of x In our model, e transition ⇒ wl(e) = k a

slide-74
SLIDE 74

Automata are matrices A = I, E, T E = incidence matrix Notation wl(x) = weighted label of x In our model, e transition ⇒ wl(e) = k a Ep,q =

  • {wl(e)| e

transition from p to q}

slide-75
SLIDE 75

Automata are matrices A = I, E, T E = incidence matrix Notation wl(x) = weighted label of x In our model, e transition ⇒ wl(e) = k a Ep,q =

  • {wl(e)| e

transition from p to q} Lemma En

p,q =

  • {wl(c)| c

computation from p to q of length n}

slide-76
SLIDE 76

Automata are matrices A = I, E, T E = incidence matrix Ep,q =

  • {wl(e)| e

transition from p to q}

slide-77
SLIDE 77

Automata are matrices A = I, E, T E = incidence matrix Ep,q =

  • {wl(e)| e

transition from p to q} E ∗ =

  • n∈N

E n E ∗

p,q =

  • {wl(c)| c

computation from p to q}

slide-78
SLIDE 78

Automata are matrices A = I, E, T E = incidence matrix Ep,q =

  • {wl(e)| e

transition from p to q} E ∗ =

  • n∈N

E n E ∗

p,q =

  • {wl(c)| c

computation from p to q}

A = I · E ∗ · T

slide-79
SLIDE 79

Automata are matrices

K semiring M graded monoid

K M Q×

Q

is isomorphic to KQ×

Q

M

  • E ∈ K

M Q×

Q

E proper = ⇒ E ∗ defined

slide-80
SLIDE 80

Automata are matrices

K semiring M graded monoid

K M Q×

Q

is isomorphic to KQ×

Q

M

  • E ∈ K

M Q×

Q

E proper = ⇒ E ∗ defined Theorem The entries of E ∗ are in the rational closure of the entries of E

slide-81
SLIDE 81

Fundamental theorem of finite automata

K semiring M graded monoid

K M Q×

Q

is isomorphic to KQ×

Q

M

  • E ∈ K

M Q×

Q

E proper = ⇒ E ∗ defined Theorem The entries of E ∗ are in the rational closure of the entries of E Theorem The family of behaviours of weighted automata over M with coefficients in K is rationally closed.

slide-82
SLIDE 82

The collect theorem K A∗×B∗ is isomorphic to [K B∗ ] A∗

  • Theorem

Under the above isomorphism, KRat A∗×B∗ corresponds to [KRat B∗] Rat A∗

slide-83
SLIDE 83

Lecture III Recognisability

slide-84
SLIDE 84

Outline of Lecture III

◮ Representation and recognisable series. ◮ Automata over free monoids are representations ◮ The notion of action and deterministic automata ◮ The reachability space and the control morphism ◮ The notion of quotient and the minimal automaton ◮ The observation morphism ◮ The representation theorem

slide-85
SLIDE 85

Recognisable series

K semiring A∗ free monoid

slide-86
SLIDE 86

Recognisable series

K semiring A∗ free monoid

K-representation

Q finite µ: A∗ → KQ×

Q

morphism ( I, µ, T ) I ∈ K1

× Q

µ: A∗ → KQ×

Q

T ∈ KQ×

1

slide-87
SLIDE 87

Recognisable series

K semiring A∗ free monoid

K-representation

Q finite µ: A∗ → KQ×

Q

morphism ( I, µ, T ) I ∈ K1

× Q

µ: A∗ → KQ×

Q

T ∈ KQ×

1

( I, µ, T ) realises (recognises) s ∈ K A∗

  • ∀w ∈ A∗

s, w = I · µ(w) · T

slide-88
SLIDE 88

Recognisable series

K semiring A∗ free monoid

K-representation

Q finite µ: A∗ → KQ×

Q

morphism ( I, µ, T ) I ∈ K1

× Q

µ: A∗ → KQ×

Q

T ∈ KQ×

1

( I, µ, T ) realises (recognises) s ∈ K A∗

  • ∀w ∈ A∗

s, w = I · µ(w) · T

s ∈ K A∗ recognisable if s realised by a K-representation

slide-89
SLIDE 89

Recognisable series

K semiring A∗ free monoid

K-representation

Q finite µ: A∗ → KQ×

Q

morphism ( I, µ, T ) I ∈ K1

× Q

µ: A∗ → KQ×

Q

T ∈ KQ×

1

( I, µ, T ) realises (recognises) s ∈ K A∗

  • ∀w ∈ A∗

s, w = I · µ(w) · T

s ∈ K A∗ recognisable if s realised by a K-representation KRec A∗ ⊆ K A∗

  • submodule of recognisable series
slide-90
SLIDE 90

Recognisable series

K semiring A∗ free monoid

K-representation

Q finite µ: A∗ → KQ×

Q

morphism ( I, µ, T ) I ∈ K1

× Q

µ: A∗ → KQ×

Q

T ∈ KQ×

1

( I, µ, T ) realises (recognises) s ∈ K A∗

  • ∀w ∈ A∗

s, w = I · µ(w) · T

Example

I =

  • 1
  • ,

µ(a) = 1 1

  • ,

µ(b) = 1 1 1

  • ,

T = 1

  • ( I, µ, T )

realises

  • w∈A∗

|w|b w ∈ KRec A∗

slide-91
SLIDE 91

Recognisable series

K semiring M monoid

K-representation

Q finite µ: A∗ → KQ×

Q

morphism ( I, µ, T ) I ∈ K1

× Q

µ: A∗ → KQ×

Q

T ∈ KQ×

1

( I, µ, T ) realises (recognises) s ∈ K A∗

  • ∀w ∈ A∗

s, w = I · µ(w) · T

slide-92
SLIDE 92

Recognisable series

K semiring M monoid

K-representation

Q finite µ: M → KQ×

Q

morphism ( I, µ, T ) I ∈ K1

× Q

µ: M → KQ×

Q

T ∈ KQ×

1

( I, µ, T ) realises (recognises) s ∈ K A∗

  • ∀w ∈ A∗

s, w = I · µ(w) · T

slide-93
SLIDE 93

Recognisable series

K semiring M monoid

K-representation

Q finite µ: M → KQ×

Q

morphism ( I, µ, T ) I ∈ K1

× Q

µ: M → KQ×

Q

T ∈ KQ×

1

( I, µ, T ) realises (recognises) s ∈ K M

  • ∀m ∈ M

s, m = I · µ(m) · T

slide-94
SLIDE 94

Recognisable series

K semiring M monoid

K-representation

Q finite µ: M → KQ×

Q

morphism ( I, µ, T ) I ∈ K1

× Q

µ: M → KQ×

Q

T ∈ KQ×

1

( I, µ, T ) realises (recognises) s ∈ K M

  • ∀m ∈ M

s, m = I · µ(m) · T

s ∈ K M recognisable if s realised by a K-representation

slide-95
SLIDE 95

Recognisable series

K semiring M monoid

K-representation

Q finite µ: M → KQ×

Q

morphism ( I, µ, T ) I ∈ K1

× Q

µ: M → KQ×

Q

T ∈ KQ×

1

( I, µ, T ) realises (recognises) s ∈ K M

  • ∀m ∈ M

s, m = I · µ(m) · T

s ∈ K M recognisable if s realised by a K-representation KRec M ⊆ K M

  • submodule of recognisable series
slide-96
SLIDE 96

The key lemma

K semiring A∗ free monoid

slide-97
SLIDE 97

The key lemma

K semiring A∗ free monoid µ: A∗ → KQ×

Q

defined by {µ(a)}a∈A

slide-98
SLIDE 98

The key lemma

K semiring M monoid µ: A∗ → KQ×

Q

defined by {µ(a)}a∈A

slide-99
SLIDE 99

The key lemma

K semiring M monoid µ: M → KQ×

Q

defined by

?

slide-100
SLIDE 100

The key lemma

K semiring A∗ free monoid µ: A∗ → KQ×

Q

defined by {µ(a)}a∈A

slide-101
SLIDE 101

The key lemma

K semiring A∗ free monoid µ: A∗ → KQ×

Q

defined by {µ(a)}a∈A

Lemma µ: A∗ → KQ×

Q

X =

  • a∈A

µ(a)a ∀w ∈ A∗ X ∗, w = µ(w)

slide-102
SLIDE 102

Automata are matrices

p q b a b 2a 2b

C1

C1 = I1, E1, T1 =

  • 1
  • ,

a + b b 2a + 2b

  • ,

1

  • .
slide-103
SLIDE 103

Automata over free monoids are representations

p q b a b 2a 2b

C1

C1 = I1, E1, T1 =

  • 1
  • ,

a + b b 2a + 2b

  • ,

1

  • .

E1 = 1 2

  • a +

1 1 2

  • b
slide-104
SLIDE 104

Automata over free monoids are representations

p q b a b 2a 2b

C1

C1 = I1, E1, T1 =

  • 1
  • ,

a + b b 2a + 2b

  • ,

1

  • .

E1 = 1 2

  • a +

1 1 2

  • b

C1 = ( I1, µ1, T1 ) µ1(a) = 1 2

  • ,

µ1(b) = 1 1 2

slide-105
SLIDE 105

Automata over free monoids are representations

p q b a b 2a 2b

C1

C1 = I1, E1, T1 =

  • 1
  • ,

a + b b 2a + 2b

  • ,

1

  • .

E1 = 1 2

  • a +

1 1 2

  • b

C1 = ( I1, µ1, T1 ) µ1(a) = 1 2

  • ,

µ1(b) = 1 1 2

  • C1 = I1 · E1∗ · T1 =
  • w∈A∗

(I1 · µ1(w) · T1)w

slide-106
SLIDE 106

Automata over free monoids are representations

p q b a b 2a 2b

C1

C1 = I1, E1, T1 =

  • 1
  • ,

a + b b 2a + 2b

  • ,

1

  • .

E1 = 1 2

  • a +

1 1 2

  • b

C1 = ( I1, µ1, T1 ) µ1(a) = 1 2

  • ,

µ1(b) = 1 1 2

  • C1 = I1 · E1∗ · T1 =
  • w∈A∗

(I1 · µ1(w) · T1)w C1 ∈ KRec A∗

slide-107
SLIDE 107

Automata over free monoids are representations

p q b a b 2a 2b

C1

C1 = I1, E1, T1 =

  • 1
  • ,

a + b b 2a + 2b

  • ,

1

  • .

E1 = 1 2

  • a +

1 1 2

  • b

C1 = ( I1, µ1, T1 ) µ1(a) = 1 2

  • ,

µ1(b) = 1 1 2

  • Conversely, representations are automata
slide-108
SLIDE 108

The Kleene-Sch¨ utzenberger Theorem

Fundamental Theorem of Finite Automata and Key Lemma yield

Theorem A finite ⇒ KRec A∗ = KRat A∗

slide-109
SLIDE 109

The reachability set

A = ( I, µ, T )

slide-110
SLIDE 110

The reachability set

A = ( I, µ, T ) Reachability set Reachability space RA = {I · µ(w)| w ∈ A∗} RA ⊆ KQ

  • RA
slide-111
SLIDE 111

The reachability set

A = ( I, µ, T ) Reachability set Reachability space RA = {I · µ(w)| w ∈ A∗} RA ⊆ KQ

  • RA
  • A∗ acts on RA :

(I · µ(w)) · a = (I · µ(w)) · µ(a) = I · µ(w a)

slide-112
SLIDE 112

The reachability set

A = ( I, µ, T ) Reachability set Reachability space RA = {I · µ(w)| w ∈ A∗} RA ⊆ KQ

  • RA
  • A∗ acts on RA :

(I · µ(w)) · a = (I · µ(w)) · µ(a) = I · µ(w a)

This action turns RA into a deterministic automaton

  • A

(possibly infinite)

slide-113
SLIDE 113

The reachability set

C1 = ( I1, µ1, T1 )

  • 1
  • 1

1

  • 1

3

  • 1

7

  • 1

6

  • 1

2

  • 1

5

  • 1

4

  • 1 0

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

  • C1
slide-114
SLIDE 114

The reachability set

A = ( I, µ, T ) Reachability set Reachability space RA = {I · µ(w)| w ∈ A∗} RA ⊆ KQ

  • RA
  • RA is turned into a deterministic automaton
  • A
slide-115
SLIDE 115

The reachability set

A = ( I, µ, T ) Reachability set Reachability space RA = {I · µ(w)| w ∈ A∗} RA ⊆ KQ

  • RA
  • RA is turned into a deterministic automaton
  • A

If K = B ,

  • A is the (classical) determinisation of A
slide-116
SLIDE 116

The reachability set

A = ( I, µ, T ) Reachability set Reachability space RA = {I · µ(w)| w ∈ A∗} RA ⊆ KQ

  • RA
  • RA is turned into a deterministic automaton
  • A

If K = B ,

  • A is the (classical) determinisation of A

If K is locally finite, RA and

  • A are finite.
slide-117
SLIDE 117

The reachability set

A = ( I, µ, T ) Reachability set Reachability space RA = {I · µ(w)| w ∈ A∗} RA ⊆ KQ

  • RA
  • RA is turned into a deterministic automaton
  • A

If K = B ,

  • A is the (classical) determinisation of A

If K is locally finite, RA and

  • A are finite.

Counting in a locally finite semiring is not really counting

slide-118
SLIDE 118

The control morphism

A = ( I, µ, T ) Reachability set Reachability space RA = {I · µ(w)| w ∈ A∗} RA ⊆ KQ

  • RA
slide-119
SLIDE 119

The control morphism

A = ( I, µ, T ) Reachability set Reachability space RA = {I · µ(w)| w ∈ A∗} RA ⊆ KQ

  • RA
  • ΨA : KA∗ −

→ KQ ∀w ∈ A∗ ΨA(w) = I · µ(w)

slide-120
SLIDE 120

The control morphism

A = ( I, µ, T ) Reachability set Reachability space RA = {I · µ(w)| w ∈ A∗} RA ⊆ KQ

  • RA
  • ΨA : KA∗ −

→ KQ ∀w ∈ A∗ ΨA(w) = I · µ(w) RA = ΨA(A∗) Im ΨA = ΨA(KA∗) =

  • RA
slide-121
SLIDE 121

The control morphism

A = ( I, µ, T ) Reachability set Reachability space RA = {I · µ(w)| w ∈ A∗} RA ⊆ KQ

  • RA
  • ΨA : KA∗ −

→ KQ ∀w ∈ A∗ ΨA(w) = I · µ(w) RA = ΨA(A∗) Im ΨA = ΨA(KA∗) =

  • RA
  • KA∗

KQ ΨA

The control morphism

slide-122
SLIDE 122

The control morphism

A = ( I, µ, T ) Reachability set Reachability space RA = {I · µ(w)| w ∈ A∗} RA ⊆ KQ

  • RA
  • ΨA : KA∗ −

→ KQ ∀w ∈ A∗ ΨA(w) = I · µ(w) RA = ΨA(A∗) Im ΨA = ΨA(KA∗) =

  • RA
  • KA∗

KQ ΨA w x ΨA

The control morphism

slide-123
SLIDE 123

The control morphism

A = ( I, µ, T ) Reachability set Reachability space RA = {I · µ(w)| w ∈ A∗} RA ⊆ KQ

  • RA
  • ΨA : KA∗ −

→ KQ ∀w ∈ A∗ ΨA(w) = I · µ(w) RA = ΨA(A∗) Im ΨA = ΨA(KA∗) =

  • RA
  • KA∗

KA∗ KQ ΨA A∗ w w a x ΨA

The control morphism

slide-124
SLIDE 124

The control morphism

A = ( I, µ, T ) Reachability set Reachability space RA = {I · µ(w)| w ∈ A∗} RA ⊆ KQ

  • RA
  • ΨA : KA∗ −

→ KQ ∀w ∈ A∗ ΨA(w) = I · µ(w) RA = ΨA(A∗) Im ΨA = ΨA(KA∗) =

  • RA
  • KA∗

KA∗ KQ KQ ΨA ΨA A∗ A∗ w w a x x · µ(a) ΨA ΨA

The control morphism is a morphism of actions

slide-125
SLIDE 125

A basic construct: the quotient of series

s ∈ K A∗

  • a1a2a3 . . . an

The input belongs to a free monoid A∗

slide-126
SLIDE 126

A basic construct: the quotient of series

s ∈ K A∗

  • a1

a2a3 . . . an

The input belongs to a free monoid A∗

slide-127
SLIDE 127

A basic construct: the quotient of series

s ∈ K A∗

  • a1a2

a3 . . . an

The input belongs to a free monoid A∗

slide-128
SLIDE 128

A basic construct: the quotient of series

s ∈ K A∗

  • a1a2 . . . an

The input belongs to a free monoid A∗

slide-129
SLIDE 129

A basic construct: the quotient of series

s s ∈ K A∗

  • The input belongs to a free monoid A∗
slide-130
SLIDE 130

A basic construct: the quotient of series

s ∈ K A∗

  • s, a1 . . . an = k

The input belongs to a free monoid A∗

slide-131
SLIDE 131

A basic construct: the quotient of series

s ∈ K A∗

  • a1a2

a3 . . . an

slide-132
SLIDE 132

A basic construct: the quotient of series

s ∈ K A∗

  • a1a2

a3 . . . an

slide-133
SLIDE 133

A basic construct: the quotient of series

s ∈ K A∗

  • a1a2

a3 . . . an

slide-134
SLIDE 134

A basic construct: the quotient of series

s s ∈ K A∗

  • a1a2
slide-135
SLIDE 135

A basic construct: the quotient of series

s ∈ K A∗

  • s, a1 . . . an = k
slide-136
SLIDE 136

A basic construct: the quotient of series

s′ ∈ K A∗

  • a1a2

a3 . . . an

slide-137
SLIDE 137

A basic construct: the quotient of series

s′ s′ ∈ K A∗

  • a1a2
slide-138
SLIDE 138

A basic construct: the quotient of series

k = s′, a3 . . . an = s, a1a2a3 . . . an

a1a2

k

slide-139
SLIDE 139

A basic construct: the quotient of series

k = s′, a3 . . . an = s, a1a2a3 . . . an s′ = [a1a2]−1s

a1a2

k The series s′ is the quotient of s by a1a2

slide-140
SLIDE 140

A basic construct: the quotient of series

s ∈ K A∗

  • u v
slide-141
SLIDE 141

A basic construct: the quotient of series

u

v

slide-142
SLIDE 142

A basic construct: the quotient of series

k = s′, v = s, u v

slide-143
SLIDE 143

A basic construct: the quotient of series

k = s′, v = s, u v s′ = u−1s The series s′ is the quotient of s by u

slide-144
SLIDE 144

The quotient operation

s ∈ K A∗

  • v ∈ A∗

v −1 s =

  • w∈A∗

s, v w w

slide-145
SLIDE 145

The quotient operation

s ∈ K A∗

  • v ∈ A∗

v −1 s =

  • w∈A∗

s, v w w v −1 : K A∗ − → K A∗

  • endomorphism of K-modules
slide-146
SLIDE 146

The quotient operation

s ∈ K A∗

  • v ∈ A∗

v −1 s =

  • w∈A∗

s, v w w v −1 : K A∗ − → K A∗

  • endomorphism of K-modules

v −1 (s + t) = v −1 s + v −1 t v −1 (k s) = k (v −1 s)

slide-147
SLIDE 147

The quotient operation

s ∈ K A∗

  • v ∈ A∗

v −1 s =

  • w∈A∗

s, v w w v −1 : K A∗ − → K A∗

  • endomorphism of K-modules

K A∗

  • K

A∗

  • A∗

s v −1s

Quotient is a (right) action of A∗ on K A∗

slide-148
SLIDE 148

The quotient operation

s ∈ K A∗

  • v ∈ A∗

v −1 s =

  • w∈A∗

s, v w w v −1 : K A∗ − → K A∗

  • endomorphism of K-modules

K A∗

  • K

A∗

  • A∗

s v −1s

Quotient is a (right) action of A∗ on K A∗

  • (u v)−1 s = v −1 (u−1 s)
slide-149
SLIDE 149

The minimal automaton

s ∈ K A∗

  • Rs =
  • v −1 s
  • v ∈ A∗
slide-150
SLIDE 150

The minimal automaton

s ∈ K A∗

  • Rs =
  • v −1 s
  • v ∈ A∗

Quotient turns Rs into the minimal automaton As of s (possibly infinite)

slide-151
SLIDE 151

The observation morphism

A = ( I, µ, T ) ΦA : KQ − → K A∗

  • ΦA(x) = ( x, µ, T ) =
  • w∈A∗

(x·µ(w)·T)w

slide-152
SLIDE 152

The observation morphism

A = ( I, µ, T ) ΦA : KQ − → K A∗

  • ΦA(x) = ( x, µ, T ) =
  • w∈A∗

(x·µ(w)·T)w s = ( I, µ, T ) = ΦA(I) w−1s = ( I · µ(w), µ, T )

slide-153
SLIDE 153

The observation morphism

A = ( I, µ, T ) ΦA : KQ − → K A∗

  • ΦA(x) = ( x, µ, T ) =
  • w∈A∗

(x·µ(w)·T)w s = ( I, µ, T ) = ΦA(I) w−1s = ( I · µ(w), µ, T ) w−1ΦA(x) = ΦA(x · µ(w))

slide-154
SLIDE 154

The observation morphism

A = ( I, µ, T ) ΦA : KQ − → K A∗

  • ΦA(x) = ( x, µ, T ) =
  • w∈A∗

(x·µ(w)·T)w w−1ΦA(x) = ΦA(x · µ(w))

KQ K A∗

  • ΦA

x t ΦA

slide-155
SLIDE 155

The observation morphism

A = ( I, µ, T ) ΦA : KQ − → K A∗

  • ΦA(x) = ( x, µ, T ) =
  • w∈A∗

(x·µ(w)·T)w w−1ΦA(x) = ΦA(x · µ(w))

KQ KQ K A∗

  • K

A∗

  • ΦA

ΦA A∗ A∗ x x · µ(a) t a−1t ΦA ΦA

The observation morphism is a morphism of actions

slide-156
SLIDE 156

The observation morphism

A = ( I, µ, T ) ΦA : KQ − → K A∗

  • ΦA(x) = ( x, µ, T ) =
  • w∈A∗

(x·µ(w)·T)w w−1ΦA(x) = ΦA(x · µ(w))

KA∗ KA∗ KQ KQ K A∗

  • K

A∗

  • ΨA

ΦA ΨA ΦA A∗ A∗ A∗ w w a x x · µ(a) t a−1t ΨA ΦA ΨA ΦA

The observation morphism is a morphism of actions

slide-157
SLIDE 157

The representation theorem

U ⊆ K A∗

  • submodule

U stable (by quotient)

Theorem (Fliess 71, Jacob 74)

s ∈ KRec A∗ ⇐ ⇒ ∃U stable finitely generated s ∈ U

slide-158
SLIDE 158

The representation theorem

U ⊆ K A∗

  • submodule

U stable (by quotient)

Theorem (Fliess 71, Jacob 74)

s ∈ KRec A∗ ⇐ ⇒ ∃U stable finitely generated s ∈ U KA∗ KA∗ KQ KQ K A∗

  • K

A∗

  • ΨA

ΦA ΨA ΦA A∗ A∗ A∗

slide-159
SLIDE 159

The representation theorem

U ⊆ K A∗

  • submodule

U stable (by quotient)

Theorem (Fliess 71, Jacob 74)

s ∈ KRec A∗ = ⇒ ∃U stable finitely generated s ∈ U 1A∗ ∈ KA∗ KA∗ I ∈ Im ΨA KQ KQ s ∈ ΦA(Im ΨA) K A∗

  • K

A∗

  • ΨA

ΦA ΨA ΦA A∗ A∗ A∗

slide-160
SLIDE 160

The representation theorem

U ⊆ K A∗

  • submodule

U stable (by quotient)

Theorem (Fliess 71, Jacob 74)

s ∈ KRec A∗ ⇐ = ∃U stable finitely generated s ∈ U KA∗ KA∗ KQ KQ K A∗

  • K

A∗

  • ΨA

ΦA ΨA ΦA A∗ A∗ A∗

slide-161
SLIDE 161

Lecture IV Reduction and morphisms

slide-162
SLIDE 162

Outline of Lecture IV

◮ An appetizing theorem ◮ Reduction of automata with weights in fields ◮ The decidability of equivalence problem ◮ The notion of conjugacy of automata ◮ Out-morphisms and In-morphisms of automata

slide-163
SLIDE 163

An appetizing result

K semiring A∗ free monoid

Definition

The Hadamard product of s, t ∈ K A∗ is ∀w ∈ A∗ s ⊙ t, w = s, w t, w

slide-164
SLIDE 164

An appetizing result

K semiring A∗ free monoid

Definition

The Hadamard product of s, t ∈ K A∗ is ∀w ∈ A∗ s ⊙ t, w = s, w t, w

Theorem If K is commutative, then KRec A∗ is closed under Hadamard product

slide-165
SLIDE 165

An appetizing result

K semiring A∗ free monoid

Definition

The Hadamard product of s, t ∈ K A∗ is ∀w ∈ A∗ s ⊙ t, w = s, w t, w

Theorem If K is commutative, then KRec A∗ is closed under Hadamard product

( I, µ, T ) ⊙ ( J, κ, U ) = ( I ⊗J, µ⊗κ, T ⊗U )

slide-166
SLIDE 166

An appetizing result

p q b a b 2a 2b

C1

j r s u

C2

b a b 2a 2b 2b 2a 2b 4a 4b b 2b b

C2 = C1⊗C1

slide-167
SLIDE 167

Reduced representation

A = ( I, µ, T ) A is reduced if its dimension is minimal (among all equivalent representations)

We suppose now that K is a (skew) field Proposition A is reduced iff ΨA is surjective and ΦA injective Theorem A reduced representation of A is effectively computable (with cubic complexity) Corollary Equivalence of K-recognisable series is decidable

slide-168
SLIDE 168

Equivalence of weighted automata

Equivalence of weighted automata with weights in the Boolean semiring B decidable a subsemiring of a field decidable (Z, min, +) undecidable Rat B∗ undecidable NRat B∗ decidable

slide-169
SLIDE 169

Equivalence of weighted automata

Equivalence of weighted automata with weights in the Boolean semiring B decidable a subsemiring of a field decidable (Z, min, +) undecidable Rat B∗ undecidable NRat B∗ decidable Equivalence of transducers undecidable transducers with multiplicity in N decidable functional transducers decidable finitely ambiguous (Z, min, +) decidable

slide-170
SLIDE 170

Conjugacy of automata Definition

Let A = I, E, T and B = J, F, U be two K-automata. A is conjugate to B if ∃X K-matrix I X = J, E X = X F, and T = X U

slide-171
SLIDE 171

Conjugacy of automata Definition

Let A = I, E, T and B = J, F, U be two K-automata. A is conjugate to B if ∃X K-matrix I X = J, E X = X F, and T = X U This is denoted as A

X

= ⇒ B .

slide-172
SLIDE 172

Conjugacy of automata

A′

1z 2z

  1 1 2  

⇐ = C′

2 1z 1z 2z

C′ =

  • 1

,   z z 2z  ,   1 2  

  • A′ =
  • 1

, z 2z

  • ,

1

  • 1

·   1 1 2   =

  • 1

,   z z 2z   ·   1 1 2   =   1 1 2   · z 2z

  • ,

  1 2   =   1 1 2   · 1

slide-173
SLIDE 173

Conjugacy of automata Definition

Let A = I, E, T and B = J, F, U be two K-automata. A is conjugate to B if ∃X K-matrix I X = J, E X = X F, and T = X U This is denoted as A

X

= ⇒ B .

slide-174
SLIDE 174

Conjugacy of automata Definition

Let A = I, E, T and B = J, F, U be two K-automata. A is conjugate to B if ∃X K-matrix I X = J, E X = X F, and T = X U This is denoted as A

X

= ⇒ B .

  • Conjugacy is a preorder

(transitive and reflexive, but not symmetric).

slide-175
SLIDE 175

Conjugacy of automata Definition

Let A = I, E, T and B = J, F, U be two K-automata. A is conjugate to B if ∃X K-matrix I X = J, E X = X F, and T = X U This is denoted as A

X

= ⇒ B .

  • Conjugacy is a preorder

(transitive and reflexive, but not symmetric).

  • A

X

= ⇒ B implies that A and B are equivalent.

slide-176
SLIDE 176

Conjugacy of automata Definition

Let A = I, E, T and B = J, F, U be two K-automata. A is conjugate to B if ∃X K-matrix I X = J, E X = X F, and T = X U This is denoted as A

X

= ⇒ B .

  • Conjugacy is a preorder

(transitive and reflexive, but not symmetric).

  • A

X

= ⇒ B implies that A and B are equivalent. I E E T

slide-177
SLIDE 177

Conjugacy of automata Definition

Let A = I, E, T and B = J, F, U be two K-automata. A is conjugate to B if ∃X K-matrix I X = J, E X = X F, and T = X U This is denoted as A

X

= ⇒ B .

  • Conjugacy is a preorder

(transitive and reflexive, but not symmetric).

  • A

X

= ⇒ B implies that A and B are equivalent. I E E T = I E E X U

slide-178
SLIDE 178

Conjugacy of automata Definition

Let A = I, E, T and B = J, F, U be two K-automata. A is conjugate to B if ∃X K-matrix I X = J, E X = X F, and T = X U This is denoted as A

X

= ⇒ B .

  • Conjugacy is a preorder

(transitive and reflexive, but not symmetric).

  • A

X

= ⇒ B implies that A and B are equivalent. I E E T = I E E X U = I E X F U

slide-179
SLIDE 179

Conjugacy of automata Definition

Let A = I, E, T and B = J, F, U be two K-automata. A is conjugate to B if ∃X K-matrix I X = J, E X = X F, and T = X U This is denoted as A

X

= ⇒ B .

  • Conjugacy is a preorder

(transitive and reflexive, but not symmetric).

  • A

X

= ⇒ B implies that A and B are equivalent. I E E T = I E E X U = I E X F U = I X F F U

slide-180
SLIDE 180

Conjugacy of automata Definition

Let A = I, E, T and B = J, F, U be two K-automata. A is conjugate to B if ∃X K-matrix I X = J, E X = X F, and T = X U This is denoted as A

X

= ⇒ B .

  • Conjugacy is a preorder

(transitive and reflexive, but not symmetric).

  • A

X

= ⇒ B implies that A and B are equivalent. I E E T = I E E X U = I E X F U = I X F F U = J F F U

slide-181
SLIDE 181

Conjugacy of automata Definition

Let A = I, E, T and B = J, F, U be two K-automata. A is conjugate to B if ∃X K-matrix I X = J, E X = X F, and T = X U This is denoted as A

X

= ⇒ B .

  • Conjugacy is a preorder

(transitive and reflexive, but not symmetric).

  • A

X

= ⇒ B implies that A and B are equivalent. I E E T = I E E X U = I E X F U = I X F F U = J F F U and then I E ∗ T = J F ∗ U

slide-182
SLIDE 182

Morphisms of weighted automata Definition

A map ϕ: Q → R defines a (Q×R)-amalgamation matrix Hϕ ϕ2 : {j, r, s, u} → {i, q, t} defines Hϕ2 =

    1 1 1 1    

slide-183
SLIDE 183

Morphisms of weighted automata Definition

A = I, E, T and B = J, F, U K-automata

  • f dimension Q and R.

A map ϕ: Q → R defines an Out-morphism ϕ: A → B if A is conjugate to B by the matrix Hϕ : A

= ⇒ B I Hϕ = J, E Hϕ = Hϕ F, T = Hϕ U B is a quotient of A

slide-184
SLIDE 184

Morphisms of weighted automata Definition

A = I, E, T and B = J, F, U K-automata

  • f dimension Q and R.

A map ϕ: Q → R defines an Out-morphism ϕ: A → B if A is conjugate to B by the matrix Hϕ : A

= ⇒ B I Hϕ = J, E Hϕ = Hϕ F, T = Hϕ U B is a quotient of A

Directed notion

slide-185
SLIDE 185

Morphisms of weighted automata Definition

A = I, E, T and B = J, F, U K-automata

  • f dimension Q and R.

A map ϕ: Q → R defines an Out-morphism ϕ: A → B if A is conjugate to B by the matrix Hϕ : A

= ⇒ B I Hϕ = J, E Hϕ = Hϕ F, T = Hϕ U B is a quotient of A

Directed notion Price to pay for the weight

slide-186
SLIDE 186

Morphisms of weighted automata

j r s u

C2

b a b 2a 2b 2b 2a 2b 4a 4b b 2b b

slide-187
SLIDE 187

Morphisms of weighted automata

ϕ2 : {j, r, s, u} → {i, q, t} j r s u

C2

b a b 2a 2b 2b 2a 2b 4a 4b b 2b b

Hϕ2 =

    1 1 1 1    

slide-188
SLIDE 188

Morphisms of weighted automata

ϕ2 : {j, r, s, u} → {i, q, t} j r s u

C2

b a b 2a 2b 2b 2a 2b 4a 4b b 2b b

Hϕ2 =

    1 1 1 1    

i q t

V2

2b 2b b a b 2a 2b 4a 4b

C2

Hϕ2

= ⇒ V2

slide-189
SLIDE 189

Morphisms of weighted automata Definition

A = I, E, T and B = J, F, U K-automata

  • f dimension Q and R.

A map ϕ: Q → R defines an Out-morphism ϕ: A → B if A is conjugate to B by the matrix Hϕ : A

= ⇒ B I Hϕ = J, E Hϕ = Hϕ F, T = Hϕ U B is a quotient of A

Directed notion Price to pay for the weight

slide-190
SLIDE 190

Morphisms of weighted automata Definition

A = I, E, T and B = J, F, U K-automata

  • f dimension Q and R.

A map ϕ: Q → R defines an In-morphism ϕ: A → B if A is conjugate to B by the matrix Hϕ : A

= ⇒ B I Hϕ = J, E Hϕ = Hϕ F, T = Hϕ U B is a quotient of A

Directed notion Price to pay for the weight

slide-191
SLIDE 191

Morphisms of weighted automata Definition

A = I, E, T and B = J, F, U K-automata

  • f dimension Q and R.

A map ϕ: Q → R defines an In-morphism ϕ: A → B if B is conjugate to A by the matrix

tHϕ :

B

tHϕ

= ⇒ A J tHϕ = I, F tHϕ = tHϕ E, U = tHϕ T B is a co-quotient of A

Directed notion Price to pay for the weight

slide-192
SLIDE 192

Morphisms of weighted automata

ϕ2 : {j, r, s, u} → {i, q, t} j r s u

C2

b a b 2a 2b 2b 2a 2b 4a 4b b 2b b

Hϕ2 =

    1 1 1 1    

i q t

V′

2

b 4b b a b 2a 2b 4a 4b

V′

2

tHϕ2

= ⇒ C2

slide-193
SLIDE 193

Morphisms of weighted automata

ϕ2 : {j, r, s, u} → {i, q, t} j r s u

C2

b a b 2a 2b 2b 2a 2b 4a 4b b 2b b

Hϕ2 =

    1 1 1 1    

i q t

V2

2b 2b b a b 2a 2b 4a 4b

i q t

V′

2

b 4b b a b 2a 2b 4a 4b

C2

Hϕ2

= ⇒ V2 V′

2

tHϕ2

= ⇒ C2

slide-194
SLIDE 194

Morphisms of weighted automata Definition

A = I, E, T and B = J, F, U K-automata

  • f dimension Q and R.

A map ϕ: Q → R defines an Out-morphism ϕ: A → B if A is conjugate to B by the matrix Hϕ : A

= ⇒ B B is a quotient of A

slide-195
SLIDE 195

Morphisms of weighted automata Definition

A = I, E, T and B = J, F, U K-automata

  • f dimension Q and R.

A map ϕ: Q → R defines an Out-morphism ϕ: A → B if A is conjugate to B by the matrix Hϕ : A

= ⇒ B B is a quotient of A

Theorem Every K-automaton has a minimal quotient that is effectively computable (by Moore algorithm).

slide-196
SLIDE 196

Documents for these lectures To be found at http://www.telecom-paristech.fr/∼jsaka/EWSCS2014/ In particular, a set of instructions for downloading a −α release of a pre-experimental version of the Vaucanson 2 platform implemented as a virtual machine interfaced with IPython