On Binary Relations

On Binary Relations

On Binary Relations Hitoshi Furusawa (Faculty of Science, Kagoshima University) April 11, 2007 1 Introduction We have already learnt about binary relations as basics of mathematics and com- puter science. Especially, equivalence relations and orderings appear frequently. However, it is harder to become familiar with binary relations than mappings having known and used since we were junior high school students. Don’t you feel difficult to prove properties of very essential notions such as equivalence classes, supremum and infimum using notions of equivalence relations and or- derings? In this lecture, we study some of basic properties of binary relations. The author hope that readers will feel much closer to binary relations through this lecture. 2 Basic Definitions and Properties We start from defining binary relations. Definition 2.1 A (binary) relation ® from a set A to a set B, written ®: A + B, is a subset of Cartesian product A £ B. Thus, the set Rel(A; B) of relations from a set A to a set B is equal to the power set }(A £ B) of A £ B. 0AB and rAB denote the empty relation and universal relation (or entire Cartesian product) A £ B, respectively. For relations ®; ¯ : A + B, inclusion ® ⊆ ¯ is defined set theoretically, that is, ® ⊆ ¯ ()def 8(a; b) 2 A £ B:((a; b) 2 ® ) (a; b) 2 ¯) : The empty relation 0AB and the universal relation rAB are the greatest and the least, respectively, in Rel(A; B) with respect to ⊆. The identity relation idA : A + A on a set A is the set of diagonals of A £ A, that is, def idA = f(a; a) 2 A £ A j a 2 Ag : 1 denotes a fixed singleton set f¤g. Then, id1 = r11 holds. 1 On Binary Relations (Hitoshi Furusawa) 2 Definition 2.2 For ®: A + B and ¯ : B + C, composition ®¯ : A + C of ® followed by ¯ is defined as follows. ®¯ def= f(a; c) 2 A £ C j 9b 2 B:((a; b) 2 ® and (b; c) 2 ¯)g Then, we have the following proposition. Proposition 2.3 For ®; ®0 : A + B, ¯; ¯0 : B + C, and γ : C + D, it holds that 1. (®¯)γ = ®(¯γ), 2. idA® = ® = ®idB, 3. 0XA® = 0XB,®0BY = 0AY , 4. ® ⊆ ®0 and ¯ ⊆ ¯0 implies ®¯ ⊆ ®0¯0, 5. B 6= ; implies rABrBC = rAC . Definition 2.4 For a family f®¸ : A + B j ¸ 2 Λg of relations from A to B, the union relation [¸2Λ®¸ and the intersection relation \¸2Λ®¸ are the set theoretical union and intersection, respectively: def [¸2Λ®¸ = f(a; b) 2 A £ B j 9¸ 2 Λ:((a; b) 2 ®¸)g ; def \¸2Λ®¸ = f(a; b) 2 A £ B j 8¸ 2 Λ:((a; b) 2 ®¸)g : Then, we have the following propositions. Proposition 2.5 For ®; ¯¸ : A + B (¸ 2 Λ), 1. ® \ ([¸2Λ¯¸) = [¸2Λ(® \ ¯¸), 2. ® [ (\¸2Λ¯¸) = \¸2Λ(® [ ¯¸). Proposition 2.6 For ®: A + B,¯¸ : B + C (¸ 2 Λ), and γ : C + D, 1. ®([¸2Λ¯¸) = [¸2Λ(®¯¸),([¸2Λ¯¸)γ = [¸2Λ(¯¸γ), 2. ®(\¸2Λ¯¸) ⊆ \¸2Λ(®¯¸),(\¸2Λ¯¸)γ ⊆ \¸2Λ(¯¸γ). Proposition 2.6 says that the composition is distributive over the union but isn’t so over the intersection. Let’s consider counterexample. Example 2.7 Consider the case Λ = f1; 2g and A = fa; bg. Let ®; ¯1; ¯2 : A + A be ® = f(a; a); (a; b)g; ¯1 = f(a; a)g; ¯2 = f(b; a)g : Then, ¯1 \ ¯2 = 0AA On Binary Relations (Hitoshi Furusawa) 3 and ®¯1 = f(a; a)g = ®¯2 hold. Therefore ®(\¸2Λ¯¸) = ®(¯1 \ ¯2) = ®0AA = 0AA = ; ( f(a; a)g = ®¯1 \ ®¯2 = \¸2Λ(®¯¸) : Definition 2.8 For ®: A + B, the converse relation ®] : B + A is defined as follows. ®] def= f(b; a) 2 B £ A j (a; b) 2 ®g : 0 Proposition 2.9 For ®; ® ; ®¸ : A + B (¸ 2 Λ), and ¯ : B + C, the following holds. 1. ®]] = ®, 2. (®¯)] = ¯]®], 3. ® ⊆ ®0 implies ®] ⊆ ®0], ] ] 4. ([¸2Λ®¸) = [¸2Λ®¸, ] ] 5. (\¸2Λ®¸) = \¸2Λ®¸, ] ] ] 6. 0AB = 0BA,rAB = rBA,idA = idA. The following properties are called Dedekind formulae. Proposition 2.10 For ®: A + B, ¯ : B + C, and γ : A + C, it holds that 1. ®¯ \ γ ⊆ ®(¯ \ ®]γ), 2. ®¯ \ γ ⊆ (® \ ¯γ])γ. 3 Mappings Let’s recall a notion of mappings. Definition 3.1 A mapping ®: A ! B is a relation satisfying the following: For each a 2 A, fb 2 B j (a; b) 2 ®g is a singleton set. Map(A; B) denotes the set of mappings from A to B. Clearly, rA1 is a unique mapping from A to 1, that is, Map(A; 1) = frA1g. The requirement for mappings is equivalent to the following two statement. Univalency (a; b) 2 ® and (a; b0) 2 ® imply b = b0 Totality 8a 2 A:9b 2 B:(a; b) 2 ® On Binary Relations (Hitoshi Furusawa) 4 Using composition relation, converse relation, and inclusion between rela- tions, the notions of univalency and totality may be translated into point-free style formulae. ] Univalency ® ® ⊆ idB ] Totality idA ⊆ ®® The following properties are proved in point-free style if we use the above for- malisations of univalency and totality. Proposition 3.2 For mappings f; h: A ! B, g : B ! C the following holds. 1. If f and g are mappings, then so is fg. 2. If f ⊆ h, then f = h. Proof. 1. fg is univalent since ] ] ] ] ] (fg) (fg) = g f fg ⊆ g idBg = g g ⊆ idC : Also, fg is total since ] ] ] ] ] idA ⊆ ff = fidBf ⊆ fgg f = (fg)(fg) : 2. Suppose f ⊆ h, then f ] ⊆ h]. So we have ] ] h = idAh ⊆ ff h ⊆ fh h ⊆ fidB = f : We only use totality of f and univalency of h in the proof of the second of Proposition 3.2. Thus, the next is immediate. Corollary 3.3 For total relation ®: A + B and univalent relation ¯ : A + B, if ® ⊆ ¯, then ® and ¯ are mappings satisfying ® = ¯. The next proposition shows that each relation may be decomposed to two mappings. Proposition 3.4 For a relation ®: A + B, there exist mappings f : R ! A, ] ] ] g : R ! B satisfying ® = f g and ff \ gg = idR. Proof. Let R = ®, ((a; b); a0) 2 f () a = a0, and ((a; b); b0) 2 g () b = b0, then f and g are mappings satisfying (a; b) 2 f ]g () 9(a0; b0) 2 ®:(a; (a0; b0)) 2 f ] and ((a0; b0); b) 2 g () 9(a0; b0) 2 ®:(a = a0 and b0 = b) () (a; b) 2 ® : On Binary Relations (Hitoshi Furusawa) 5 So ® = f ]g holds. By the definition of f and g, ((a; b); (a0; b0)) 2 ff ] \ gg] () ((a; b); (a0; b0)) 2 ff ] and ((a; b); (a0; b0)) 2 gg] () a = a0 and b = b0 () (a; b) = (a0; b0) 0 0 () ((a; b); (a ; b )) 2 idR : ] ] So ff \ gg = idR holds. As the notion of mappings, notions of surjections, injections, and bijections may be formalised in point-free style using composition relations, converse re- lations, and inclusion between relations. A mapping f : A ! B is ] surjective , idB ⊆ f f, ] injective , ff ⊆ idA, ] ] bijective , idB ⊆ f f and ff ⊆ idA. If we use the above formalisation of bijections, the following property which must appear in each undergraduate text book of introduction to mathematics is shown by simple calculus. Proposition 3.5 A mapping f : A ! B has the inverse function if and only if f is bijective. Proof. It is obvious that f has the inverse function if and only if f ] is a mapping. Suppose that f is bijective, then it holds that ] ] ] ] (f ) f = ff ⊆ idA by the injectivity of f. So f ] is univalent. Also, since f is surjective, it holds that ] ] ] ] idB ⊆ f f = f (f ) : So f ] is total. Therefore, f ] is a mapping. Conversely, we suppose that f ] is a mapping. Then, since f ] is univalent, it holds that ] ] ] ] ff = (f ) f ⊆ idA : So f is injective. Since f ] is total, we have ] ] ] ] idB ⊆ f (f ) = f f : So f is surjective. Though it is possible to show that f ] is bijective if so is f similarly, we omit details. On Binary Relations (Hitoshi Furusawa) 6 A mapping is decomposed to a surjection and a injection. Usually, given f : A ! B, if we take the image f(A) = fb 2 B j f(a) = bg of A under f, essentially the same mapping fˆ: A ! f(A) as f, i.e., fˆ is a mapping defined by fˆ(a) def= f(a), and the inclusion i: f(A) ! B, then clearly fˆ is surjective, i is injective, and also f = fiˆ holds. In the usual construction, we may treat elements of sets without any inhibi- tion. Here, we demonstrate the same construction in point-free style as far as possible. Proposition 3.6 For a mapping f : A ! B, there exists an injection m: X ! B satisfying m]m = f ]f. Proof. By Proposition 3.4, there exist m: X ! B and g : X ! 1 satisfying ] ] ] ] ] f rA1 = m g and mm \gg = idX for a relation f rA1. Since rX1 is a unique mapping from X to 1, g = rX1 holds. So, it holds that ] ] ] ] ] ] mm = mm \ rXX = mm \ rX1rX1 = mm \ gg = idX : ] ] Therefore m is injective. Since f rA1 = m rX1 holds, ] ] ] ] f rA1r1A = m rX1r1A and f rA1r1X = m rX1r1X ; i.e., ] ] ] ] f rAA = m rXA and f rAX = m rXX : So it holds that ] ] f rAAf = m rXAf ] ]] = m rXAf ] ] ] = m (f rAX ) ] ] ] = m (m rXX ) ] = m rXX m : Thus, using Dedekind formula introduced in Proposition 2.10, we have. ] ] ] f f = f f \ f rAAf ] ] = f f \ m rXX m ] ⊆ idB \ m rXX m ] ⊆ m (m \ rXX m) = m]m Similarly, it is possible to prove m]m ⊆ f ]f. The set X and injection m: X ! B given in Proposition 3.6 corresponds to the set f(A) and the inclusion i: F (A) ! B.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    11 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us