SlideShare une entreprise Scribd logo
1  sur  35
Télécharger pour lire hors ligne
Theory of Relations (1)
                               Course of Mathematics
                              Pusan National University                       .


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

                               September 29-30, 2011




Y. Mizoguchi (Kyushu Univ.)            Theory of Relations (1)        September 29-30, 2011   1 / 35
Table of Contents


1   Relational Calculus
      Basic Notations
      Matchings
      Dedekind Formula

2   Cardinality of relations
      Basic concepts
      Properties


3   Product and Coproduct
      Coproduct relations
      Product relations

4   Matching Theorem
      Hall’s Marriage Theorem


5   Report




    Y. Mizoguchi (Kyushu Univ.)      Theory of Relations (1)   September 29-30, 2011   2 / 35
Introduction

  There are many network structures (relations between certain
  objects) considered in applications of mathematics in other sciences.
  We use many calculations of numbers and equations of numbers in
  mathematical analysis in application areas.
  We seldom do calculations in mathematical analysis of network
  structures or equations of structures.
  A sufficiently developed theory of relations has been existing for a
  long while.
  In this lecture, we review several elementary mathematical concepts
  from the viewpoint of a theory of relations.
  Managing the calculations of relations, we reexamine properties of
  network structures.
  It is also intended to construct a theory of relations with computer
  verifiable proofs.

Y. Mizoguchi (Kyushu Univ.)   Theory of Relations (1)   September 29-30, 2011   3 / 35
Historical Background

  The modern story of an algebra of logic is started by G. Boole (1847).
  Complement, Converse (Inverse) and Composition of relations.
  (De Morgen(1864))
  To create an algebra out of logic. (C. S. Peirce(1870))
  Axiomatization and Representability (A. Tarski(1941),
  R.Lyndon(1950))
  Relations in categories. (S. MacLane(1961), D. Puppe(1962),
  Y. Kawahara(1973))
  Fuzzy relations and its axiomatization and representability.
  (L. A. Zadeh(1965), Y. Kawahara(1999))
† R. D. Maddux, The origin of relation algebras in the development and
  axiomaization of the calculus of relations, Studia Logica 50(1991),
  421–455.
† G. Schmidt, Relational Mathematics, Cambridge University Press,
  2010, 582pages.
Y. Mizoguchi (Kyushu Univ.)        Theory of Relations (1)   September 29-30, 2011   4 / 35
Applications to Computer Science

  Theory of Automata (model of computing)
  Y.Kawahara, Applications of relational calculus to computer
  mathematics. Bull. Inform. Cybernet. 23 (1988), pp67–78.
  Theory of Programs (program verification)
  Y.Kawahara and Y.Mizoguchi, Categorical assertion semantics in
  toposes, Advances in Software Science and Technology, Vol.4(1992),
  137–150.
  Graph Rewriting System (model of computation)
  Y.Mizoguchi and Y.Kawahara, Relational graph rewritings. Theoret.
  Comput. Sci. 141 (1995), 311–328.
  Relational Databases (model of data)
  H.Okuma and Y.Kawahara, Relational aspects of relational database
  dependencies. Bull. Inform. Cybernet. 32 (2000), 91–104.
  Formal Concept Analysis (model of data)
  T.Ishida, K.Honda, Y.Kawahara, Formal concepts in Dedekind
  categories. Lecture Notes in Comput. Sci., Vol.4988(2008) 221–233.
Y. Mizoguchi (Kyushu Univ.)       Theory of Relations (1)   September 29-30, 2011   5 / 35
Basic Notations

(1) A relation α of a set A into another set B is a subset of the Cartesian
    product A × B and denoted by α : A        B.
(2) The inverse relation α : B         A of α is a relation such that
    (b, a) ∈ α if and only if (a, b) ∈ α.
(3) The composite αβ : A         C of α : A     B followed by β : B      C is
    a relation such that (a, c) ∈ αβ if and only if there exists b ∈ B with
    (a, b) ∈ α and (b, c) ∈ β.
(4) As a relation of a set A into a set B is a subset of A × B, the inclusion
    relation, union, intersection and difference of them are available as
    usual and denoted by , , and −, respectively.
(5) The identity relation id A : A             A is a relation with
    id A = {(a, a) ∈ A × A|a ∈ A}.
(6) The empty relation φ ⊆ A × B is denoted by 0 AB . The entire set
    A × B is called the universal relation and denoted by ∇ AB .
(7) The one point set {∗} is denoted by I. We note that ∇ II = id I .
  Y. Mizoguchi (Kyushu Univ.)     Theory of Relations (1)         September 29-30, 2011   6 / 35
Union, Intersection, Complement


α: A         B, β : A            B : relations.

                        α       β = {(a, b) | (a, b) ∈ α ∨ (a, b) ∈ β}
                        α       β = {(a, b) | (a, b) ∈ α ∧ (a, b) ∈ β}
                                α = {(a, b) | (a, b)
                                ¯                                   α}
                        α − β = {(a, b) | (a, b) ∈ α ∧ (a, b)            β}


{αλ : A         B | λ ∈ Λ}, {βλ : A            B | λ ∈ Λ} : classes of relations.

                            λ∈Λ αλ   = {(a, b) | ∃λ ∈ Λ, (a, b) ∈ αλ )}
                            λ∈Λ αλ   = {(a, b) | ∀λ ∈ Λ, (a, b) ∈ αλ )}




  Y. Mizoguchi (Kyushu Univ.)             Theory of Relations (1)        September 29-30, 2011   7 / 35
Distributive Law (                 and   )




Proposition
Let α : A  B, β : A                    B and βλ : A               B (λ ∈ Λ) be relations. Then we
have
    α       (   λ∈Λ βλ )        =   λ∈Λ (α   βλ )
    α       (   λ∈Λ βλ )        =   λ∈Λ (α   βλ )
    α = α, (α
    ¯                      β) = α
                                ¯        β, (α
                                         ¯            β) = α
                                                           ¯           β.
                                                                       ¯
    0 AB = ∇ AB , ∇ AB = 0 AB .
                                                                                        .




  Y. Mizoguchi (Kyushu Univ.)                Theory of Relations (1)             September 29-30, 2011   8 / 35
I-Category




