Discrete Mathematics

Total Page:16

File Type:pdf, Size:1020Kb

Discrete Mathematics Discrete Mathematics (c) Marcin Sydow Properties Equivalence Discrete Mathematics relation Relations Order relation N-ary relations (c) Marcin Sydow Contents Discrete Mathematics (c) Marcin Sydow Properties binary relation Equivalence relation domain, codomain, image, preimage Order inverse and composition relation N-ary properties of relations relations closure of relation equivalence relation order relation Binary relation Discrete Mathematics (c) Marcin Sydow Properties Let A; B be two sets. A binary relation between the elements Equivalence relation of A and B is any subset of the Cartesian product of A and B, Order i.e. R ⊆ A × B. relation N-ary We denote relations by capital letters, e.g. R; S, etc. relations We say that two elements a 2 A and b 2 B are in relation R iff the pair (a; b) 2 R (it can be also denoted as: aRb). Examples Discrete Mathematics (c) Marcin Sydow Properties Equivalence relation empty relation (no pair belongs to it) Order relation diagonal relation ∆ = f(x; x): x 2 X g (it is the “equality” N-ary relation) relations full relation: any pair belongs to it (i.e. R = X 2) Binary relation as a predicate and as a graph Discrete Mathematics (c) Marcin Sydow Properties Binary relation can be represented as a predicate with 2 free Equivalence relation variables as follows: Order relation Given a predicate R(x; y), for x 2 X and y 2 Y , the relation is N-ary the set of all pairs (x; y) 2 X × Y that satisfy the predicate relations (i.e. make it true) Each binary relation can be naturally represented as a graph. Example Discrete Mathematics (c) Marcin Sydow Properties Equivalence relation R(x; y): “x is less than y” Order relation The relation R represented by the above predicate is the set of N-ary relations all pairs (x; y) 2 X × Y so that R(x; y) is true (i.e. x < y) Examples of binary relations Discrete Mathematics (c) Marcin Sydow A = B = N Properties Equivalence diagonal relation ∆ (x = y) relation Order x > y relation x ≤ y N-ary relations x is a divisor of y x and y have common divisor x2 + y 2 ≥ 10 More examples Discrete Mathematics (c) Marcin Sydow Properties Examples of relations on the set P × P, where P is the set of all Equivalence people. relation Order relation (x; y) 2 R , x is a son of y N-ary (x; y) 2 R , x is the mother of y relations (x; y) 2 R , x is the father of y (x; y) 2 R , x is a grandmother of y More examples Discrete Mathematics (c) Marcin Sydow Properties Examples of R ⊆ P × C, where C is the set of all courses in the Equivalence relation univeristy for last 5 years. Order relation (p; c) 2 R , p passed course c N-ary relations (p; c) 2 R , p attended course c (p; c) 2 R , p thinks course c is interesting Domain and co-domain of relation Discrete Mathematics (c) Marcin Sydow Properties Equivalence relation For binary relation R ⊆ A × B, the set A is called its domain Order relation and B is called its co-domain N-ary relations Domain and co-domain can be the same set. Image and pre-image of relation Discrete Mathematics (c) Marcin Sydow Properties Equivalence relation Pre-image of binary relation R ⊆ X × Y : Order fx 2 X : 9y 2 Y (x; y) 2 Rg relation N-ary Image of binary relation R ⊆ X × Y : relations fy 2 Y : 9x 2 X (x; y) 2 Rg f(5; 3); (5; 4); (6; 3); (6; 4); (6; 5)g domain of R?: A co-domain of R?: B pre-image of R?: f5; 6g image of R?: f3; 4; 5g Example Discrete Mathematics (c) Marcin Sydow Properties A = f1; 3; 5; 6g, B = f3; 4; 5; 6; 7g. Relation R ⊆ A × B is Equivalence defined as follows: relation Order xRy , x > y relation R =? N-ary relations A co-domain of R?: B pre-image of R?: f5; 6g image of R?: f3; 4; 5g Example Discrete Mathematics (c) Marcin Sydow Properties A = f1; 3; 5; 6g, B = f3; 4; 5; 6; 7g. Relation R ⊆ A × B is Equivalence defined as follows: relation Order xRy , x > y relation R =? f(5; 3); (5; 4); (6; 3); (6; 4); (6; 5)g N-ary relations domain of R?: B pre-image of R?: f5; 6g image of R?: f3; 4; 5g Example Discrete Mathematics (c) Marcin Sydow Properties A = f1; 3; 5; 6g, B = f3; 4; 5; 6; 7g. Relation R ⊆ A × B is Equivalence defined as follows: relation Order xRy , x > y relation R =? f(5; 3); (5; 4); (6; 3); (6; 4); (6; 5)g N-ary relations domain of R?: A co-domain of R?: f5; 6g image of R?: f3; 4; 5g Example Discrete Mathematics (c) Marcin Sydow Properties A = f1; 3; 5; 6g, B = f3; 4; 5; 6; 7g. Relation R ⊆ A × B is Equivalence defined as follows: relation Order xRy , x > y relation R =? f(5; 3); (5; 4); (6; 3); (6; 4); (6; 5)g N-ary relations domain of R?: A co-domain of R?: B pre-image of R?: f3; 4; 5g Example Discrete Mathematics (c) Marcin Sydow Properties A = f1; 3; 5; 6g, B = f3; 4; 5; 6; 7g. Relation R ⊆ A × B is Equivalence defined as follows: relation Order xRy , x > y relation R =? f(5; 3); (5; 4); (6; 3); (6; 4); (6; 5)g N-ary relations domain of R?: A co-domain of R?: B pre-image of R?: f5; 6g image of R?: Example Discrete Mathematics (c) Marcin Sydow Properties A = f1; 3; 5; 6g, B = f3; 4; 5; 6; 7g. Relation R ⊆ A × B is Equivalence defined as follows: relation Order xRy , x > y relation R =? f(5; 3); (5; 4); (6; 3); (6; 4); (6; 5)g N-ary relations domain of R?: A co-domain of R?: B pre-image of R?: f5; 6g image of R?: f3; 4; 5g “x is a parent of y”? Inverse of relation Discrete Mathematics (c) Marcin Sydow Properties Equivalence If R ⊆ X × Y is a binary relation then its inverse relation R−1 ⊆ Y × X is defined as R−1 = f(y; x):(x; y) 2 Rg Order relation Examples: what is the inverse of: N-ary relations “x < y”? Inverse of relation Discrete Mathematics (c) Marcin Sydow Properties Equivalence If R ⊆ X × Y is a binary relation then its inverse relation R−1 ⊆ Y × X is defined as R−1 = f(y; x):(x; y) 2 Rg Order relation Examples: what is the inverse of: N-ary relations “x < y”? “x is a parent of y”? Composition of relations Discrete Mathematics If S ⊆ A × B and R ⊆ B × C are two binary relations on sets (c) Marcin Sydow A,B and B,C, respectively, then the composition of these relations, denoted as R ◦ S is the binary relation defined as Properties follows: Equivalence relation Order relation R ◦ S = f(a; c) 2 A × C : 9b2B [(a; b) 2 R ^ (b; c) 2 S]g N-ary relations Sometimes it is denoted as RS. If R = S then the composition of R with itself: R ◦ R can be denoted as R2. More than 2 relations can be composed. We denote the n-th composition of R with itself as Rn (e.g. R3 = R ◦ R ◦ R, etc.) Composition is associative, i.e.: (R ◦ S) ◦ T = R ◦ (S ◦ T ) f(1; z); (1; v); (3; z); (3; v); (2; y)g (some join operations in relational databases are based on this operator) Is composition commutative?(i.e. is R ◦ S the same as S ◦ R for any binary relations R; S?) For what binary relations their composition is commutative? Example Discrete Mathematics (c) Marcin Sydow A = f0; 1; 2; 3; 4g, B = fa; b; cg, C = fx; y; z; vg Properties R = f(1; a); (2; c); (3; a)g, Equivalence S = f(a; z); (a; v); (b; x); (b; z); (c; y)g relation Order R ◦ S =? relation N-ary relations (some join operations in relational databases are based on this operator) Is composition commutative?(i.e. is R ◦ S the same as S ◦ R for any binary relations R; S?) For what binary relations their composition is commutative? Example Discrete Mathematics (c) Marcin Sydow A = f0; 1; 2; 3; 4g, B = fa; b; cg, C = fx; y; z; vg Properties R = f(1; a); (2; c); (3; a)g, Equivalence S = f(a; z); (a; v); (b; x); (b; z); (c; y)g relation Order R ◦ S =?f(1; z); (1; v); (3; z); (3; v); (2; y)g relation N-ary relations Is composition commutative?(i.e. is R ◦ S the same as S ◦ R for any binary relations R; S?) For what binary relations their composition is commutative? Example Discrete Mathematics (c) Marcin Sydow A = f0; 1; 2; 3; 4g, B = fa; b; cg, C = fx; y; z; vg Properties R = f(1; a); (2; c); (3; a)g, Equivalence S = f(a; z); (a; v); (b; x); (b; z); (c; y)g relation Order R ◦ S =?f(1; z); (1; v); (3; z); (3; v); (2; y)g relation N-ary (some join operations in relational databases are based on this relations operator) (i.e. is R ◦ S the same as S ◦ R for any binary relations R; S?) For what binary relations their composition is commutative? Example Discrete Mathematics (c) Marcin Sydow A = f0; 1; 2; 3; 4g, B = fa; b; cg, C = fx; y; z; vg Properties R = f(1; a); (2; c); (3; a)g, Equivalence S = f(a; z); (a; v); (b; x); (b; z); (c; y)g relation Order R ◦ S =?f(1; z); (1; v); (3; z); (3; v); (2; y)g relation N-ary (some join operations in relational databases are based on this relations operator) Is composition commutative? For what binary relations their composition is commutative? Example Discrete Mathematics (c) Marcin Sydow A = f0; 1; 2; 3; 4g, B = fa; b; cg, C = fx; y; z; vg Properties R = f(1; a); (2; c); (3; a)g, Equivalence S = f(a; z); (a; v); (b; x); (b; z); (c; y)g relation Order R ◦ S =?f(1; z); (1; v); (3; z); (3; v); (2; y)g relation N-ary (some join operations in relational databases are based on this relations operator) Is composition commutative?(i.e.
Recommended publications
  • Relations on Semigroups
    International Journal for Research in Engineering Application & Management (IJREAM) ISSN : 2454-9150 Vol-04, Issue-09, Dec 2018 Relations on Semigroups 1D.D.Padma Priya, 2G.Shobhalatha, 3U.Nagireddy, 4R.Bhuvana Vijaya 1 Sr.Assistant Professor, Department of Mathematics, New Horizon College Of Engineering, Bangalore, India, Research scholar, Department of Mathematics, JNTUA- Anantapuram [email protected] 2Professor, Department of Mathematics, SKU-Anantapuram, India, [email protected] 3Assistant Professor, Rayalaseema University, Kurnool, India, [email protected] 4Associate Professor, Department of Mathematics, JNTUA- Anantapuram, India, [email protected] Abstract: Equivalence relations play a vital role in the study of quotient structures of different algebraic structures. Semigroups being one of the algebraic structures are sets with associative binary operation defined on them. Semigroup theory is one of such subject to determine and analyze equivalence relations in the sense that it could be easily understood. This paper contains the quotient structures of semigroups by extending equivalence relations as congruences. We define different types of relations on the semigroups and prove they are equivalence, partial order, congruence or weakly separative congruence relations. Keywords: Semigroup, binary relation, Equivalence and congruence relations. I. INTRODUCTION [1,2,3 and 4] Algebraic structures play a prominent role in mathematics with wide range of applications in science and engineering. A semigroup
    [Show full text]
  • Binary Relations and Functions
    Harvard University, Math 101, Spring 2015 Binary relations and Functions 1 Binary Relations Intuitively, a binary relation is a rule to pair elements of a sets A to element of a set B. When two elements a 2 A is in a relation to an element b 2 B we write a R b . Since the order is relevant, we can completely characterize a relation R by the set of ordered pairs (a; b) such that a R b. This motivates the following formal definition: Definition A binary relation between two sets A and B is a subset of the Cartesian product A×B. In other words, a binary relation is an element of P(A × B). A binary relation on A is a subset of P(A2). It is useful to introduce the notions of domain and range of a binary relation R from a set A to a set B: • Dom(R) = fx 2 A : 9 y 2 B xRyg Ran(R) = fy 2 B : 9 x 2 A : xRyg. 2 Properties of a relation on a set Given a binary relation R on a set A, we have the following definitions: • R is transitive iff 8x; y; z 2 A :(xRy and yRz) =) xRz: • R is reflexive iff 8x 2 A : x Rx • R is irreflexive iff 8x 2 A : :(xRx) • R is symmetric iff 8x; y 2 A : xRy =) yRx • R is asymmetric iff 8x; y 2 A : xRy =):(yRx): 1 • R is antisymmetric iff 8x; y 2 A :(xRy and yRx) =) x = y: In a given set A, we can always define one special relation called the identity relation.
    [Show full text]
  • Relations in Categories
    Relations in Categories Stefan Milius A thesis submitted to the Faculty of Graduate Studies in partial fulfilment of the requirements for the degree of Master of Arts Graduate Program in Mathematics and Statistics York University Toronto, Ontario June 15, 2000 Abstract This thesis investigates relations over a category C relative to an (E; M)-factori- zation system of C. In order to establish the 2-category Rel(C) of relations over C in the first part we discuss sufficient conditions for the associativity of horizontal composition of relations, and we investigate special classes of morphisms in Rel(C). Attention is particularly devoted to the notion of mapping as defined by Lawvere. We give a significantly simplified proof for the main result of Pavlovi´c,namely that C Map(Rel(C)) if and only if E RegEpi(C). This part also contains a proof' that the category Map(Rel(C))⊆ is finitely complete, and we present the results obtained by Kelly, some of them generalized, i. e., without the restrictive assumption that M Mono(C). The next part deals with factorization⊆ systems in Rel(C). The fact that each set-relation has a canonical image factorization is generalized and shown to yield an (E¯; M¯ )-factorization system in Rel(C) in case M Mono(C). The setting without this condition is studied, as well. We propose a⊆ weaker notion of factorization system for a 2-category, where the commutativity in the universal property of an (E; M)-factorization system is replaced by coherent 2-cells. In the last part certain limits and colimits in Rel(C) are investigated.
    [Show full text]
  • Chapter 1 Logic and Set Theory
    Chapter 1 Logic and Set Theory To criticize mathematics for its abstraction is to miss the point entirely. Abstraction is what makes mathematics work. If you concentrate too closely on too limited an application of a mathematical idea, you rob the mathematician of his most important tools: analogy, generality, and simplicity. – Ian Stewart Does God play dice? The mathematics of chaos In mathematics, a proof is a demonstration that, assuming certain axioms, some statement is necessarily true. That is, a proof is a logical argument, not an empir- ical one. One must demonstrate that a proposition is true in all cases before it is considered a theorem of mathematics. An unproven proposition for which there is some sort of empirical evidence is known as a conjecture. Mathematical logic is the framework upon which rigorous proofs are built. It is the study of the principles and criteria of valid inference and demonstrations. Logicians have analyzed set theory in great details, formulating a collection of axioms that affords a broad enough and strong enough foundation to mathematical reasoning. The standard form of axiomatic set theory is denoted ZFC and it consists of the Zermelo-Fraenkel (ZF) axioms combined with the axiom of choice (C). Each of the axioms included in this theory expresses a property of sets that is widely accepted by mathematicians. It is unfortunately true that careless use of set theory can lead to contradictions. Avoiding such contradictions was one of the original motivations for the axiomatization of set theory. 1 2 CHAPTER 1. LOGIC AND SET THEORY A rigorous analysis of set theory belongs to the foundations of mathematics and mathematical logic.
    [Show full text]
  • Semiring Orders in a Semiring -.:: Natural Sciences Publishing
    Appl. Math. Inf. Sci. 6, No. 1, 99-102 (2012) 99 Applied Mathematics & Information Sciences An International Journal °c 2012 NSP Natural Sciences Publishing Cor. Semiring Orders in a Semiring Jeong Soon Han1, Hee Sik Kim2 and J. Neggers3 1 Department of Applied Mathematics, Hanyang University, Ahnsan, 426-791, Korea 2 Department of Mathematics, Research Institute for Natural Research, Hanyang University, Seoal, Korea 3 Department of Mathematics, University of Alabama, Tuscaloosa, AL 35487-0350, U.S.A Received: Received May 03, 2011; Accepted August 23, 2011 Published online: 1 January 2012 Abstract: Given a semiring it is possible to associate a variety of partial orders with it in quite natural ways, connected with both its additive and its multiplicative structures. These partial orders are related among themselves in an interesting manner is no surprise therefore. Given particular types of semirings, e.g., commutative semirings, these relationships become even more strict. Finally, in terms of the arithmetic of semirings in general or of some special type the fact that certain pairs of elements are comparable in one of these orders may have computable and interesting consequences also. It is the purpose of this paper to consider all these aspects in some detail and to obtain several results as a consequence. Keywords: semiring, semiring order, partial order, commutative. The notion of a semiring was first introduced by H. S. they are equivalent (see [7]). J. Neggers et al. ([5, 6]) dis- Vandiver in 1934, but implicitly semirings had appeared cussed the notion of semiring order in semirings, and ob- earlier in studies on the theory of ideals of rings ([2]).
    [Show full text]
  • On Tarski's Axiomatization of Mereology
    On Tarski’s Axiomatization of Mereology Neil Tennant Studia Logica An International Journal for Symbolic Logic ISSN 0039-3215 Volume 107 Number 6 Stud Logica (2019) 107:1089-1102 DOI 10.1007/s11225-018-9819-3 1 23 Your article is protected by copyright and all rights are held exclusively by Springer Nature B.V.. This e-offprint is for personal use only and shall not be self-archived in electronic repositories. If you wish to self-archive your article, please use the accepted manuscript version for posting on your own website. You may further deposit the accepted manuscript version in any repository, provided it is only made publicly available 12 months after official publication or later and provided acknowledgement is given to the original source of publication and a link is inserted to the published article on Springer's website. The link must be accompanied by the following text: "The final publication is available at link.springer.com”. 1 23 Author's personal copy Neil Tennant On Tarski’s Axiomatization of Mereology Abstract. It is shown how Tarski’s 1929 axiomatization of mereology secures the re- flexivity of the ‘part of’ relation. This is done with a fusion-abstraction principle that is constructively weaker than that of Tarski; and by means of constructive and relevant rea- soning throughout. We place a premium on complete formal rigor of proof. Every step of reasoning is an application of a primitive rule; and the natural deductions themselves can be checked effectively for formal correctness. Keywords: Mereology, Part of, Reflexivity, Tarski, Axiomatization, Constructivity.
    [Show full text]
  • Functions, Sets, and Relations
    Sets A set is a collection of objects. These objects can be anything, even sets themselves. An object x that is in a set S is called an element of that set. We write x ∈ S. Some special sets: ∅: The empty set; the set containing no objects at all N: The set of all natural numbers 1, 2, 3, … (sometimes, we include 0 as a natural number) Z: the set of all integers …, -3, -2, -1, 0, 1, 2, 3, … Q: the set of all rational numbers (numbers that can be written as a ratio p/q with p and q integers) R: the set of real numbers (points on the continuous number line; comprises the rational as well as irrational numbers) When all elements of a set A are elements of set B as well, we say that A is a subset of B. We write this as A ⊆ B. When A is a subset of B, and there are elements in B that are not in A, we say that A is a strict subset of B. We write this as A ⊂ B. When two sets A and B have exactly the same elements, then the two sets are the same. We write A = B. Some Theorems: For any sets A, B, and C: A ⊆ A A = B if and only if A ⊆ B and B ⊆ A If A ⊆ B and B ⊆ C then A ⊆ C Formalizations in first-order logic: ∀x ∀y (x = y ↔ ∀z (z ∈ x ↔ z ∈ y)) Axiom of Extensionality ∀x ∀y (x ⊆ y ↔ ∀z (z ∈ x → z ∈ y)) Definition subset Operations on Sets With A and B sets, the following are sets as well: The union A ∪ B, which is the set of all objects that are in A or in B (or both) The intersection A ∩ B, which is the set of all objects that are in A as well as B The difference A \ B, which is the set of all objects that are in A, but not in B The powerset P(A) which is the set of all subsets of A.
    [Show full text]
  • What Are Kinship Terminologies, and Why Do We Care?: a Computational Approach To
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Kent Academic Repository What are Kinship Terminologies, and Why do we Care?: A Computational Approach to Analysing Symbolic Domains Dwight Read, UCLA Murray Leaf, University of Texas, Dallas Michael Fischer, University of Kent, Canterbury, Corresponding Author, [email protected] Abstract Kinship is a fundamental feature and basis of human societies. We describe a set of computat ional tools and services, the Kinship Algebra Modeler, and the logic that underlies these. Thes e were developed to improve how we understand both the fundamental facts of kinship, and h ow people use kinship as a resource in their lives. Mathematical formalism applied to cultural concepts is more than an exercise in model building, as it provides a way to represent and exp lore logical consistency and implications. The logic underlying kinship is explored here thro ugh the kin term computations made by users of a terminology when computing the kinship r elation one person has to another by referring to a third person for whom each has a kin term relationship. Kinship Algebra Modeler provides a set of tools, services and an architecture to explore kinship terminologies and their properties in an accessible manner. Keywords Kinship, Algebra, Semantic Domains, Kinship Terminology, Theory Building 1 1. Introduction The Kinship Algebra Modeller (KAM) is a suite of open source software tools and services u nder development to support the elicitation and analysis of kinship terminologies, building al gebraic models of the relations structuring terminologies, and instantiating these models in lar ger contexts to better understand how people pragmatically interpret and employ the logic of kinship relations as a resource in their individual and collective lives.
    [Show full text]
  • Order Relations and Functions
    Order Relations and Functions Problem Session Tonight 7:00PM – 7:50PM 380-380X Optional, but highly recommended! Recap from Last Time Relations ● A binary relation is a property that describes whether two objects are related in some way. ● Examples: ● Less-than: x < y ● Divisibility: x divides y evenly ● Friendship: x is a friend of y ● Tastiness: x is tastier than y ● Given binary relation R, we write aRb iff a is related to b by relation R. Order Relations “x is larger than y” “x is tastier than y” “x is faster than y” “x is a subset of y” “x divides y” “x is a part of y” Informally An order relation is a relation that ranks elements against one another. Do not use this definition in proofs! It's just an intuition! Properties of Order Relations x ≤ y Properties of Order Relations x ≤ y 1 ≤ 5 and 5 ≤ 8 Properties of Order Relations x ≤ y 1 ≤ 5 and 5 ≤ 8 1 ≤ 8 Properties of Order Relations x ≤ y 42 ≤ 99 and 99 ≤ 137 Properties of Order Relations x ≤ y 42 ≤ 99 and 99 ≤ 137 42 ≤ 137 Properties of Order Relations x ≤ y x ≤ y and y ≤ z Properties of Order Relations x ≤ y x ≤ y and y ≤ z x ≤ z Properties of Order Relations x ≤ y x ≤ y and y ≤ z x ≤ z Transitivity Properties of Order Relations x ≤ y Properties of Order Relations x ≤ y 1 ≤ 1 Properties of Order Relations x ≤ y 42 ≤ 42 Properties of Order Relations x ≤ y 137 ≤ 137 Properties of Order Relations x ≤ y x ≤ x Properties of Order Relations x ≤ y x ≤ x Reflexivity Properties of Order Relations x ≤ y Properties of Order Relations x ≤ y 19 ≤ 21 Properties of Order Relations x ≤ y 19 ≤ 21 21 ≤ 19? Properties of Order Relations x ≤ y 19 ≤ 21 21 ≤ 19? Properties of Order Relations x ≤ y 42 ≤ 137 Properties of Order Relations x ≤ y 42 ≤ 137 137 ≤ 42? Properties of Order Relations x ≤ y 42 ≤ 137 137 ≤ 42? Properties of Order Relations x ≤ y 137 ≤ 137 Properties of Order Relations x ≤ y 137 ≤ 137 137 ≤ 137? Properties of Order Relations x ≤ y 137 ≤ 137 137 ≤ 137 Antisymmetry A binary relation R over a set A is called antisymmetric iff For any x ∈ A and y ∈ A, If xRy and y ≠ x, then yRx.
    [Show full text]
  • Partial Orders — Basics
    Partial Orders — Basics Edward A. Lee UC Berkeley — EECS EECS 219D — Concurrent Models of Computation Last updated: January 23, 2014 Outline Sets Join (Least Upper Bound) Relations and Functions Meet (Greatest Lower Bound) Notation Example of Join and Meet Directed Sets, Bottom Partial Order What is Order? Complete Partial Order Strict Partial Order Complete Partial Order Chains and Total Orders Alternative Definition Quiz Example Partial Orders — Basics Sets Frequently used sets: • B = {0, 1}, the set of binary digits. • T = {false, true}, the set of truth values. • N = {0, 1, 2, ···}, the set of natural numbers. • Z = {· · · , −1, 0, 1, 2, ···}, the set of integers. • R, the set of real numbers. • R+, the set of non-negative real numbers. Edward A. Lee | UC Berkeley — EECS3/32 Partial Orders — Basics Relations and Functions • A binary relation from A to B is a subset of A × B. • A partial function f from A to B is a relation where (a, b) ∈ f and (a, b0) ∈ f =⇒ b = b0. Such a partial function is written f : A*B. • A total function or just function f from A to B is a partial function where for all a ∈ A, there is a b ∈ B such that (a, b) ∈ f. Edward A. Lee | UC Berkeley — EECS4/32 Partial Orders — Basics Notation • A binary relation: R ⊆ A × B. • Infix notation: (a, b) ∈ R is written aRb. • A symbol for a relation: • ≤⊂ N × N • (a, b) ∈≤ is written a ≤ b. • A function is written f : A → B, and the A is called its domain and the B its codomain.
    [Show full text]
  • Foundations of Relations and Kleene Algebra
    Introduction Foundations of Relations and Kleene Algebra Aim: cover the basics about relations and Kleene algebras within the framework of universal algebra Peter Jipsen This is a tutorial Slides give precise definitions, lots of statements Decide which statements are true (can be improved) Chapman University which are false (and perhaps how they can be fixed) [Hint: a list of pages with false statements is at the end] September 4, 2006 Peter Jipsen (Chapman University) Relation algebras and Kleene algebra September 4, 2006 1 / 84 Peter Jipsen (Chapman University) Relation algebras and Kleene algebra September 4, 2006 2 / 84 Prerequisites Algebraic properties of set operation Knowledge of sets, union, intersection, complementation Some basic first-order logic Let U be a set, and P(U)= {X : X ⊆ U} the powerset of U Basic discrete math (e.g. function notation) P(U) is an algebra with operations union ∪, intersection ∩, These notes take an algebraic perspective complementation X − = U \ X Satisfies many identities: e.g. X ∪ Y = Y ∪ X for all X , Y ∈ P(U) Conventions: How can we describe the set of all identities that hold? Minimize distinction between concrete and abstract notation x, y, z, x1,... variables (implicitly universally quantified) Can we decide if a particular identity holds in all powerset algebras? X , Y , Z, X1,... set variables (implicitly universally quantified) These are questions about the equational theory of these algebras f , g, h, f1,... function variables We will consider similar questions about several other types of algebras, a, b, c, a1,... constants in particular relation algebras and Kleene algebras i, j, k, i1,..
    [Show full text]
  • Mereology Then and Now
    Logic and Logical Philosophy Volume 24 (2015), 409–427 DOI: 10.12775/LLP.2015.024 Rafał Gruszczyński Achille C. Varzi MEREOLOGY THEN AND NOW Abstract. This paper offers a critical reconstruction of the motivations that led to the development of mereology as we know it today, along with a brief description of some questions that define current research in the field. Keywords: mereology; parthood; formal ontology; foundations of mathe- matics 1. Introduction Understood as a general theory of parts and wholes, mereology has a long history that can be traced back to the early days of philosophy. As a formal theory of the part-whole relation or rather, as a theory of the relations of part to whole and of part to part within a whole it is relatively recent and came to us mainly through the writings of Edmund Husserl and Stanisław Leśniewski. The former were part of a larger project aimed at the development of a general framework for formal ontology; the latter were inspired by a desire to provide a nominalistically acceptable alternative to set theory as a foundation for mathematics. (The name itself, ‘mereology’ after the Greek word ‘µρoς’, ‘part’ was coined by Leśniewski [31].) As it turns out, both sorts of motivation failed to quite live up to expectations. Yet mereology survived as a theory in its own right and continued to flourish, often in unexpected ways. Indeed, it is not an exaggeration to say that today mereology is a central and powerful area of research in philosophy and philosophical logic. It may be helpful, therefore, to take stock and reconsider its origins.
    [Show full text]