Introduction to weighted automata theory

Size: px
Start display at page:

Download "Introduction to weighted automata theory"

Transcription

1 Introduction to weighted automata theory Lectures given at the 19th Estonian Winter School in Computer Science Jacques Sakarovitch CNRS / Telecom ParisTech

2 Based on Chapter III Chapter 4

3 The presentation is very much inspired y a joint work with entitled Marie-Pierre Béal (Univ. Paris-Est) and Sylvain Lomardy (Univ. Bordeaux) On the equivalence and conjugacy of weighted automata, a first version of which has een pulished in Proc. of CSR 2006 and whose final complete version is still in preparation.

4 Lecture I The model of (finite) weighted automata

5 A touch of general system theory Finite control p State a 1 a 2 a 3 a 4 a n $ k 1 k 2 k 3 k 4 k l $ Paradigm of a machine for the computer scientists

6 A touch of general system theory output input Paradigm of a machine for the rest of the world

7 A touch of general system theory y α( ) x y = α(x) Paradigm of a machine for the rest of the world

8 A touch of general system theory y α( ) x y = α(x) x R n, y R m Paradigm of a machine for the rest of the world

9 Getting ack to computer science y α( ) x

10 Getting ack to computer science y α( ) w A The input elongs to a free monoid A

11 Getting ack to computer science B k α( ) w A The input elongs to a free monoid A The output elongs to the Boolean semiring B

12 Getting ack to computer science B k L w A L A The input elongs to a free monoid A The output elongs to the Boolean semiring B The function realised is a language

13 Getting ack to computer science B k α( ) (u, v) A B The input elongs to a direct product of free monoids A B The output elongs to the Boolean semiring B

14 Getting ack to computer science B k R (u, v) A B R A B The input elongs to a direct product of free monoids A B The output elongs to the Boolean semiring B The function realised is a relation etween words

15 The simplest Turing Machine Finite control p State a 1 a 2 a 3 a 4 a n $ Direction of movement of the read head The 1 way 1 tape Turing Machine (1W1TM)

16 The simplest Turing Machine is equivalent to finite automata a a B 1 p q

17 The simplest Turing Machine is equivalent to finite automata a a B 1 p q a A

18 The simplest Turing Machine is equivalent to finite automata a a B 1 p q a A p p p q a p a q q q

19 The simplest Turing Machine is equivalent to finite automata a a B 1 p q L(B 1 ) A a A p p p q a p a q q q L(B 1 )={w A w A A } = {w A w 1}

20 Rational (or regular) languages Languages accepted (or recognized) y finite automata = Languages descried y rational (or regular) expressions = Languages defined y MSO formulae

21 Remarkale features of the finite automaton model Decidale equivalence (decidale inclusion) Closure under complement Canonical automaton (minimal deterministic automaton)

22 Automata versus languages B 1 a a p q L(B 1 ) A

23 Automata versus languages B 1 a a p q L(B 1 ) A B 1 a p a q L(B 1 ) A

24 Automata versus languages B 1 a a p q L(B 1 ) A B 1 a p a q L(B 1 ) A L(B 1 )=L(B 1 )={ w A w 1 }

25 Automata versus languages B 1 a a p q L(B 1 ) A B 1 a p a q L(B 1 ) A L(B 1 )=L(B 1 )={ w A w 1 } = A A

26 Amiguity: a preliminary to multiplicity Here, automaton stands for classical (Boolean) automaton. Definition A (trim) automaton A is unamiguous if no word is the lael of more than one successful computation of A.

27 Amiguity: a preliminary to multiplicity Here, automaton stands for classical (Boolean) automaton. Definition A (trim) automaton A is unamiguous if no word is the lael of more than one successful computation of A. Theorem It is decidale whether an automaton is amiguous or not.

28 Amiguity: a preliminary to multiplicity Here, automaton stands for classical (Boolean) automaton. Definition A (trim) automaton A is unamiguous if no word is the lael of more than one successful computation of A. Theorem It is decidale whether an automaton is amiguous or not. Proof?

29 Amiguity: a preliminary to multiplicity a a B 1 p q L(B 1 )=A A

30 Amiguity: a preliminary to multiplicity a a B 1 p q L(B 1 )=A A B 1 a p a q L(B 1 )=A A

31 Amiguity: a preliminary to multiplicity a a B 1 p q L(B 1 )=A A B 1 a p a q L(B 1 )=A A Counting the numer of successful computations B 1 : a 2 B 1 : a 1

32 Amiguity: a preliminary to multiplicity a a B 1 p q L(B 1 )=A A B 1 a p a q L(B 1 )=A A Counting the numer of successful computations B 1 : w w B 1 : w 1

33 A new automaton model N k α( ) w A The input elongs to a free monoid A The output elongs to the integer semiring N

34 A new automaton model N k s w A s : A N The input elongs to a free monoid A The output elongs to the integer semiring N The function realised is a function from A to N

35 A new automaton model N k s w A s : A N s N A The input elongs to a free monoid A The output elongs to the integer semiring N The function realised is a function from A to N we call it aseries

36 A new automaton model N k s w A s : A N s N A s 1 = + a+ a+2+ aa+ +2a+3+ The input elongs to a free monoid A The output elongs to the integer semiring N The function realised is a function from A to N we call it aseries

37 The weighted automaton model a a B 1 p q

38 The weighted automaton model C 1 a 2a p q 2

39 The weighted automaton model C 1 a 2a p q 2 1 p p 1 p q a p 2 a q q 1 2 q 1

40 The weighted automaton model C 1 a 2a p q 2 1 p p 1 p q a p 2 a q q 1 2 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. lael w

41 The weighted automaton model C 1 a 2a p q 2 1 p p 1 p q a p 2 a q q 1 2 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. lael w a 1+4=5

42 The weighted automaton model C 1 a 2a p q 2 1 p p 1 p q a p 2 a q q 1 2 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. lael w a 1+4=5 = 101 2

43 The weighted automaton model a 2a C 1 p q C 1 N A 2 1 p p 1 p q a p 2 a q q 1 2 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. lael w a 1+4=5 C 1 : A N

44 The weighted automaton model a 2a C 1 p q C 1 N A 2 1 p p 1 p q a p 2 a q q 1 2 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. lael w C 1 = + a+2a+3+ aa+2aa+ +5a+

45 The weighted automaton model K k s w A s : A K s K A The input elongs to a free monoid A The output elongs to a semiring K The function realised is a function from A to K: aseriesin K A

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

47 Another example 0a 1a 0 p q 0 L 1 L 1 Zmin A 1 0

48 Another example 0a 1a 0 p q 0 L 1 L 1 Zmin A p p 1 0 q q 0 0 a p 1 a q 1 p 0 0 q 0

49 Another example 0a 1a 0 p q 0 L 1 L 1 Zmin A p p 1 0 q q 0 0 a p 1 a q 1 p 0 0 q 0 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 lael w.

50 Another example 0a 1a 0 p q 0 L 1 L 1 Zmin A p p 1 0 q q 0 0 a p 1 a q 1 p 0 0 q 0 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 lael w. a min( , 0+1+0)=1 L 1 : A Zmin

51 Another example 0a 1a 0 p q 0 L 1 L 1 Zmin A p p 1 0 q q 0 0 a p 1 a q 1 p 0 0 q 0 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 lael w. C 1 =01 A +0a +0 +1a +1a+0+ +1a+

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

53 Weighted automata theory is linear algera of computer science

54 The Turing Machine equivalent to finite transducers Finite control p State a 1 a 2 a 3 a 4 a n $ k 1 k 2 k 3 k 4 k l $ Direction of movement of the k read heads The 1 way k tape Turing Machine (1WkTM)

55 Outline of the lectures 1. Rationality 2. Recognisaility 3. Reduction and equivalence 4. Morphisms of automata

56 Lecture II Rationality

57 Outline of Lecture II The set of series K A is a K-algera. Automata are (essentially) matrices: A = I, E, T Computing the ehaviour of an automaton oils 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 y an infinite sum Id + E + E 2 + E 3 + :thestar of E What can e computed y a finite automaton is exactly what can e computed y the star operation (together with the algera operations)

58 The semiring K A K semiring A free monoid s K A s : A K s : w s, w s = s, w w w A Point-wise addition s + t, w = s, w + t, w Cauchy product st, w = s, u t, v uv=w {(u, v) uv = w} finite = Cauchy product well-defined K A is a semiring

59 The semiring K M K semiring M monoid s K M s : M K s : m s, m s = s, w w m M Point-wise addition s + t, m = s, m + t, m Cauchy product st, m = s, x t, y xy=m m {(x, y) xy = m} finite = Cauchy product well-defined