Proposition (I-Category)
Let α, α : A       B , β, β : B C and γ : C D be relations. Then
 (1) (αβ)γ = α(βγ),
 (2) id A α = αid B = α,
 (3) (α ) = α, (αβ) = β α ,
 (4) If α α and β β then αβ α β and α          (α ) .

                                                                 .




  Y. Mizoguchi (Kyushu Univ.)   Theory of Relations (1)   September 29-30, 2011   9 / 35
Distributive Law (Composition and ( ,                         ))




Proposition
Let α : A  B, β : B                 C , βλ : A          B (λ ∈ Λ) and γ : C           D be
relations. Then we have

                                α(    λ∈Λ βλ )      =        λ∈Λ (αβλ )
                                (    λ∈Λ βλ )γ      =        λ∈Λ (βλ γ)
                                α(    λ∈Λ βλ )               λ∈Λ (αβλ )
                                (    λ∈Λ βλ )γ               λ∈Λ (βλ γ)
                                                                                  .




  Y. Mizoguchi (Kyushu Univ.)             Theory of Relations (1)         September 29-30, 2011   10 / 35
Empty & Universal relation



Proposition
    For a relation α : A             B,

                                   0 X A α = 0 XB , α0 BY = 0 AY .

    If B        φ, then
                                           ∇ AB ∇ BC = ∇ AC
    Note: If B = φ, then ∇ AB ∇ BC = 0 AC .
    If α : A            B is not empty, then

                                        ∇ AA α∇ BB = ∇ AB .                  .




  Y. Mizoguchi (Kyushu Univ.)             Theory of Relations (1)    September 29-30, 2011   11 / 35
Inverse relation




Proposition
Let α : A  B, β : A                    B, αλ : A              B (λ ∈ Λ) be relations.
    (    λ∈Λ αλ )      =        λ∈Λ α ,   (   λ∈Λ αλ )       =      λ∈Λ α .
                                     λ                                   λ

    (α) = (α ), (α − β) = α − β .
     ¯
    0        = 0B A, ∇               = ∇ BA .
        AB                      AB
    id = id A .
        A
    ∇ AB = ∇ ∇ IB .
                     IA
                                                                                       .




  Y. Mizoguchi (Kyushu Univ.)                   Theory of Relations (1)        September 29-30, 2011   12 / 35
Equivalence and Ordering (1)




For a relation θ : A                    A, we define the following laws:

                                 id A θ               (Reflexive Law)
                                 θ  θ                 (Symmetric Law)
                                 θθ θ                 (Transitive Law)
                                 θ θ    id A          (Antisymmetric Law)
                                 θ θ = ∇AA            (Linear Law)




   Y. Mizoguchi (Kyushu Univ.)                 Theory of Relations (1)      September 29-30, 2011   13 / 35
Equivalence and Ordering (2)




  A relation θ : A  A is an equivalence relation on A, if θ satisfies
  reflexsive, symmetric and transitive laws.
  A relation θ : A     A is a partial ordering on A, if θ satisfies
  reflexsive, transitive and antisymmetric laws.
  A partial ordering θ : A              A is a total ordering if it satisfies the
  linear law.




Y. Mizoguchi (Kyushu Univ.)           Theory of Relations (1)    September 29-30, 2011   14 / 35
Functions and Mappings
                                          Definition



Definition
Let α : A     B be a relation.
 (1) α is total, if id A αα .
 (2) α is univalent, if α α id B .
(3) A univalent relation is also called as a partial function.
(4) α is (total) function, if α is total and univalent.
(3) A (total) function α : A           B is surjection, if α α = id B .
(4) A (total) function α : A           B is injection, if αα = id A .
(5) A (total) function is bijection, if it is surjection and injection.
Note. We use letters f , g, h, · · · for (total) functions. For a function,
surjection and injection, we use an arrow symbol →,           and . .


   Y. Mizoguchi (Kyushu Univ.)         Theory of Relations (1)   September 29-30, 2011   15 / 35
Matchings




Definition
A relation f : X                 Y is matching, if f f                idY and f f       id X .

Definition                                                                                   .
Let α : X   Y be a relation. A relation f : X                              Y is matching of α, if
f f idY , f f   id X and f    α.                                                     .




                                                                                            .

   Y. Mizoguchi (Kyushu Univ.)              Theory of Relations (1)                 September 29-30, 2011   16 / 35
Functions and Mappings
                                            Propositions




Proposition
(1) If f : A → B and g : B → C are functions, then the composition
     f g : A → C is a function.
(2) If f : A → B and g : A → B are functions and f     g, then f = g.
(3) If f : A → B is a function, then f f f = f .
                                                                                        .
Proposition
Let f : X → A, g : Y → B be functions and βλ : A                               B (λ ∈ Λ)
relations. Then
                                 f(   λ∈Λ βλ ) g     =      λ∈Λ ( f βλ g   )
                                                                                    .



   Y. Mizoguchi (Kyushu Univ.)             Theory of Relations (1)             September 29-30, 2011   17 / 35
Rationality

Proposition
     Let q : X    Y be a surjection and f : X → Z a function. If qq    ff
     then there exists an unique function g : Y → Z such that f = q g.
     Let m : Y X be an injection and f : Z → X a function. If
                                                         .
     m m f f then there exists an unique function g : Z → Y such that
     f = gm.

Theorem (Rationality)
For a relation α : A  B, there exist functions f : R → A and g : R → B
such that α = f g and f f    g g = id R hold.
                                                                        .

Corollary
For a relation ρ : I             X, there exists an injection A    X such that
ρ = ∇ I A i.

   Y. Mizoguchi (Kyushu Univ.)           Theory of Relations (1)            .
                                                                   September 29-30, 2011   18 / 35
Dedekind Formula
                                             Concepts




Proposition (∗)
Let α : A  B, β :               B   C and γ : A              C be relations.
 (1) αβ γ α(β                    α γ),
 (2) αβ γ (α                    γβ )β,
 (3) αβ γ (α                    γβ )(β   α γ).


                                                                                   .




  Y. Mizoguchi (Kyushu Univ.)             Theory of Relations (1)          September 29-30, 2011   19 / 35
Dedekind Formula I
                                            Properties



Lemma
(1) Let α : A                B be a relation. Then α               αα α.
(2) Let α : A   A and β : A   A be relations. If α                         id A and β              id A ,
    then α = α, αα = α and αβ = α β.                                             .

