SlideShare una empresa de Scribd logo
1 de 34
Descargar para leer sin conexión
.
                                                                                                                        .
                                Theory of Relations (2)
                        Sequential Machines and Finite Automata
                                    Course of Mathematics
                                   Pusan National University
.
..                                                                                                                  .




                                                                                                                        .
                                        Yoshhiro Mizoguchi

                                   Institute of Mathematics for Industry
                                         Kyushu University, JAPAN
                                        ym@imi.kyushu-u.ac.jp

                                       November 3-4, 2011




     Y. Mizoguchi (Kyushu Univ.)   Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                               November 3-4, 2011   1 / 34
Table of Contents


  .
..
 1    Sequential Machine
        Preliminary
        Reachable and Observable
        Mimimal Realization

  .
..
 2    Finite Automata
         Introduction to Theory of Automata
         The Myhill-Nerode theorem
         Minimal Realization

  .
..
 3    Applications of Relational Calculus to Theory of Automata
        Nondeterministic Finite Automaton
        Coproduct and Product Automaton
        Reverse, Concatenate, Closure
        Examples

  .
..
 4    References




      Y. Mizoguchi (Kyushu Univ.)   Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                                November 3-4, 2011   2 / 34
Sequential Circuit (1)

       1 2 0 1 0 2 0
                                                                   0 1 0 0 1 1 0
                                 dc   S
                                                       c
                                                         Q
       0 1 0 0 0 1 0                                   

       1 0 0 1 0 0 0                                   
                                 dc                    c
                                      R                

One of the elementary units of sequential circuits, the RS Flip-flop circuit
produces an output signal sequence according to the sequence of input
signals. Output signals are 1(on) or 0(o f f ) so we write the outputs as
Y = {0, 1}. There are two input signals S(et) and R(eset). We consider the
pair (SR) of S and R, and we denote 0 = (00), 1 = (01) and 2 = (10). So
we can consider the inputs as X = {0, 1, 2}.
The model of a sequential circuit consists of the state set Q = {a, b}, the
state transition function δ : Q × X → Q, and the output function
β : Q → Y.
   Y. Mizoguchi (Kyushu Univ.)        Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                                  November 3-4, 2011   3 / 34
Sequential Circuit (2)


The table below is the value of δ and β. The figure is the state transition
diagram of the RS Flip-flop circuit.

          q     x       δ(q, x)
          a     0         a
          a     1         a                    q       β(q)                0or1           0or2
                                                                          
                                                                            ‡       ‡
          a     2         b                    a        0                 a/0  2E b/1

          b     0         b                    b        1                 i1
          b     1         a
          b     2         b

The labels of a vertex consists of a state and an output symbol. An edge
means a state transition and the label on an edge corresponds to the input
symbol.



   Y. Mizoguchi (Kyushu Univ.)    Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                              November 3-4, 2011   4 / 34
Sequential Circuit (3)


 An sequential circuit can be considered as a function from an input word to
 an output word. That is we can consider an sequential circuit as a function
  f : X∗ → Y ∗ where X∗ is the set of words over X including an empty
 string ε.
 .
 Problem                                                                     .
..
       Construct an algebraic model (Sequential Machine) of sequential
       circuits using a state set, a state transition function and an output
       function.
       What kind of function from input words to output words is realizable
       by a finite state sequential machine?
       How to construct an efficient sequential machine with small number of
.      states.
..                                                                       .




                                                                                                                        .
     Y. Mizoguchi (Kyushu Univ.)   Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                               November 3-4, 2011   5 / 34
Epi-Mono Factorization



A function F : X → Y from a set X to a set Y can be represented by a
composition F(x) = m(e(x)) (x ∈ X) of an injective function m : Z → Y
and an surjective function e : X → Z . The set Z is uniquely determined by
f up to isomorphism. That is Z F(X) = {F(x) ∈ Y | x ∈ X} and
Z X/ ∼ = {[x] | x ∈ X}, where the equivalent relation ∼ on X is defined
by [ x ∼ x′ ⇔ F(x) = F(x′ )] and [x] = {x′ ∈ X | x ∼ x′ } is a set of
equivalence class including x.
(Note)
A function e : X → Z is surjective if there exists an element x ∈ X satisfying
e(x) = z for any element z ∈ Z . A function m : Z → Y is injective if m(z1 ) m(z2 )
for any two elements z1 , z2 ∈ Z satisfying z1    z2 . We denote an injection by an
arrow with tail , and a surjective by an arrow with head .




   Y. Mizoguchi (Kyushu Univ.)   Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                             November 3-4, 2011   6 / 34
Sequential Machine

.
Definition (Sequential Machine)                                                                                          .
..
 A sequential mmachine is a sextuple M = (X, Q, δ, q0 , Y, β) where

                         X                       is the set of inputs,
                         Q                       is the set of states,
                         δ:Q×X →Q                is the transition function,
                         q0 ∈ Q                  is the initial state,
                         Y                       is the set of outputs, and
.                        β:Q→Y                   is the output map.
..                                                                                                                  .




                                                                                                                        .
(Note) This sequential machine (SM) is called Moore style SM. The Mealy style
SM is defined by an alternate output map λ : Q × X → Y insted of β. These two
model are equivalent. Mealy style does not have an output for the initial state, but
the rest of relations between inputs and outputs are mutually transformable.
We sometime define SM by pentad without an initial state.


     Y. Mizoguchi (Kyushu Univ.)   Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                               November 3-4, 2011   7 / 34
Run map and Response map


.
Definition (Run map)                                                                                                     .
..
 Let δ : Q × X → Q be a transition function. We define its run map to be
 the unique map δ∗ : Q × X∗ → Q defined inductively by δ∗ (q, ε) = q, and
 δ∗ (q, xw) = δ∗ (δ(q, x), w) ( q ∈ Q, x ∈ X, w ∈ X∗ ).
 .
 ..                                                                         .




                                                                                                                         .
 Let f : X∗ → Y be a function. We also define the function f∗ : X∗ → Y ∗
 defined inductively by f∗ (ε) = f (ε), and f∗ (wx) = f∗ (w) f (wx) ( x ∈ X,
 w ∈ X∗ ).
 .
Definition (Response map)                                                                                                .
..
 Let M = (X, Q, δ, q0 , Y, β) be a sequential machine. We define its
 response map to be the map ( f M )∗ : X∗ → Y ∗ where f M : X∗ → Y is
 defined by f M (w) = β(δ∗ (q0 , w)) (w ∈ X∗ ).
 .
 ..                                                                   .




                                                                                                                         .
    Y. Mizoguchi (Kyushu Univ.)     Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                                November 3-4, 2011   8 / 34
Realization (1)


 .
 Definition                                                                       .
..
 Let t : X ∗ → Y ∗ be a function. If there exists a sequential machine M

 such that t = ( f M )∗ , then M is called a realization of t .
 .
 ..                                                                            .




                                                                                                                       .
 We call t : X∗ → Y ∗ is realizable if there exisits a function f : X∗ → Y
 such that t = f∗ .
 .
 Proposition                                                                     .
..
 A function t : X ∗ → Y ∗ is realizable if and only if for any w ∈ X ∗ , x ∈ X

 there exists y ∈ Y such that t(wx) = t(w)y.
 .
 ..                                                                            .




                                                                                                                       .
 The condition is equivalent that the value t(wx) is depending on only w
 and is not depending on x. We call a function t : X∗ → Y ∗ satisfying the
 condition as a sequential function.


    Y. Mizoguchi (Kyushu Univ.)   Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                              November 3-4, 2011   9 / 34
Realization (2)

.
Proposition                                                                                                            .
..
 Let t : X∗ → Y ∗ be a sequential function. Then there exist a sequential
 machine M which is a realization of t .
 .
 ..                                                                       .




                                                                                                                       .
 Let f : X∗ → Y be a function and t = f∗ . We introduce two kinds of
 sequential machines which is a realization of t .
      M I = (X, X∗ , δ I , ε, Y, f )
      δ I (w, x) = wx (w ∈ X∗ , x ∈ X).
                             ∗
      MT = (X, Y X , δT , f, Y, βT )
          ∗
      Y X is the set of all maps from X∗ to Y , that is { f | f : X∗ → Y},
      δT ( f, x) : X∗ → Y is defined by δT ( f, x)(w) = f (xw) ( x ∈ X, w ∈ X∗ ),
                                    ∗
      and βT ( f ) = f (ε) ( f ∈ Y X ).
We can verify easily f = f MI = f MT . We note that both M I and MT is not
a finite sequential machine. That is the state set is not a finite set.

    Y. Mizoguchi (Kyushu Univ.)   Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                             November 3-4, 2011   10 / 34
Finite Realization

 .
 Problem                                                                            .
