Set Theory, Relations, and Functions (II)

Total Page:16

File Type:pdf, Size:1020Kb

Set Theory, Relations, and Functions (II) LING 106. Knowledge of Meaning Lecture 2-2 Yimei Xiang Feb 1, 2017 Set theory, relations, and functions (II) Review: set theory – Principle of Extensionality – Special sets: singleton set, empty set – Ways to define a set: list notation, predicate notation, recursive rules – Relations of sets: identity, subset, powerset – Operations on sets: union, intersection, difference, complement – Venn diagram – Applications in natural language semantics: (i) categories denoting sets of individuals: common nouns, predicative ADJ, VPs, IV; (ii) quantificational determiners denote relations of sets 1 Relations 1.1 Ordered pairs and Cartesian products • The elements of a set are not ordered. To describe functions and relations we will need the notion of an ordered pair, written as xa; by, where a is the first element of the pair and b is the second. Compare: If a ‰ b, then ... ta; bu “ tb; au, but xa; by ‰ xb; ay ta; au “ ta; a; au, but xa; ay ‰ xa; a; ay • The Cartesian product of two sets A and B (written as A ˆ B) is the set of ordered pairs which take an element of A as the first member and an element of B as the second member. (1) A ˆ B “ txx; yy | x P A and y P Bu E.g. Let A “ t1; 2u, B “ ta; bu, then A ˆ B “ tx1; ay; x1; by; x2; ay; x2; byu, B ˆ A “ txa; 1y; xa; 2y; xb; 1y; xb; 2yu 1.2 Relations, domain, and range •A relation is a set of ordered pairs. For example: – Relations in math: =, ¡, ‰, ... – Relations in natural languages: the instructor of, the capital city of, ... (2) a. the capital city of “ txUSA; Washingtony; xChina; Beijingy; xFrance; Parisy; :::u J K “ txx; yy : y is the capital city of xu b. invited “ txAndy; Billyy; xCindy; Dannyy; xEmily; Floriy; :::u J K “ txx; yy : x invited yu 1 • R is a relation from A to B iff R is a subset of the Cartesian product A ˆ B, written as R Ď A ˆ B. R is a relation in A iff R is a subset of the Cartesian product A ˆ A, written as R Ď A ˆ A. (3) a. the capital city of Ď tx : x is a country u ˆ ty : y is a cityu J K b. the mother of Ď tx : x is a human u ˆ ty : y is a humanu J K • We can use a mapping diagram to illustrate a relation: a 1 b 2 c 3 d 4 • A and B are the domain and range of R respectively, iff A ˆ B is the smallest Cartesian product of which R is a subset. For example: (4) Let R “ tx1; ay; x1; by; x2; by; x3; byu, then: DompRq “ t1; 2; 3u, RangepRq “ ta; bu Discussion: Why is that the following definitions are problematic? Given counterexamples. (5) a. A and B are the domain and range of R iff R “ A ˆ B. b. A and B are the domain and range of R iff R Ď A ˆ B. 1.3 Properties of relations • Properties of relations: reflexivity, symmetry, transitivity Given a set A and a relation R in A, ... – R is reflexive iff for every x in A, xx; xy P R; otherwise R is nonreflexive. If there is no pair of the form xx; xy in R, then R is irreflexive. – R is symmetric iff for every xy in A, if xx; yy P R, then xy; xy P R; otherwise R is nonsymmetric. If there is no pair xx; yy in R such that the pair xy; xy is in R, then R is asymmetric. – R is transitive iff for every xyz in A, if xx; yy P R and xy; zy P R, then xx; zy P R; otherwise R is nontransitive. If there are no pairs xx; yy and xy; zy in R such that the pair xx; zy is in R, then R is intransitive. 2 Exercise: Identify the properties of the following relations w.r.t. reflexivity, symmetry, and transitivity. (Make the strongest possible statement. For example, call a relation ‘irreflexive’ instead of ‘nonreflexive’, if satisfied.) (6) a. = reflective, symmetric, transitve b. ¤ c. ‰ d. Ď (7) a. is a sister of b. is a mother of • It is helpful in assimilating the notions of reflexivity, symmetry and transitivity to represent them in relational diagrams. If x is related to y (namely, xx; yy P R), an arrow connects the corresponding points. 2 Functions • A relation is a function iff each element in the domain is paired with just one element in the range. 2 (8) fpxq “ x for x P N In particular, – a function f is a from A (in)to B (written as ‘f: A Ñ B’) iff Dompfq “ A and Rangepfq Ď B. – a function f is a from A onto B iff Dompfq “ A and Rangepfq “ B. Exercise: For each set of ordered pairs, consider: what is its domain and range? Is it a function? If it is, draw a mapping diagram to illustrate this function. (9) a. fx2; 3y; x5; 4y; x0; 3y; x4; 1yg b. fx3; ´1y; x2; ´2y; x0; 2y; x2; 1yg • We may specify functions with lists, tables, or words. (10) a. F “ txa; by; xc; by; xd; eyu a Ñ b b. F “ c Ñ b » fi d Ñ e c. F is a– functionflf with domain ta; b; cu such that fpaq “ fpcq “ b and fpdq “ e. 3 Exercise: Define conjunctive and, disjunctive or, and negation it is not the case that as functions. 3 Characteristic function • Recall that the following categories can be interpreted as sets of individuals: common nouns, predica- tive adjectives, intransitive verbs, VPs, ... ... Annie Betty Cindy Danny (11) a. wears a hat “ tAndy; Bettyu J K b. wears a hat “ tx : x wears a hatu J K Alternatively, the semantics of these expressions can also be modeled as functions from the set of individual entities to the set of truth values. (12) a. wears a hat “ txAndy; 1y; xBetty; 1y; xCindy; 0y; xDanny; 0yu J K Andy Ñ 1 Betty Ñ 1 b. wears a hat “ » fi J K Cindy Ñ 0 — Danny Ñ 0 ffi — ffi c. wears a hat “ the– function f fromfl individual entities to truth values such that J K fpxq “ 1 if x wears a hat, and fpxq “ 0 otherwise. Characteristic function: a function whose range is the set of possible truth values t1; 0u. Exercise: provide the characteristic function for wears a bowtie. 4.
Recommended publications
  • 1.5. Set Functions and Properties. Let Л Be Any Set of Subsets of E
    1.5. Set functions and properties. Let A be any set of subsets of E containing the empty set ∅. A set function is a function µ : A → [0, ∞] with µ(∅)=0. Let µ be a set function. Say that µ is increasing if, for all A, B ∈ A with A ⊆ B, µ(A) ≤ µ(B). Say that µ is additive if, for all disjoint sets A, B ∈ A with A ∪ B ∈ A, µ(A ∪ B)= µ(A)+ µ(B). Say that µ is countably additive if, for all sequences of disjoint sets (An : n ∈ N) in A with n An ∈ A, S µ An = µ(An). n ! n [ X Say that µ is countably subadditive if, for all sequences (An : n ∈ N) in A with n An ∈ A, S µ An ≤ µ(An). n ! n [ X 1.6. Construction of measures. Let A be a set of subsets of E. Say that A is a ring on E if ∅ ∈ A and, for all A, B ∈ A, B \ A ∈ A, A ∪ B ∈ A. Say that A is an algebra on E if ∅ ∈ A and, for all A, B ∈ A, Ac ∈ A, A ∪ B ∈ A. Theorem 1.6.1 (Carath´eodory’s extension theorem). Let A be a ring of subsets of E and let µ : A → [0, ∞] be a countably additive set function. Then µ extends to a measure on the σ-algebra generated by A. Proof. For any B ⊆ E, define the outer measure ∗ µ (B) = inf µ(An) n X where the infimum is taken over all sequences (An : n ∈ N) in A such that B ⊆ n An and is taken to be ∞ if there is no such sequence.
    [Show full text]
  • Fuzzy Logic : Introduction
    Fuzzy Logic : Introduction Debasis Samanta IIT Kharagpur [email protected] 07.01.2015 Debasis Samanta (IIT Kharagpur) Soft Computing Applications 07.01.2015 1 / 69 What is Fuzzy logic? Fuzzy logic is a mathematical language to express something. This means it has grammar, syntax, semantic like a language for communication. There are some other mathematical languages also known • Relational algebra (operations on sets) • Boolean algebra (operations on Boolean variables) • Predicate logic (operations on well formed formulae (wff), also called predicate propositions) Fuzzy logic deals with Fuzzy set. Debasis Samanta (IIT Kharagpur) Soft Computing Applications 07.01.2015 2 / 69 A brief history of Fuzzy Logic First time introduced by Lotfi Abdelli Zadeh (1965), University of California, Berkley, USA (1965). He is fondly nick-named as LAZ Debasis Samanta (IIT Kharagpur) Soft Computing Applications 07.01.2015 3 / 69 A brief history of Fuzzy logic 1 Dictionary meaning of fuzzy is not clear, noisy etc. Example: Is the picture on this slide is fuzzy? 2 Antonym of fuzzy is crisp Example: Are the chips crisp? Debasis Samanta (IIT Kharagpur) Soft Computing Applications 07.01.2015 4 / 69 Example : Fuzzy logic vs. Crisp logic Yes or No Crisp answer True or False Milk Yes Water A liquid Crisp Coca No Spite Is the liquid colorless? Debasis Samanta (IIT Kharagpur) Soft Computing Applications 07.01.2015 5 / 69 Example : Fuzzy logic vs. Crisp logic May be May not be Fuzzy answer Absolutely Partially etc Debasis Samanta (IIT Kharagpur) Soft Computing Applications
    [Show full text]
  • Mathematics Is Megethology
    17 Mathematics is megethology Mereology is the theory of the relation of part to whole, and kindred notions. Megethology is the result of adding plural quantification, as advocated by George Boolos in [1] and [2], to the language of mere­ ology. It is so-called because it turns out to have enough expressive power to let us express interesting hypotheses about the size of Reality. It also has the power, as John P. Burgess and A. P. Hazen have shown in [3], to simulate quantification over relations. It is generally accepted that mathematics reduces to set theory. In my book Parts of Classes, [6], I argued that set theory in turn reduces, with the aid of mereology, to the theory of singleton functions. I also argued (somewhat reluctantly) for a 'structuralist' approach to the theory of singleton functions. We need not think we have somehow achieved a primitive grasp of some one special singleton function. Rather, we can take the theory of singleton functions, and hence set theory, and hence mathematics, to consist of generalisations about all singleton functions. We need only assume, to avoid vacuity, that there exists at least one singleton function. But we need not assume even that. For it now turns out that if the size of Reality is right, there must exist a singleton function. All we need as a foundation for mathematics, apart from the framework of megethology, are some hypotheses about the size of Reality. First published in this form in Philosophia Mathematila 3 (1993), 3--23. This paper consists in part of near-verbatim excerpts from David Lewis, Parts of Classes (Oxford, Blackwell, 1991).
    [Show full text]
  • A Bayesian Level Set Method for Geometric Inverse Problems
    Interfaces and Free Boundaries 18 (2016), 181–217 DOI 10.4171/IFB/362 A Bayesian level set method for geometric inverse problems MARCO A. IGLESIAS School of Mathematical Sciences, University of Nottingham, Nottingham NG7 2RD, UK E-mail: [email protected] YULONG LU Mathematics Institute, University of Warwick, Coventry CV4 7AL, UK E-mail: [email protected] ANDREW M. STUART Mathematics Institute, University of Warwick, Coventry CV4 7AL, UK E-mail: [email protected] [Received 3 April 2015 and in revised form 10 February 2016] We introduce a level set based approach to Bayesian geometric inverse problems. In these problems the interface between different domains is the key unknown, and is realized as the level set of a function. This function itself becomes the object of the inference. Whilst the level set methodology has been widely used for the solution of geometric inverse problems, the Bayesian formulation that we develop here contains two significant advances: firstly it leads to a well-posed inverse problem in which the posterior distribution is Lipschitz with respect to the observed data, and may be used to not only estimate interface locations, but quantify uncertainty in them; and secondly it leads to computationally expedient algorithms in which the level set itself is updated implicitly via the MCMC methodology applied to the level set function – no explicit velocity field is required for the level set interface. Applications are numerous and include medical imaging, modelling of subsurface formations and the inverse source problem; our theory is illustrated with computational results involving the last two applications.
    [Show full text]
  • Definiteness and Determinacy
    Linguistics and Philosophy manuscript No. (will be inserted by the editor) Definiteness and Determinacy Elizabeth Coppock · David Beaver the date of receipt and acceptance should be inserted later Abstract This paper distinguishes between definiteness and determinacy. Defi- niteness is seen as a morphological category which, in English, marks a (weak) uniqueness presupposition, while determinacy consists in denoting an individual. Definite descriptions are argued to be fundamentally predicative, presupposing uniqueness but not existence, and to acquire existential import through general type-shifting operations that apply not only to definites, but also indefinites and possessives. Through these shifts, argumental definite descriptions may become either determinate (and thus denote an individual) or indeterminate (functioning as an existential quantifier). The latter option is observed in examples like `Anna didn't give the only invited talk at the conference', which, on its indeterminate reading, implies that there is nothing in the extension of `only invited talk at the conference'. The paper also offers a resolution of the issue of whether posses- sives are inherently indefinite or definite, suggesting that, like indefinites, they do not mark definiteness lexically, but like definites, they typically yield determinate readings due to a general preference for the shifting operation that produces them. Keywords definiteness · descriptions · possessives · predicates · type-shifting We thank Dag Haug, Reinhard Muskens, Luca Crniˇc,Cleo Condoravdi, Lucas
    [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]
  • Solutions Are Available
    Math 436 Introduction to Topology Spring 2018 Examination 1 1. Define (a) the concept of the closure of a set, and (b) the concept of a basis for a given topology. Solution. The closure of a set A can be defined as the smallest closed set containing A, or as the intersection of all closed sets containing A, or as the union of A with the set of limit points of A. A basis for a given topology is a subset of such that every element of can be obtained as a union of elements of . In alternative language, a basis for a given topology is a collection of open sets such that every open set can be obtained by taking a union of some open sets belonging to the basis. 2. Give an example of a separable Hausdorff topological space .X; / with the property that X has no limit points. Solution. A point x is a limit point of X when every neighborhood of x intersects X ⧵ ^x`. This property evidently holds unless the singleton set ^x` is an open set. Saying that X has no limit points is equivalent to saying that every singleton set is an open set. In other words, the topology on X is the discrete topology. The discrete topology is automatically Hausdorff, for if x and y are distinct points, then the sets ^x` and ^y` are disjoint open sets that separate x from y. A minimal basis for the discrete topology consists of all singletons, so the discrete topology is separable if and only if the space X is countable.
    [Show full text]
  • Generalized Stochastic Processes with Independent Values
    GENERALIZED STOCHASTIC PROCESSES WITH INDEPENDENT VALUES K. URBANIK UNIVERSITY OF WROCFAW AND MATHEMATICAL INSTITUTE POLISH ACADEMY OF SCIENCES Let O denote the space of all infinitely differentiable real-valued functions defined on the real line and vanishing outside a compact set. The support of a function so E X, that is, the closure of the set {x: s(x) F 0} will be denoted by s(,o). We shall consider 3D as a topological space with the topology introduced by Schwartz (section 1, chapter 3 in [9]). Any continuous linear functional on this space is a Schwartz distribution, a generalized function. Let us consider the space O of all real-valued random variables defined on the same sample space. The distance between two random variables X and Y will be the Frechet distance p(X, Y) = E[X - Yl/(l + IX - YI), that is, the distance induced by the convergence in probability. Any C-valued continuous linear functional defined on a is called a generalized stochastic process. Every ordinary stochastic process X(t) for which almost all realizations are locally integrable may be considered as a generalized stochastic process. In fact, we make the generalized process T((p) = f X(t),p(t) dt, with sp E 1, correspond to the process X(t). Further, every generalized stochastic process is differentiable. The derivative is given by the formula T'(w) = - T(p'). The theory of generalized stochastic processes was developed by Gelfand [4] and It6 [6]. The method of representation of generalized stochastic processes by means of sequences of ordinary processes was considered in [10].
    [Show full text]
  • Old Notes from Warwick, Part 1
    Measure Theory, MA 359 Handout 1 Valeriy Slastikov Autumn, 2005 1 Measure theory 1.1 General construction of Lebesgue measure In this section we will do the general construction of σ-additive complete measure by extending initial σ-additive measure on a semi-ring to a measure on σ-algebra generated by this semi-ring and then completing this measure by adding to the σ-algebra all the null sets. This section provides you with the essentials of the construction and make some parallels with the construction on the plane. Throughout these section we will deal with some collection of sets whose elements are subsets of some fixed abstract set X. It is not necessary to assume any topology on X but for simplicity you may imagine X = Rn. We start with some important definitions: Definition 1.1 A nonempty collection of sets S is a semi-ring if 1. Empty set ? 2 S; 2. If A 2 S; B 2 S then A \ B 2 S; n 3. If A 2 S; A ⊃ A1 2 S then A = [k=1Ak, where Ak 2 S for all 1 ≤ k ≤ n and Ak are disjoint sets. If the set X 2 S then S is called semi-algebra, the set X is called a unit of the collection of sets S. Example 1.1 The collection S of intervals [a; b) for all a; b 2 R form a semi-ring since 1. empty set ? = [a; a) 2 S; 2. if A 2 S and B 2 S then A = [a; b) and B = [c; d).
    [Show full text]
  • Ring (Mathematics) 1 Ring (Mathematics)
    Ring (mathematics) 1 Ring (mathematics) In mathematics, a ring is an algebraic structure consisting of a set together with two binary operations usually called addition and multiplication, where the set is an abelian group under addition (called the additive group of the ring) and a monoid under multiplication such that multiplication distributes over addition.a[›] In other words the ring axioms require that addition is commutative, addition and multiplication are associative, multiplication distributes over addition, each element in the set has an additive inverse, and there exists an additive identity. One of the most common examples of a ring is the set of integers endowed with its natural operations of addition and multiplication. Certain variations of the definition of a ring are sometimes employed, and these are outlined later in the article. Polynomials, represented here by curves, form a ring under addition The branch of mathematics that studies rings is known and multiplication. as ring theory. Ring theorists study properties common to both familiar mathematical structures such as integers and polynomials, and to the many less well-known mathematical structures that also satisfy the axioms of ring theory. The ubiquity of rings makes them a central organizing principle of contemporary mathematics.[1] Ring theory may be used to understand fundamental physical laws, such as those underlying special relativity and symmetry phenomena in molecular chemistry. The concept of a ring first arose from attempts to prove Fermat's last theorem, starting with Richard Dedekind in the 1880s. After contributions from other fields, mainly number theory, the ring notion was generalized and firmly established during the 1920s by Emmy Noether and Wolfgang Krull.[2] Modern ring theory—a very active mathematical discipline—studies rings in their own right.
    [Show full text]
  • Lecture 7 1 Overview 2 Sequences and Cartesian Products
    COMPSCI 230: Discrete Mathematics for Computer Science February 4, 2019 Lecture 7 Lecturer: Debmalya Panigrahi Scribe: Erin Taylor 1 Overview In this lecture, we introduce sequences and Cartesian products. We also define relations and study their properties. 2 Sequences and Cartesian Products Recall that two fundamental properties of sets are the following: 1. A set does not contain multiple copies of the same element. 2. The order of elements in a set does not matter. For example, if S = f1, 4, 3g then S is also equal to f4, 1, 3g and f1, 1, 3, 4, 3g. If we remove these two properties from a set, the result is known as a sequence. Definition 1. A sequence is an ordered collection of elements where an element may repeat multiple times. An example of a sequence with three elements is (1, 4, 3). This sequence, unlike the statement above for sets, is not equal to (4, 1, 3), nor is it equal to (1, 1, 3, 4, 3). Often the following shorthand notation is used to define a sequence: 1 s = 8i 2 N i 2i Here the sequence (s1, s2, ... ) is formed by plugging i = 1, 2, ... into the expression to find s1, s2, and so on. This sequence is (1/2, 1/4, 1/8, ... ). We now define a new set operator; the result of this operator is a set whose elements are two-element sequences. Definition 2. The Cartesian product of sets A and B, denoted by A × B, is a set defined as follows: A × B = f(a, b) : a 2 A, b 2 Bg.
    [Show full text]
  • Cartesian Powers
    Cartesian Powers sequences subsets functions exponential growth +, -, x, … Analogies between number and set operations Numbers Sets Addition Disjoint union Subtraction Complement Multiplication Cartesian product Exponents ? Cartesian Powers of a Set Cartesian product of a set with itself is a Cartesian power A2 = A x A Cartesian square An ≝ A x A x … x A n’th Cartesian power n X |An| = | A x A x … x A | = |A| x |A| x … x |A| = |A|n Practical and theoretical applications Applications California License Plates California Till 1904 no registration 1905-1912 various registration formats one-time $2 fee 1913 ≤6 digits 106 = 1 million If all OK Sam? 1956 263 x 103 ≈ 17.6 m 1969 263 x 104 ≈ 176 m Binary Strings {0,1}n = { length-n binary strings } n-bit strings 0 1 1 n Set Strings Size {0,1} 0 {0,1}0 Λ 1 00 01 1 {0,1}1 0, 1 2 {0,1}2 2 {0,1}2 00, 01, 10, 11 4 000, 001, 011, 010, 10 11 3 {0,1}3 8 100, 110, 101, 111 001 011 … … … … 010 {0,1}3 n {0,1}n 0…0, …, 1…1 2n 000 111 101 | {0,1}n | =|{0,1}|n = 2n 100 110 Subsets The power set of S, denoted ℙ(S), is the collection of all subsets of S ℙ( {a,b} ) = { {}, {a}, {b}, {a,b} } ℙ({a,b}) and {0,1}2 ℙ({a,b}) a b {0,1}2 Subsets Binary strings {} 00 |ℙ(S)| = ? of S of length |S| ❌ ❌ {b} ❌ ✅ 01 {a} ✅ ❌ 10 |S| 1-1 correspondence between ℙ(S) and {0,1} {a,b} ✅ ✅ 11 |ℙ(S)| = | {0,1}|S| | = 2|S| The size of the power set is the power of the set size Functions A function from A to B maps every element a ∈ A to an element f(a) ∈ B Define a function f: specify f(a) for every a ∈ A f from {1,2,3} to {p, u} specify
    [Show full text]