Proposition
Let α : A    B, β : B     A be relations. If αβ = id A and βα = id B then α
and β are both bijections and β = α .                        .


Proposition
Let α : A → B, β : B  C and γ : B                          C be relations. If α α         id B and
γ β, then α(β − γ) = αβ − αγ.
                                                                                   .
   Y. Mizoguchi (Kyushu Univ.)           Theory of Relations (1)           September 29-30, 2011       20 / 35
Dedekind Formula II
                                        Properties




Proposition (epi-mono factorization)
Let f : A → B be a function. Then there exist a surjection e : A                  B
and an injection m : B    B such that f = em.
                                                                       .
We denote the set B defined in above proposition as f (A).

Corollary
If f : A    B be an injection, then there exist a bijection e : . A            f (A)
and an injection m : f (A)     B such that f = em.




   Y. Mizoguchi (Kyushu Univ.)       Theory of Relations (1)   September 29-30, 2011   21 / 35
Cardinality of relations
                                          Definition




Definition (Cartinarity)
The cardinality |α| of of relation α : A                   B is the cardinality of α as a
subset of A × B.
                                                                                 .
In this lecture, we are going to consider only finite cardinality.
Let X, Y and Z be a finite sets. Then
                                                              .
 (1) |α| = 0 ⇔ α = 0 XY ,
(2) |α        α | = |α| + |α | − |α      α |,
(3) α         α ⇒ |α| ≤ |α |,
(4) |α | = |α|,
(5) |id I | = 1.



   Y. Mizoguchi (Kyushu Univ.)         Theory of Relations (1)           September 29-30, 2011   22 / 35
Cardinality of relations I
                                                Proposition


Proposition (∗)
Let X, Y and Z be finite sets, α : X      Y, β : Y                               Z and γ : X               Z
relations. If α is univalent, i.e. α α idY , then
                                                                                                .
                      |β         α γ| ≤ |αβ      γ| ∧ |α                γβ | ≤ |αβ        γ|.

Proposition
Let X, Y and Z be finite sets, α : X                         Y, β : Y            Z and γ : X               Z
relations.                                                                             .
(1) If α and β are univalent, then |αβ                         γ| = |α          γβ |.
(2) If α is a matching, then |αβ                    γ| = |β             α γ|.
(3) If α is a partial function and β is a total function, then |αβ| = |α|.
(4) If α is a matching, then |α αβ| = |αβ|.

   Y. Mizoguchi (Kyushu Univ.)                Theory of Relations (1)                   September 29-30, 2011   23 / 35
Cardinality of relations II
                                          Proposition




Proposition
Let X, Y and Z be finite sets, f : X           Y and β : Z    X relations.
 (1) If f is a matching, then |∇ IX f | = | f |.
 (2) If u id X then |∇ IX u| = |u|. Especially, |∇ IX | = |id X | = |X|.
 (3) If f is an injection, then |β| = |β f |.
 (4) If f is an injection, then |∇ IX | ≤ |∇ IY |.

                                                                          .




   Y. Mizoguchi (Kyushu Univ.)          Theory of Relations (1)   September 29-30, 2011   24 / 35
Coproduct relation
                                            Definition



Definition (Coproduct)
Let X and Y be sets. The coproduct X + Y of X and Y is a set

                                 X + Y = (X × {0}) ∪ (Y × {1}).

Functions i : X → X + Y and j : Y → X + Y are defined by i(x) = (x, 0)
and j(y) = (y, 1) for x ∈ X and y ∈ Y .                  .

We call i and j inclusion functions for X + Y .

Proposition (∗)
Functions i and j are both injections and the following equations holds:

                  ii = id X , j j = idY , i j = 0 XY , i i         j j = id X+Y
                                                                            .


   Y. Mizoguchi (Kyushu Univ.)           Theory of Relations (1)       September 29-30, 2011   25 / 35
Coproduct relation I
                                      Propositions



Proposition
Let α : X     Z and β : Y   Z be relations. Then there exists a unique
relation γ : X + Y    Z which satisfies

                                 iγ = α, and jγ = β.                   .

We denote the relation γ defined in above proposition as α⊥β.

Proposition
Let δ : X + Y → Z be a relation.                             .
 (1) (α⊥β)δ = (αδ)⊥(βδ).
 (2) If α and β are univalent relations then α⊥β is also univalent.
 (3) If α and β are total relations then α⊥β is also total.


   Y. Mizoguchi (Kyushu Univ.)       Theory of Relations (1)   September 29-30, 2011   26 / 35
Coproduct relation II
                                       Propositions




Proposition (Coproduct)
Let X and Y be sets i : X → Z and j : Y → Z relations which satisfies
following conditions:

          i i = id X , j j = idY , i j = 0 XY , and i i         j j = id Z .

Then Z is the coproduct of X and Y . That is there is a bijection
α : Z → X + Y such that i α = i and j α = j.

                                                                        .




   Y. Mizoguchi (Kyushu Univ.)        Theory of Relations (1)   September 29-30, 2011   27 / 35
Coproduct relation III
                                            Propositions




Proposition
Let X0 + Y0 , X1 + Y1 and X2 + Y2 be coproducts, and i k , j k inclusions for
X k + Y k ( k = 0, 1, 2).
For relations α k : X k−1 X k and β k : Y k−1 Y k ( k = 1, 2),

                            (α1 + β1 )(α2 + β2 ) = ((α1 α2 ) + (β1 β2 )),

where α k + β k = (α k i k )⊥(β k j k ) ( k = 1, 2).

                                                                               .




   Y. Mizoguchi (Kyushu Univ.)             Theory of Relations (1)     September 29-30, 2011   28 / 35
Product relation
                                              Definition



Definition (Product)
Let X and Y be sets. The product X × Y of X and Y is a set

                                 X × Y = {(x, y) | x ∈ X ∧ y ∈ Y}.

Functions p : X × Y → X and q : X × Y → Y are defined by p(x, y) = x
and q(x, y) = y for x ∈ X and y ∈ Y .                  .

We call p and q projection functions for X × Y .

Proposition
Functions p and q are both surjections and the following equations holds:

           p p = id X , q q = idY , p q = ∇ XY , and pp              qq = id X×Y
                                                                        .


   Y. Mizoguchi (Kyushu Univ.)             Theory of Relations (1)   September 29-30, 2011   29 / 35
Product relation I
                                     Propositions