..
 What kind of sequential function f : X     ∗ → Y which have a finite state

 realization?
 .
 ..                                                                               .




                                                                                                                       .
 The state sets of MT is infinite but the most of states are unreachable from
 the initial state f . If the states reachable from f is finite, then we can
 construct a finite sequential machine from MT . That is the condition to
                                                                       ∗
 have a finite representation is that the set Z = {δ∗ ( f, w) ∈ Y X | w ∈ X∗ } is
                                                        T
 finite.
                                         ∗
 We define a function F : X∗ → Y X by F(w) = δ∗ ( f, w) (w ∈ X∗ ). F is
                                                       T
 divided to the composition of a surjection and an injection. Since
 Z = F(X∗ ), we have Z = X∗ / ∼ by the equivalence relation ∼ defined by
 [w ∼ w′ ⇔ δ∗ ( f, w) = δ∗ ( f, w′ )]. We note δ∗ ( f, w)(z) = δ∗ ( f, w′ )(z) is
                T             T                   T              T
  f (wz) = f (w′ z) for any z ∈ X∗ .
 If the number of the equivalence class is finite, then there exists a finite
 realization.
    Y. Mizoguchi (Kyushu Univ.)   Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                             November 3-4, 2011   11 / 34
Reachable and Observable

Let M = (X, Q, δ, q0 , Y, β) be a sequential machine and its response map
                                         ∗
f M : X∗ → Y . We define F : X∗ → Y X by F(w) = δ∗ ( f M , w).
                                                                                       T                   ∗
F is divided into a composition of fe : X∗ → Q and f m : Q → Y X such
that
                             F(w) = f m( fe (w)),
where

                                 fe (w) = δ∗ (q0 , w), and
                         f m(q)(w) = β(δ∗ (q, w)) (w ∈ X∗ , q ∈ Q).

     If fe is a surjection then we call M as reachable.
     If f m is an injection then we call M as obserbable or reduced.
     We note that a reachable and obserbable sequential machine is
     minimal representation of f M .

   Y. Mizoguchi (Kyushu Univ.)        Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                                 November 3-4, 2011   12 / 34
Minimal Realization




Let M = (X, Q, δ, q0 , Y, β) be a sequential machine. and F = f m ◦ fe .
                                                          ∗
Assume fe : X∗ → Q is a surjection. If f m : Q → Y X is not an injection,
then we can construct a minimal realization using the epi-mono
factorization of f m.
The equivalence relation [ q ∼ q′ ⇔ f m(q) = f m(q′ )] on Q is that
 f m(q)(w) = f m(q′ )(w) for any w ∈ X∗ . That is β(δ∗ (q, w)) = β(δ∗ (q′ , w)). If
Q is a finite set and |Q| = n, then it is sufficient to check the condition
β(δ∗ (q, w)) = β(δ∗ (q′ , w)) for finite number of words w with |w|  n. So we
can check q ∼ q′ for any state q and q′ in finite steps, and we can
construct a minimal state sequential machine.




   Y. Mizoguchi (Kyushu Univ.)   Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                            November 3-4, 2011   13 / 34
Introduction to Theory of Automata


The first published study on automata [6] is the Automata studies in 1956
edited by C. E. Shanon who is famous as an originator of the information
theory and J. McCarthy who is a famous researcher of the fields artificial
intelligence.
At that time, they formalized an abstract model of a sequentil circuit and
investigated relationship between inputs and outputs analyzing a state
transition functions.
Once the notion of accept states is introduced, a machine is considered as
an acceptor and investigations of recognized language are started. This is
the origin of the theory of language and automata.
The first paper [4] about finite state automata is ’finite Automata and Their
Decision Problems’ by M. O. Rabin and D. Scott pubshed in 1959. They
were awarded an ACM Turing aword in 1976 for this research.



   Y. Mizoguchi (Kyushu Univ.)   Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                            November 3-4, 2011   14 / 34
Alphabet, Word, Concatenation



An alphabet is a finite, nonempty set. The elements of an plphabet are
feferred to as letters, or symbols. A word over an alphabet is a finite
string consisting of zero or more letters of the alphabet, in which the same
letter may occur several times. The string consisting of zero letters is
called the empty word, written ε. The length of a word w, denoted by |w|,
is the number of letters in w. Again by definition, |ε| = 0.
Let Σ be an alphabet. The set of all words over an alphabet Σ is denoted
by Σ∗ . The sets Σ∗ is infinite for any Σ. Algebraically speaking, Σ∗ is the
free monoid with the identity ε generated by Σ.
For words w1 and w2 , the juxtaposition w1 w2 is called the concatenation
of w1 and w2 . The empty word is an identity with respect to concatenation,
εw = wε = w holds for all word w.



   Y. Mizoguchi (Kyushu Univ.)       Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                                November 3-4, 2011   15 / 34
Kleene Closure




Subsets of Σ∗ are referred to as formal languages, or briefly, languages
over Σ.
The concatenation (or product) of two languages L1 and L2 is defined by
L1 L2 = {w1 w2 | w1 ∈ L1 , w2 ∈ L2 }.
The (Kleene) closure L∗ of a language L is defined to be the union of all
powers of L, that is L∗ = ∪∞ L n where L0 = {ε}, and L n = L n−1 · L
                             n=0
( n ≥ 1).
The closure of all words Σ is Σ∗ and there is no confusions defined as a
set of all words over Σ.




  Y. Mizoguchi (Kyushu Univ.)   Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                           November 3-4, 2011   16 / 34
Deterministic Automata (1)




 .
 Definition                                                                                                                .
..
 Deterministic Automata A determinisiic finite automaton is a pentad
 M = (Σ, Q, δ, q0 , F) where
                         Σ                         is the alphabet,
                         Q                         is the finite set of states,
                         δ:Q×Σ→Q                   is the transition function,
                         q0 ∈ Q                    is the initial state, and
.                        F⊂Q                       is the set of accept states.
..                                                                                                                    .




                                                                                                                          .
     Y. Mizoguchi (Kyushu Univ.)     Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                                November 3-4, 2011   17 / 34
Deterministic Automata (2)




              s1     s2      · · · s n inputs
                T E move head to right after a state transition

      Controler( q)
Finite Automaton M

A finite automaton is illustrated as above figure. The input letters are on
input tape. The first state of controller is the initial state q0 . If the state is q
and input letter is s then the state is changed to δ(q, s). After changing the
state the head is moved to right. Repeating these procedures until the end
of an input word. If the head reached to the end of an input word, then
check the state is accept state or not.



   Y. Mizoguchi (Kyushu Univ.)     Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                              November 3-4, 2011   18 / 34
Recognized Language




 Let δ : Q × Σ → Q be a state transition function. The function
 δ∗ : Q × Σ∗ → Q is uniquely determined by δ∗ (q, ε) = q, and
 δ∗ (q, wa) = δ(δ∗ (q, w), a) (w ∈ Σ∗ , a ∈ Σ).
 .
 Definition                                                                                                               .
..
 The recognized language L(M) ⊂ Σ∗ is defined by

                                 L(M) = {w ∈ Σ∗ | δ∗ (q0 , w) ∈ F}.

L(M) is referred to as the language accepted by M.
.
..                                                                                                                   .




                                                                                                                         .
   Y. Mizoguchi (Kyushu Univ.)      Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                               November 3-4, 2011   19 / 34
Example



 .
 Example                                                                   .
..
 Let M = (Q, Σ, δ, q0 , F) be a finite automaton where Q = {q0 , q1 , q2 },
 F = {q1 }, q0 ∈ Q. The state transition function δ : Q × Σ → Q is defined
 as follows
                                 δ(q0 , a) = q1 ,          δ(q0 , b) = q2 ,
                                 δ(q1 , a) = q2 ,          δ(q1 , b) = q0 ,
                                 δ(q2 , a) = q2 ,          δ(q2 , b) = q2 .
For example, the word w = aba is acceptable δ∗ (q0 , aba)
= δ∗ (δ(q0 , a), ba) = δ∗ (q1 , ba) = δ∗ (δ(q1 , b), a) = δ∗ (q0 , a) = δ∗ (δ(q0 , a), ε)
= ∗
. δ (q1 , ε) = q1 ∈ F.
..                                                                                     .




                                                                                                                        .
   Y. Mizoguchi (Kyushu Univ.)     Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                              November 3-4, 2011   20 / 34
State Transition Diagram



A finite automaton M is denoted by a following figure called state transition
diagram. Vertices are states and the initial state has an arrow without
label. According to the input letters follow arrows with same label with
input letter. The vertex corresponding to an accept state has double circle
and if the following the input letters ended at the vertices with double circle
then the input word is accepted.
                                 
                       a, b     c
                               
                      q0 ' b 
                                      
                       q2 i
                            A
                            b  q  E
                                     a
                                          1
                      a              
                                       




   Y. Mizoguchi (Kyushu Univ.)    Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                             November 3-4, 2011   21 / 34
The Myhill-Nerode theorem (1)



 .
 Definition                                                                                                                .
..
    An equivalence relation ∼ on Σ∗ is said to be right invariant if
    ”w1 ∼ w2 ⇒ w1 z ∼ w2 z (∀z ∈ Σ∗ )” for any w1 , w2 ∈ Σ∗ .
     An equivalence relation ∼ is finite index if the number of equivalence
     classes is finite. That is {[x] | x ∈ Σ∗ } is finite set where