60 The semiring K M Conditions for {(x, y) xy = 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

61 The algera K M K semiring M f.g. graded monoid s K A s : A K s : w s, w s = s, w w w A Point-wise addition s + t, m = s, m + t, m Cauchy product st, m = s, x t, y xy=m External multiplication ks, m = k s, m K M is an algera

62 The star operation t K t = n N t n How to define infinite sums? Onepossilesolution Topology on K Definition of summale families and of their sum t defined if {t n } n N summale Other possile solutions axiomatic definition of star, equational definition of star

63 The star operation t K t = n N t n

64 The star operation t K t = n N t n K (0K ) =1 K 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.

65 The star operation t K t = n N t n In any case t =1 K + tt If K is a ring Star has the same flavor as the inverse t (1 K t) =1 K 1 K 1 K t =1 K + t + t t n +

66 Star of series s K A When is s = n N s n defined? Topology on K yields topology on K A s proper s 0 = s, 1 A =0 K s proper = s defined

67 Rational series K A K A sualgera of polynomials KRat A closure of K A under sum product exterior multiplication and star KRat A K A sualgera of rational series

68 Fundamental theorem of finite automata Theorem s KRat A A WA (A ) s = A

69 Fundamental theorem of finite automata Theorem s KRat A A WA (A ) s = A Kleene theorem?

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

71 Automata are matrices C 1 a 2a p q 2 C 1 = I 1, E 1, T 1 = ( ) ( ) (1 ) a + 0 0,, 0 2a +2 1.

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

73 Automata are matrices A = I, E, T E = incidence matrix Notation wl(x) = weighted lael of x In our model, e transition wl(e) =ka

74 Automata are matrices A = I, E, T E = incidence matrix Notation wl(x) = weighted lael of x In our model, e transition wl(e) =ka E p,q = {wl(e) e transition from p to q}

75 Automata are matrices A = I, E, T E = incidence matrix Notation wl(x) = weighted lael of x In our model, e transition wl(e) =ka E p,q = {wl(e) e transition from p to q} Lemma E n p,q = {wl(c) c computation from p to q of length n}

76 Automata are matrices A = I, E, T E = incidence matrix E p,q = {wl(e) e transition from p to q}

77 Automata are matrices A = I, E, T E = incidence matrix E p,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}

78 Automata are matrices A = I, E, T E = incidence matrix E p,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

79 Automata are matrices K semiring M graded monoid K M Q Q is isomorphic to K Q Q M E K M Q Q E proper = E defined

80 Automata are matrices K semiring M graded monoid K M Q Q is isomorphic to K Q 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

81 Fundamental theorem of finite automata K semiring M graded monoid K M Q Q is isomorphic to K Q 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 ehaviours of weighted automata over M with coefficients in K is rationally closed.

82 The collect theorem K A B is isomorphic to [K B ] A Theorem Under the aove isomorphism, KRat A B corresponds to [KRat B ] Rat A

83 Lecture III Recognisaility

84 Outline of Lecture III Representation and recognisale series. Automata over free monoids are representations The notion of action and deterministic automata The reachaility space and the control morphism The notion of quotient and the minimal automaton The oservation morphism The representation theorem

85 Recognisale series K semiring A free monoid

86 Recognisale series K semiring A free monoid K-representation Q finite µ: A K Q Q morphism ( I,µ,T ) I K 1 Q µ: A K Q Q T K Q 1

87 Recognisale series K semiring A free monoid K-representation Q finite µ: A K Q Q morphism ( I,µ,T ) I K 1 Q µ: A K Q Q T K Q 1 ( I,µ,T ) realises (recognises) s K A w A s, w = I µ(w) T

88 Recognisale series K semiring A free monoid K-representation Q finite µ: A K Q Q morphism ( I,µ,T ) I K 1 Q µ: A K Q Q T K Q 1 ( I,µ,T ) realises (recognises) s K A w A s, w = I µ(w) T s K A recognisale if s realised y a K-representation

89 Recognisale series K semiring A free monoid K-representation Q finite µ: A K Q Q morphism ( I,µ,T ) I K 1 Q µ: A K Q Q T K Q 1 ( I,µ,T ) realises (recognises) s K A w A s, w = I µ(w) T s K A recognisale if s realised y a K-representation KRec A K A sumodule of recognisale series

90 Recognisale series K semiring A free monoid K-representation Q finite µ: A K Q Q morphism ( I,µ,T ) I K 1 Q µ: A K Q Q T K Q 1 Example ( I,µ,T ) realises (recognises) s K A w A I = ( 1 0 ), µ(a) = ( I,µ,T ) realises s, w = I µ(w) T ( ) 1 0, µ() = 0 1 w A w w ( ) 1 1, T = 0 1 KRec A ( ) 0 1

91 Recognisale series K semiring M monoid K-representation Q finite µ: A K Q Q morphism ( I,µ,T ) I K 1 Q µ: A K Q Q T K Q 1 ( I,µ,T ) realises (recognises) s K A w A s, w = I µ(w) T

92 Recognisale series K semiring M monoid K-representation Q finite µ: M K Q Q morphism ( I,µ,T ) I K 1 Q µ: M K Q Q T K Q 1 ( I,µ,T ) realises (recognises) s K A w A s, w = I µ(w) T

93 Recognisale series K semiring M monoid K-representation Q finite µ: M K Q Q morphism ( I,µ,T ) I K 1 Q µ: M K Q Q T K Q 1 ( I,µ,T ) realises (recognises) s K M m M s, m = I µ(m) T

94 Recognisale series K semiring M monoid K-representation Q finite µ: M K Q Q morphism ( I,µ,T ) I K 1 Q µ: M K Q Q T K Q 1 ( I,µ,T ) realises (recognises) s K M m M s, m = I µ(m) T s K M recognisale if s realised y a K-representation

95 Recognisale series K semiring M monoid K-representation Q finite µ: M K Q Q morphism ( I,µ,T ) I K 1 Q µ: M K Q Q T K Q 1 ( I,µ,T ) realises (recognises) s K M m M s, m = I µ(m) T s K M recognisale if s realised y a K-representation KRec M K M sumodule of recognisale series

96 The key lemma K semiring A free monoid

97 The key lemma K semiring A free monoid µ: A K Q Q defined y {µ(a)} a A

98 The key lemma K semiring M monoid µ: A K Q Q defined y {µ(a)} a A

99 The key lemma K semiring M monoid µ: M K Q Q defined y?

100 The key lemma K semiring A free monoid µ: A K Q Q defined y {µ(a)} a A

101 The key lemma K semiring A free monoid µ: A K Q Q defined y {µ(a)} a A Lemma µ: A K Q Q X = a A µ(a)a w A X, w = µ(w)

102 Automata are matrices C 1 a 2a p q C 1 = I 1, E 1, T 1 = 2 ( ) ( ) (1 ) a + 0 0,, 0 2a +2 1.

103 Automata over free monoids are representations a 2a C 1 p q ( ) ( ) (1 ) a + 0 C 1 = I 1, E 1, T 1 = 0,, 0 2a +2 1 ( ) ( ) E 1 = a

104 Automata over free monoids are representations C 1 a p ( ) ( ) (1 ) a + 0 C 1 = I 1, E 1, T 1 = 0,, 0 2a +2 1 ( ) ( ) E 1 = a C 1 =(I 1,µ 1, T 1 ) µ 1 (a) = 2a 2 q ( ) 1 0, µ () =. ( )

105 Automata over free monoids are representations C 1 a p ( ) ( ) (1 ) a + 0 C 1 = I 1, E 1, T 1 = 0,, 0 2a +2 1 ( ) ( ) E 1 = a C 1 =(I 1,µ 1, T 1 ) µ 1 (a) = C 1 = I 1 E 1 T 1 = 2a 2 q w A (I 1 µ 1 (w) T 1 )w ( ) 1 0, µ () =. ( )

106 Automata over free monoids are representations C 1 a p ( ) ( ) (1 ) a + 0 C 1 = I 1, E 1, T 1 = 0,, 0 2a +2 1 ( ) ( ) E 1 = a C 1 =(I 1,µ 1, T 1 ) µ 1 (a) = 2a 2 q ( ) 1 0, µ () =. ( ) C 1 = I 1 E 1 T 1 = w A (I 1 µ 1 (w) T 1 )w C 1 KRec A

107 Automata over free monoids are representations C 1 a p ( ) ( ) (1 ) a + 0 C 1 = I 1, E 1, T 1 = 0,, 0 2a +2 1 ( ) ( ) E 1 = a C 1 =(I 1,µ 1, T 1 ) µ 1 (a) = 2a 2 q ( ) 1 0, µ () =. ( ) Conversely, representations are automata

108 The Kleene-Schützenerger Theorem Fundamental Theorem of Finite Automata and Key Lemma yield Theorem A finite KRec A = KRat A

109 The reachaility set A =(I,µ,T )

