CSE541 CARDINALITIES of SETS BASIC DEFINITIONS and FACTS Cardinality Definition Sets a and B Have the Same Cardinality Iff ∃F

Total Page:16

File Type:pdf, Size:1020Kb

CSE541 CARDINALITIES of SETS BASIC DEFINITIONS and FACTS Cardinality Definition Sets a and B Have the Same Cardinality Iff ∃F CSE541 CARDINALITIES OF SETS BASIC DEFINITIONS AND FACTS 1¡1;onto Cardinality de¯nition Sets A and B have the same cardinality i® 9f( f : A ¡! B): Cardinality notations If sets A and B have the same cardinality we denote it as: jAj = jBj or cardA = cardB, or A » B. We aslo say that A and B are equipotent. Cardinality We put the above notations together in one de¯nition: 1¡1;onto jAj = jBj or cardA = cardB, or A » B i® 9f( f : A ¡! B): 1¡1;onto Finite A set A is ¯nite i® 9n 2 N 9f (f : f0; 1; 2; :::; n ¡ 1g ¡! A), i.e. we say: a set A is ¯nite i® 9n 2 N(jAj = n). In¯nite A set A is in¯nite i® A is NOT ¯nite. Cardinality Aleph zero @0 (Aleph zero) is a cardinality of N (Natural numbers). A set A has a cardinality @0 (jAj = @0) i® A » N, (or jAj = jNj, or cardA = cardN). Countable A set A is countable i® A is ¯nite or jAj = @0. In¯nitely countable A set A is in¯nitely countable i® jAj = @0. Uncountable A set A is uncountable i® A is NOT countable, Fact A set A is uncountable i® A is in¯nite and jAj 6= @0. Cardinality Continuum C (Continuum ) is a cardinality of Real Numbers, i.e. C = jRj. Sets of cardinality continuum. A set A has a cardinality C, jAj = C i® jAj = jRj, or cardA = cardR). Cardinality A · Cardinality B jAj · jBj i® A » C and C ⊆ B. Fact If A ⊆ B then jAj · jBj. Denote jAj = N and jBj = M. We write it symbolically: N·M when jAj · jBj. Cardinality A < Cardinality B jAj < jBj i® jAj · jBj and jAj 6= jBj. Denote jAj = N and jBj = M. We write it symbolically: N < M when jAj < jBj. Cantor Theorem For any set A, jAj < jP(A)j. Cantor-Berstein Theorem For any sets A; B, If jAj · jBj and jBj · jAj, then jAj = jBj. Denote jAj = N and jBj = M. We write it symbolically: If N·M and M·N , then N = M. ARITHMETIC OF CARDINAL NUMBERS Sum ( N + M) We de¯ne: N + M = jA [ Bj, where A; B are such that jAj = N , jBj = M and A \ B = ;. 1 Multiplication ( N ¢ M) We de¯ne: N ¢ M = jA £ Bj, where A; B are such that jAj = N , jBj = M. Power ( MN ) MN = cardff : f : A ¡! Bg, where A; B are such that jAj = N , jBj = M. I.e. MN is the cardinality of all functions that map a set A (of cardinality N ) into a set B (of cardinality M). Power ( 2N ) 2N = cardff : f : A ¡! f0; 1g g, where jAj = N . 2N = cardP(A), where jAj = N . Power Rules N P+T = N P ¢ N T .(N P )T = N P¢T . ARITHMETIC OF n, @0, C Union 1 @0 + @0 = @0. Union of two in¯nitely countable sets is an in¯nitely countable set. Union 2 @0 + n = @0. Union of a ¯nite ( cardinality n) and in¯nitely countable set is an in¯nitely countable set. Union 3 @0 + C = C. Union of an in¯nitely countable set and a set of the same cardinality as Real numbers has the same cardinality as the set of Real numbers. Union 4 C + C = C. Union of two sets of cardinality the same as Real numbers has the same cardinality as the set of Real numbers. Cartesian Product 1 @0 ¢ @0 = @0. Cartesian Product of two in¯nitely countable sets is an in¯nitely countable set. Cartesian Product 2 n ¢ @0 = @0. Cartesian Product of a ¯nite set and an in¯nitely countable set is an in¯nitely countable set. Cartesian Product 3 @0 ¢ C = C. Cartesian Product of an in¯nitely countable set and a set of the same cardinality as Real numbers has the same cardinality as the set of Real numbers. Cartesian Product 4 C ¢ C = C. Cartesian Product of two sets of cardinality the same as Real numbers has the same cardinality as the set of Real numbers. Power 1 2@0 = C. The set of all subsets of Natural numbers (or any set equipotent with natural numbers) has the same cardinality as the set of Real numbers. @0 Power 2 @0 = C. There are Cof all functions that map N into N. There are C sequences (all sequences) that can be form out of an in¯nitely countable set. @0 @0 = ff : f : N ¡! Ng = C. Power 3 CC = 2C. There are 2C of all functions that map R into R. The set of all real functions of one variable has the same cardinality as the set of all subsets of Real numbers. 2 Inequalities n < @0 < C. ¤ ¤ Theorem If A is a ¯nite set, A is the set of all ¯nite sequences formed out of A, then A has @0 elements. ¤ Shortly: If jAj = n, then jA j = @0. 3.
Recommended publications
  • Fast and Private Computation of Cardinality of Set Intersection and Union
    Fast and Private Computation of Cardinality of Set Intersection and Union Emiliano De Cristofaroy, Paolo Gastiz, and Gene Tsudikz yPARC zUC Irvine Abstract. With massive amounts of electronic information stored, trans- ferred, and shared every day, legitimate needs for sensitive information must be reconciled with natural privacy concerns. This motivates var- ious cryptographic techniques for privacy-preserving information shar- ing, such as Private Set Intersection (PSI) and Private Set Union (PSU). Such techniques involve two parties { client and server { each with a private input set. At the end, client learns the intersection (or union) of the two respective sets, while server learns nothing. However, if desired functionality is private computation of cardinality rather than contents, of set intersection, PSI and PSU protocols are not appropriate, as they yield too much information. In this paper, we design an efficient crypto- graphic protocol for Private Set Intersection Cardinality (PSI-CA) that yields only the size of set intersection, with security in the presence of both semi-honest and malicious adversaries. To the best of our knowl- edge, it is the first protocol that achieves complexities linear in the size of input sets. We then show how the same protocol can be used to pri- vately compute set union cardinality. We also design an extension that supports authorization of client input. 1 Introduction Proliferation of, and growing reliance on, electronic information trigger the increase in the amount of sensitive data stored and processed in cyberspace. Consequently, there is a strong need for efficient cryptographic techniques that allow sharing information with privacy. Among these, Private Set Intersection (PSI) [11, 24, 14, 21, 15, 22, 9, 8, 18], and Private Set Union (PSU) [24, 15, 17, 12, 32] have attracted a lot of attention from the research community.
    [Show full text]
  • 1 Measurable Sets
    Math 4351, Fall 2018 Chapter 11 in Goldberg 1 Measurable Sets Our goal is to define what is meant by a measurable set E ⊆ [a; b] ⊂ R and a measurable function f :[a; b] ! R. We defined the length of an open set and a closed set, denoted as jGj and jF j, e.g., j[a; b]j = b − a: We will use another notation for complement and the notation in the Goldberg text. Let Ec = [a; b] n E = [a; b] − E. Also, E1 n E2 = E1 − E2: Definitions: Let E ⊆ [a; b]. Outer measure of a set E: m(E) = inffjGj : for all G open and E ⊆ Gg. Inner measure of a set E: m(E) = supfjF j : for all F closed and F ⊆ Eg: 0 ≤ m(E) ≤ m(E). A set E is a measurable set if m(E) = m(E) and the measure of E is denoted as m(E). The symmetric difference of two sets E1 and E2 is defined as E1∆E2 = (E1 − E2) [ (E2 − E1): A set is called an Fσ set (F-sigma set) if it is a union of a countable number of closed sets. A set is called a Gδ set (G-delta set) if it is a countable intersection of open sets. Properties of Measurable Sets on [a; b]: 1. If E1 and E2 are subsets of [a; b] and E1 ⊆ E2, then m(E1) ≤ m(E2) and m(E1) ≤ m(E2). In addition, if E1 and E2 are measurable subsets of [a; b] and E1 ⊆ E2, then m(E1) ≤ m(E2).
    [Show full text]
  • Axiomatic Set Teory P.D.Welch
    Axiomatic Set Teory P.D.Welch. August 16, 2020 Contents Page 1 Axioms and Formal Systems 1 1.1 Introduction 1 1.2 Preliminaries: axioms and formal systems. 3 1.2.1 The formal language of ZF set theory; terms 4 1.2.2 The Zermelo-Fraenkel Axioms 7 1.3 Transfinite Recursion 9 1.4 Relativisation of terms and formulae 11 2 Initial segments of the Universe 17 2.1 Singular ordinals: cofinality 17 2.1.1 Cofinality 17 2.1.2 Normal Functions and closed and unbounded classes 19 2.1.3 Stationary Sets 22 2.2 Some further cardinal arithmetic 24 2.3 Transitive Models 25 2.4 The H sets 27 2.4.1 H - the hereditarily finite sets 28 2.4.2 H - the hereditarily countable sets 29 2.5 The Montague-Levy Reflection theorem 30 2.5.1 Absoluteness 30 2.5.2 Reflection Theorems 32 2.6 Inaccessible Cardinals 34 2.6.1 Inaccessible cardinals 35 2.6.2 A menagerie of other large cardinals 36 3 Formalising semantics within ZF 39 3.1 Definite terms and formulae 39 3.1.1 The non-finite axiomatisability of ZF 44 3.2 Formalising syntax 45 3.3 Formalising the satisfaction relation 46 3.4 Formalising definability: the function Def. 47 3.5 More on correctness and consistency 48 ii iii 3.5.1 Incompleteness and Consistency Arguments 50 4 The Constructible Hierarchy 53 4.1 The L -hierarchy 53 4.2 The Axiom of Choice in L 56 4.3 The Axiom of Constructibility 57 4.4 The Generalised Continuum Hypothesis in L.
    [Show full text]
  • Julia's Efficient Algorithm for Subtyping Unions and Covariant
    Julia’s Efficient Algorithm for Subtyping Unions and Covariant Tuples Benjamin Chung Northeastern University, Boston, MA, USA [email protected] Francesco Zappa Nardelli Inria of Paris, Paris, France [email protected] Jan Vitek Northeastern University, Boston, MA, USA Czech Technical University in Prague, Czech Republic [email protected] Abstract The Julia programming language supports multiple dispatch and provides a rich type annotation language to specify method applicability. When multiple methods are applicable for a given call, Julia relies on subtyping between method signatures to pick the correct method to invoke. Julia’s subtyping algorithm is surprisingly complex, and determining whether it is correct remains an open question. In this paper, we focus on one piece of this problem: the interaction between union types and covariant tuples. Previous work normalized unions inside tuples to disjunctive normal form. However, this strategy has two drawbacks: complex type signatures induce space explosion, and interference between normalization and other features of Julia’s type system. In this paper, we describe the algorithm that Julia uses to compute subtyping between tuples and unions – an algorithm that is immune to space explosion and plays well with other features of the language. We prove this algorithm correct and complete against a semantic-subtyping denotational model in Coq. 2012 ACM Subject Classification Theory of computation → Type theory Keywords and phrases Type systems, Subtyping, Union types Digital Object Identifier 10.4230/LIPIcs.ECOOP.2019.24 Category Pearl Supplement Material ECOOP 2019 Artifact Evaluation approved artifact available at https://dx.doi.org/10.4230/DARTS.5.2.8 Acknowledgements The authors thank Jiahao Chen for starting us down the path of understanding Julia, and Jeff Bezanson for coming up with Julia’s subtyping algorithm.
    [Show full text]
  • 17 Axiom of Choice
    Math 361 Axiom of Choice 17 Axiom of Choice De¯nition 17.1. Let be a nonempty set of nonempty sets. Then a choice function for is a function f sucFh that f(S) S for all S . F 2 2 F Example 17.2. Let = (N)r . Then we can de¯ne a choice function f by F P f;g f(S) = the least element of S: Example 17.3. Let = (Z)r . Then we can de¯ne a choice function f by F P f;g f(S) = ²n where n = min z z S and, if n = 0, ² = min z= z z = n; z S . fj j j 2 g 6 f j j j j j 2 g Example 17.4. Let = (Q)r . Then we can de¯ne a choice function f as follows. F P f;g Let g : Q N be an injection. Then ! f(S) = q where g(q) = min g(r) r S . f j 2 g Example 17.5. Let = (R)r . Then it is impossible to explicitly de¯ne a choice function for . F P f;g F Axiom 17.6 (Axiom of Choice (AC)). For every set of nonempty sets, there exists a function f such that f(S) S for all S . F 2 2 F We say that f is a choice function for . F Theorem 17.7 (AC). If A; B are non-empty sets, then the following are equivalent: (a) A B ¹ (b) There exists a surjection g : B A. ! Proof. (a) (b) Suppose that A B.
    [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]
  • Course 221: Michaelmas Term 2006 Section 1: Sets, Functions and Countability
    Course 221: Michaelmas Term 2006 Section 1: Sets, Functions and Countability David R. Wilkins Copyright c David R. Wilkins 2006 Contents 1 Sets, Functions and Countability 2 1.1 Sets . 2 1.2 Cartesian Products of Sets . 5 1.3 Relations . 6 1.4 Equivalence Relations . 6 1.5 Functions . 8 1.6 The Graph of a Function . 9 1.7 Functions and the Empty Set . 10 1.8 Injective, Surjective and Bijective Functions . 11 1.9 Inverse Functions . 13 1.10 Preimages . 14 1.11 Finite and Infinite Sets . 16 1.12 Countability . 17 1.13 Cartesian Products and Unions of Countable Sets . 18 1.14 Uncountable Sets . 21 1.15 Power Sets . 21 1.16 The Cantor Set . 22 1 1 Sets, Functions and Countability 1.1 Sets A set is a collection of objects; these objects are known as elements of the set. If an element x belongs to a set X then we denote this fact by writing x ∈ X. Sets with small numbers of elements can be specified by listing the elements of the set enclosed within braces. For example {a, b, c, d} is the set consisting of the elements a, b, c and d. Two sets are equal if and only if they have the same elements. The empty set ∅ is the set with no elements. Standard notations N, Z, Q, R and C are adopted for the following sets: • the set N of positive integers; • the set Z of integers; • the set Q of rational numbers; • the set R of real numbers; • the set C of complex numbers.
    [Show full text]
  • Equivalents to the Axiom of Choice and Their Uses A
    EQUIVALENTS TO THE AXIOM OF CHOICE AND THEIR USES A Thesis Presented to The Faculty of the Department of Mathematics California State University, Los Angeles In Partial Fulfillment of the Requirements for the Degree Master of Science in Mathematics By James Szufu Yang c 2015 James Szufu Yang ALL RIGHTS RESERVED ii The thesis of James Szufu Yang is approved. Mike Krebs, Ph.D. Kristin Webster, Ph.D. Michael Hoffman, Ph.D., Committee Chair Grant Fraser, Ph.D., Department Chair California State University, Los Angeles June 2015 iii ABSTRACT Equivalents to the Axiom of Choice and Their Uses By James Szufu Yang In set theory, the Axiom of Choice (AC) was formulated in 1904 by Ernst Zermelo. It is an addition to the older Zermelo-Fraenkel (ZF) set theory. We call it Zermelo-Fraenkel set theory with the Axiom of Choice and abbreviate it as ZFC. This paper starts with an introduction to the foundations of ZFC set the- ory, which includes the Zermelo-Fraenkel axioms, partially ordered sets (posets), the Cartesian product, the Axiom of Choice, and their related proofs. It then intro- duces several equivalent forms of the Axiom of Choice and proves that they are all equivalent. In the end, equivalents to the Axiom of Choice are used to prove a few fundamental theorems in set theory, linear analysis, and abstract algebra. This paper is concluded by a brief review of the work in it, followed by a few points of interest for further study in mathematics and/or set theory. iv ACKNOWLEDGMENTS Between the two department requirements to complete a master's degree in mathematics − the comprehensive exams and a thesis, I really wanted to experience doing a research and writing a serious academic paper.
    [Show full text]
  • Naïve Set Theory Basic Definitions Naïve Set Theory Is the Non-Axiomatic Treatment of Set Theory
    Naïve Set Theory Basic Definitions Naïve set theory is the non-axiomatic treatment of set theory. In the axiomatic treatment, which we will only allude to at times, a set is an undefined term. For us however, a set will be thought of as a collection of some (possibly none) objects. These objects are called the members (or elements) of the set. We use the symbol "∈" to indicate membership in a set. Thus, if A is a set and x is one of its members, we write x ∈ A and say "x is an element of A" or "x is in A" or "x is a member of A". Note that "∈" is not the same as the Greek letter "ε" epsilon. Basic Definitions Sets can be described notationally in many ways, but always using the set brackets "{" and "}". If possible, one can just list the elements of the set: A = {1,3, oranges, lions, an old wad of gum} or give an indication of the elements: ℕ = {1,2,3, ... } ℤ = {..., -2,-1,0,1,2, ...} or (most frequently in mathematics) using set-builder notation: S = {x ∈ ℝ | 1 < x ≤ 7 } or {x ∈ ℝ : 1 < x ≤ 7 } which is read as "S is the set of real numbers x, such that x is greater than 1 and less than or equal to 7". In some areas of mathematics sets may be denoted by special notations. For instance, in analysis S would be written (1,7]. Basic Definitions Note that sets do not contain repeated elements. An element is either in or not in a set, never "in the set 5 times" for instance.
    [Show full text]
  • Fast and Private Computation of Cardinality of Set Intersection and Union*
    Fast and Private Computation of Cardinality of Set Intersection and Union* Emiliano De Cristofaroy, Paolo Gastiz, Gene Tsudikz yPARC zUC Irvine Abstract In many everyday scenarios, sensitive information must be shared between parties without com- plete mutual trust. Private set operations are particularly useful to enable sharing information with privacy, as they allow two or more parties to jointly compute operations on their sets (e.g., intersec- tion, union, etc.), such that only the minimum required amount of information is disclosed. In the last few years, the research community has proposed a number of secure and efficient techniques for Private Set Intersection (PSI), however, somewhat less explored is the problem of computing the magnitude, rather than the contents, of the intersection – we denote this problem as Private Set In- tersection Cardinality (PSI-CA). This paper explores a few PSI-CA variations and constructs several protocols that are more efficient than the state-of-the-art. 1 Introduction Proliferation of, and growing reliance on, electronic information generate an increasing amount of sensitive data stored and processed in the cyberspace. Consequently, there is a compelling need for efficient cryptographic techniques that allow sharing information while protecting privacy. Among these, Private Set Intersection (PSI) [15, 29, 18, 26, 19, 27, 12, 11, 22], and Private Set Union (PSU) [29, 19, 21, 16, 36] have recently attracted a lot of attention from the research community. In particular, PSI allows one party (client) to compute the intersection of its set with that of another party (server), such that: (i) server does not learn client input, and (ii) client learns no information about server input, beyond the intersection.
    [Show full text]
  • Worksheet: Cardinality, Countable and Uncountable Sets
    Math 347 Worksheet: Cardinality A.J. Hildebrand Worksheet: Cardinality, Countable and Uncountable Sets • Key Tool: Bijections. • Definition: Let A and B be sets. A bijection from A to B is a function f : A ! B that is both injective and surjective. • Properties of bijections: ∗ Compositions: The composition of bijections is a bijection. ∗ Inverse functions: The inverse function of a bijection is a bijection. ∗ Symmetry: The \bijection" relation is symmetric: If there is a bijection f from A to B, then there is also a bijection g from B to A, given by the inverse of f. • Key Definitions. • Cardinality: Two sets A and B are said to have the same cardinality if there exists a bijection from A to B. • Finite sets: A set is called finite if it is empty or has the same cardinality as the set f1; 2; : : : ; ng for some n 2 N; it is called infinite otherwise. • Countable sets: A set A is called countable (or countably infinite) if it has the same cardinality as N, i.e., if there exists a bijection between A and N. Equivalently, a set A is countable if it can be enumerated in a sequence, i.e., if all of its elements can be listed as an infinite sequence a1; a2;::: . NOTE: The above definition of \countable" is the one given in the text, and it is reserved for infinite sets. Thus finite sets are not countable according to this definition. • Uncountable sets: A set is called uncountable if it is infinite and not countable. • Two famous results with memorable proofs.
    [Show full text]