.    [x] = {x′ | x ∼ x′ }.
..                                                                       .




                                                                                                                          .
Let L Σ∗ . We define a relation w1 ∼ L w2 on Σ∗ by

                                  w1 z ∈ L ⇔ w2 z ∈ L (∀z ∈ Σ∗ ).

The relation ∼ L is a right invariant equivalent relation.




   Y. Mizoguchi (Kyushu Univ.)       Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                                November 3-4, 2011   22 / 34
The Myhil-Nerode theorem (2)

.
Theorem (Nerode)                                                                                                            .
..
 Let L Σ∗ be a language on Σ. Then, the following three conditions (1),
 (2) and (3) are equivalent.
    (1) The set L is acpted by some finite automaton.
    (2) L is the union of some of the equivalent classes of a right invariant
        equivalence relation of finite index.
  (3) The right invariant equivalence relation ∼ L induced by L is of finite
.     index.
..                                                                                .




                                                                                                                            .
Let L be the language L in (3) and Q = {[w] | w ∈ Σ        ∗ }, δ([w], a) = [wa],

q0 = [ε], F = {[w] | w ∈ L}. Then M = (Q, Σ, δ, q0 , F) is a finite automaton
and L = L(M). Further, if L = L(M′ ) for some finite automata
M′ = (Q′ , Σ, δ′ , q′ , F′ ) then |Q| ≤ |Q′ |. That is M is a minimal state
                    0
automaton with L = L(M).

      Y. Mizoguchi (Kyushu Univ.)      Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                                  November 3-4, 2011   23 / 34
Minimal Realization




Let M = (X, Q, X, δ, q0 , Y, β) be a sequential machine and Y = {0, 1}.
There is an one-to-one coresspondence between an output map
β : Q → {0, 1} and a subset F = {q ∈ Q | β(q) = 1} of Q. That is a finite
automata is considered as a sequential machine with Y = {0, 1}.
A finite sequential machine is exactly a finite automaton. Further, a
function f : X∗ → Y is corresponde to a subset of X∗ that is a recognized
language.
In the previous section, we construct a minimal realization of f using an
equivalence relation w ∼ w′ defined by f (wz) = f (wz′ ) (∀z ∈ X∗ ). This is
the equivalence relation ∼ L induced by L.




   Y. Mizoguchi (Kyushu Univ.)   Theory of Relations (2) Sequential Machines and Finite Automata
                                                                                            November 3-4, 2011   24 / 34
Example


.
Example (Minimalize)                                                                                                       .
..
 The automton M′ in right figure is the minimalized automaton of M in left
 figure. We note p0 = {q0 , q2 }, p1 = {q1 , q3 }, and p2 = {q4 , q5 }.
 .
 ..                                                                      .




                                                                                                                           .
q3
                       
                       
                                            a
b
                                                 b
c
a
                             ‡
c
                          z
q4 ˆb
p0
E
                               y‚ ‡
                                  b
           q0          ‡ b$ 
                          X
                                                                                 b      a, b
           
 q2 $
              r
a
               j
               r
                                ˆ q5                                              a  rr ‡
                                                                              p1 '

Más contenido relacionado

La actualidad más candente

Lesson 12: Linear Approximation and Differentials (Section 41 slides)
Lesson 12: Linear Approximation and Differentials (Section 41 slides)Lesson 12: Linear Approximation and Differentials (Section 41 slides)
Lesson 12: Linear Approximation and Differentials (Section 41 slides)Matthew Leingang
 
Lesson 12: Linear Approximation
Lesson 12: Linear ApproximationLesson 12: Linear Approximation
Lesson 12: Linear ApproximationMatthew Leingang
 
Lesson 16: Inverse Trigonometric Functions (Section 041 slides)
Lesson 16: Inverse Trigonometric Functions (Section 041 slides)Lesson 16: Inverse Trigonometric Functions (Section 041 slides)
Lesson 16: Inverse Trigonometric Functions (Section 041 slides)Matthew Leingang
 
Perimeter Institute Talk 2009
Perimeter Institute Talk 2009Perimeter Institute Talk 2009
Perimeter Institute Talk 2009Dave Bacon
 
Tensor Decomposition and its Applications
Tensor Decomposition and its ApplicationsTensor Decomposition and its Applications
Tensor Decomposition and its ApplicationsKeisuke OTAKI
 
Nonnegative Matrix Factorization
Nonnegative Matrix FactorizationNonnegative Matrix Factorization
Nonnegative Matrix FactorizationTatsuya Yokota
 
11.homotopy perturbation and elzaki transform for solving nonlinear partial d...
11.homotopy perturbation and elzaki transform for solving nonlinear partial d...11.homotopy perturbation and elzaki transform for solving nonlinear partial d...
11.homotopy perturbation and elzaki transform for solving nonlinear partial d...Alexander Decker
 
Homotopy perturbation and elzaki transform for solving nonlinear partial diff...
Homotopy perturbation and elzaki transform for solving nonlinear partial diff...Homotopy perturbation and elzaki transform for solving nonlinear partial diff...
Homotopy perturbation and elzaki transform for solving nonlinear partial diff...Alexander Decker
 
Lesson 14: Derivatives of Logarithmic and Exponential Functions (handout)
Lesson 14: Derivatives of Logarithmic and Exponential Functions (handout)Lesson 14: Derivatives of Logarithmic and Exponential Functions (handout)
Lesson 14: Derivatives of Logarithmic and Exponential Functions (handout)Matthew Leingang
 
A likelihood-free version of the stochastic approximation EM algorithm (SAEM)...
A likelihood-free version of the stochastic approximation EM algorithm (SAEM)...A likelihood-free version of the stochastic approximation EM algorithm (SAEM)...
A likelihood-free version of the stochastic approximation EM algorithm (SAEM)...Umberto Picchini
 
Lesson 2: A Catalog of Essential Functions
Lesson 2: A Catalog of Essential FunctionsLesson 2: A Catalog of Essential Functions
Lesson 2: A Catalog of Essential FunctionsMatthew Leingang
 
Lesson 15: Exponential Growth and Decay (handout)
Lesson 15: Exponential Growth and Decay (handout)Lesson 15: Exponential Growth and Decay (handout)
Lesson 15: Exponential Growth and Decay (handout)Matthew Leingang
 
Parameter Estimation for Semiparametric Models with CMARS and Its Applications
Parameter Estimation for Semiparametric Models with CMARS and Its ApplicationsParameter Estimation for Semiparametric Models with CMARS and Its Applications
Parameter Estimation for Semiparametric Models with CMARS and Its ApplicationsSSA KPI
 
Lesson 13: Exponential and Logarithmic Functions (Section 021 handout)
Lesson 13: Exponential and Logarithmic Functions (Section 021 handout)Lesson 13: Exponential and Logarithmic Functions (Section 021 handout)
Lesson 13: Exponential and Logarithmic Functions (Section 021 handout)Matthew Leingang
 
Independent Component Analysis
Independent Component AnalysisIndependent Component Analysis
Independent Component AnalysisTatsuya Yokota
 

La actualidad más candente (16)

Lesson 12: Linear Approximation and Differentials (Section 41 slides)
Lesson 12: Linear Approximation and Differentials (Section 41 slides)Lesson 12: Linear Approximation and Differentials (Section 41 slides)
Lesson 12: Linear Approximation and Differentials (Section 41 slides)
 
Lesson 12: Linear Approximation
Lesson 12: Linear ApproximationLesson 12: Linear Approximation
Lesson 12: Linear Approximation
 
Lesson 16: Inverse Trigonometric Functions (Section 041 slides)
Lesson 16: Inverse Trigonometric Functions (Section 041 slides)Lesson 16: Inverse Trigonometric Functions (Section 041 slides)
Lesson 16: Inverse Trigonometric Functions (Section 041 slides)
 
Stochastic matrices
Stochastic matricesStochastic matrices
Stochastic matrices
 
Perimeter Institute Talk 2009
Perimeter Institute Talk 2009Perimeter Institute Talk 2009
Perimeter Institute Talk 2009
 
Tensor Decomposition and its Applications
Tensor Decomposition and its ApplicationsTensor Decomposition and its Applications
Tensor Decomposition and its Applications
 
Nonnegative Matrix Factorization
Nonnegative Matrix FactorizationNonnegative Matrix Factorization
Nonnegative Matrix Factorization
 
11.homotopy perturbation and elzaki transform for solving nonlinear partial d...
11.homotopy perturbation and elzaki transform for solving nonlinear partial d...11.homotopy perturbation and elzaki transform for solving nonlinear partial d...
11.homotopy perturbation and elzaki transform for solving nonlinear partial d...
 
Homotopy perturbation and elzaki transform for solving nonlinear partial diff...
Homotopy perturbation and elzaki transform for solving nonlinear partial diff...Homotopy perturbation and elzaki transform for solving nonlinear partial diff...
Homotopy perturbation and elzaki transform for solving nonlinear partial diff...
 