110 The reachaility set A =(I,µ,T ) Reachaility set Reachaility space R A = {I µ(w) w A } R A K Q R A

111 The reachaility set A =(I,µ,T ) Reachaility set Reachaility space R A = {I µ(w) w A } R A K Q R A A acts on R A : (I µ(w)) a =(I µ(w)) µ(a) =I µ(wa)

112 The reachaility set A =(I,µ,T ) Reachaility set Reachaility space R A = {I µ(w) w A } R A K Q R A A acts on R A : (I µ(w)) a =(I µ(w)) µ(a) =I µ(wa) This action turns R A into a deterministic automaton  (possily infinite)

113 The reachaility set C 1 =(I 1,µ 1, T 1 ) Ĉ 1 ( 1 3 ) 3 a ( 1 7 ) 7 ( 1 6 ) ( 1 1 ) 1 0 ( ) a a ( 1 2 ) 2 a 6 ( 1 5 ) 5 ( 1 4 ) 4

114 The reachaility set A =(I,µ,T ) Reachaility set Reachaility space R A = {I µ(w) w A } R A K Q R A R A is turned into a deterministic automaton Â

115 The reachaility set A =(I,µ,T ) Reachaility set Reachaility space R A = {I µ(w) w A } R A K Q R A R A is turned into a deterministic automaton  If K = B,  is the (classical) determinisation of A

116 The reachaility set A =(I,µ,T ) Reachaility set Reachaility space R A = {I µ(w) w A } R A K Q R A R A is turned into a deterministic automaton  If K = B,  is the (classical) determinisation of A If K is locally finite, R A and  are finite.

117 The reachaility set A =(I,µ,T ) Reachaility set Reachaility space R A = {I µ(w) w A } R A K Q R A R A is turned into a deterministic automaton  If K = B,  is the (classical) determinisation of A If K is locally finite, R A and  are finite. Counting in a locally finite semiring is not really counting

118 The control morphism A =(I,µ,T ) Reachaility set Reachaility space R A = {I µ(w) w A } R A K Q R A

119 The control morphism A =(I,µ,T ) Reachaility set Reachaility space R A = {I µ(w) w A } R A K Q R A Ψ A : K A K Q w A Ψ A (w) =I µ(w)

120 The control morphism A =(I,µ,T ) Reachaility set Reachaility space R A = {I µ(w) w A } R A K Q R A Ψ A : K A K Q w A Ψ A (w) =I µ(w) R A =Ψ A (A ) ImΨ A =Ψ A (K A )= R A

121 The control morphism A =(I,µ,T ) Reachaility set Reachaility space R A = {I µ(w) w A } R A K Q R A Ψ A : K A K Q w A Ψ A (w) =I µ(w) R A =Ψ A (A ) ImΨ A =Ψ A (K A )= R A K A Ψ A K Q The control morphism

122 The control morphism A =(I,µ,T ) Reachaility set Reachaility space R A = {I µ(w) w A } R A K Q R A Ψ A : K A K Q w A Ψ A (w) =I µ(w) R A =Ψ A (A ) ImΨ A =Ψ A (K A )= R A K A w Ψ A Ψ A K Q x The control morphism

123 The control morphism A =(I,µ,T ) Reachaility set Reachaility space R A = {I µ(w) w A } R A K Q R A Ψ A : K A K Q w A Ψ A (w) =I µ(w) R A =Ψ A (A ) ImΨ A =Ψ A (K A )= R A A K A K A w wa Ψ A Ψ A K Q x The control morphism

124 The control morphism A =(I,µ,T ) Reachaility set Reachaility space R A = {I µ(w) w A } R A K Q R A Ψ A : K A K Q w A Ψ A (w) =I µ(w) R A =Ψ A (A ) ImΨ A =Ψ A (K A )= R A A K A K A w wa Ψ A K Q A K Q Ψ A Ψ A x Ψ A x µ(a) The control morphism is a morphism of actions

125 A asic construct: the quotient of series a 1 a 2 a 3...a n s K A The input elongs to a free monoid A

126 A asic construct: the quotient of series a 1 a 2 a 3...a n s K A The input elongs to a free monoid A

127 A asic construct: the quotient of series a 1 a 2 a 3...a n s K A The input elongs to a free monoid A

128 A asic construct: the quotient of series a 1 a 2...a n s K A The input elongs to a free monoid A

129 A asic construct: the quotient of series s s K A The input elongs to a free monoid A

130 A asic construct: the quotient of series s, a 1...a n = k s K A The input elongs to a free monoid A

131 A asic construct: the quotient of series a 1 a 2 a 3...a n s K A

132 A asic construct: the quotient of series a 1 a 2 a 3...a n s K A

133 A asic construct: the quotient of series a 1 a 2 a 3...a n s K A

134 A asic construct: the quotient of series s a 1 a 2 s K A

135 A asic construct: the quotient of series s, a 1...a n = k s K A

136 A asic construct: the quotient of series a 1 a 2 a 3...a n s K A

137 A asic construct: the quotient of series s a 1 a 2 s K A

138 A asic construct: the quotient of series k a 1 a 2 k = s, a 3...a n = s, a 1 a 2 a 3...a n

139 A asic construct: the quotient of series k a 1 a 2 k = s, a 3...a n = s, a 1 a 2 a 3...a n s =[a 1 a 2 ] 1 s The series s is the quotient of s y a 1 a 2

140 A asic construct: the quotient of series uv s K A

141 A asic construct: the quotient of series u v

142 A asic construct: the quotient of series k = s, v = s, uv

143 A asic construct: the quotient of series k = s, v = s, uv s = u 1 s The series s is the quotient of s y u

144 The quotient operation s K A v A v 1 s = w A s, vw w

145 The quotient operation s K A v A v 1 s = w A s, vw w v 1 : K A K A endomorphism of K-modules

146 The quotient operation s K A v A v 1 s = w A s, vw w v 1 : K A K A endomorphism of K-modules v 1 (s + t) =v 1 s + v 1 t v 1 (ks)=k (v 1 s)

147 The quotient operation s K A v A v 1 s = w A s, vw w v 1 : K A K A endomorphism of K-modules A K A K A s v 1 s Quotient is a (right) action of A on K A

148 The quotient operation s K A v A v 1 s = w A s, vw w v 1 : K A K A endomorphism of K-modules A K A K A s v 1 s Quotient is a (right) action of A on K A (uv) 1 s = v 1 (u 1 s)

149 The minimal automaton s K A R s = { v 1 s v A }

150 The minimal automaton s K A R s = { v 1 s v A } Quotient turns R s into the minimal automaton A s of s (possily infinite)

151 The oservation morphism A =(I,µ,T ) Φ A : K Q K A Φ A (x) =( x,µ,t ) = w A (x µ(w) T )w

152 The oservation morphism A =(I,µ,T ) Φ A : K Q K A Φ A (x) =( x,µ,t ) = w A (x µ(w) T )w s = ( I,µ,T ) =Φ A (I ) w 1 s = ( I µ(w),µ,t )

153 The oservation morphism A =(I,µ,T ) Φ A : K Q K A Φ A (x) =( x,µ,t ) = w A (x µ(w) T )w s = ( I,µ,T ) =Φ A (I ) w 1 s = ( I µ(w),µ,t ) w 1 Φ A (x) =Φ A (x µ(w))

154 The oservation morphism A =(I,µ,T ) Φ A : K Q K A Φ A (x) =( x,µ,t ) = (x µ(w) T )w w A w 1 Φ A (x) =Φ A (x µ(w)) K Q x Φ A Φ A K A t

155 The oservation morphism A =(I,µ,T ) Φ A : K Q K A Φ A (x) =( x,µ,t ) = (x µ(w) T )w w A w 1 Φ A (x) =Φ A (x µ(w)) K Q A K Q x x µ(a) Φ A A Φ A K A K A Φ A t a 1 t Φ A The oservation morphism is a morphism of actions

156 The oservation morphism A =(I,µ,T ) Φ A : K Q K A Φ A (x) =( x,µ,t ) = (x µ(w) T )w w A w 1 Φ A (x) =Φ A (x µ(w)) A K A K A w wa Ψ A K Q A K Q Ψ A Ψ A x Ψ A x µ(a) Φ A A Φ A K A K A Φ A t a 1 t Φ A The oservation morphism is a morphism of actions

157 The representation theorem U K A sumodule U stale (y quotient) Theorem (Fliess 71, Jaco 74) s KRec A U stale finitely generated s U

158 The representation theorem U K A sumodule U stale (y quotient) Theorem (Fliess 71, Jaco 74) s KRec A U stale finitely generated s U A K A K A Ψ A K Q A K Q Ψ A Φ A A Φ A K A K A

159 The representation theorem U K A sumodule U stale (y quotient) Theorem (Fliess 71, Jaco 74) s KRec A = U stale finitely generated s U 1 A K A K A Ψ A I Im Ψ A K Q K Q Φ A s Φ A (Im Ψ A ) K A K A A A A Ψ A Φ A