Let α : V          X and β : V    Y be relations. We define a relation
α β:V              X × Y by
                                 α β = αp               βq .

Proposition
(1) If α and β are univalent relations then α β is also univalent.
(2) If α and β are total relations then α β is also total.
(3) If α and β are functions then α β is also a function.




   Y. Mizoguchi (Kyushu Univ.)      Theory of Relations (1)    September 29-30, 2011   30 / 35
Product relation II
                                            Propositions




Proposition
Let f : V → X and g : V → Y be functions. Then there exists a unique
relation h : V → X × Y which satisfies

                                       hp = f, and hq = g.

Especially, h = ( f              g).

                                                                             .




   Y. Mizoguchi (Kyushu Univ.)             Theory of Relations (1)   September 29-30, 2011   31 / 35
Product relation III
                                      Propositions




Proposition (Product)
Let X and Y be sets p : Z → X and q : Z → Y functions which satisfies
following conditions:

     p p = id X , q q = idY , p q = ∇ XY , and p p              q q = id X×Y

Then Z is the product of X and Y . That is there is a bijection
α : X × Y → Z such that αp = p and αq = q.

                                                                       .




   Y. Mizoguchi (Kyushu Univ.)       Theory of Relations (1)   September 29-30, 2011   32 / 35
Product relation IV
                                      Propositions




Proposition (∗)
Let X0 × Y0 , X1 × Y1 and X2 × Y2 be products, and pk , q k projections for
X k × Y k ( k = 0, 1, 2). Let α k : X k X k+1 and β k : Y k−1       Y k ( k = 0, 1)
be relations and α k × β k is defined by (pk α k ) (q k β k ) ( k = 0, 1). Then, we
have
     ((p0 α0 ) (q0 β0 ))(( p2 α ) (q2 β )) = ( p0 α0 α1 p ) (q0 β0 β1 q ), and
                                 1        1                    2               2
     (α0 × β0 )(α1 × β1 ) = ((α0 α1 ) × (β0 β1 )).

                                                                           .




   Y. Mizoguchi (Kyushu Univ.)       Theory of Relations (1)       September 29-30, 2011   33 / 35
Matching Theorem

Let X and Y be finite sets.
Proposition
Let f : X  Y and α : X                Y be relations. If f is a matching in α then we
have
                                 | f | ≤ |∇ IX | − (|ρ| − |ρα|)
                                                                           .
for any relation ρ : I           X.

Definition (Marriage condition)
A relation α : X     Y satisfies the marriage condition if and only if
|ρ| ≤ |ρα| for any ρ : I    X.
                                                                       .

Theorem (Hall 1935)
Let α : X     Y be a relation where |X| 0. There exists a total matching
f :X      Y in α if and only if α satisfies the marriage condition.

   Y. Mizoguchi (Kyushu Univ.)          Theory of Relations (1)            .
                                                                  September 29-30, 2011   34 / 35
Exercises

(1) Let α : X    A , β1 , β 2 : A B and γ : Y      B be relations. If α and
    γ are univalent (i.e. α α id A , γ γ id B ), then

                                α(β1   β2 )γ = (αβ1 γ )            (αβ2 γ )

    cf. f , g : function ⇒ f (         λ∈Λ βλ ) g
                                                = λ∈Λ ( f βλ g )
(2) Let α : A               B, β : B    C and γ : A   C be relations.

                                 (αβ    γ)       (α       γβ )(β    α γ)

(3) Let α : A       B be a relation.
    The equation α = αα α holds if and only if there exist injections m
    and n and surjections p and q such that α = m pq n.
    cf. If f is a function then f = f f f and there exist a injection m and
    surjection e such that f = em
(4) A relation θ : A     A is an equivalence relation if and only if there
    exists a surjection p : A     X such that θ = pp .
  Y. Mizoguchi (Kyushu Univ.)           Theory of Relations (1)            September 29-30, 2011   35 / 35

Contenu connexe

Tendances

Lesson 16: Inverse Trigonometric Functions
Lesson 16: Inverse Trigonometric FunctionsLesson 16: Inverse Trigonometric Functions
Lesson 16: Inverse Trigonometric Functions
Matthew Leingang
 
Math 1300: Section 8 -2 Union, Intersection, and Complement of Events; Odds
Math 1300: Section 8 -2 Union, Intersection, and Complement of Events; OddsMath 1300: Section 8 -2 Union, Intersection, and Complement of Events; Odds
Math 1300: Section 8 -2 Union, Intersection, and Complement of Events; Odds
Jason Aubrey
 
A jensen-shannon
A    jensen-shannonA    jensen-shannon
A jensen-shannon
Unirio
 
Lesson 14: Derivatives of Logarithmic and Exponential Functions
Lesson 14: Derivatives of Logarithmic and Exponential FunctionsLesson 14: Derivatives of Logarithmic and Exponential Functions
Lesson 14: Derivatives of Logarithmic and Exponential Functions
Matthew Leingang
 
Lesson 12: Linear Approximation
Lesson 12: Linear ApproximationLesson 12: Linear Approximation
Lesson 12: Linear Approximation
Matthew Leingang
 
Dragisa Zunic - Classical computing with explicit structural rules - the *X c...
Dragisa Zunic - Classical computing with explicit structural rules - the *X c...Dragisa Zunic - Classical computing with explicit structural rules - the *X c...
Dragisa Zunic - Classical computing with explicit structural rules - the *X c...
Dragisa Zunic
 

Tendances (20)

An algebraic approach to Duflo's polynomial conjecture in the nilpotent case
An algebraic approach to Duflo's polynomial conjecture in the nilpotent caseAn algebraic approach to Duflo's polynomial conjecture in the nilpotent case
An algebraic approach to Duflo's polynomial conjecture in the nilpotent case
 
Pertemuan 5_Relation Matriks_01 (17)
Pertemuan 5_Relation Matriks_01 (17)Pertemuan 5_Relation Matriks_01 (17)
Pertemuan 5_Relation Matriks_01 (17)
 
Lesson 16: Inverse Trigonometric Functions
Lesson 16: Inverse Trigonometric FunctionsLesson 16: Inverse Trigonometric Functions
Lesson 16: Inverse Trigonometric Functions
 
Lesage
LesageLesage
Lesage
 