Lesson 14: Derivatives of Logarithmic and Exponential Functions (handout)
Lesson 14: Derivatives of Logarithmic and Exponential Functions (handout)Lesson 14: Derivatives of Logarithmic and Exponential Functions (handout)
Lesson 14: Derivatives of Logarithmic and Exponential Functions (handout)
 
A likelihood-free version of the stochastic approximation EM algorithm (SAEM)...
A likelihood-free version of the stochastic approximation EM algorithm (SAEM)...A likelihood-free version of the stochastic approximation EM algorithm (SAEM)...
A likelihood-free version of the stochastic approximation EM algorithm (SAEM)...
 
Lesson 2: A Catalog of Essential Functions
Lesson 2: A Catalog of Essential FunctionsLesson 2: A Catalog of Essential Functions
Lesson 2: A Catalog of Essential Functions
 
Lesson 15: Exponential Growth and Decay (handout)
Lesson 15: Exponential Growth and Decay (handout)Lesson 15: Exponential Growth and Decay (handout)
Lesson 15: Exponential Growth and Decay (handout)
 
Parameter Estimation for Semiparametric Models with CMARS and Its Applications
Parameter Estimation for Semiparametric Models with CMARS and Its ApplicationsParameter Estimation for Semiparametric Models with CMARS and Its Applications
Parameter Estimation for Semiparametric Models with CMARS and Its Applications
 
Lesson 13: Exponential and Logarithmic Functions (Section 021 handout)
Lesson 13: Exponential and Logarithmic Functions (Section 021 handout)Lesson 13: Exponential and Logarithmic Functions (Section 021 handout)
Lesson 13: Exponential and Logarithmic Functions (Section 021 handout)
 
Independent Component Analysis
Independent Component AnalysisIndependent Component Analysis
Independent Component Analysis
 

Destacado

Global gamejamfukuoka2013
Global gamejamfukuoka2013Global gamejamfukuoka2013
Global gamejamfukuoka2013Kosuke Kaneko
 
5315Syll2015Fall
5315Syll2015Fall5315Syll2015Fall
5315Syll2015FallNeha Gupta
 
多変数の極値問題は解析と線形代数の融合だ
多変数の極値問題は解析と線形代数の融合だ多変数の極値問題は解析と線形代数の融合だ
多変数の極値問題は解析と線形代数の融合だHideo Hirose
 
Symbolic Computations in Conformal Geometric Algebra for Three Dimensional O...
Symbolic Computations in Conformal Geometric Algebra for Three Dimensional  O...Symbolic Computations in Conformal Geometric Algebra for Three Dimensional  O...
Symbolic Computations in Conformal Geometric Algebra for Three Dimensional O...Yoshihiro Mizoguchi
 
Theory of Computer Science - Post Correspondence Problem
Theory of Computer Science - Post Correspondence ProblemTheory of Computer Science - Post Correspondence Problem
Theory of Computer Science - Post Correspondence ProblemKaran Thakkar
 
POST’s CORRESPONDENCE PROBLEM
POST’s CORRESPONDENCE PROBLEMPOST’s CORRESPONDENCE PROBLEM
POST’s CORRESPONDENCE PROBLEMRajendran
 
Generalized transition graphs
Generalized transition graphsGeneralized transition graphs
Generalized transition graphsArham Khan G
 
Finite automata intro
Finite automata introFinite automata intro
Finite automata introlavishka_anuj
 
Mealy and moore machines
Mealy and moore machinesMealy and moore machines
Mealy and moore machinesgrahamwell
 
Mealy moore machine model
Mealy moore machine modelMealy moore machine model
Mealy moore machine modeldeepinderbedi
 
Moore and Mealy machines
Moore and Mealy machinesMoore and Mealy machines
Moore and Mealy machinesIrfan Anjum
 
Introduction to fa and dfa
Introduction to fa  and dfaIntroduction to fa  and dfa
Introduction to fa and dfadeepinderbedi
 
Markov analysis
Markov analysisMarkov analysis
Markov analysisganith2k13
 

Destacado (16)

Global gamejamfukuoka2013
Global gamejamfukuoka2013Global gamejamfukuoka2013
Global gamejamfukuoka2013
 
5315Syll2015Fall
5315Syll2015Fall5315Syll2015Fall
5315Syll2015Fall
 
多変数の極値問題は解析と線形代数の融合だ
多変数の極値問題は解析と線形代数の融合だ多変数の極値問題は解析と線形代数の融合だ
多変数の極値問題は解析と線形代数の融合だ
 
Symbolic Computations in Conformal Geometric Algebra for Three Dimensional O...
Symbolic Computations in Conformal Geometric Algebra for Three Dimensional  O...Symbolic Computations in Conformal Geometric Algebra for Three Dimensional  O...
Symbolic Computations in Conformal Geometric Algebra for Three Dimensional O...
 
Theory of Computer Science - Post Correspondence Problem
Theory of Computer Science - Post Correspondence ProblemTheory of Computer Science - Post Correspondence Problem
Theory of Computer Science - Post Correspondence Problem
 
POST’s CORRESPONDENCE PROBLEM
POST’s CORRESPONDENCE PROBLEMPOST’s CORRESPONDENCE PROBLEM
POST’s CORRESPONDENCE PROBLEM
 
Generalized transition graphs
Generalized transition graphsGeneralized transition graphs
Generalized transition graphs
 
Finite automata
Finite automataFinite automata
Finite automata
 
Finite automata intro
Finite automata introFinite automata intro
Finite automata intro
 
Mealy and moore machines
Mealy and moore machinesMealy and moore machines
Mealy and moore machines
 
Mealy moore machine model
Mealy moore machine modelMealy moore machine model
Mealy moore machine model
 
Theory of computation / Post’s Correspondence Problems (PCP)
Theory of computation / Post’s Correspondence Problems (PCP)Theory of computation / Post’s Correspondence Problems (PCP)
Theory of computation / Post’s Correspondence Problems (PCP)
 
Moore and Mealy machines
Moore and Mealy machinesMoore and Mealy machines
Moore and Mealy machines
 
Introduction to fa and dfa
Introduction to fa  and dfaIntroduction to fa  and dfa
Introduction to fa and dfa
 
Turing machines
Turing machinesTuring machines
Turing machines
 
Markov analysis
Markov analysisMarkov analysis
Markov analysis
 

Similar a Theory of Relations (2)

Seismic data processing lecture 3
Seismic data processing lecture 3Seismic data processing lecture 3
Seismic data processing lecture 3Amin khalil
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
Lecture 3: Stochastic Hydrology
Lecture 3: Stochastic HydrologyLecture 3: Stochastic Hydrology
Lecture 3: Stochastic HydrologyAmro Elfeki
 
Quantum computing notes_DN_30 1 2023.pdf
Quantum computing notes_DN_30 1 2023.pdfQuantum computing notes_DN_30 1 2023.pdf
Quantum computing notes_DN_30 1 2023.pdfmithilashegaji
 
Fixed Point Theorm In Probabilistic Analysis
Fixed Point Theorm In Probabilistic AnalysisFixed Point Theorm In Probabilistic Analysis
Fixed Point Theorm In Probabilistic Analysisiosrjce
 
Relative superior mandelbrot and julia sets for integer and non integer values
Relative superior mandelbrot and julia sets for integer and non integer valuesRelative superior mandelbrot and julia sets for integer and non integer values
Relative superior mandelbrot and julia sets for integer and non integer valueseSAT Journals
 
Relative superior mandelbrot sets and relative
Relative superior mandelbrot sets and relativeRelative superior mandelbrot sets and relative
Relative superior mandelbrot sets and relativeeSAT Publishing House
 
Existence of Solutions of Fractional Neutral Integrodifferential Equations wi...
Existence of Solutions of Fractional Neutral Integrodifferential Equations wi...Existence of Solutions of Fractional Neutral Integrodifferential Equations wi...
Existence of Solutions of Fractional Neutral Integrodifferential Equations wi...inventionjournals
 
International Publication - (Calcolo)
International Publication - (Calcolo)International Publication - (Calcolo)
International Publication - (Calcolo)Alberto Auricchio
 
On the Principle of Optimality for Linear Stochastic Dynamic System
On the Principle of Optimality for Linear Stochastic Dynamic System On the Principle of Optimality for Linear Stochastic Dynamic System
On the Principle of Optimality for Linear Stochastic Dynamic System ijfcstjournal
 
Graph theoretic approach to solve measurement placement problem for power system
Graph theoretic approach to solve measurement placement problem for power systemGraph theoretic approach to solve measurement placement problem for power system
Graph theoretic approach to solve measurement placement problem for power systemIAEME Publication
 
Control Analysis of a mass- loaded String
Control Analysis of a mass- loaded StringControl Analysis of a mass- loaded String
Control Analysis of a mass- loaded StringAM Publications
 
Lecture13 xing fei-fei
Lecture13 xing fei-feiLecture13 xing fei-fei
Lecture13 xing fei-feiTianlu Wang
 
A current perspectives of corrected operator splitting (os) for systems
A current perspectives of corrected operator splitting (os) for systemsA current perspectives of corrected operator splitting (os) for systems
A current perspectives of corrected operator splitting (os) for systemsAlexander Decker
 