160 The representation theorem U K A sumodule U stale (y quotient) Theorem (Fliess 71, Jaco 74) s KRec A = U stale finitely generated s U A K A K A Ψ A K Q A K Q Ψ A Φ A A Φ A K A K A

161 Lecture IV Reduction and morphisms

162 Outline of Lecture IV An appetizing theorem Reduction of automata with weights in fields The decidaility of equivalence prolem The notion of conjugacy of automata Out-morphisms and In-morphisms of automata

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

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

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 )

166 An appetizing result C 1 a 2a p q 2 C 2 a j 2a r C 2 = C 1 C 1 2 2a s 2 2 u 4a 2 4

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 computale (with cuic complexity) Corollary Equivalence of K-recognisale series is decidale

168 Equivalence of weighted automata Equivalence of weighted automata with weights in the Boolean semiring B a susemiring of a field (Z, min, +) Rat B NRat B decidale decidale undecidale undecidale decidale

169 Equivalence of weighted automata Equivalence of weighted automata with weights in the Boolean semiring B a susemiring of a field (Z, min, +) Rat B NRat B decidale decidale undecidale undecidale decidale Equivalence of transducers undecidale transducers with multiplicity in N decidale functional transducers finitely amiguous (Z, min, +) decidale decidale

170 Conjugacy of automata Definition Let A = I, E, T and B = J, F, U e two K-automata. A is conjugate to B if X K-matrix IX = J, EX = XF, and T = XU

171 Conjugacy of automata Definition Let A = I, E, T and B = J, F, U e two K-automata. A is conjugate to B if X K-matrix IX = J, EX = XF, and T = XU This is denoted as A X = B.

172 Conjugacy of automata C = ( ) 0 z , 0 0 z, z 2 A = (1 ) 0, ( ) ( ) 0 z 0 2z, 0 1 ( ) 0 1 = ( 1 0 ), z z 0 1 = 0 1 (0 ) z 0 2z, 0 0 2z = 0 1 (0) A 1z 2z = 1z 1z 2z 2 C

173 Conjugacy of automata Definition Let A = I, E, T and B = J, F, U e two K-automata. A is conjugate to B if X K-matrix IX = J, EX = XF, and T = XU This is denoted as A X = B.

174 Conjugacy of automata Definition Let A = I, E, T and B = J, F, U e two K-automata. A is conjugate to B if X K-matrix IX = J, EX = XF, and T = XU This is denoted as A = X B. Conjugacy is a preorder (transitive and reflexive, ut not symmetric).

175 Conjugacy of automata Definition Let A = I, E, T and B = J, F, U e two K-automata. A is conjugate to B if X K-matrix IX = J, EX = XF, and T = XU This is denoted as A = X B. Conjugacy is a preorder (transitive and reflexive, ut not symmetric). A X = B implies that A and B are equivalent.

176 Conjugacy of automata Definition Let A = I, E, T and B = J, F, U e two K-automata. A is conjugate to B if X K-matrix IX = J, EX = XF, and T = XU This is denoted as A = X B. Conjugacy is a preorder (transitive and reflexive, ut not symmetric). A X = B implies that A and B are equivalent. IEET

177 Conjugacy of automata Definition Let A = I, E, T and B = J, F, U e two K-automata. A is conjugate to B if X K-matrix IX = J, EX = XF, and T = XU This is denoted as A = X B. Conjugacy is a preorder (transitive and reflexive, ut not symmetric). A X = B implies that A and B are equivalent. IEET = IEEXU

178 Conjugacy of automata Definition Let A = I, E, T and B = J, F, U e two K-automata. A is conjugate to B if X K-matrix IX = J, EX = XF, and T = XU This is denoted as A = X B. Conjugacy is a preorder (transitive and reflexive, ut not symmetric). A X = B implies that A and B are equivalent. IEET = IEEXU= IEXFU

179 Conjugacy of automata Definition Let A = I, E, T and B = J, F, U e two K-automata. A is conjugate to B if X K-matrix IX = J, EX = XF, and T = XU This is denoted as A = X B. Conjugacy is a preorder (transitive and reflexive, ut not symmetric). A X = B implies that A and B are equivalent. IEET = IEEXU= IEXFU= IXFFU

180 Conjugacy of automata Definition Let A = I, E, T and B = J, F, U e two K-automata. A is conjugate to B if X K-matrix IX = J, EX = XF, and T = XU This is denoted as A = X B. Conjugacy is a preorder (transitive and reflexive, ut not symmetric). A X = B implies that A and B are equivalent. IEET = IEEXU= IEXFU= IXFFU= JFFU

181 Conjugacy of automata Definition Let A = I, E, T and B = J, F, U e two K-automata. A is conjugate to B if X K-matrix IX = J, EX = XF, and T = XU This is denoted as A = X B. Conjugacy is a preorder (transitive and reflexive, ut not symmetric). A X = B implies that A and B are equivalent. IEET = IEEXU= IEXFU= IXFFU= JFFU and then IE T = JF U

182 Morphisms of weighted automata Definition Amap ϕ: Q R defines a (Q R)-amalgamation matrix H ϕ ϕ 2 : {j, r, s, u} {i, q, t} defines H ϕ2 =

183 Morphisms of weighted automata Definition A = I, E, T and B = J, F, U Amap ϕ: Q R defines K-automata of dimension Q and R. an Out-morphism ϕ: A B if A is conjugate to B y the matrix H ϕ : A Hϕ = B IH ϕ = J, EH ϕ = H ϕ F, T = H ϕ U B is a quotient of A

184 Morphisms of weighted automata Definition A = I, E, T and B = J, F, U Amap ϕ: Q R defines K-automata of dimension Q and R. an Out-morphism ϕ: A B if A is conjugate to B y the matrix H ϕ : A Hϕ = B IH ϕ = J, EH ϕ = H ϕ F, T = H ϕ U B is a quotient of A Directed notion

185 Morphisms of weighted automata Definition A = I, E, T and B = J, F, U Amap ϕ: Q R defines K-automata of dimension Q and R. an Out-morphism ϕ: A B if A is conjugate to B y the matrix H ϕ : A Hϕ = B IH ϕ = J, EH ϕ = H ϕ F, T = H ϕ U B is a quotient of A Directed notion Price to pay for the weight

186 Morphisms of weighted automata a 2a C 2 j r 2 2a 2 4a 2 s u 2 4

187 ϕ 2 : {j, r, s, u} {i, q, t} Morphisms of weighted automata a 2a C 2 j r 2 2a 2 s u 4a H ϕ2 =

188 ϕ 2 : {j, r, s, u} {i, q, t} Morphisms of weighted automata a 2a C 2 j r 2 2a 2 s u 4a H ϕ2 = V 2 a 2a i 2 q 2 t 4a 2 4 C 2 H ϕ2 = V2

189 Morphisms of weighted automata Definition A = I, E, T and B = J, F, U Amap ϕ: Q R defines K-automata of dimension Q and R. an Out-morphism ϕ: A B if A is conjugate to B y the matrix H ϕ : A Hϕ = B IH ϕ = J, EH ϕ = H ϕ F, T = H ϕ U B is a quotient of A Directed notion Price to pay for the weight

190 Morphisms of weighted automata Definition A = I, E, T and B = J, F, U K-automata of dimension Q and R. Amap ϕ: Q R defines an In-morphism ϕ: A B if A is conjugate to B y the matrix H ϕ : A Hϕ = B IH ϕ = J, EH ϕ = H ϕ F, T = H ϕ U B is a quotient of A Directed notion Price to pay for the weight

191 Morphisms of weighted automata Definition A = I, E, T and B = J, F, U K-automata of dimension Q and R. Amap ϕ: Q R defines an In-morphism ϕ: A B if B is conjugate to A y the matrix t H ϕ : B t H ϕ = A J t H ϕ = I, F t H ϕ = t H ϕ E, U = t H ϕ T B is a co-quotient of A Directed notion Price to pay for the weight

192 ϕ 2 : {j, r, s, u} {i, q, t} Morphisms of weighted automata a 2a C 2 j r 2 2a 2 s u 4a H ϕ2 = a 2a 4 i q t V 2 4a V 2 2 t H ϕ2 = C2 4

193 ϕ 2 : {j, r, s, u} {i, q, t} Morphisms of weighted automata a 2a C 2 j r 2 2a 2 s u 4a H ϕ2 = V 2 a 2a i 2 q 2 t 4a a 2a 4 i q t V 2 4a C 2 H ϕ2 = V2 V 2 t H ϕ2 = C2

194 Morphisms of weighted automata Definition A = I, E, T and B = J, F, U Amap ϕ: Q R defines K-automata of dimension Q and R. an Out-morphism ϕ: A B if A is conjugate to B y the matrix H ϕ : A Hϕ = B B is a quotient of A

