modern automata theory

a book by z. esik, w. kuich

finite automata

def

A semiring is a set AA equipped with two binary operations ++ and ⋅\cdot and two constant elements 0,10,1 such that:

  1. ⟨A,+,0⟩\langle A, +, 0\rangle is a commutative monoid (= set of elements with an associative, commutative binary operation and an identity element)
  2. ⟨A,⋅,1⟩\langle A, \cdot, 1\rangle is a monoid (= set of elements with an associative binary operation and an identity element)
  3. the following distribution laws hold for all elements: a⋅(b+c)=a⋅b+a⋅ca \cdot (b+c) = a \cdot b + a \cdot c, (a+b)⋅c=a⋅c+b⋅c(a + b)\cdot c = a\cdot c + b\cdot c
  4. 0⋅a=a⋅0=00\cdot a = a\cdot 0 = 0 for every aa

def

A starsemiring is a semiring equipped with an additional unary operation ∗*. Example of starsemirings: ⟨B,+,⋅,∗,0,1⟩\langle \mathbb{B}, +, \cdot, *, 0, 1 \rangle with 0∗=1∗=10*=1*=1

def

A Conway semiring is a starsemiring that satisfies the sum-star-equation: (a+b)∗=(a∗b)∗a∗(a+b)^* = (a^*b)^*a^* and the product-star-equation: (ab)∗=1+a(ba)∗b(ab)^* = 1 + a(ba)^*b Example: semiring ⟨2Σ∗,∪,⋅,∗,∅,{ϵ}⟩\langle 2^{\Sigma^*}, \cup, \cdot, *, \emptyset, \{ \epsilon \} \rangle of formal languages over Σ\Sigma with L∗=∪n≥0LnL^*=\cup_{n\geq 0}L^n for all L⊆Σ∗L \subseteq \Sigma^*

A way to highlight the connection between graphs and automata:

def

Consider a Conway semiring AA and its subset A′A'. A finite automaton A′A'-automaton \textfrakU=(n,M,S,P),n≥1\textfrak{U}=(n,M,S,P), n \geq 1 is given by:

  1. a transition matrix M∈(A′∪{0,1})n×nM\in (A' \cup \{0,1\})^{n\times n}
  2. an initial state vector S∈(A′∪{0,1})1×nS\in (A' \cup \{0,1\})^{1\times n}
  3. a final state vector P∈(A′∪{0,1})n×1P\in (A' \cup \{0,1\})^{n\times 1} The behavior ∣∣\textfrakU∣∣||\textfrak{U}|| of \textfrakU\textfrak{U} is defined by ∣∣\textfrakU∣∣=Σ1≤i1,i2≤nSi1(M∗)i1,i2Pi2=SM∗P||\textfrak{U}|| = \Sigma_{1 \leq i_1, i_2 \leq n} S_{i_1} (M^*)_{i_1,i_2} P_{i_2} = S M^* P