Isoparametric Elements 4.pdf
Isoparametric Elements 4.pdfIsoparametric Elements 4.pdf
Isoparametric Elements 4.pdfmannimalik
 
Z-transform and Its Inverse.ppt
Z-transform and Its Inverse.pptZ-transform and Its Inverse.ppt
Z-transform and Its Inverse.pptNahi20
 
Variational Principle
Variational PrincipleVariational Principle
Variational PrincipleAmeenSoomro1
 
Stability behavior of second order neutral impulsive stochastic differential...
Stability behavior of second order neutral impulsive  stochastic differential...Stability behavior of second order neutral impulsive  stochastic differential...
Stability behavior of second order neutral impulsive stochastic differential...Editor IJCATR
 

Similar a Theory of Relations (2) (20)

Seismic data processing lecture 3
Seismic data processing lecture 3Seismic data processing lecture 3
Seismic data processing lecture 3
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
 
Lecture 3: Stochastic Hydrology
Lecture 3: Stochastic HydrologyLecture 3: Stochastic Hydrology
Lecture 3: Stochastic Hydrology
 
Quantum computing notes_DN_30 1 2023.pdf
Quantum computing notes_DN_30 1 2023.pdfQuantum computing notes_DN_30 1 2023.pdf
Quantum computing notes_DN_30 1 2023.pdf
 
Fixed Point Theorm In Probabilistic Analysis
Fixed Point Theorm In Probabilistic AnalysisFixed Point Theorm In Probabilistic Analysis
Fixed Point Theorm In Probabilistic Analysis
 
Relative superior mandelbrot and julia sets for integer and non integer values
Relative superior mandelbrot and julia sets for integer and non integer valuesRelative superior mandelbrot and julia sets for integer and non integer values
Relative superior mandelbrot and julia sets for integer and non integer values
 
Relative superior mandelbrot sets and relative
Relative superior mandelbrot sets and relativeRelative superior mandelbrot sets and relative
Relative superior mandelbrot sets and relative
 
Dynamics
DynamicsDynamics
Dynamics
 
Existence of Solutions of Fractional Neutral Integrodifferential Equations wi...
Existence of Solutions of Fractional Neutral Integrodifferential Equations wi...Existence of Solutions of Fractional Neutral Integrodifferential Equations wi...
Existence of Solutions of Fractional Neutral Integrodifferential Equations wi...
 
International Publication - (Calcolo)
International Publication - (Calcolo)International Publication - (Calcolo)
International Publication - (Calcolo)
 
On the Principle of Optimality for Linear Stochastic Dynamic System
On the Principle of Optimality for Linear Stochastic Dynamic System On the Principle of Optimality for Linear Stochastic Dynamic System
On the Principle of Optimality for Linear Stochastic Dynamic System
 
Graph theoretic approach to solve measurement placement problem for power system
Graph theoretic approach to solve measurement placement problem for power systemGraph theoretic approach to solve measurement placement problem for power system
Graph theoretic approach to solve measurement placement problem for power system
 
Control Analysis of a mass- loaded String
Control Analysis of a mass- loaded StringControl Analysis of a mass- loaded String
Control Analysis of a mass- loaded String
 
Lecture13 xing fei-fei
Lecture13 xing fei-feiLecture13 xing fei-fei
Lecture13 xing fei-fei
 
A current perspectives of corrected operator splitting (os) for systems
A current perspectives of corrected operator splitting (os) for systemsA current perspectives of corrected operator splitting (os) for systems
A current perspectives of corrected operator splitting (os) for systems
 
Isoparametric Elements 4.pdf
Isoparametric Elements 4.pdfIsoparametric Elements 4.pdf
Isoparametric Elements 4.pdf
 
Lect 2 bif_th
Lect 2 bif_thLect 2 bif_th
Lect 2 bif_th
 
Z-transform and Its Inverse.ppt
Z-transform and Its Inverse.pptZ-transform and Its Inverse.ppt
Z-transform and Its Inverse.ppt
 
Variational Principle
Variational PrincipleVariational Principle
Variational Principle
 
Stability behavior of second order neutral impulsive stochastic differential...
Stability behavior of second order neutral impulsive  stochastic differential...Stability behavior of second order neutral impulsive  stochastic differential...
Stability behavior of second order neutral impulsive stochastic differential...
 

Más de Yoshihiro Mizoguchi

DockerでAlmaLinux(web, php, pukiwiki)環境構築
DockerでAlmaLinux(web, php, pukiwiki)環境構築DockerでAlmaLinux(web, php, pukiwiki)環境構築
DockerでAlmaLinux(web, php, pukiwiki)環境構築Yoshihiro Mizoguchi
 
DockerでCoq インストール
DockerでCoq インストールDockerでCoq インストール
DockerでCoq インストールYoshihiro Mizoguchi
 
Homebrewによるソフトウェアの実装 (3)
Homebrewによるソフトウェアの実装 (3)Homebrewによるソフトウェアの実装 (3)
Homebrewによるソフトウェアの実装 (3)Yoshihiro Mizoguchi
 
Homebrewによるソフトウェアの実装 (2)
Homebrewによるソフトウェアの実装 (2)Homebrewによるソフトウェアの実装 (2)
Homebrewによるソフトウェアの実装 (2)Yoshihiro Mizoguchi
 
Homebrewによるソフトウェアの実装(1)
Homebrewによるソフトウェアの実装(1)Homebrewによるソフトウェアの実装(1)
Homebrewによるソフトウェアの実装(1)Yoshihiro Mizoguchi
 
Overleafを使った文書作成
Overleafを使った文書作成Overleafを使った文書作成
Overleafを使った文書作成Yoshihiro Mizoguchi
 
Theory of Relational Calculus and its Formalization
Theory of Relational Calculus and its FormalizationTheory of Relational Calculus and its Formalization
Theory of Relational Calculus and its FormalizationYoshihiro Mizoguchi
 
数式処理ソフトMathematicaで数学の問題を解く
数式処理ソフトMathematicaで数学の問題を解く数式処理ソフトMathematicaで数学の問題を解く
数式処理ソフトMathematicaで数学の問題を解くYoshihiro Mizoguchi
 
Verification of a brick wang tiling algorithm
Verification of a brick wang tiling algorithmVerification of a brick wang tiling algorithm
Verification of a brick wang tiling algorithmYoshihiro Mizoguchi
 
計算機を用いて数学の問題を解くということ
計算機を用いて数学の問題を解くということ計算機を用いて数学の問題を解くということ
計算機を用いて数学の問題を解くということYoshihiro Mizoguchi
 
A Coq Library for the Theory of Relational Calculus
A Coq Library for the Theory of Relational CalculusA Coq Library for the Theory of Relational Calculus
A Coq Library for the Theory of Relational CalculusYoshihiro Mizoguchi
 
Algebras for programming languages
Algebras for programming languagesAlgebras for programming languages
Algebras for programming languagesYoshihiro Mizoguchi
 
定理証明支援系Coqについて
定理証明支援系Coqについて定理証明支援系Coqについて
定理証明支援系CoqについてYoshihiro Mizoguchi
 
Coq関係計算ライブラリの開発と写像の性質の証明
Coq関係計算ライブラリの開発と写像の性質の証明Coq関係計算ライブラリの開発と写像の性質の証明
Coq関係計算ライブラリの開発と写像の性質の証明Yoshihiro Mizoguchi
 
Mac bookでwebサーバーを起動する方法
Mac bookでwebサーバーを起動する方法Mac bookでwebサーバーを起動する方法
Mac bookでwebサーバーを起動する方法Yoshihiro Mizoguchi
 
有限オートマトンとスティッカー系に関するCoqによる形式証明について
有限オートマトンとスティッカー系に関するCoqによる形式証明について有限オートマトンとスティッカー系に関するCoqによる形式証明について
有限オートマトンとスティッカー系に関するCoqによる形式証明についてYoshihiro Mizoguchi
 

Más de Yoshihiro Mizoguchi (20)

DockerでAlmaLinux(web, php, pukiwiki)環境構築
DockerでAlmaLinux(web, php, pukiwiki)環境構築DockerでAlmaLinux(web, php, pukiwiki)環境構築
DockerでAlmaLinux(web, php, pukiwiki)環境構築
 
DockerでCoq インストール
DockerでCoq インストールDockerでCoq インストール
DockerでCoq インストール
 
Homebrewによるソフトウェアの実装 (3)
Homebrewによるソフトウェアの実装 (3)Homebrewによるソフトウェアの実装 (3)
Homebrewによるソフトウェアの実装 (3)
 
Homebrewによるソフトウェアの実装 (2)
Homebrewによるソフトウェアの実装 (2)Homebrewによるソフトウェアの実装 (2)
Homebrewによるソフトウェアの実装 (2)
 
Homebrewによるソフトウェアの実装(1)
Homebrewによるソフトウェアの実装(1)Homebrewによるソフトウェアの実装(1)
Homebrewによるソフトウェアの実装(1)
 