195 Morphisms of weighted automata Definition A = I, E, T and B = J, F, U Amap ϕ: Q R defines K-automata of dimension Q and R. an Out-morphism ϕ: A B if A is conjugate to B y the matrix H ϕ : A Hϕ = B B is a quotient of A Theorem Every K-automaton has a minimal quotient that is effectively computale (y Moore algorithm).

196 Documents for these lectures To e found at 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

Five lectures in the theory of Weighted Automata and Transducers

Five lectures in the theory of Weighted Automata and Transducers Five lectures in the theory of Weighted Automata and Transducers Jacques Sakarovitch IRIF/CNRS Université Paris Diderot & Telecom-ParisTech December 2018 January 2019 Lectures notes of the Master Parisien

More information

An algebraic characterization of unary two-way transducers

An algebraic characterization of unary two-way transducers An algebraic characterization of unary two-way transducers (Extended Abstract) Christian Choffrut 1 and Bruno Guillon 1 LIAFA, CNRS and Université Paris 7 Denis Diderot, France. Abstract. Two-way transducers

More information

On the Accepting Power of 2-Tape Büchi Automata

On the Accepting Power of 2-Tape Büchi Automata On the Accepting Power of 2-Tape Büchi Automata Equipe de Logique Mathématique Université Paris 7 STACS 2006 Acceptance of infinite words In the sixties, Acceptance of infinite words by finite automata

More information

On Decision Problems for Probabilistic Büchi Automata

On Decision Problems for Probabilistic Büchi Automata On Decision Prolems for Proailistic Büchi Automata Christel Baier 1, Nathalie Bertrand 2, Marcus Größer 1 1 TU Dresden, Germany 2 IRISA, INRIA Rennes, France Cachan 05 février 2008 Séminaire LSV 05/02/08,

More information

Languages. A language is a set of strings. String: A sequence of letters. Examples: cat, dog, house, Defined over an alphabet:

Languages. A language is a set of strings. String: A sequence of letters. Examples: cat, dog, house, Defined over an alphabet: Languages 1 Languages A language is a set of strings String: A sequence of letters Examples: cat, dog, house, Defined over an alphaet: a,, c,, z 2 Alphaets and Strings We will use small alphaets: Strings

More information

Automata, Logic and Games: Theory and Application

Automata, Logic and Games: Theory and Application Automata, Logic and Games: Theory and Application 2 Parity Games, Tree Automata, and S2S Luke Ong University of Oxford TACL Summer School University of Salerno, 14-19 June 2015 Luke Ong S2S 14-19 June

More information

Lecture IV. Transducers (1) The 2-tape Turing machine model

Lecture IV. Transducers (1) The 2-tape Turing machine model Lecture IV Transducers (1) The 2-tape Turing machine model This part which spans over the last two lectures studies the model of finite automata with output which are usualy called transducers. They can

More information

TECHNISCHE UNIVERSITÄT DRESDEN. Fakultät Informatik. Technische Berichte Technical Reports. D. Kirsten 1 G. Richomme 2. TUD/FI99/03 - April 1999

TECHNISCHE UNIVERSITÄT DRESDEN. Fakultät Informatik. Technische Berichte Technical Reports. D. Kirsten 1 G. Richomme 2. TUD/FI99/03 - April 1999 TECHNISCHE UNIVERSITÄT DRESDEN Fakultät Informatik Technische Berichte Technical Reports ISSN 1430-211X TUD/FI99/03 - April 1999 D. Kirsten 1 G. Richomme 2 1 Institut für Softwaretechnik I, Grundlagen

More information

Duality and Automata Theory

Duality and Automata Theory Duality and Automata Theory Mai Gehrke Université Paris VII and CNRS Joint work with Serge Grigorieff and Jean-Éric Pin Elements of automata theory A finite automaton a 1 2 b b a 3 a, b The states are

More information

Rational and recognisable power series

Rational and recognisable power series Rational and recognisable power series Jacques Sakarovitch 1 LTCI, ENST / CNRS 46 rue Barrault, F-75634 Paris Cedex 13, France sakarovitch@enst.fr Draft of a chapter for the HANDBOOK OF WEIGHTED AUTOMATA

More information

The WHILE Hierarchy of Program Schemes is Infinite

The WHILE Hierarchy of Program Schemes is Infinite The WHILE Hierarchy of Program Schemes is Infinite Can Adam Alayrak and Thomas Noll RWTH Aachen Ahornstr. 55, 52056 Aachen, Germany alayrak@informatik.rwth-aachen.de and noll@informatik.rwth-aachen.de

More information

Quivers. Virginia, Lonardo, Tiago and Eloy UNICAMP. 28 July 2006

Quivers. Virginia, Lonardo, Tiago and Eloy UNICAMP. 28 July 2006 Quivers Virginia, Lonardo, Tiago and Eloy UNICAMP 28 July 2006 1 Introduction This is our project Throughout this paper, k will indicate an algeraically closed field of characteristic 0 2 Quivers 21 asic

More information

Homotopy-theory techniques in commutative algebra

Homotopy-theory techniques in commutative algebra Homotopy-theory techniques in commutative algebra Department of Mathematical Sciences Kent State University 09 January 2007 Departmental Colloquium Joint with Lars W. Christensen arxiv: math.ac/0612301

More information

MATH 433 Applied Algebra Lecture 22: Semigroups. Rings.

MATH 433 Applied Algebra Lecture 22: Semigroups. Rings. MATH 433 Applied Algebra Lecture 22: Semigroups. Rings. Groups Definition. A group is a set G, together with a binary operation, that satisfies the following axioms: (G1: closure) for all elements g and

More information

CATEGORY THEORY. Cats have been around for 70 years. Eilenberg + Mac Lane =. Cats are about building bridges between different parts of maths.

CATEGORY THEORY. Cats have been around for 70 years. Eilenberg + Mac Lane =. Cats are about building bridges between different parts of maths. CATEGORY THEORY PROFESSOR PETER JOHNSTONE Cats have been around for 70 years. Eilenberg + Mac Lane =. Cats are about building bridges between different parts of maths. Definition 1.1. A category C consists

More information

Computability and Complexity

Computability and Complexity Computability and Complexity Lecture 5 Reductions Undecidable problems from language theory Linear bounded automata given by Jiri Srba Lecture 5 Computability and Complexity 1/14 Reduction Informal Definition

More information

Introduction to Kleene Algebras

Introduction to Kleene Algebras Introduction to Kleene Algebras Riccardo Pucella Basic Notions Seminar December 1, 2005 Introduction to Kleene Algebras p.1 Idempotent Semirings An idempotent semiring is a structure S = (S, +,, 1, 0)

More information

On closures of lexicographic star-free languages. E. Ochmański and K. Stawikowska

On closures of lexicographic star-free languages. E. Ochmański and K. Stawikowska On closures of lexicographic star-free languages E. Ochmański and K. Stawikowska Preprint No 7/2005 Version 1, posted on April 19, 2005 On closures of lexicographic star-free languages Edward Ochma ski

More information

Introduction to the Theory of Computation. Automata 1VO + 1PS. Lecturer: Dr. Ana Sokolova.

Introduction to the Theory of Computation. Automata 1VO + 1PS. Lecturer: Dr. Ana Sokolova. Introduction to the Theory of Computation Automata 1VO + 1PS Lecturer: Dr. Ana Sokolova http://cs.uni-salzburg.at/~anas/ Setup and Dates Lectures and Instructions 23.10. 3.11. 17.11. 24.11. 1.12. 11.12.

More information

Average Value and Variance of Pattern Statistics in Rational Models

Average Value and Variance of Pattern Statistics in Rational Models Average Value and Variance of Pattern Statistics in Rational Models Massimiliano Goldwurm and Roberto Radicioni Università degli Studi di Milano Dipartimento di Scienze dell Informazione Via Comelico 39,

More information

Reversal of regular languages and state complexity

Reversal of regular languages and state complexity Reversal of regular languages and state complexity Juraj Šeej Institute of Computer Science, Faculty of Science, P. J. Šafárik University Jesenná 5, 04001 Košice, Slovakia juraj.seej@gmail.com Astract.

More information

ALGEBRA QUALIFYING EXAM PROBLEMS LINEAR ALGEBRA

ALGEBRA QUALIFYING EXAM PROBLEMS LINEAR ALGEBRA ALGEBRA QUALIFYING EXAM PROBLEMS LINEAR ALGEBRA Kent State University Department of Mathematical Sciences Compiled and Maintained by Donald L. White Version: August 29, 2017 CONTENTS LINEAR ALGEBRA AND

More information

Overlapping tile automata:

