We introduce one more operation on sets, perhaps the most important

Similar documents
CSCI3390-Lecture 6: An Undecidable Problem

Notes on induction proofs and recursive definitions

CM10196 Topic 2: Sets, Predicates, Boolean algebras

Chapter 4. Basic Set Theory. 4.1 The Language of Set Theory

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 20. To Infinity And Beyond: Countability and Computability

Math 3361-Modern Algebra Lecture 08 9/26/ Cardinality

PEANO AXIOMS FOR THE NATURAL NUMBERS AND PROOFS BY INDUCTION. The Peano axioms

Lecture 4: Constructing the Integers, Rationals and Reals

Math 144 Summer 2012 (UCR) Pro-Notes June 24, / 15

MATH 521, WEEK 2: Rational and Real Numbers, Ordered Sets, Countable Sets

A Little History Incompleteness The First Theorem The Second Theorem Implications. Gödel s Theorem. Anders O.F. Hendrickson

Logic and Mathematics:

CITS2211 Discrete Structures (2017) Cardinality and Countability

1. (B) The union of sets A and B is the set whose elements belong to at least one of A

Introduction to Logic and Axiomatic Set Theory

CHAPTER 6. Copyright Cengage Learning. All rights reserved.

This section will take the very naive point of view that a set is a collection of objects, the collection being regarded as a single object.

An analogy from Calculus: limits

INTRODUCTION TO CARDINAL NUMBERS

Tutorial on Axiomatic Set Theory. Javier R. Movellan

One-to-one functions and onto functions

Equivalent Forms of the Axiom of Infinity

CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC

15-424/ Recitation 1 First-Order Logic, Syntax and Semantics, and Differential Equations Notes by: Brandon Bohrer

Countability. 1 Motivation. 2 Counting

Chapter 2. Mathematical Reasoning. 2.1 Mathematical Models

Theory of Computation CS3102 Spring 2014

Russell s logicism. Jeff Speaks. September 26, 2007

What is proof? Lesson 1

An Intuitive Introduction to Motivic Homotopy Theory Vladimir Voevodsky

Understanding Computation

CHAPTER 11. SEQUENCES AND SERIES 114. a 2 = 2 p 3 a 3 = 3 p 4 a 4 = 4 p 5 a 5 = 5 p 6. n +1. 2n p 2n +1

Lecture notes on Turing machines

Chapter 2: Introduction to Propositional Logic

Mathematics-I Prof. S.K. Ray Department of Mathematics and Statistics Indian Institute of Technology, Kanpur. Lecture 1 Real Numbers

Lecture 14 Rosser s Theorem, the length of proofs, Robinson s Arithmetic, and Church s theorem. Michael Beeson

cse541 LOGIC FOR COMPUTER SCIENCE

Jane and Joe are measuring the circumference of a dime with a string. Jane' s result is: 55 mm Joe's result is: 58 mm

Philosophies of Mathematics. The Search for Foundations

ABOUT THE CLASS AND NOTES ON SET THEORY

Victoria Gitman and Thomas Johnstone. New York City College of Technology, CUNY

1 Reals are Uncountable

Solutions to Tutorial for Week 4

On numbers. A pearl seminar Mats Ehrnström

Solving with Absolute Value

2.2 Some Consequences of the Completeness Axiom

CSI30. Chapter 2. Basic Structures: Sets, Functions, Sequences, Sums. 2.1 Sets and subsets 2.2 Sets of sets

Undecidability COMS Ashley Montanaro 4 April Department of Computer Science, University of Bristol Bristol, UK

Warm-Up Problem. Please fill out your Teaching Evaluation Survey! Please comment on the warm-up problems if you haven t filled in your survey yet.

Now, with all the definitions we ve made, we re ready see where all the math stuff we took for granted, like numbers, come from.

Chapter 1. Logic and Proof

We are going to discuss what it means for a sequence to converge in three stages: First, we define what it means for a sequence to converge to zero

Mathematics for Computer Scientists

Lecture Notes: The Halting Problem; Reductions

Turing Machines, diagonalization, the halting problem, reducibility

The Two Faces of Infinity Dr. Bob Gardner Great Ideas in Science (BIOL 3018)

Introduction to the Theory of Computing

Study skills for mathematicians