Overleafを使った文書作成
Overleafを使った文書作成Overleafを使った文書作成
Overleafを使った文書作成
 
Amazon AWSの使い方
Amazon AWSの使い方Amazon AWSの使い方
Amazon AWSの使い方
 
ShareLaTeXの使い方
ShareLaTeXの使い方ShareLaTeXの使い方
ShareLaTeXの使い方
 
Theory of Relational Calculus and its Formalization
Theory of Relational Calculus and its FormalizationTheory of Relational Calculus and its Formalization
Theory of Relational Calculus and its Formalization
 
数式処理ソフトMathematicaで数学の問題を解く
数式処理ソフトMathematicaで数学の問題を解く数式処理ソフトMathematicaで数学の問題を解く
数式処理ソフトMathematicaで数学の問題を解く
 
Verification of a brick wang tiling algorithm
Verification of a brick wang tiling algorithmVerification of a brick wang tiling algorithm
Verification of a brick wang tiling algorithm
 
計算機を用いて数学の問題を解くということ
計算機を用いて数学の問題を解くということ計算機を用いて数学の問題を解くということ
計算機を用いて数学の問題を解くということ
 
A Coq Library for the Theory of Relational Calculus
A Coq Library for the Theory of Relational CalculusA Coq Library for the Theory of Relational Calculus
A Coq Library for the Theory of Relational Calculus
 
Algebras for programming languages
Algebras for programming languagesAlgebras for programming languages
Algebras for programming languages
 
定理証明支援系Coqについて
定理証明支援系Coqについて定理証明支援系Coqについて
定理証明支援系Coqについて
 
Coq関係計算ライブラリの開発と写像の性質の証明
Coq関係計算ライブラリの開発と写像の性質の証明Coq関係計算ライブラリの開発と写像の性質の証明
Coq関係計算ライブラリの開発と写像の性質の証明
 
Coqチュートリアル
CoqチュートリアルCoqチュートリアル
Coqチュートリアル
 
Mac bookでwebサーバーを起動する方法
Mac bookでwebサーバーを起動する方法Mac bookでwebサーバーを起動する方法
Mac bookでwebサーバーを起動する方法
 
有限オートマトンとスティッカー系に関するCoqによる形式証明について
有限オートマトンとスティッカー系に関するCoqによる形式証明について有限オートマトンとスティッカー系に関するCoqによる形式証明について
有限オートマトンとスティッカー系に関するCoqによる形式証明について
 
計算可能実数とは
計算可能実数とは計算可能実数とは
計算可能実数とは
 

Último

ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 

Último (20)

ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 