Overlapping tile automata: Overlapping tile automata: towards a language theory of overlapping structures David Janin LaBRI, Université de Bordeaux Computer Science in Russia, Ekaterinburg, june 2013 1. From strings to overlapping

More information

Introduction to the Theory of Computation. Automata 1VO + 1PS. Lecturer: Dr. Ana Sokolova.

Introduction to the Theory of Computation. Automata 1VO + 1PS. Lecturer: Dr. Ana Sokolova. Introduction to the Theory of Computation Automata 1VO + 1PS Lecturer: Dr. Ana Sokolova http://cs.uni-salzburg.at/~anas/ Setup and Dates Lectures Tuesday 10:45 pm - 12:15 pm Instructions Tuesday 12:30

More information

Conjugacy in epigroups

Conjugacy in epigroups October 2018 Conjugacy in epigroups António Malheiro (CMA/FCT/NOVA University of Lisbon) @ the York semigroup (joint work with João Araújo, Michael Kinyon, Janusz Konieczny) Acknowledgement: This work

More information

Definition of Büchi Automata

Definition of Büchi Automata Büchi Automata Definition of Büchi Automata Let Σ = {a,b,...} be a finite alphabet. By Σ ω we denote the set of all infinite words over Σ. A non-deterministic Büchi automaton (NBA) over Σ is a tuple A

More information

Chapter 2: Finite Automata

Chapter 2: Finite Automata Chapter 2: Finite Automata 2.1 States, State Diagrams, and Transitions Finite automaton is the simplest acceptor or recognizer for language specification. It is also the simplest model of a computer. A

More information

Algebraic Approach to Automata Theory

Algebraic Approach to Automata Theory Algebraic Approach to Automata Theory Deepak D Souza Department of Computer Science and Automation Indian Institute of Science, Bangalore. 20 September 2016 Outline 1 Overview 2 Recognition via monoid

More information

Automata Theory. Lecture on Discussion Course of CS120. Runzhe SJTU ACM CLASS

Automata Theory. Lecture on Discussion Course of CS120. Runzhe SJTU ACM CLASS Automata Theory Lecture on Discussion Course of CS2 This Lecture is about Mathematical Models of Computation. Why Should I Care? - Ways of thinking. - Theory can drive practice. - Don t be an Instrumentalist.

More information

Polynomial closure and unambiguous product

Polynomial closure and unambiguous product Polynomial closure and unambiguous product Jean-Eric Pin and Pascal Weil pin@litp.ibp.fr, weil@litp.ibp.fr 1 Introduction This paper is a contribution to the algebraic theory of recognizable languages,

More information

Computation Histories

Computation Histories 208 Computation Histories The computation history for a Turing machine on an input is simply the sequence of configurations that the machine goes through as it processes the input. An accepting computation

More information

Algebras with finite descriptions

Algebras with finite descriptions Algebras with finite descriptions André Nies The University of Auckland July 19, 2005 Part 1: FA-presentability A countable structure in a finite signature is finite-automaton presentable (or automatic)

More information

SYNTACTIC SEMIGROUP PROBLEM FOR THE SEMIGROUP REDUCTS OF AFFINE NEAR-SEMIRINGS OVER BRANDT SEMIGROUPS

SYNTACTIC SEMIGROUP PROBLEM FOR THE SEMIGROUP REDUCTS OF AFFINE NEAR-SEMIRINGS OVER BRANDT SEMIGROUPS SYNTACTIC SEMIGROUP PROBLEM FOR THE SEMIGROUP REDUCTS OF AFFINE NEAR-SEMIRINGS OVER BRANDT SEMIGROUPS JITENDER KUMAR AND K. V. KRISHNA Abstract. The syntactic semigroup problem is to decide whether a given

More information

5 3 Watson-Crick Automata with Several Runs

5 3 Watson-Crick Automata with Several Runs 5 3 Watson-Crick Automata with Several Runs Peter Leupold Department of Mathematics, Faculty of Science Kyoto Sangyo University, Japan Joint work with Benedek Nagy (Debrecen) Presentation at NCMA 2009

More information

FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY

FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY 15-453 FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY REVIEW for MIDTERM 1 THURSDAY Feb 6 Midterm 1 will cover everything we have seen so far The PROBLEMS will be from Sipser, Chapters 1, 2, 3 It will be

More information

Math 581 Problem Set 9