Real Analysis Prof. S.H. Kulkarni Department of Mathematics Indian Institute of Technology, Madras. Lecture - 13 Conditional Convergence

(Riemann) Integration Sucks!!!

Chapter One. The Real Number System

Math 31 Lesson Plan. Day 2: Sets; Binary Operations. Elizabeth Gillaspy. September 23, 2011

Sequence convergence, the weak T-axioms, and first countability

INFINITE SEQUENCES AND SERIES

Grade 7/8 Math Circles Winter March 20/21/22 Types of Numbers

The semantics of propositional logic

Discrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 27

Department of Computer Science University at Albany, State University of New York Solutions to Sample Discrete Mathematics Examination II (Fall 2007)

No Solution Equations Let s look at the following equation: 2 +3=2 +7

Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics Lecture notes in progress (27 March 2010)

Axiomatic set theory. Chapter Why axiomatic set theory?

Proof Techniques (Review of Math 271)

Chapter 18. Sampling Distribution Models /51

Russell s Paradox, Our Solution, and the Other Solutions

MATH 243E Test #3 Solutions

DR.RUPNATHJI( DR.RUPAK NATH )

Algorithms: Lecture 2

Propositional and Predicate Logic

(1.3.1) and in English one says a is an element of M. The statement that a is not an element of M is written as a M

Difficulties of the set of natural numbers

MITOCW Lec 11 MIT 6.042J Mathematics for Computer Science, Fall 2010

Space Complexity. then the space required by M on input x is. w i u i. F ) on. September 27, i=1

Math 105A HW 1 Solutions

Paradox and Infinity Problem Set 6: Ordinal Arithmetic

CSE 20. Lecture 4: Introduction to Boolean algebra. CSE 20: Lecture4

Equational Logic and Term Rewriting: Lecture I

Truth, Subderivations and the Liar. Why Should I Care about the Liar Sentence? Uses of the Truth Concept - (i) Disquotation.

Induction 1 = 1(1+1) = 2(2+1) = 3(3+1) 2

Lesson 21 Not So Dramatic Quadratics

Infi nite Sets. 2.1 Some Infinite Sets

ECS 120 Lesson 18 Decidable Problems, the Halting Problem

2.23 Theorem. Let A and B be sets in a metric space. If A B, then L(A) L(B).

CS 124 Math Review Section January 29, 2018

MATH2206 Prob Stat/20.Jan Weekly Review 1-2