Theory of Relations (2)

  • 1. . . Theory of Relations (2) Sequential Machines and Finite Automata Course of Mathematics Pusan National University . .. . . Yoshhiro Mizoguchi Institute of Mathematics for Industry Kyushu University, JAPAN ym@imi.kyushu-u.ac.jp November 3-4, 2011 Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 1 / 34
  • 2. Table of Contents . .. 1 Sequential Machine Preliminary Reachable and Observable Mimimal Realization . .. 2 Finite Automata Introduction to Theory of Automata The Myhill-Nerode theorem Minimal Realization . .. 3 Applications of Relational Calculus to Theory of Automata Nondeterministic Finite Automaton Coproduct and Product Automaton Reverse, Concatenate, Closure Examples . .. 4 References Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 2 / 34
  • 3. Sequential Circuit (1) 1 2 0 1 0 2 0 0 1 0 0 1 1 0 dc S c Q 0 1 0 0 0 1 0   1 0 0 1 0 0 0 dc c   R One of the elementary units of sequential circuits, the RS Flip-flop circuit produces an output signal sequence according to the sequence of input signals. Output signals are 1(on) or 0(o f f ) so we write the outputs as Y = {0, 1}. There are two input signals S(et) and R(eset). We consider the pair (SR) of S and R, and we denote 0 = (00), 1 = (01) and 2 = (10). So we can consider the inputs as X = {0, 1, 2}. The model of a sequential circuit consists of the state set Q = {a, b}, the state transition function δ : Q × X → Q, and the output function β : Q → Y. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 3 / 34
  • 4. Sequential Circuit (2) The table below is the value of δ and β. The figure is the state transition diagram of the RS Flip-flop circuit. q x δ(q, x) a 0 a a 1 a q β(q) 0or1 0or2 ‡ ‡ a 2 b a 0 a/0 2E b/1 b 0 b b 1 i1 b 1 a b 2 b The labels of a vertex consists of a state and an output symbol. An edge means a state transition and the label on an edge corresponds to the input symbol. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 4 / 34
  • 5. Sequential Circuit (3) An sequential circuit can be considered as a function from an input word to an output word. That is we can consider an sequential circuit as a function f : X∗ → Y ∗ where X∗ is the set of words over X including an empty string ε. . Problem . .. Construct an algebraic model (Sequential Machine) of sequential circuits using a state set, a state transition function and an output function. What kind of function from input words to output words is realizable by a finite state sequential machine? How to construct an efficient sequential machine with small number of . states. .. . . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 5 / 34
  • 6. Epi-Mono Factorization A function F : X → Y from a set X to a set Y can be represented by a composition F(x) = m(e(x)) (x ∈ X) of an injective function m : Z → Y and an surjective function e : X → Z . The set Z is uniquely determined by f up to isomorphism. That is Z F(X) = {F(x) ∈ Y | x ∈ X} and Z X/ ∼ = {[x] | x ∈ X}, where the equivalent relation ∼ on X is defined by [ x ∼ x′ ⇔ F(x) = F(x′ )] and [x] = {x′ ∈ X | x ∼ x′ } is a set of equivalence class including x. (Note) A function e : X → Z is surjective if there exists an element x ∈ X satisfying e(x) = z for any element z ∈ Z . A function m : Z → Y is injective if m(z1 ) m(z2 ) for any two elements z1 , z2 ∈ Z satisfying z1 z2 . We denote an injection by an arrow with tail , and a surjective by an arrow with head . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 6 / 34
  • 7. Sequential Machine . Definition (Sequential Machine) . .. A sequential mmachine is a sextuple M = (X, Q, δ, q0 , Y, β) where X is the set of inputs, Q is the set of states, δ:Q×X →Q is the transition function, q0 ∈ Q is the initial state, Y is the set of outputs, and . β:Q→Y is the output map. .. . . (Note) This sequential machine (SM) is called Moore style SM. The Mealy style SM is defined by an alternate output map λ : Q × X → Y insted of β. These two model are equivalent. Mealy style does not have an output for the initial state, but the rest of relations between inputs and outputs are mutually transformable. We sometime define SM by pentad without an initial state. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 7 / 34
  • 8. Run map and Response map . Definition (Run map) . .. Let δ : Q × X → Q be a transition function. We define its run map to be the unique map δ∗ : Q × X∗ → Q defined inductively by δ∗ (q, ε) = q, and δ∗ (q, xw) = δ∗ (δ(q, x), w) ( q ∈ Q, x ∈ X, w ∈ X∗ ). . .. . . Let f : X∗ → Y be a function. We also define the function f∗ : X∗ → Y ∗ defined inductively by f∗ (ε) = f (ε), and f∗ (wx) = f∗ (w) f (wx) ( x ∈ X, w ∈ X∗ ). . Definition (Response map) . .. Let M = (X, Q, δ, q0 , Y, β) be a sequential machine. We define its response map to be the map ( f M )∗ : X∗ → Y ∗ where f M : X∗ → Y is defined by f M (w) = β(δ∗ (q0 , w)) (w ∈ X∗ ). . .. . . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 8 / 34
  • 9. Realization (1) . Definition . .. Let t : X ∗ → Y ∗ be a function. If there exists a sequential machine M such that t = ( f M )∗ , then M is called a realization of t . . .. . . We call t : X∗ → Y ∗ is realizable if there exisits a function f : X∗ → Y such that t = f∗ . . Proposition . .. A function t : X ∗ → Y ∗ is realizable if and only if for any w ∈ X ∗ , x ∈ X there exists y ∈ Y such that t(wx) = t(w)y. . .. . . The condition is equivalent that the value t(wx) is depending on only w and is not depending on x. We call a function t : X∗ → Y ∗ satisfying the condition as a sequential function. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 9 / 34
  • 10. Realization (2) . Proposition . .. Let t : X∗ → Y ∗ be a sequential function. Then there exist a sequential machine M which is a realization of t . . .. . . Let f : X∗ → Y be a function and t = f∗ . We introduce two kinds of sequential machines which is a realization of t . M I = (X, X∗ , δ I , ε, Y, f ) δ I (w, x) = wx (w ∈ X∗ , x ∈ X). ∗ MT = (X, Y X , δT , f, Y, βT ) ∗ Y X is the set of all maps from X∗ to Y , that is { f | f : X∗ → Y}, δT ( f, x) : X∗ → Y is defined by δT ( f, x)(w) = f (xw) ( x ∈ X, w ∈ X∗ ), ∗ and βT ( f ) = f (ε) ( f ∈ Y X ). We can verify easily f = f MI = f MT . We note that both M I and MT is not a finite sequential machine. That is the state set is not a finite set. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 10 / 34
  • 11. Finite Realization . Problem . .. What kind of sequential function f : X ∗ → Y which have a finite state realization? . .. . . The state sets of MT is infinite but the most of states are unreachable from the initial state f . If the states reachable from f is finite, then we can construct a finite sequential machine from MT . That is the condition to ∗ have a finite representation is that the set Z = {δ∗ ( f, w) ∈ Y X | w ∈ X∗ } is T finite. ∗ We define a function F : X∗ → Y X by F(w) = δ∗ ( f, w) (w ∈ X∗ ). F is T divided to the composition of a surjection and an injection. Since Z = F(X∗ ), we have Z = X∗ / ∼ by the equivalence relation ∼ defined by [w ∼ w′ ⇔ δ∗ ( f, w) = δ∗ ( f, w′ )]. We note δ∗ ( f, w)(z) = δ∗ ( f, w′ )(z) is T T T T f (wz) = f (w′ z) for any z ∈ X∗ . If the number of the equivalence class is finite, then there exists a finite realization. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 11 / 34
  • 12. Reachable and Observable Let M = (X, Q, δ, q0 , Y, β) be a sequential machine and its response map ∗ f M : X∗ → Y . We define F : X∗ → Y X by F(w) = δ∗ ( f M , w). T ∗ F is divided into a composition of fe : X∗ → Q and f m : Q → Y X such that F(w) = f m( fe (w)), where fe (w) = δ∗ (q0 , w), and f m(q)(w) = β(δ∗ (q, w)) (w ∈ X∗ , q ∈ Q). If fe is a surjection then we call M as reachable. If f m is an injection then we call M as obserbable or reduced. We note that a reachable and obserbable sequential machine is minimal representation of f M . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 12 / 34
  • 13. Minimal Realization Let M = (X, Q, δ, q0 , Y, β) be a sequential machine. and F = f m ◦ fe . ∗ Assume fe : X∗ → Q is a surjection. If f m : Q → Y X is not an injection, then we can construct a minimal realization using the epi-mono factorization of f m. The equivalence relation [ q ∼ q′ ⇔ f m(q) = f m(q′ )] on Q is that f m(q)(w) = f m(q′ )(w) for any w ∈ X∗ . That is β(δ∗ (q, w)) = β(δ∗ (q′ , w)). If Q is a finite set and |Q| = n, then it is sufficient to check the condition β(δ∗ (q, w)) = β(δ∗ (q′ , w)) for finite number of words w with |w| n. So we can check q ∼ q′ for any state q and q′ in finite steps, and we can construct a minimal state sequential machine. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 13 / 34
  • 14. Introduction to Theory of Automata The first published study on automata [6] is the Automata studies in 1956 edited by C. E. Shanon who is famous as an originator of the information theory and J. McCarthy who is a famous researcher of the fields artificial intelligence. At that time, they formalized an abstract model of a sequentil circuit and investigated relationship between inputs and outputs analyzing a state transition functions. Once the notion of accept states is introduced, a machine is considered as an acceptor and investigations of recognized language are started. This is the origin of the theory of language and automata. The first paper [4] about finite state automata is ’finite Automata and Their Decision Problems’ by M. O. Rabin and D. Scott pubshed in 1959. They were awarded an ACM Turing aword in 1976 for this research. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 14 / 34
  • 15. Alphabet, Word, Concatenation An alphabet is a finite, nonempty set. The elements of an plphabet are feferred to as letters, or symbols. A word over an alphabet is a finite string consisting of zero or more letters of the alphabet, in which the same letter may occur several times. The string consisting of zero letters is called the empty word, written ε. The length of a word w, denoted by |w|, is the number of letters in w. Again by definition, |ε| = 0. Let Σ be an alphabet. The set of all words over an alphabet Σ is denoted by Σ∗ . The sets Σ∗ is infinite for any Σ. Algebraically speaking, Σ∗ is the free monoid with the identity ε generated by Σ. For words w1 and w2 , the juxtaposition w1 w2 is called the concatenation of w1 and w2 . The empty word is an identity with respect to concatenation, εw = wε = w holds for all word w. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 15 / 34
  • 16. Kleene Closure Subsets of Σ∗ are referred to as formal languages, or briefly, languages over Σ. The concatenation (or product) of two languages L1 and L2 is defined by L1 L2 = {w1 w2 | w1 ∈ L1 , w2 ∈ L2 }. The (Kleene) closure L∗ of a language L is defined to be the union of all powers of L, that is L∗ = ∪∞ L n where L0 = {ε}, and L n = L n−1 · L n=0 ( n ≥ 1). The closure of all words Σ is Σ∗ and there is no confusions defined as a set of all words over Σ. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 16 / 34
  • 17. Deterministic Automata (1) . Definition . .. Deterministic Automata A determinisiic finite automaton is a pentad M = (Σ, Q, δ, q0 , F) where Σ is the alphabet, Q is the finite set of states, δ:Q×Σ→Q is the transition function, q0 ∈ Q is the initial state, and . F⊂Q is the set of accept states. .. . . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 17 / 34
  • 18. Deterministic Automata (2) s1 s2 · · · s n inputs T E move head to right after a state transition Controler( q) Finite Automaton M A finite automaton is illustrated as above figure. The input letters are on input tape. The first state of controller is the initial state q0 . If the state is q and input letter is s then the state is changed to δ(q, s). After changing the state the head is moved to right. Repeating these procedures until the end of an input word. If the head reached to the end of an input word, then check the state is accept state or not. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 18 / 34
  • 19. Recognized Language Let δ : Q × Σ → Q be a state transition function. The function δ∗ : Q × Σ∗ → Q is uniquely determined by δ∗ (q, ε) = q, and δ∗ (q, wa) = δ(δ∗ (q, w), a) (w ∈ Σ∗ , a ∈ Σ). . Definition . .. The recognized language L(M) ⊂ Σ∗ is defined by L(M) = {w ∈ Σ∗ | δ∗ (q0 , w) ∈ F}. L(M) is referred to as the language accepted by M. . .. . . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 19 / 34
  • 20. Example . Example . .. Let M = (Q, Σ, δ, q0 , F) be a finite automaton where Q = {q0 , q1 , q2 }, F = {q1 }, q0 ∈ Q. The state transition function δ : Q × Σ → Q is defined as follows δ(q0 , a) = q1 , δ(q0 , b) = q2 , δ(q1 , a) = q2 , δ(q1 , b) = q0 , δ(q2 , a) = q2 , δ(q2 , b) = q2 . For example, the word w = aba is acceptable δ∗ (q0 , aba) = δ∗ (δ(q0 , a), ba) = δ∗ (q1 , ba) = δ∗ (δ(q1 , b), a) = δ∗ (q0 , a) = δ∗ (δ(q0 , a), ε) = ∗ . δ (q1 , ε) = q1 ∈ F. .. . . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 20 / 34
  • 21. State Transition Diagram A finite automaton M is denoted by a following figure called state transition diagram. Vertices are states and the initial state has an arrow without label. According to the input letters follow arrows with same label with input letter. The vertex corresponding to an accept state has double circle and if the following the input letters ended at the vertices with double circle then the input word is accepted. a, b c q0 ' b q2 i A b q E a 1 a Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 21 / 34
  • 22. The Myhill-Nerode theorem (1) . Definition . .. An equivalence relation ∼ on Σ∗ is said to be right invariant if ”w1 ∼ w2 ⇒ w1 z ∼ w2 z (∀z ∈ Σ∗ )” for any w1 , w2 ∈ Σ∗ . An equivalence relation ∼ is finite index if the number of equivalence classes is finite. That is {[x] | x ∈ Σ∗ } is finite set where . [x] = {x′ | x ∼ x′ }. .. . . Let L Σ∗ . We define a relation w1 ∼ L w2 on Σ∗ by w1 z ∈ L ⇔ w2 z ∈ L (∀z ∈ Σ∗ ). The relation ∼ L is a right invariant equivalent relation. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 22 / 34
  • 23. The Myhil-Nerode theorem (2) . Theorem (Nerode) . .. Let L Σ∗ be a language on Σ. Then, the following three conditions (1), (2) and (3) are equivalent. (1) The set L is acpted by some finite automaton. (2) L is the union of some of the equivalent classes of a right invariant equivalence relation of finite index. (3) The right invariant equivalence relation ∼ L induced by L is of finite . index. .. . . Let L be the language L in (3) and Q = {[w] | w ∈ Σ ∗ }, δ([w], a) = [wa], q0 = [ε], F = {[w] | w ∈ L}. Then M = (Q, Σ, δ, q0 , F) is a finite automaton and L = L(M). Further, if L = L(M′ ) for some finite automata M′ = (Q′ , Σ, δ′ , q′ , F′ ) then |Q| ≤ |Q′ |. That is M is a minimal state 0 automaton with L = L(M). Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 23 / 34
  • 24. Minimal Realization Let M = (X, Q, X, δ, q0 , Y, β) be a sequential machine and Y = {0, 1}. There is an one-to-one coresspondence between an output map β : Q → {0, 1} and a subset F = {q ∈ Q | β(q) = 1} of Q. That is a finite automata is considered as a sequential machine with Y = {0, 1}. A finite sequential machine is exactly a finite automaton. Further, a function f : X∗ → Y is corresponde to a subset of X∗ that is a recognized language. In the previous section, we construct a minimal realization of f using an equivalence relation w ∼ w′ defined by f (wz) = f (wz′ ) (∀z ∈ X∗ ). This is the equivalence relation ∼ L induced by L. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 24 / 34
  • 25. Example . Example (Minimalize) . .. The automton M′ in right figure is the minimalized automaton of M in left figure. We note p0 = {q0 , q2 }, p1 = {q1 , q3 }, and p2 = {q4 , q5 }. . .. . .
  • 26. q3 a
  • 27. b b
  • 28. c
  • 29. a
  • 30. c z
  • 32. p0
  • 33. E y‚ ‡ b q0 ‡ b$ X b a, b q2 $ r
  • 34. a j r ˆ q5 a rr ‡ p1 '
  • 35. b j $ q1 WB $ X a a b B a E p2 a M M′ Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 25 / 34
  • 36. Nondeterministic Finite Automaton Let Σ be an alphabet, I one point set {∗}. . Definition (Kawahara 1988[3]) . .. A nondeterministic finite automaton (NFA) M = (Q, τ, δ a (a ∈ Σ), β) is a quadruple where Q is a finite set of states, τ:I⇁Q is the inital state relation, δa : Q ⇁ Q is the set of state-transition relations, and . β:Q⇁I is the final state relation. .. . . For an input string w = σ1 σ2 · · · σ n ∈ Σ∗ (σi ∈ Σ, 1 ≤ i ≤ n, 0 n), the iterative state-transition relation δw : Q ⇁ Q is defined by δw = δσ1 δσ2 · · · δσn . . Definition . .. The language accepted by a NFA M is defined by . L(M) = {w ∈ Σ∗ | τδw β♯ = id I }. .. . . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 26 / 34
  • 37. Coproduct Automaton . Definition . .. Let M = (Q, τ, δ a (a ∈ Σ), β) and M ′ = (Q′ , τ′ , δ′ (a ∈ Σ), β′ ) be NFAs. The a coproduct automaton of M and M′ is defined by M + M′ = (Q + Q′ , τ, δ a (a ∈ Σ), β) where τ = τ ⊥ τ′ , δ a = δ a + δ′ , and ˆ ˆ ˆ ˆ ˆ a β=β⊥β ˆ ′. . .. . . . Proposition . .. Let M + M′ be the coproduct automaton of M and M′ . Then (a) δw = δw + δ′ for w ∈ Σ∗ . ˆ w (b) τδw β♯ = τδw β♯ ⊔ τ′ δ′ (β′ )♯ . ˆˆ ˆ w ′ ′ . (c) L(M + M ) = L(M) ∪ L(M ). .. . . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 27 / 34
  • 38. Product Automatan . Definition . .. Let M = (Q, τ, δ a (a ∈ Σ), β) and M ′ = (Q′ , τ′ , δ′ (a ∈ Σ), β′ ) be NFAs. The a product automaton of M and M ′ is defined by M × M′ = (Q × Q′ , τ, δ a (a ∈ Σ), β) where τ = τ⊤τ′ , δ a = δ a × δ′ , and ˆ ˆ ˆ ˆ ˆ a β = β⊤β ˆ ′. . .. . . . Proposition . .. Let M + M′ be the coproduct automaton of M and M′ . Then (a) δw = δw × δ′ for w ∈ Σ∗ . ˆ w (b) τδw β♯ = τδw β♯ ⊓ τ′ δ′ (β′ )♯ . ˆˆ ˆ w ′ ′ . (c) L(M × M ) = L(M) ∩ L(M ). .. . . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 28 / 34
  • 39. Reverse Automaton . Definition . .. Let M = (Q, τ, δ a (a ∈ Σ), β) be a NFA. The reverse automaton of M is ♯ defined by M R = (Q, τ R , δ R (a ∈ Σ), β R ) where τ R = β, δ R = δ a and a a . = τ. βR .. . . . Proposition . .. Let M R be the reverse automaton of M. Then (a) δw = (δwR )♯ where w R is a reverse string of w ∈ Σ∗ . R (b) τ R δw (β R )♯ = (τδwR β♯ )♯ . R . (c) L(M ) = L(M) where L(M) = {w | w ∈ L(M)}. R R R R .. . . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 29 / 34
  • 40. Concatenate Automatan . Definition . .. Let M = (Q, τ, δ a (a ∈ Σ), β) and M ′ = (Q′ , τ′ , δ′ (a ∈ Σ), β′ ) be NFAs. The a concatenate automaton of M and M ′ is defined by M · M′ = (Q + Q′ , τ, δ a (a ∈ Σ), β) where γ = β♯ τ′ , τ = τ(i ⊔ γ j), ˆ ˆ ˆ ˆ ˆ a = i♯ δ a i ⊔ i♯ γδ′ j ⊔ j♯ δ′ j, and β = β′ (γ♯ i ⊔ j). δ ˆ . a a .. . . The function δw : Q ⇁ Q′ (w ∈ Σ∗ ) is uniquely determined by δε = 0QQ′ o o and δwa = (δw γ ⊔ δw )δ′ . o o w . Proposition . .. Let M · M′ be the concatenate automaton of M and M′ . Then (a) δw = i♯ δw i ⊔ i♯ δw j ⊔ j♯ δ′ j. ˆ o w (b) δw γ ⊔ δw ⊔ γδ′ = ⊔w=uv δu γδ′ . o w v (c) τδw (β)♯ = ∪w=uv τδu γδ′ (β′ )♯ . ˆˆ ˆ v ′ ′ . (d) L(M · M ) = L(M) · L(M ). .. . . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 30 / 34
  • 41. Closure Automaton . Definition . .. Let M = (Q, τ, δ a (a ∈ Σ), β) be a NFA. The coosure automaton of M + is defined by M+ = (Q, τ, δ+ (a ∈ Σ), β) where γ = β♯ τ, and δ+ = (idQ ⊔ γ)δ a . . a a .. . . . Proposition . .. Let M+ be the closure automaton of M. Then (a) δ+ = ⊔w=u1 ···u k ,u k w ε,k0 δu1 γδu2 γ · · · γδu k for w ε. (b) τδ+ β♯ = ⊔w=u1 ···u k ,k0 τδu1 γδu2 γ · · · γδu k β♯ w for w ε. . (c) L(M+ ) = L(M)+ . .. . . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 31 / 34
  • 42. Examples . Proposition . .. Let Mϕ = (I, τ, δ a (a ∈ Σ), β) be a NFS where β = 0 II . Then L(Mϕ ) = ϕ. Let Mε = (I, τ, δ a (a ∈ Σ), β)) be a NFS where τ = id I , δ a = 0 II ( a ∈ Σ), and β = id I . Then L(Mε ) = {ε}. Let σ ∈ Σ and Mσ = (I + I, δ a (a ∈ Σ), β) where τ = i, δσ = i♯ j, . δ a = 0 I+I,I+I ( a σ), and β = j. Then L(Mσ ) = {σ}. .. . . The Kleene closure automaton of M is defined by M ∗ = Mε + M+ . Then we have T(M∗ ) = L(Mε + M+ ) = T(Mε ) ∪ T(M+ ) = {ε} ∪ T(M)+ = T(M)∗ . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 32 / 34
  • 43. Regular Language . Definition . .. A language L ⊂ Σ∗ is a regular if there exists a NFA M such that . = L(M). L .. . . . Proposition . .. Let L and L′ be regular languages. Then L = ϕ, L = {ε} and L = {σ} (σ ∈ Σ) are regular languages. Σ∗ − L, L R , L+ and L∗ are regular languages. . L ∩ L′ , L ∪ L′ and L · L′ are regular languages. .. . . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 33 / 34
  • 44. References [1] M.A.Arbib and E.G.Manes: Machines in a cagegory, an expository introduction, SIAM Review, 16(1974), 163-192. [2] J.E.Hopcroft and J.D.Ullman: Formal Languages and Their Relation to Automata (2nd. Ed.), Addison-Wesley(2001). [3] Y. Kawahara, Applications of relational calculus to computer mathematics, Bulletin of Informatics and Cybernetics, 23(1988), 67-78. [4] M.O.Rabin and D.Scott: Finite Automata and Their Decision Problems, IBM Journal, 3(1959), 114-125. [5] A. Salomaa: Computation and Automata, Cambridge University Press(1985). [6] C.E.Shannon and J.Mac Carthy (eds.): Automata Studies, Princeton University Press(1956). Y. Mizoguchi (Kyushu Univ.) Theory of Relations (2) Sequential Machines and Finite Automata November 3-4, 2011 34 / 34