Math 581 Problem Set 9 Math 581 Prolem Set 9 1. Let m and n e relatively prime positive integers. (a) Prove that Z/mnZ = Z/mZ Z/nZ as RINGS. (Hint: First Isomorphism Theorem) Proof: Define ϕz Z/mZ Z/nZ y ϕ(x) = ([x] m, [x] n

More information

ALGEBRAIC GEOMETRY COURSE NOTES, LECTURE 4: MORE ABOUT VARIETIES AND REGULAR FUNCTIONS.

ALGEBRAIC GEOMETRY COURSE NOTES, LECTURE 4: MORE ABOUT VARIETIES AND REGULAR FUNCTIONS. ALGERAIC GEOMETRY COURSE NOTES, LECTURE 4: MORE AOUT VARIETIES AND REGULAR FUNCTIONS. ANDREW SALCH. More about some claims from the last lecture. Perhaps you have noticed by now that the Zariski topology

More information

Axioms of Kleene Algebra

Axioms of Kleene Algebra Introduction to Kleene Algebra Lecture 2 CS786 Spring 2004 January 28, 2004 Axioms of Kleene Algebra In this lecture we give the formal definition of a Kleene algebra and derive some basic consequences.

More information

1.1 Definition. A monoid is a set M together with a map. 1.3 Definition. A monoid is commutative if x y = y x for all x, y M.

1.1 Definition. A monoid is a set M together with a map. 1.3 Definition. A monoid is commutative if x y = y x for all x, y M. 1 Monoids and groups 1.1 Definition. A monoid is a set M together with a map M M M, (x, y) x y such that (i) (x y) z = x (y z) x, y, z M (associativity); (ii) e M such that x e = e x = x for all x M (e

More information

MATH32062 Notes. 1 Affine algebraic varieties. 1.1 Definition of affine algebraic varieties

MATH32062 Notes. 1 Affine algebraic varieties. 1.1 Definition of affine algebraic varieties MATH32062 Notes 1 Affine algebraic varieties 1.1 Definition of affine algebraic varieties We want to define an algebraic variety as the solution set of a collection of polynomial equations, or equivalently,

More information

Duality in Logic. Duality in Logic. Lecture 2. Mai Gehrke. Université Paris 7 and CNRS. {ε} A ((ab) (ba) ) (ab) + (ba) +

Duality in Logic. Duality in Logic. Lecture 2. Mai Gehrke. Université Paris 7 and CNRS. {ε} A ((ab) (ba) ) (ab) + (ba) + Lecture 2 Mai Gehrke Université Paris 7 and CNRS A {ε} A ((ab) (ba) ) (ab) + (ba) + Further examples - revisited 1. Completeness of modal logic with respect to Kripke semantics was obtained via duality

More information

Quiver Representations

Quiver Representations Quiver Representations Molly Logue August 28, 2012 Abstract After giving a general introduction and overview to the subject of Quivers and Quiver Representations, we will explore the counting and classification

More information

Abstract Algebra II Groups ( )

Abstract Algebra II Groups ( ) Abstract Algebra II Groups ( ) Melchior Grützmann / melchiorgfreehostingcom/algebra October 15, 2012 Outline Group homomorphisms Free groups, free products, and presentations Free products ( ) Definition

More information

The Proj Construction

The Proj Construction The Proj Construction Daniel Murfet May 16, 2006 Contents 1 Basic Properties 1 2 Functorial Properties 2 3 Products 6 4 Linear Morphisms 9 5 Projective Morphisms 9 6 Dimensions of Schemes 11 7 Points of

More information

(This is a sample cover image for this issue. The actual cover is not yet available at this time.)

(This is a sample cover image for this issue. The actual cover is not yet available at this time.) This is a sample cover image for this issue. The actual cover is not yet availale at this time. This article appeared in a journal pulished y Elsevier. The attached copy is furnished to the author for

More information

Lecture 24: Randomized Complexity, Course Summary

Lecture 24: Randomized Complexity, Course Summary 6.045 Lecture 24: Randomized Complexity, Course Summary 1 1/4 1/16 1/4 1/4 1/32 1/16 1/32 Probabilistic TMs 1/16 A probabilistic TM M is a nondeterministic TM where: Each nondeterministic step is called

More information

REPRESENTATION THEORY, LECTURE 0. BASICS

REPRESENTATION THEORY, LECTURE 0. BASICS REPRESENTATION THEORY, LECTURE 0. BASICS IVAN LOSEV Introduction The aim of this lecture is to recall some standard basic things about the representation theory of finite dimensional algebras and finite

More information

Infinite-Dimensional Triangularization

Infinite-Dimensional Triangularization Infinite-Dimensional Triangularization Zachary Mesyan March 11, 2018 Abstract The goal of this paper is to generalize the theory of triangularizing matrices to linear transformations of an arbitrary vector

More information

DM17. Beregnelighed. Jacob Aae Mikkelsen

DM17. Beregnelighed. Jacob Aae Mikkelsen DM17 Beregnelighed Jacob Aae Mikkelsen January 12, 2007 CONTENTS Contents 1 Introduction 2 1.1 Operations with languages...................... 2 2 Finite Automata 3 2.1 Regular expressions/languages....................

More information

Incompleteness Theorems, Large Cardinals, and Automata ov

Incompleteness Theorems, Large Cardinals, and Automata ov Incompleteness Theorems, Large Cardinals, and Automata over Finite Words Equipe de Logique Mathématique Institut de Mathématiques de Jussieu - Paris Rive Gauche CNRS and Université Paris 7 TAMC 2017, Berne

More information

Varieties Generated by Certain Models of Reversible Finite Automata

Varieties Generated by Certain Models of Reversible Finite Automata Varieties Generated by Certain Models of Reversible Finite Automata Marats Golovkins Faculty of Computing, University of Latvia, Raiņa bulv. 29, Riga LV-1459, Latvia marats at latnet dot lv Jean-Eric Pin

More information

Notes on Monoids and Automata

Notes on Monoids and Automata Notes on Monoids and Automata Uday S. Reddy November 9, 1994 In this article, I define a semantics for Algol programs with Reynolds s syntactic control of interference?;? in terms of comonoids in coherent

More information

Büchi Automata and their closure properties. - Ajith S and Ankit Kumar

Büchi Automata and their closure properties. - Ajith S and Ankit Kumar Büchi Automata and their closure properties - Ajith S and Ankit Kumar Motivation Conventional programs accept input, compute, output result, then terminate Reactive program : not expected to terminate

More information

Symbol Index Group GermAnal Ring AbMonoid

Symbol Index Group GermAnal Ring AbMonoid Symbol Index 409 Symbol Index Symbols of standard and uncontroversial usage are generally not included here. As in the word index, boldface page-numbers indicate pages where definitions are given. If a

More information

Quantum Computing Lecture 8. Quantum Automata and Complexity

Quantum Computing Lecture 8. Quantum Automata and Complexity Quantum Computing Lecture 8 Quantum Automata and Complexity Maris Ozols Computational models and complexity Shor s algorithm solves, in polynomial time, a problem for which no classical polynomial time

More information

CS 455/555: Finite automata

CS 455/555: Finite automata CS 455/555: Finite automata Stefan D. Bruda Winter 2019 AUTOMATA (FINITE OR NOT) Generally any automaton Has a finite-state control Scans the input one symbol at a time Takes an action based on the currently

More information

ALGEBRAIC GROUPS J. WARNER

ALGEBRAIC GROUPS J. WARNER ALGEBRAIC GROUPS J. WARNER Let k be an algebraically closed field. varieties unless otherwise stated. 1. Definitions and Examples For simplicity we will work strictly with affine Definition 1.1. An algebraic

More information

Series which are both max-plus and min-plus rational are unambiguous

Series which are both max-plus and min-plus rational are unambiguous Series which are both max-plus and min-plus rational are unambiguous Sylvain Lombardy, Jean Mairesse To cite this version: Sylvain Lombardy, Jean Mairesse. Series which are both max-plus and min-plus rational

More information

Amin Saied Finitely Presented Metabelian Groups 1

Amin Saied Finitely Presented Metabelian Groups 1 Amin Saied Finitely Presented Metabelian Groups 1 1 Introduction Motivating Question There are uncountably many finitely generated groups, but there are only countably many finitely presented ones. Which

More information

Hierarchy among Automata on Linear Orderings

Hierarchy among Automata on Linear Orderings Hierarchy among Automata on Linear Orderings Véronique Bruyère Institut d Informatique Université de Mons-Hainaut Olivier Carton LIAFA Université Paris 7 Abstract In a preceding paper, automata and rational

More information

This is a repository copy of Attributed Graph Transformation via Rule Schemata : Church-Rosser Theorem.

This is a repository copy of Attributed Graph Transformation via Rule Schemata : Church-Rosser Theorem. This is a repository copy of Attriuted Graph Transformation via Rule Schemata : Church-Rosser Theorem. White Rose Research Online URL for this paper: http://eprints.whiterose.ac.uk/9/ Version: Accepted

More information

Formal power series rings, inverse limits, and I-adic completions of rings

Formal power series rings, inverse limits, and I-adic completions of rings Formal power series rings, inverse limits, and I-adic completions of rings Formal semigroup rings and formal power series rings We next want to explore the notion of a (formal) power series ring in finitely

More information

Finite Automata and Regular Languages (part II)

Finite Automata and Regular Languages (part II) Finite Automata and Regular Languages (part II) Prof. Dan A. Simovici UMB 1 / 25 Outline 1 Nondeterministic Automata 2 / 25 Definition A nondeterministic finite automaton (ndfa) is a quintuple M = (A,

More information

Probabilistic Aspects of Computer Science: Probabilistic Automata

Probabilistic Aspects of Computer Science: Probabilistic Automata Probabilistic Aspects of Computer Science: Probabilistic Automata Serge Haddad LSV, ENS Paris-Saclay & CNRS & Inria M Jacques Herbrand Presentation 2 Properties of Stochastic Languages 3 Decidability Results

More information

An Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California. 2. Background: Semirings and Kleene algebras

An Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California. 2. Background: Semirings and Kleene algebras An Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California 1. Residuated Lattices with iteration 2. Background: Semirings and Kleene algebras 3. A Gentzen system

More information

Valence automata as a generalization of automata with storage

Valence automata as a generalization of automata with storage Valence automata as a generalization of automata with storage Georg Zetzsche Technische Universität Kaiserslautern D-CON 2013 Georg Zetzsche (TU KL) Valence automata D-CON 2013 1 / 23 Example (Pushdown

More information

On Recognizable Languages of Infinite Pictures

On Recognizable Languages of Infinite Pictures On Recognizable Languages of Infinite Pictures Equipe de Logique Mathématique CNRS and Université Paris 7 JAF 28, Fontainebleau, Juin 2009 Pictures Pictures are two-dimensional words. Let Σ be a finite

More information

A Primer on Homological Algebra

A Primer on Homological Algebra A Primer on Homological Algebra Henry Y Chan July 12, 213 1 Modules For people who have taken the algebra sequence, you can pretty much skip the first section Before telling you what a module is, you probably

More information

1.3 Regular Expressions

1.3 Regular Expressions 51 1.3 Regular Expressions These have an important role in descriing patterns in searching for strings in many applications (e.g. awk, grep, Perl,...) All regular expressions of alphaet are 1.Øand are

More information

Aperiodic languages and generalizations

Aperiodic languages and generalizations Aperiodic languages and generalizations Lila Kari and Gabriel Thierrin Department of Mathematics University of Western Ontario London, Ontario, N6A 5B7 Canada June 18, 2010 Abstract For every integer k

More information

Weighted Context-Free Grammars over Bimonoids

Weighted Context-Free Grammars over Bimonoids Weighted Context-Free Grammars over Bimonoids George Rahonis and Faidra Torpari Aristotle University of Thessaloniki, Greece WATA 2018 Leipzig, May 22, 2018 Faidra Torpari (Aristotle University of Thessaloniki)

More information

The Emptiness Problem for Valence Automata or: Another Decidable Extension of Petri Nets

The Emptiness Problem for Valence Automata or: Another Decidable Extension of Petri Nets The Emptiness Problem for Valence Automata or: Another Decidable Extension of Petri Nets Georg Zetzsche Technische Universität Kaiserslautern Reachability Problems 2015 Georg Zetzsche (TU KL) Emptiness

More information

Topics in linear algebra

Topics in linear algebra Chapter 6 Topics in linear algebra 6.1 Change of basis I want to remind you of one of the basic ideas in linear algebra: change of basis. Let F be a field, V and W be finite dimensional vector spaces over

More information

Parvati Shastri. 2. Kummer Theory

Parvati Shastri. 2. Kummer Theory Reciprocity Laws: Artin-Hilert Parvati Shastri 1. Introduction In this volume, the early reciprocity laws including the quadratic, the cuic have een presented in Adhikari s article [1]. Also, in that article

More information

From p-adic numbers to p-adic words

From p-adic numbers to p-adic words From p-adic numbers to p-adic words Jean-Éric Pin1 1 January 2014, Lorentz Center, Leiden References I S. Eilenberg, Automata, Languages and Machines, Vol B, Acad. Press, New-York (1976). M. Lothaire,

More information

Algebra Meets Logic: The Case of Regular Languages (With Applications to Circuit Complexity) Denis Thérien, McGill University p.

Algebra Meets Logic: The Case of Regular Languages (With Applications to Circuit Complexity) Denis Thérien, McGill University p. Algebra Meets Logic: The Case of Regular Languages (With Applications to Circuit Complexity) Denis Thérien McGill University Denis Thérien, McGill University p.1/26 Introduction The following are equivalent:

More information

3. The Sheaf of Regular Functions

3. The Sheaf of Regular Functions 24 Andreas Gathmann 3. The Sheaf of Regular Functions After having defined affine varieties, our next goal must be to say what kind of maps between them we want to consider as morphisms, i. e. as nice

More information

Quadraticity and Koszulity for Graded Twisted Tensor Products

Quadraticity and Koszulity for Graded Twisted Tensor Products Quadraticity and Koszulity for Graded Twisted Tensor Products Peter Goetz Humboldt State University Arcata, CA 95521 September 9, 2017 Outline Outline I. Preliminaries II. Quadraticity III. Koszulity

More information

A GLIMPSE OF ALGEBRAIC K-THEORY: Eric M. Friedlander

A GLIMPSE OF ALGEBRAIC K-THEORY: Eric M. Friedlander A GLIMPSE OF ALGEBRAIC K-THEORY: Eric M. Friedlander During the first three days of September, 1997, I had the privilege of giving a series of five lectures at the beginning of the School on Algebraic

More information

CS375: Logic and Theory of Computing

CS375: Logic and Theory of Computing CS375: Logic and Theory of Computing Fuhua (Frank) Cheng Department of Computer Science University of Kentucky 1 Tale of Contents: Week 1: Preliminaries (set alger relations, functions) (read Chapters

More information

Notes 10: Consequences of Eli Cartan s theorem.

Notes 10: Consequences of Eli Cartan s theorem. Notes 10: Consequences of Eli Cartan s theorem. Version 0.00 with misprints, The are a few obvious, but important consequences of the theorem of Eli Cartan on the maximal tori. The first one is the observation

More information

An Algebraic Approach to Energy Problems I -Continuous Kleene ω-algebras

An Algebraic Approach to Energy Problems I -Continuous Kleene ω-algebras Acta Cybernetica 23 (2017) 203 228. An Algebraic Approach to Energy Problems I -Continuous Kleene ω-algebras Zoltán Ésika, Uli Fahrenberg b, Axel Legay c, and Karin Quaas d Abstract Energy problems are

More information

Varieties Generated by Certain Models of Reversible Finite Automata

Varieties Generated by Certain Models of Reversible Finite Automata Varieties Generated by Certain Models of Reversible Finite Automata Marats Golovkins 1 and Jean-Eric Pin 2 1 Institute of Mathematics and Computer Science, University of Latvia, Raiņa bulv. 29, Riga, Latvia

More information

Ring Sums, Bridges and Fundamental Sets

Ring Sums, Bridges and Fundamental Sets 1 Ring Sums Definition 1 Given two graphs G 1 = (V 1, E 1 ) and G 2 = (V 2, E 2 ) we define the ring sum G 1 G 2 = (V 1 V 2, (E 1 E 2 ) (E 1 E 2 )) with isolated points dropped. So an edge is in G 1 G

More information

ABSTRACT NONSINGULAR CURVES

ABSTRACT NONSINGULAR CURVES ABSTRACT NONSINGULAR CURVES Affine Varieties Notation. Let k be a field, such as the rational numbers Q or the complex numbers C. We call affine n-space the collection A n k of points P = a 1, a,..., a

More information

Congruence Boolean Lifting Property

Congruence Boolean Lifting Property Congruence Boolean Lifting Property George GEORGESCU and Claudia MUREŞAN University of Bucharest Faculty of Mathematics and Computer Science Academiei 14, RO 010014, Bucharest, Romania Emails: georgescu.capreni@yahoo.com;

More information

Math 121 Homework 4: Notes on Selected Problems

Math 121 Homework 4: Notes on Selected Problems Math 121 Homework 4: Notes on Selected Problems 11.2.9. If W is a subspace of the vector space V stable under the linear transformation (i.e., (W ) W ), show that induces linear transformations W on W

More information

Non-emptiness Testing for TMs

Non-emptiness Testing for TMs 180 5. Reducibility The proof of unsolvability of the halting problem is an example of a reduction: a way of converting problem A to problem B in such a way that a solution to problem B can be used to

More information

Differential Central Simple Algebras and Picard Vessiot Representations

Differential Central Simple Algebras and Picard Vessiot Representations Differential Central Simple Algebras and Picard Vessiot Representations Lourdes Juan Department of Mathematics Texas Tech University Lubbock TX 79409 Andy R. Magid Department of Mathematics University

More information

An algebraic characterization of unary 2-way transducers

An algebraic characterization of unary 2-way transducers An algebraic characterization of unary 2-way transducers Christian Choffrut 1 and Bruno Guillon 1,2 1 LIAFA - Université Paris-Diderot, Paris 7 2 Dipartimento di Informatica - Università degli studi di

More information

One-sided shift spaces over infinite alphabets

One-sided shift spaces over infinite alphabets Reasoning Mind West Coast Operator Algebra Seminar October 26, 2013 Joint work with William Ott and Mark Tomforde Classical Construction Infinite Issues New Infinite Construction Shift Spaces Classical

More information

THE INFLATION-RESTRICTION SEQUENCE : AN INTRODUCTION TO SPECTRAL SEQUENCES

THE INFLATION-RESTRICTION SEQUENCE : AN INTRODUCTION TO SPECTRAL SEQUENCES THE INFLATION-RESTRICTION SEQUENCE : AN INTRODUCTION TO SPECTRAL SEQUENCES TOM WESTON. Example We egin with aelian groups for every p, q and maps : + (here, as in all of homological algera, all maps are

More information

APPENDIX 3: AN OVERVIEW OF CHOW GROUPS

APPENDIX 3: AN OVERVIEW OF CHOW GROUPS APPENDIX 3: AN OVERVIEW OF CHOW GROUPS We review in this appendix some basic definitions and results that we need about Chow groups. For details and proofs we refer to [Ful98]. In particular, we discuss

More information

Chapter 2 Linear Transformations

Chapter 2 Linear Transformations Chapter 2 Linear Transformations Linear Transformations Loosely speaking, a linear transformation is a function from one vector space to another that preserves the vector space operations. Let us be more

More information

Finite State Automata

Finite State Automata Trento 2005 p. 1/4 Finite State Automata Automata: Theory and Practice Paritosh K. Pandya (TIFR, Mumbai, India) Unversity of Trento 10-24 May 2005 Trento 2005 p. 2/4 Finite Word Langauges Alphabet Σ is

More information

A connection between number theory and linear algebra

A connection between number theory and linear algebra A connection between number theory and linear algebra Mark Steinberger Contents 1. Some basics 1 2. Rational canonical form 2 3. Prime factorization in F[x] 4 4. Units and order 5 5. Finite fields 7 6.

More information

LANGUAGE CLASSES ASSOCIATED WITH AUTOMATA OVER MATRIX GROUPS. Özlem Salehi (A) Flavio D Alessandro (B,C) Ahmet Celal Cem Say (A)

LANGUAGE CLASSES ASSOCIATED WITH AUTOMATA OVER MATRIX GROUPS. Özlem Salehi (A) Flavio D Alessandro (B,C) Ahmet Celal Cem Say (A) LANGUAGE CLASSES ASSOCIATED WITH AUTOMATA OVER MATRIX GROUPS Özlem Salehi (A) Flavio D Alessandro (B,C) Ahmet Celal Cem Say (A) arxiv:1609.00396v1 [cs.fl] 1 Sep 2016 (A) Boǧaziçi University, Department

More information

Algorithms for Computing Complete Deterministic Fuzzy Automata via Invariant Fuzzy Quasi-Orders

Algorithms for Computing Complete Deterministic Fuzzy Automata via Invariant Fuzzy Quasi-Orders Faculty of Sciences and Mathematics Department of Computer Science University of Niš, Serbia Algorithms for Computing Complete Deterministic Fuzzy Automata via Invariant Fuzzy Quasi-Orders Stefan Stanimirović

More information

ACS2: Decidability Decidability

ACS2: Decidability Decidability Decidability Bernhard Nebel and Christian Becker-Asano 1 Overview An investigation into the solvable/decidable Decidable languages The halting problem (undecidable) 2 Decidable problems? Acceptance problem

More information

Bridges for concatenation hierarchies

Bridges for concatenation hierarchies Bridges for concatenation hierarchies Jean-Éric Pin LIAFA, CNRS and Université Paris VII 2 Place Jussieu 75251 Paris Cedex O5, FRANCE e-mail: Jean-Eric.Pin@liafa.jussieu.fr Abstract. In the seventies,

More information