RESOLVING RUSSELL S PARADOX WITHIN CANTOR S INTUITIVE SET THEORY. Feng Xu ( Abstract

Propositional and Predicate Logic

Today. Wrapup of Polynomials...and modular arithmetic. Coutability and Uncountability.

Decision Problems with TM s. Lecture 31: Halting Problem. Universe of discourse. Semi-decidable. Look at following sets: CSCI 81 Spring, 2012

On the scope of diagonal argument and on contradictory equivalence.

Turing Machine Recap

Transcription:

11. The power set Please accept my resignation. I don t want to belong to any club that will accept me as a member. Groucho Marx We introduce one more operation on sets, perhaps the most important one: Definition 11.1. Let A be a set. The power set of A, denoted (A), is the set of all subsets of A. So the set B belongs to the powerset of A if and only if B A. Formally, B (A) B A. For example, if A = { R,B,O } the power set of A is (A) = {, { R }, { B }, { O }, { B,O }, { R,O }, { R,B }, { R,B,O } }. Note the following: ( ) = { } and ({ a }) = {, { a } }. In general, we have (A) and A (A), since A and A A. Imagine we have a set with two elements a and b, A = { a, b}. How does one form a subset B of A? Well, for each element of A we have two decisions, put this element into B or not? Put differently, for each element of A, we can either keep that element or throw it away. In our case, we can decide to keep a or throw it away and we can decide to keep b or throw it away. ({ a, b }) = {, { a }, { b }, { a, b } }. Thinking this way, it is not surprising that the powerset has 4 elements. In general, suppose that A has n elements, a 1, a 2,..., a n, A = { a i 1 i n }. To form an element of the powerset, that is, a subset B of A, we just have to decide what to include (or what to exclude). For each i, we have a choice. Keep a i or throw it away. This gives us two choices for each i and in total we have 2 n choices. 1

Putting all this together, we have A = n = (A) = 2 n = 2 A. The form of set theory presented in Math 109 was essentially the work of a German mathematician, logician and philosopher, Frege, with one small important twist. Frege proposed that a set is any collection of objects with a property, or predicate P (x). Frege s definition of a set A set A is any collection of objects that satisfies a property A = { x P (x) }. Frege was putting the final touches to his theory when he received a letter from an undergraduate, Bertrand Russell, who asked him what happens when you consider the following predicate: P (x) = x is not an element of itself = x / x. Let A be the set of all sets which are not elements of themselves, A = { x x / x }. Question 11.2. Is A an element of itself? The statement A A is either true or false. Let s suppose it is true. Then P (A) is false, since P (x) is nothing but the negation of x x. But then, A / { x x / x } = A. by definition of A, that is, A / A. Therefore the statement A A is false. This is a contradiction. Okay, so let s suppose the statement A A is false. In this case A / A and so P (A) is true. But then, A { x x / x } = A. by definition of A, that is, A A. Therefore the statement A / A is false. This is also a contradiction. It doesn t seem there is any easy way out of this. This problem is now known as Russell s paradox. It is understood that one needs to impose some sort of extra axioms to avoid this problem. Russell and Whitehead pursued a theory of types; this was never really popular in mathematics, but it is quite popular in theoretical computer science. Mathematicians get around Russell s paradox by throwing in the axiom of foundation. 2

Axiom 11.3 (Axiom of Foundation). For every set x we can find an element y of x such that y x =. (We state this axiom for completeness). In particular no set is a member of itself and we are only allowed to specify subsets of sets using predicates. One way to view Russell s paradox is that we are not allowed to call a collection a set if it is too big. The axioms allow you to create bigger sets, but in a controlled way. In this sense, the power set is one of the most interesting axioms, since it the only axiom which creates truly bigger sets. For example the axiom of foundation and the existence of power sets, says there is no set which contains all other sets. Using set theory, we are supposed to be able to model all of mathematics. We give a simple example. How do we construct the natural numbers, the non-negative integers N = { n Z n 0 }? Well, let s start with zero. It is sort of obvious that zero has to be the emptyset: 0 =. In fact it would be nice if the set n contains precisely n elements. Definition 11.4. Let x be a set. x + denotes the set whose elements are x and the elements of x: x + = { x } x = { y (y = x) (y x) }. We define 1 to be the successor of 0, 1 = 0 + = + = { y (y = ) (y ) } = { } = { 0 }. It is pretty obvious how to continue 2 = 1 + = { 0 } + = { y (y = 1) (y { 0 }) } = { 0, 1 } = {, { } }. 3

In general, n + 1 = n + 3 = 2 + = { 0, 1 } + = { y (y = 2) (y { 0, 1 }) } = { 0, 1, 2 } = {, { }, {, { } } }. = { 0, 1, 2,..., n 1 } + = { y (y = n) (y { 0, 1, 2,..., n 1 }) } = { 0, 1, 2, 3,..., n }. Notice how the natural number n, when considered as a set, has the nice property that it contains n elements. We introduce one more axiom, called the axiom of infinity: Axiom 11.5 (Axiom of Infinity). There is a set I which contains the empty set and has the property that if x I then so is x +, x + I. As the name might suggest, the axiom of infinity guarantees that there are infinite sets. Using the axiom of infinity, one can construct the natural numbers: ω = { 0, 1, 2, 3,... }. What does the powerset of ω look like? To construct an element of the powerset, we need to construct a subset of ω. For each natural number we have a choice, to include this number or not. Let s record this choice, using 0 to indicate rejection and 1 to indicate acceptance. Now order this sequence of 0 s and 1 s into a string and put a decimal point at the front:.00011101010000001110001110101.... The first three zeroes indicate that our subset does not contain 0, 1, or 2, the next three ones indicate our subset does contain 3, 4, and 5 and so on. Now think of this string as a number in binary. We get a real number between zero and one, an element of the closed interval [0, 1] = { r R 0 r 1 }. Thus the powerset of ω is essentially in correspondence with the closed interval [0, 1] (one has to be a little bit careful about recurring 4

numbers. The subset ω will give rise to the binary numbers with all 1 s which corresponds to the real number 1 = 0.111111....) 5