Tro07 sparse-solutions-talk
Tro07 sparse-solutions-talkTro07 sparse-solutions-talk
Tro07 sparse-solutions-talk
 
Some fundamental theorems in Banach spaces and Hilbert spaces
Some fundamental theorems in Banach spaces and Hilbert spacesSome fundamental theorems in Banach spaces and Hilbert spaces
Some fundamental theorems in Banach spaces and Hilbert spaces
 
Math 1300: Section 8 -2 Union, Intersection, and Complement of Events; Odds
Math 1300: Section 8 -2 Union, Intersection, and Complement of Events; OddsMath 1300: Section 8 -2 Union, Intersection, and Complement of Events; Odds
Math 1300: Section 8 -2 Union, Intersection, and Complement of Events; Odds
 
A jensen-shannon
A    jensen-shannonA    jensen-shannon
A jensen-shannon
 
QMC: Operator Splitting Workshop, Composite Infimal Convolutions - Zev Woodst...
QMC: Operator Splitting Workshop, Composite Infimal Convolutions - Zev Woodst...QMC: Operator Splitting Workshop, Composite Infimal Convolutions - Zev Woodst...
QMC: Operator Splitting Workshop, Composite Infimal Convolutions - Zev Woodst...
 
Bayesnetwork
BayesnetworkBayesnetwork
Bayesnetwork
 
03 banach
03 banach03 banach
03 banach
 
Dialectica Categories and Cardinalities of the Continuum (March2014)
Dialectica Categories and  Cardinalities of the Continuum (March2014)Dialectica Categories and  Cardinalities of the Continuum (March2014)
Dialectica Categories and Cardinalities of the Continuum (March2014)
 
Mkk1013 chapter 2.1
Mkk1013 chapter 2.1Mkk1013 chapter 2.1
Mkk1013 chapter 2.1
 
Lesson 14: Derivatives of Logarithmic and Exponential Functions
Lesson 14: Derivatives of Logarithmic and Exponential FunctionsLesson 14: Derivatives of Logarithmic and Exponential Functions
Lesson 14: Derivatives of Logarithmic and Exponential Functions
 
ABC-Gibbs
ABC-GibbsABC-Gibbs
ABC-Gibbs
 
Lesson 12: Linear Approximation
Lesson 12: Linear ApproximationLesson 12: Linear Approximation
Lesson 12: Linear Approximation
 
Iskmaa
IskmaaIskmaa
Iskmaa
 
Eigenaxes
EigenaxesEigenaxes
Eigenaxes
 
Dragisa Zunic - Classical computing with explicit structural rules - the *X c...
Dragisa Zunic - Classical computing with explicit structural rules - the *X c...Dragisa Zunic - Classical computing with explicit structural rules - the *X c...
Dragisa Zunic - Classical computing with explicit structural rules - the *X c...
 
Laplace's Demon: seminar #1
Laplace's Demon: seminar #1Laplace's Demon: seminar #1
Laplace's Demon: seminar #1
 

En vedette

Discrete-Chapter 08 Relations
Discrete-Chapter 08 RelationsDiscrete-Chapter 08 Relations
Discrete-Chapter 08 Relations
Wongyos Keardsri
 
Relations
RelationsRelations
Relations
Gaditek
 
Array implementation and linked list as datat structure
Array implementation and linked list as datat structureArray implementation and linked list as datat structure
Array implementation and linked list as datat structure
Tushar Aneyrao
 

En vedette (11)

Discrete-Chapter 08 Relations
Discrete-Chapter 08 RelationsDiscrete-Chapter 08 Relations
Discrete-Chapter 08 Relations
 
Top Drawer Teachers: Splitting arrays into known parts
Top Drawer Teachers: Splitting arrays into known partsTop Drawer Teachers: Splitting arrays into known parts
Top Drawer Teachers: Splitting arrays into known parts
 
Rrelational algebra in dbms overview
Rrelational algebra in dbms overviewRrelational algebra in dbms overview
Rrelational algebra in dbms overview
 
Introductions to Relations
Introductions to RelationsIntroductions to Relations
Introductions to Relations
 
Top Drawer Teachers: Five times
Top Drawer Teachers: Five timesTop Drawer Teachers: Five times
Top Drawer Teachers: Five times
 
Relations
RelationsRelations
Relations
 
BCA_Semester-II-Discrete Mathematics_unit-ii_Relation and ordering
BCA_Semester-II-Discrete Mathematics_unit-ii_Relation and orderingBCA_Semester-II-Discrete Mathematics_unit-ii_Relation and ordering
BCA_Semester-II-Discrete Mathematics_unit-ii_Relation and ordering
 
Array implementation and linked list as datat structure
Array implementation and linked list as datat structureArray implementation and linked list as datat structure
Array implementation and linked list as datat structure
 
Vedic Mathematics.ppt
Vedic Mathematics.pptVedic Mathematics.ppt
Vedic Mathematics.ppt
 
Stack
StackStack
Stack
 
Vedic Mathematics ppt
Vedic Mathematics pptVedic Mathematics ppt
Vedic Mathematics ppt
 

Similaire à Theory of Relations (1)

Sets_Venn-Diagrams_operation.pptx
Sets_Venn-Diagrams_operation.pptxSets_Venn-Diagrams_operation.pptx
Sets_Venn-Diagrams_operation.pptx
hello656557
 

Similaire à Theory of Relations (1) (11)

Congruence Lattices of A Finite Uniform Lattices
Congruence Lattices of A Finite Uniform LatticesCongruence Lattices of A Finite Uniform Lattices
Congruence Lattices of A Finite Uniform Lattices
 
Report on set theory
Report on set theoryReport on set theory
Report on set theory
 
Graph partitioning and characteristic polynomials of Laplacian matrics of Roa...
Graph partitioning and characteristic polynomials of Laplacian matrics of Roa...Graph partitioning and characteristic polynomials of Laplacian matrics of Roa...
Graph partitioning and characteristic polynomials of Laplacian matrics of Roa...
 
Note on Co Ideals in Ternary Semigroups
Note on Co Ideals in Ternary SemigroupsNote on Co Ideals in Ternary Semigroups
Note on Co Ideals in Ternary Semigroups
 
Sets_Venn-Diagrams_operation.pptx
Sets_Venn-Diagrams_operation.pptxSets_Venn-Diagrams_operation.pptx
Sets_Venn-Diagrams_operation.pptx
 
Introduction to Artificial Intelligence
Introduction to Artificial IntelligenceIntroduction to Artificial Intelligence
Introduction to Artificial Intelligence
 
Dependent Types in Natural Language Semantics
Dependent Types in Natural Language SemanticsDependent Types in Natural Language Semantics
Dependent Types in Natural Language Semantics
 
D223034
D223034D223034
D223034
 
D223034
D223034D223034
D223034
 
Phase relation
Phase  relationPhase  relation
Phase relation
 
20200911-XI-Maths-Sets-2 of 2-Ppt.pdf
20200911-XI-Maths-Sets-2 of 2-Ppt.pdf20200911-XI-Maths-Sets-2 of 2-Ppt.pdf
20200911-XI-Maths-Sets-2 of 2-Ppt.pdf
 

Plus de Yoshihiro Mizoguchi

Plus 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の使い方
 
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...
 
数式処理ソフト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
 
計算機を用いて数学の問題を解くということ
計算機を用いて数学の問題を解くということ計算機を用いて数学の問題を解くということ
計算機を用いて数学の問題を解くということ
 
定理証明支援系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による形式証明について
 
計算可能実数とは
計算可能実数とは計算可能実数とは
計算可能実数とは
 
複素数・四元数と図形の回転
複素数・四元数と図形の回転複素数・四元数と図形の回転
複素数・四元数と図形の回転
 
グラフデータ構造と5色定理
グラフデータ構造と5色定理グラフデータ構造と5色定理
グラフデータ構造と5色定理
 

Dernier

Dernier (20)

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)
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
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
 
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.
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
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
 
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
 
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
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
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
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.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
 
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.
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
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...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 

Theory of Relations (1)

  • 1. Theory of Relations (1) Course of Mathematics Pusan National University . Yoshhiro Mizoguchi . Institute of Mathematics for Industry Kyushu University, JAPAN ym@imi.kyushu-u.ac.jp September 29-30, 2011 Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 1 / 35
  • 2. Table of Contents 1 Relational Calculus Basic Notations Matchings Dedekind Formula 2 Cardinality of relations Basic concepts Properties 3 Product and Coproduct Coproduct relations Product relations 4 Matching Theorem Hall’s Marriage Theorem 5 Report Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 2 / 35
  • 3. Introduction There are many network structures (relations between certain objects) considered in applications of mathematics in other sciences. We use many calculations of numbers and equations of numbers in mathematical analysis in application areas. We seldom do calculations in mathematical analysis of network structures or equations of structures. A sufficiently developed theory of relations has been existing for a long while. In this lecture, we review several elementary mathematical concepts from the viewpoint of a theory of relations. Managing the calculations of relations, we reexamine properties of network structures. It is also intended to construct a theory of relations with computer verifiable proofs. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 3 / 35
  • 4. Historical Background The modern story of an algebra of logic is started by G. Boole (1847). Complement, Converse (Inverse) and Composition of relations. (De Morgen(1864)) To create an algebra out of logic. (C. S. Peirce(1870)) Axiomatization and Representability (A. Tarski(1941), R.Lyndon(1950)) Relations in categories. (S. MacLane(1961), D. Puppe(1962), Y. Kawahara(1973)) Fuzzy relations and its axiomatization and representability. (L. A. Zadeh(1965), Y. Kawahara(1999)) † R. D. Maddux, The origin of relation algebras in the development and axiomaization of the calculus of relations, Studia Logica 50(1991), 421–455. † G. Schmidt, Relational Mathematics, Cambridge University Press, 2010, 582pages. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 4 / 35
  • 5. Applications to Computer Science Theory of Automata (model of computing) Y.Kawahara, Applications of relational calculus to computer mathematics. Bull. Inform. Cybernet. 23 (1988), pp67–78. Theory of Programs (program verification) Y.Kawahara and Y.Mizoguchi, Categorical assertion semantics in toposes, Advances in Software Science and Technology, Vol.4(1992), 137–150. Graph Rewriting System (model of computation) Y.Mizoguchi and Y.Kawahara, Relational graph rewritings. Theoret. Comput. Sci. 141 (1995), 311–328. Relational Databases (model of data) H.Okuma and Y.Kawahara, Relational aspects of relational database dependencies. Bull. Inform. Cybernet. 32 (2000), 91–104. Formal Concept Analysis (model of data) T.Ishida, K.Honda, Y.Kawahara, Formal concepts in Dedekind categories. Lecture Notes in Comput. Sci., Vol.4988(2008) 221–233. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 5 / 35
  • 6. Basic Notations (1) A relation α of a set A into another set B is a subset of the Cartesian product A × B and denoted by α : A B. (2) The inverse relation α : B A of α is a relation such that (b, a) ∈ α if and only if (a, b) ∈ α. (3) The composite αβ : A C of α : A B followed by β : B C is a relation such that (a, c) ∈ αβ if and only if there exists b ∈ B with (a, b) ∈ α and (b, c) ∈ β. (4) As a relation of a set A into a set B is a subset of A × B, the inclusion relation, union, intersection and difference of them are available as usual and denoted by , , and −, respectively. (5) The identity relation id A : A A is a relation with id A = {(a, a) ∈ A × A|a ∈ A}. (6) The empty relation φ ⊆ A × B is denoted by 0 AB . The entire set A × B is called the universal relation and denoted by ∇ AB . (7) The one point set {∗} is denoted by I. We note that ∇ II = id I . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 6 / 35
  • 7. Union, Intersection, Complement α: A B, β : A B : relations. α β = {(a, b) | (a, b) ∈ α ∨ (a, b) ∈ β} α β = {(a, b) | (a, b) ∈ α ∧ (a, b) ∈ β} α = {(a, b) | (a, b) ¯ α} α − β = {(a, b) | (a, b) ∈ α ∧ (a, b) β} {αλ : A B | λ ∈ Λ}, {βλ : A B | λ ∈ Λ} : classes of relations. λ∈Λ αλ = {(a, b) | ∃λ ∈ Λ, (a, b) ∈ αλ )} λ∈Λ αλ = {(a, b) | ∀λ ∈ Λ, (a, b) ∈ αλ )} Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 7 / 35
  • 8. Distributive Law ( and ) Proposition Let α : A B, β : A B and βλ : A B (λ ∈ Λ) be relations. Then we have α ( λ∈Λ βλ ) = λ∈Λ (α βλ ) α ( λ∈Λ βλ ) = λ∈Λ (α βλ ) α = α, (α ¯ β) = α ¯ β, (α ¯ β) = α ¯ β. ¯ 0 AB = ∇ AB , ∇ AB = 0 AB . . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 8 / 35
  • 9. I-Category Proposition (I-Category) Let α, α : A B , β, β : B C and γ : C D be relations. Then (1) (αβ)γ = α(βγ), (2) id A α = αid B = α, (3) (α ) = α, (αβ) = β α , (4) If α α and β β then αβ α β and α (α ) . . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 9 / 35
  • 10. Distributive Law (Composition and ( , )) Proposition Let α : A B, β : B C , βλ : A B (λ ∈ Λ) and γ : C D be relations. Then we have α( λ∈Λ βλ ) = λ∈Λ (αβλ ) ( λ∈Λ βλ )γ = λ∈Λ (βλ γ) α( λ∈Λ βλ ) λ∈Λ (αβλ ) ( λ∈Λ βλ )γ λ∈Λ (βλ γ) . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 10 / 35
  • 11. Empty & Universal relation Proposition For a relation α : A B, 0 X A α = 0 XB , α0 BY = 0 AY . If B φ, then ∇ AB ∇ BC = ∇ AC Note: If B = φ, then ∇ AB ∇ BC = 0 AC . If α : A B is not empty, then ∇ AA α∇ BB = ∇ AB . . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 11 / 35
  • 12. Inverse relation Proposition Let α : A B, β : A B, αλ : A B (λ ∈ Λ) be relations. ( λ∈Λ αλ ) = λ∈Λ α , ( λ∈Λ αλ ) = λ∈Λ α . λ λ (α) = (α ), (α − β) = α − β . ¯ 0 = 0B A, ∇ = ∇ BA . AB AB id = id A . A ∇ AB = ∇ ∇ IB . IA . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 12 / 35
  • 13. Equivalence and Ordering (1) For a relation θ : A A, we define the following laws: id A θ (Reflexive Law) θ θ (Symmetric Law) θθ θ (Transitive Law) θ θ id A (Antisymmetric Law) θ θ = ∇AA (Linear Law) Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 13 / 35
  • 14. Equivalence and Ordering (2) A relation θ : A A is an equivalence relation on A, if θ satisfies reflexsive, symmetric and transitive laws. A relation θ : A A is a partial ordering on A, if θ satisfies reflexsive, transitive and antisymmetric laws. A partial ordering θ : A A is a total ordering if it satisfies the linear law. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 14 / 35
  • 15. Functions and Mappings Definition Definition Let α : A B be a relation. (1) α is total, if id A αα . (2) α is univalent, if α α id B . (3) A univalent relation is also called as a partial function. (4) α is (total) function, if α is total and univalent. (3) A (total) function α : A B is surjection, if α α = id B . (4) A (total) function α : A B is injection, if αα = id A . (5) A (total) function is bijection, if it is surjection and injection. Note. We use letters f , g, h, · · · for (total) functions. For a function, surjection and injection, we use an arrow symbol →, and . . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 15 / 35
  • 16. Matchings Definition A relation f : X Y is matching, if f f idY and f f id X . Definition . Let α : X Y be a relation. A relation f : X Y is matching of α, if f f idY , f f id X and f α. . . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 16 / 35
  • 17. Functions and Mappings Propositions Proposition (1) If f : A → B and g : B → C are functions, then the composition f g : A → C is a function. (2) If f : A → B and g : A → B are functions and f g, then f = g. (3) If f : A → B is a function, then f f f = f . . Proposition Let f : X → A, g : Y → B be functions and βλ : A B (λ ∈ Λ) relations. Then f( λ∈Λ βλ ) g = λ∈Λ ( f βλ g ) . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 17 / 35
  • 18. Rationality Proposition Let q : X Y be a surjection and f : X → Z a function. If qq ff then there exists an unique function g : Y → Z such that f = q g. Let m : Y X be an injection and f : Z → X a function. If . m m f f then there exists an unique function g : Z → Y such that f = gm. Theorem (Rationality) For a relation α : A B, there exist functions f : R → A and g : R → B such that α = f g and f f g g = id R hold. . Corollary For a relation ρ : I X, there exists an injection A X such that ρ = ∇ I A i. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) . September 29-30, 2011 18 / 35
  • 19. Dedekind Formula Concepts Proposition (∗) Let α : A B, β : B C and γ : A C be relations. (1) αβ γ α(β α γ), (2) αβ γ (α γβ )β, (3) αβ γ (α γβ )(β α γ). . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 19 / 35
  • 20. Dedekind Formula I Properties Lemma (1) Let α : A B be a relation. Then α αα α. (2) Let α : A A and β : A A be relations. If α id A and β id A , then α = α, αα = α and αβ = α β. . Proposition Let α : A B, β : B A be relations. If αβ = id A and βα = id B then α and β are both bijections and β = α . . Proposition Let α : A → B, β : B C and γ : B C be relations. If α α id B and γ β, then α(β − γ) = αβ − αγ. . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 20 / 35
  • 21. Dedekind Formula II Properties Proposition (epi-mono factorization) Let f : A → B be a function. Then there exist a surjection e : A B and an injection m : B B such that f = em. . We denote the set B defined in above proposition as f (A). Corollary If f : A B be an injection, then there exist a bijection e : . A f (A) and an injection m : f (A) B such that f = em. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 21 / 35
  • 22. Cardinality of relations Definition Definition (Cartinarity) The cardinality |α| of of relation α : A B is the cardinality of α as a subset of A × B. . In this lecture, we are going to consider only finite cardinality. Let X, Y and Z be a finite sets. Then . (1) |α| = 0 ⇔ α = 0 XY , (2) |α α | = |α| + |α | − |α α |, (3) α α ⇒ |α| ≤ |α |, (4) |α | = |α|, (5) |id I | = 1. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 22 / 35
  • 23. Cardinality of relations I Proposition Proposition (∗) Let X, Y and Z be finite sets, α : X Y, β : Y Z and γ : X Z relations. If α is univalent, i.e. α α idY , then . |β α γ| ≤ |αβ γ| ∧ |α γβ | ≤ |αβ γ|. Proposition Let X, Y and Z be finite sets, α : X Y, β : Y Z and γ : X Z relations. . (1) If α and β are univalent, then |αβ γ| = |α γβ |. (2) If α is a matching, then |αβ γ| = |β α γ|. (3) If α is a partial function and β is a total function, then |αβ| = |α|. (4) If α is a matching, then |α αβ| = |αβ|. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 23 / 35
  • 24. Cardinality of relations II Proposition Proposition Let X, Y and Z be finite sets, f : X Y and β : Z X relations. (1) If f is a matching, then |∇ IX f | = | f |. (2) If u id X then |∇ IX u| = |u|. Especially, |∇ IX | = |id X | = |X|. (3) If f is an injection, then |β| = |β f |. (4) If f is an injection, then |∇ IX | ≤ |∇ IY |. . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 24 / 35
  • 25. Coproduct relation Definition Definition (Coproduct) Let X and Y be sets. The coproduct X + Y of X and Y is a set X + Y = (X × {0}) ∪ (Y × {1}). Functions i : X → X + Y and j : Y → X + Y are defined by i(x) = (x, 0) and j(y) = (y, 1) for x ∈ X and y ∈ Y . . We call i and j inclusion functions for X + Y . Proposition (∗) Functions i and j are both injections and the following equations holds: ii = id X , j j = idY , i j = 0 XY , i i j j = id X+Y . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 25 / 35
  • 26. Coproduct relation I Propositions Proposition Let α : X Z and β : Y Z be relations. Then there exists a unique relation γ : X + Y Z which satisfies iγ = α, and jγ = β. . We denote the relation γ defined in above proposition as α⊥β. Proposition Let δ : X + Y → Z be a relation. . (1) (α⊥β)δ = (αδ)⊥(βδ). (2) If α and β are univalent relations then α⊥β is also univalent. (3) If α and β are total relations then α⊥β is also total. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 26 / 35
  • 27. Coproduct relation II Propositions Proposition (Coproduct) Let X and Y be sets i : X → Z and j : Y → Z relations which satisfies following conditions: i i = id X , j j = idY , i j = 0 XY , and i i j j = id Z . Then Z is the coproduct of X and Y . That is there is a bijection α : Z → X + Y such that i α = i and j α = j. . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 27 / 35
  • 28. Coproduct relation III Propositions Proposition Let X0 + Y0 , X1 + Y1 and X2 + Y2 be coproducts, and i k , j k inclusions for X k + Y k ( k = 0, 1, 2). For relations α k : X k−1 X k and β k : Y k−1 Y k ( k = 1, 2), (α1 + β1 )(α2 + β2 ) = ((α1 α2 ) + (β1 β2 )), where α k + β k = (α k i k )⊥(β k j k ) ( k = 1, 2). . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 28 / 35
  • 29. Product relation Definition Definition (Product) Let X and Y be sets. The product X × Y of X and Y is a set X × Y = {(x, y) | x ∈ X ∧ y ∈ Y}. Functions p : X × Y → X and q : X × Y → Y are defined by p(x, y) = x and q(x, y) = y for x ∈ X and y ∈ Y . . We call p and q projection functions for X × Y . Proposition Functions p and q are both surjections and the following equations holds: p p = id X , q q = idY , p q = ∇ XY , and pp qq = id X×Y . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 29 / 35
  • 30. Product relation I Propositions Let α : V X and β : V Y be relations. We define a relation α β:V X × Y by α β = αp βq . Proposition (1) If α and β are univalent relations then α β is also univalent. (2) If α and β are total relations then α β is also total. (3) If α and β are functions then α β is also a function. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 30 / 35
  • 31. Product relation II Propositions Proposition Let f : V → X and g : V → Y be functions. Then there exists a unique relation h : V → X × Y which satisfies hp = f, and hq = g. Especially, h = ( f g). . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 31 / 35
  • 32. Product relation III Propositions Proposition (Product) Let X and Y be sets p : Z → X and q : Z → Y functions which satisfies following conditions: p p = id X , q q = idY , p q = ∇ XY , and p p q q = id X×Y Then Z is the product of X and Y . That is there is a bijection α : X × Y → Z such that αp = p and αq = q. . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 32 / 35
  • 33. Product relation IV Propositions Proposition (∗) Let X0 × Y0 , X1 × Y1 and X2 × Y2 be products, and pk , q k projections for X k × Y k ( k = 0, 1, 2). Let α k : X k X k+1 and β k : Y k−1 Y k ( k = 0, 1) be relations and α k × β k is defined by (pk α k ) (q k β k ) ( k = 0, 1). Then, we have ((p0 α0 ) (q0 β0 ))(( p2 α ) (q2 β )) = ( p0 α0 α1 p ) (q0 β0 β1 q ), and 1 1 2 2 (α0 × β0 )(α1 × β1 ) = ((α0 α1 ) × (β0 β1 )). . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 33 / 35
  • 34. Matching Theorem Let X and Y be finite sets. Proposition Let f : X Y and α : X Y be relations. If f is a matching in α then we have | f | ≤ |∇ IX | − (|ρ| − |ρα|) . for any relation ρ : I X. Definition (Marriage condition) A relation α : X Y satisfies the marriage condition if and only if |ρ| ≤ |ρα| for any ρ : I X. . Theorem (Hall 1935) Let α : X Y be a relation where |X| 0. There exists a total matching f :X Y in α if and only if α satisfies the marriage condition. Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) . September 29-30, 2011 34 / 35
  • 35. Exercises (1) Let α : X A , β1 , β 2 : A B and γ : Y B be relations. If α and γ are univalent (i.e. α α id A , γ γ id B ), then α(β1 β2 )γ = (αβ1 γ ) (αβ2 γ ) cf. f , g : function ⇒ f ( λ∈Λ βλ ) g = λ∈Λ ( f βλ g ) (2) Let α : A B, β : B C and γ : A C be relations. (αβ γ) (α γβ )(β α γ) (3) Let α : A B be a relation. The equation α = αα α holds if and only if there exist injections m and n and surjections p and q such that α = m pq n. cf. If f is a function then f = f f f and there exist a injection m and surjection e such that f = em (4) A relation θ : A A is an equivalence relation if and only if there exists a surjection p : A X such that θ = pp . Y. Mizoguchi (Kyushu Univ.) Theory of Relations (1) September 29-30, 2011 35 / 35