logic and the set theory - lecture 11,12: quantifiers (the...

166
Logic and the set theory Lecture 11,12: Quantifiers (The set theory) in How to Prove It. S. Choi Department of Mathematical Science KAIST, Daejeon, South Korea Fall semester, 2012 S. Choi (KAIST) Logic and set theory October 7, 2012 1 / 26

Upload: others

Post on 31-May-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Logic and the set theoryLecture 11,12: Quantifiers (The set theory) in How to Prove It.

S. Choi

Department of Mathematical ScienceKAIST, Daejeon, South Korea

Fall semester, 2012

S. Choi (KAIST) Logic and set theory October 7, 2012 1 / 26

Page 2: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Introduction

About this lecture

Sets (HTP Sections 1.3, 1.4)

Quantifiers and sets (HTP 2.1)Equivalences involving quantifiers (HTP 2.2)More operations on sets (HTP 2.3)Course homepages:http://mathsci.kaist.ac.kr/~schoi/logic.html and themoodle page http://moodle.kaist.ac.kr

Grading and so on in the moodle. Ask questions in moodle.

S. Choi (KAIST) Logic and set theory October 7, 2012 2 / 26

Page 3: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Introduction

About this lecture

Sets (HTP Sections 1.3, 1.4)Quantifiers and sets (HTP 2.1)

Equivalences involving quantifiers (HTP 2.2)More operations on sets (HTP 2.3)Course homepages:http://mathsci.kaist.ac.kr/~schoi/logic.html and themoodle page http://moodle.kaist.ac.kr

Grading and so on in the moodle. Ask questions in moodle.

S. Choi (KAIST) Logic and set theory October 7, 2012 2 / 26

Page 4: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Introduction

About this lecture

Sets (HTP Sections 1.3, 1.4)Quantifiers and sets (HTP 2.1)Equivalences involving quantifiers (HTP 2.2)

More operations on sets (HTP 2.3)Course homepages:http://mathsci.kaist.ac.kr/~schoi/logic.html and themoodle page http://moodle.kaist.ac.kr

Grading and so on in the moodle. Ask questions in moodle.

S. Choi (KAIST) Logic and set theory October 7, 2012 2 / 26

Page 5: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Introduction

About this lecture

Sets (HTP Sections 1.3, 1.4)Quantifiers and sets (HTP 2.1)Equivalences involving quantifiers (HTP 2.2)More operations on sets (HTP 2.3)

Course homepages:http://mathsci.kaist.ac.kr/~schoi/logic.html and themoodle page http://moodle.kaist.ac.kr

Grading and so on in the moodle. Ask questions in moodle.

S. Choi (KAIST) Logic and set theory October 7, 2012 2 / 26

Page 6: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Introduction

About this lecture

Sets (HTP Sections 1.3, 1.4)Quantifiers and sets (HTP 2.1)Equivalences involving quantifiers (HTP 2.2)More operations on sets (HTP 2.3)Course homepages:http://mathsci.kaist.ac.kr/~schoi/logic.html and themoodle page http://moodle.kaist.ac.kr

Grading and so on in the moodle. Ask questions in moodle.

S. Choi (KAIST) Logic and set theory October 7, 2012 2 / 26

Page 7: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Introduction

About this lecture

Sets (HTP Sections 1.3, 1.4)Quantifiers and sets (HTP 2.1)Equivalences involving quantifiers (HTP 2.2)More operations on sets (HTP 2.3)Course homepages:http://mathsci.kaist.ac.kr/~schoi/logic.html and themoodle page http://moodle.kaist.ac.kr

Grading and so on in the moodle. Ask questions in moodle.

S. Choi (KAIST) Logic and set theory October 7, 2012 2 / 26

Page 8: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Introduction

Some helpful references

Sets, Logic and Categories, Peter J. Cameron, Springer. Read Chapters3,4,5.

A mathematical introduction to logic, H. Enderton, Academic Press.http://plato.stanford.edu/contents.html has much resource.Introduction to set theory, Hrbacek and Jech, CRC Press.

S. Choi (KAIST) Logic and set theory October 7, 2012 3 / 26

Page 9: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Introduction

Some helpful references

Sets, Logic and Categories, Peter J. Cameron, Springer. Read Chapters3,4,5.A mathematical introduction to logic, H. Enderton, Academic Press.

http://plato.stanford.edu/contents.html has much resource.Introduction to set theory, Hrbacek and Jech, CRC Press.

S. Choi (KAIST) Logic and set theory October 7, 2012 3 / 26

Page 10: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Introduction

Some helpful references

Sets, Logic and Categories, Peter J. Cameron, Springer. Read Chapters3,4,5.A mathematical introduction to logic, H. Enderton, Academic Press.http://plato.stanford.edu/contents.html has much resource.

Introduction to set theory, Hrbacek and Jech, CRC Press.

S. Choi (KAIST) Logic and set theory October 7, 2012 3 / 26

Page 11: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Introduction

Some helpful references

Sets, Logic and Categories, Peter J. Cameron, Springer. Read Chapters3,4,5.A mathematical introduction to logic, H. Enderton, Academic Press.http://plato.stanford.edu/contents.html has much resource.Introduction to set theory, Hrbacek and Jech, CRC Press.

S. Choi (KAIST) Logic and set theory October 7, 2012 3 / 26

Page 12: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Introduction

Some helpful references

http://en.wikipedia.org/wiki/Truth_table,

http://logik.phl.univie.ac.at/~chris/gateway/formular-uk-zentral.html, complete (i.e. has all the steps)http://svn.oriontransfer.org/TruthTable/index.rhtml,has xor, complete.

S. Choi (KAIST) Logic and set theory October 7, 2012 4 / 26

Page 13: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Introduction

Some helpful references

http://en.wikipedia.org/wiki/Truth_table,http://logik.phl.univie.ac.at/~chris/gateway/formular-uk-zentral.html, complete (i.e. has all the steps)

http://svn.oriontransfer.org/TruthTable/index.rhtml,has xor, complete.

S. Choi (KAIST) Logic and set theory October 7, 2012 4 / 26

Page 14: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Introduction

Some helpful references

http://en.wikipedia.org/wiki/Truth_table,http://logik.phl.univie.ac.at/~chris/gateway/formular-uk-zentral.html, complete (i.e. has all the steps)http://svn.oriontransfer.org/TruthTable/index.rhtml,has xor, complete.

S. Choi (KAIST) Logic and set theory October 7, 2012 4 / 26

Page 15: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Sets

A set is a collection....This naive notion is fairly good.

The set theory is compatible with logic.Symbols ∈, {}. (belong, included){{}, {{}}, {{{}}}}{a}. We hold that a ∈ {a,b, c, ...}.The main thrust of the set theory is the theory of description by Russell.P(x): x is a variable. P(x) is the statement that x is a prime numbery ∈ {x |P(x)} is equivalent to P(y). That is the truth set of P.Sets↔ PropertiesD(p,q): p is divisible by q.A set B = {x |x is a prime number }.x ∈ B. What does this mean?

S. Choi (KAIST) Logic and set theory October 7, 2012 5 / 26

Page 16: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Sets

A set is a collection....This naive notion is fairly good.The set theory is compatible with logic.

Symbols ∈, {}. (belong, included){{}, {{}}, {{{}}}}{a}. We hold that a ∈ {a,b, c, ...}.The main thrust of the set theory is the theory of description by Russell.P(x): x is a variable. P(x) is the statement that x is a prime numbery ∈ {x |P(x)} is equivalent to P(y). That is the truth set of P.Sets↔ PropertiesD(p,q): p is divisible by q.A set B = {x |x is a prime number }.x ∈ B. What does this mean?

S. Choi (KAIST) Logic and set theory October 7, 2012 5 / 26

Page 17: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Sets

A set is a collection....This naive notion is fairly good.The set theory is compatible with logic.Symbols ∈, {}. (belong, included)

{{}, {{}}, {{{}}}}{a}. We hold that a ∈ {a,b, c, ...}.The main thrust of the set theory is the theory of description by Russell.P(x): x is a variable. P(x) is the statement that x is a prime numbery ∈ {x |P(x)} is equivalent to P(y). That is the truth set of P.Sets↔ PropertiesD(p,q): p is divisible by q.A set B = {x |x is a prime number }.x ∈ B. What does this mean?

S. Choi (KAIST) Logic and set theory October 7, 2012 5 / 26

Page 18: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Sets

A set is a collection....This naive notion is fairly good.The set theory is compatible with logic.Symbols ∈, {}. (belong, included){{}, {{}}, {{{}}}}

{a}. We hold that a ∈ {a,b, c, ...}.The main thrust of the set theory is the theory of description by Russell.P(x): x is a variable. P(x) is the statement that x is a prime numbery ∈ {x |P(x)} is equivalent to P(y). That is the truth set of P.Sets↔ PropertiesD(p,q): p is divisible by q.A set B = {x |x is a prime number }.x ∈ B. What does this mean?

S. Choi (KAIST) Logic and set theory October 7, 2012 5 / 26

Page 19: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Sets

A set is a collection....This naive notion is fairly good.The set theory is compatible with logic.Symbols ∈, {}. (belong, included){{}, {{}}, {{{}}}}{a}. We hold that a ∈ {a,b, c, ...}.

The main thrust of the set theory is the theory of description by Russell.P(x): x is a variable. P(x) is the statement that x is a prime numbery ∈ {x |P(x)} is equivalent to P(y). That is the truth set of P.Sets↔ PropertiesD(p,q): p is divisible by q.A set B = {x |x is a prime number }.x ∈ B. What does this mean?

S. Choi (KAIST) Logic and set theory October 7, 2012 5 / 26

Page 20: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Sets

A set is a collection....This naive notion is fairly good.The set theory is compatible with logic.Symbols ∈, {}. (belong, included){{}, {{}}, {{{}}}}{a}. We hold that a ∈ {a,b, c, ...}.The main thrust of the set theory is the theory of description by Russell.

P(x): x is a variable. P(x) is the statement that x is a prime numbery ∈ {x |P(x)} is equivalent to P(y). That is the truth set of P.Sets↔ PropertiesD(p,q): p is divisible by q.A set B = {x |x is a prime number }.x ∈ B. What does this mean?

S. Choi (KAIST) Logic and set theory October 7, 2012 5 / 26

Page 21: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Sets

A set is a collection....This naive notion is fairly good.The set theory is compatible with logic.Symbols ∈, {}. (belong, included){{}, {{}}, {{{}}}}{a}. We hold that a ∈ {a,b, c, ...}.The main thrust of the set theory is the theory of description by Russell.P(x): x is a variable. P(x) is the statement that x is a prime number

y ∈ {x |P(x)} is equivalent to P(y). That is the truth set of P.Sets↔ PropertiesD(p,q): p is divisible by q.A set B = {x |x is a prime number }.x ∈ B. What does this mean?

S. Choi (KAIST) Logic and set theory October 7, 2012 5 / 26

Page 22: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Sets

A set is a collection....This naive notion is fairly good.The set theory is compatible with logic.Symbols ∈, {}. (belong, included){{}, {{}}, {{{}}}}{a}. We hold that a ∈ {a,b, c, ...}.The main thrust of the set theory is the theory of description by Russell.P(x): x is a variable. P(x) is the statement that x is a prime numbery ∈ {x |P(x)} is equivalent to P(y). That is the truth set of P.

Sets↔ PropertiesD(p,q): p is divisible by q.A set B = {x |x is a prime number }.x ∈ B. What does this mean?

S. Choi (KAIST) Logic and set theory October 7, 2012 5 / 26

Page 23: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Sets

A set is a collection....This naive notion is fairly good.The set theory is compatible with logic.Symbols ∈, {}. (belong, included){{}, {{}}, {{{}}}}{a}. We hold that a ∈ {a,b, c, ...}.The main thrust of the set theory is the theory of description by Russell.P(x): x is a variable. P(x) is the statement that x is a prime numbery ∈ {x |P(x)} is equivalent to P(y). That is the truth set of P.Sets↔ Properties

D(p,q): p is divisible by q.A set B = {x |x is a prime number }.x ∈ B. What does this mean?

S. Choi (KAIST) Logic and set theory October 7, 2012 5 / 26

Page 24: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Sets

A set is a collection....This naive notion is fairly good.The set theory is compatible with logic.Symbols ∈, {}. (belong, included){{}, {{}}, {{{}}}}{a}. We hold that a ∈ {a,b, c, ...}.The main thrust of the set theory is the theory of description by Russell.P(x): x is a variable. P(x) is the statement that x is a prime numbery ∈ {x |P(x)} is equivalent to P(y). That is the truth set of P.Sets↔ PropertiesD(p,q): p is divisible by q.

A set B = {x |x is a prime number }.x ∈ B. What does this mean?

S. Choi (KAIST) Logic and set theory October 7, 2012 5 / 26

Page 25: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Sets

A set is a collection....This naive notion is fairly good.The set theory is compatible with logic.Symbols ∈, {}. (belong, included){{}, {{}}, {{{}}}}{a}. We hold that a ∈ {a,b, c, ...}.The main thrust of the set theory is the theory of description by Russell.P(x): x is a variable. P(x) is the statement that x is a prime numbery ∈ {x |P(x)} is equivalent to P(y). That is the truth set of P.Sets↔ PropertiesD(p,q): p is divisible by q.A set B = {x |x is a prime number }.

x ∈ B. What does this mean?

S. Choi (KAIST) Logic and set theory October 7, 2012 5 / 26

Page 26: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Sets

A set is a collection....This naive notion is fairly good.The set theory is compatible with logic.Symbols ∈, {}. (belong, included){{}, {{}}, {{{}}}}{a}. We hold that a ∈ {a,b, c, ...}.The main thrust of the set theory is the theory of description by Russell.P(x): x is a variable. P(x) is the statement that x is a prime numbery ∈ {x |P(x)} is equivalent to P(y). That is the truth set of P.Sets↔ PropertiesD(p,q): p is divisible by q.A set B = {x |x is a prime number }.x ∈ B. What does this mean?

S. Choi (KAIST) Logic and set theory October 7, 2012 5 / 26

Page 27: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Axioms of the set theory (Naive version)

There exists a set which has no elements. (Existence)

Two sets are equal if and only if they have the same elements.(Extensionality)There exists a set B = {x ∈ A|P(x)} if A is a set. (Comprehension)For any two sets, there exists a set that they both belong to. That is, if Aand B are sets, there is {A,B}. (Pairing)For any collection of sets, there exists a unique set that contains all theelements that belong to at least one set in the collection. (Union)

S. Choi (KAIST) Logic and set theory October 7, 2012 6 / 26

Page 28: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Axioms of the set theory (Naive version)

There exists a set which has no elements. (Existence)Two sets are equal if and only if they have the same elements.(Extensionality)

There exists a set B = {x ∈ A|P(x)} if A is a set. (Comprehension)For any two sets, there exists a set that they both belong to. That is, if Aand B are sets, there is {A,B}. (Pairing)For any collection of sets, there exists a unique set that contains all theelements that belong to at least one set in the collection. (Union)

S. Choi (KAIST) Logic and set theory October 7, 2012 6 / 26

Page 29: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Axioms of the set theory (Naive version)

There exists a set which has no elements. (Existence)Two sets are equal if and only if they have the same elements.(Extensionality)There exists a set B = {x ∈ A|P(x)} if A is a set. (Comprehension)

For any two sets, there exists a set that they both belong to. That is, if Aand B are sets, there is {A,B}. (Pairing)For any collection of sets, there exists a unique set that contains all theelements that belong to at least one set in the collection. (Union)

S. Choi (KAIST) Logic and set theory October 7, 2012 6 / 26

Page 30: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Axioms of the set theory (Naive version)

There exists a set which has no elements. (Existence)Two sets are equal if and only if they have the same elements.(Extensionality)There exists a set B = {x ∈ A|P(x)} if A is a set. (Comprehension)For any two sets, there exists a set that they both belong to. That is, if Aand B are sets, there is {A,B}. (Pairing)

For any collection of sets, there exists a unique set that contains all theelements that belong to at least one set in the collection. (Union)

S. Choi (KAIST) Logic and set theory October 7, 2012 6 / 26

Page 31: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Axioms of the set theory (Naive version)

There exists a set which has no elements. (Existence)Two sets are equal if and only if they have the same elements.(Extensionality)There exists a set B = {x ∈ A|P(x)} if A is a set. (Comprehension)For any two sets, there exists a set that they both belong to. That is, if Aand B are sets, there is {A,B}. (Pairing)For any collection of sets, there exists a unique set that contains all theelements that belong to at least one set in the collection. (Union)

S. Choi (KAIST) Logic and set theory October 7, 2012 6 / 26

Page 32: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Axioms of the set theory (Naive version)

Given each set, there exists a collection of sets that contains among itselements all the subset of the given set. (Power set)

An inductive set exists (Infinity)Let P(x , y) be a property that for every x , there exists unique y so thatP(x , y) holds. Then for every set A, there is a set B such that for everyx ∈ A, there is y ∈ B so that P(x , y) holds. (Substitution)Zermelo-Fraenkel theory has more axioms...The axiom of foundation, theaxiom of choice.(ZFC)

S. Choi (KAIST) Logic and set theory October 7, 2012 7 / 26

Page 33: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Axioms of the set theory (Naive version)

Given each set, there exists a collection of sets that contains among itselements all the subset of the given set. (Power set)An inductive set exists (Infinity)

Let P(x , y) be a property that for every x , there exists unique y so thatP(x , y) holds. Then for every set A, there is a set B such that for everyx ∈ A, there is y ∈ B so that P(x , y) holds. (Substitution)Zermelo-Fraenkel theory has more axioms...The axiom of foundation, theaxiom of choice.(ZFC)

S. Choi (KAIST) Logic and set theory October 7, 2012 7 / 26

Page 34: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Axioms of the set theory (Naive version)

Given each set, there exists a collection of sets that contains among itselements all the subset of the given set. (Power set)An inductive set exists (Infinity)Let P(x , y) be a property that for every x , there exists unique y so thatP(x , y) holds. Then for every set A, there is a set B such that for everyx ∈ A, there is y ∈ B so that P(x , y) holds. (Substitution)

Zermelo-Fraenkel theory has more axioms...The axiom of foundation, theaxiom of choice.(ZFC)

S. Choi (KAIST) Logic and set theory October 7, 2012 7 / 26

Page 35: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Axioms of the set theory (Naive version)

Given each set, there exists a collection of sets that contains among itselements all the subset of the given set. (Power set)An inductive set exists (Infinity)Let P(x , y) be a property that for every x , there exists unique y so thatP(x , y) holds. Then for every set A, there is a set B such that for everyx ∈ A, there is y ∈ B so that P(x , y) holds. (Substitution)Zermelo-Fraenkel theory has more axioms...The axiom of foundation, theaxiom of choice.(ZFC)

S. Choi (KAIST) Logic and set theory October 7, 2012 7 / 26

Page 36: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Example

N = {x |x is a natual number.}.

Z = {x |x is an integer.}.Q = {x |x is a rational number.}R = {x |x is a real number. }.{x |x2 > 9, x ∈ R}.y ∈ {x ∈ A|P(x)} is equivalent to y ∈ A ∧ P(y).∅ is the empty set.

S. Choi (KAIST) Logic and set theory October 7, 2012 8 / 26

Page 37: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Example

N = {x |x is a natual number.}.Z = {x |x is an integer.}.

Q = {x |x is a rational number.}R = {x |x is a real number. }.{x |x2 > 9, x ∈ R}.y ∈ {x ∈ A|P(x)} is equivalent to y ∈ A ∧ P(y).∅ is the empty set.

S. Choi (KAIST) Logic and set theory October 7, 2012 8 / 26

Page 38: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Example

N = {x |x is a natual number.}.Z = {x |x is an integer.}.Q = {x |x is a rational number.}

R = {x |x is a real number. }.{x |x2 > 9, x ∈ R}.y ∈ {x ∈ A|P(x)} is equivalent to y ∈ A ∧ P(y).∅ is the empty set.

S. Choi (KAIST) Logic and set theory October 7, 2012 8 / 26

Page 39: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Example

N = {x |x is a natual number.}.Z = {x |x is an integer.}.Q = {x |x is a rational number.}R = {x |x is a real number. }.

{x |x2 > 9, x ∈ R}.y ∈ {x ∈ A|P(x)} is equivalent to y ∈ A ∧ P(y).∅ is the empty set.

S. Choi (KAIST) Logic and set theory October 7, 2012 8 / 26

Page 40: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Example

N = {x |x is a natual number.}.Z = {x |x is an integer.}.Q = {x |x is a rational number.}R = {x |x is a real number. }.{x |x2 > 9, x ∈ R}.

y ∈ {x ∈ A|P(x)} is equivalent to y ∈ A ∧ P(y).∅ is the empty set.

S. Choi (KAIST) Logic and set theory October 7, 2012 8 / 26

Page 41: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Example

N = {x |x is a natual number.}.Z = {x |x is an integer.}.Q = {x |x is a rational number.}R = {x |x is a real number. }.{x |x2 > 9, x ∈ R}.y ∈ {x ∈ A|P(x)} is equivalent to y ∈ A ∧ P(y).

∅ is the empty set.

S. Choi (KAIST) Logic and set theory October 7, 2012 8 / 26

Page 42: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Example

N = {x |x is a natual number.}.Z = {x |x is an integer.}.Q = {x |x is a rational number.}R = {x |x is a real number. }.{x |x2 > 9, x ∈ R}.y ∈ {x ∈ A|P(x)} is equivalent to y ∈ A ∧ P(y).∅ is the empty set.

S. Choi (KAIST) Logic and set theory October 7, 2012 8 / 26

Page 43: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Operations on sets

A ⊂ B if and only if ∀x(x ∈ A→ x ∈ B).

A ∩ B = {x |x ∈ A ∧ x ∈ B}.A ∪ B = {x |x ∈ A ∨ x ∈ B}.A ∩ B ⊂ A ∪ B.A− B = {x |x ∈ A ∧ x /∈ B}.A = ∅ if and only if ¬∃x(x ∈ A).

S. Choi (KAIST) Logic and set theory October 7, 2012 9 / 26

Page 44: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Operations on sets

A ⊂ B if and only if ∀x(x ∈ A→ x ∈ B).A ∩ B = {x |x ∈ A ∧ x ∈ B}.

A ∪ B = {x |x ∈ A ∨ x ∈ B}.A ∩ B ⊂ A ∪ B.A− B = {x |x ∈ A ∧ x /∈ B}.A = ∅ if and only if ¬∃x(x ∈ A).

S. Choi (KAIST) Logic and set theory October 7, 2012 9 / 26

Page 45: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Operations on sets

A ⊂ B if and only if ∀x(x ∈ A→ x ∈ B).A ∩ B = {x |x ∈ A ∧ x ∈ B}.A ∪ B = {x |x ∈ A ∨ x ∈ B}.

A ∩ B ⊂ A ∪ B.A− B = {x |x ∈ A ∧ x /∈ B}.A = ∅ if and only if ¬∃x(x ∈ A).

S. Choi (KAIST) Logic and set theory October 7, 2012 9 / 26

Page 46: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Operations on sets

A ⊂ B if and only if ∀x(x ∈ A→ x ∈ B).A ∩ B = {x |x ∈ A ∧ x ∈ B}.A ∪ B = {x |x ∈ A ∨ x ∈ B}.A ∩ B ⊂ A ∪ B.

A− B = {x |x ∈ A ∧ x /∈ B}.A = ∅ if and only if ¬∃x(x ∈ A).

S. Choi (KAIST) Logic and set theory October 7, 2012 9 / 26

Page 47: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Operations on sets

A ⊂ B if and only if ∀x(x ∈ A→ x ∈ B).A ∩ B = {x |x ∈ A ∧ x ∈ B}.A ∪ B = {x |x ∈ A ∨ x ∈ B}.A ∩ B ⊂ A ∪ B.A− B = {x |x ∈ A ∧ x /∈ B}.

A = ∅ if and only if ¬∃x(x ∈ A).

S. Choi (KAIST) Logic and set theory October 7, 2012 9 / 26

Page 48: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Operations on sets

A ⊂ B if and only if ∀x(x ∈ A→ x ∈ B).A ∩ B = {x |x ∈ A ∧ x ∈ B}.A ∪ B = {x |x ∈ A ∨ x ∈ B}.A ∩ B ⊂ A ∪ B.A− B = {x |x ∈ A ∧ x /∈ B}.A = ∅ if and only if ¬∃x(x ∈ A).

S. Choi (KAIST) Logic and set theory October 7, 2012 9 / 26

Page 49: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Set theoretic problem

When is the set empty?

How can one verify two sets are disjoint, same, smaller, bigger, or noneof the above?Answer: We use logic and the model theory.A ⊂ B means x ∈ A→ x ∈ B.Equality of A and B means x ∈ A if and only if x ∈ B.A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)?x ∈ A ∪ (B ∩ C)

x ∈ A ∨ (x ∈ B ∧ x ∈ C).(x ∈ A ∨ x ∈ B) ∧ (x ∈ A ∨ x ∈ C). DISTThus, x ∈ A ∪ (B ∩ C)↔ (x ∈ A ∨ x ∈ B) ∧ (x ∈ A ∨ x ∈ C).One can use Venn diagrams....

S. Choi (KAIST) Logic and set theory October 7, 2012 10 / 26

Page 50: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Set theoretic problem

When is the set empty?How can one verify two sets are disjoint, same, smaller, bigger, or noneof the above?

Answer: We use logic and the model theory.A ⊂ B means x ∈ A→ x ∈ B.Equality of A and B means x ∈ A if and only if x ∈ B.A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)?x ∈ A ∪ (B ∩ C)

x ∈ A ∨ (x ∈ B ∧ x ∈ C).(x ∈ A ∨ x ∈ B) ∧ (x ∈ A ∨ x ∈ C). DISTThus, x ∈ A ∪ (B ∩ C)↔ (x ∈ A ∨ x ∈ B) ∧ (x ∈ A ∨ x ∈ C).One can use Venn diagrams....

S. Choi (KAIST) Logic and set theory October 7, 2012 10 / 26

Page 51: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Set theoretic problem

When is the set empty?How can one verify two sets are disjoint, same, smaller, bigger, or noneof the above?Answer: We use logic and the model theory.

A ⊂ B means x ∈ A→ x ∈ B.Equality of A and B means x ∈ A if and only if x ∈ B.A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)?x ∈ A ∪ (B ∩ C)

x ∈ A ∨ (x ∈ B ∧ x ∈ C).(x ∈ A ∨ x ∈ B) ∧ (x ∈ A ∨ x ∈ C). DISTThus, x ∈ A ∪ (B ∩ C)↔ (x ∈ A ∨ x ∈ B) ∧ (x ∈ A ∨ x ∈ C).One can use Venn diagrams....

S. Choi (KAIST) Logic and set theory October 7, 2012 10 / 26

Page 52: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Set theoretic problem

When is the set empty?How can one verify two sets are disjoint, same, smaller, bigger, or noneof the above?Answer: We use logic and the model theory.A ⊂ B means x ∈ A→ x ∈ B.

Equality of A and B means x ∈ A if and only if x ∈ B.A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)?x ∈ A ∪ (B ∩ C)

x ∈ A ∨ (x ∈ B ∧ x ∈ C).(x ∈ A ∨ x ∈ B) ∧ (x ∈ A ∨ x ∈ C). DISTThus, x ∈ A ∪ (B ∩ C)↔ (x ∈ A ∨ x ∈ B) ∧ (x ∈ A ∨ x ∈ C).One can use Venn diagrams....

S. Choi (KAIST) Logic and set theory October 7, 2012 10 / 26

Page 53: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Set theoretic problem

When is the set empty?How can one verify two sets are disjoint, same, smaller, bigger, or noneof the above?Answer: We use logic and the model theory.A ⊂ B means x ∈ A→ x ∈ B.Equality of A and B means x ∈ A if and only if x ∈ B.

A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)?x ∈ A ∪ (B ∩ C)

x ∈ A ∨ (x ∈ B ∧ x ∈ C).(x ∈ A ∨ x ∈ B) ∧ (x ∈ A ∨ x ∈ C). DISTThus, x ∈ A ∪ (B ∩ C)↔ (x ∈ A ∨ x ∈ B) ∧ (x ∈ A ∨ x ∈ C).One can use Venn diagrams....

S. Choi (KAIST) Logic and set theory October 7, 2012 10 / 26

Page 54: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Set theoretic problem

When is the set empty?How can one verify two sets are disjoint, same, smaller, bigger, or noneof the above?Answer: We use logic and the model theory.A ⊂ B means x ∈ A→ x ∈ B.Equality of A and B means x ∈ A if and only if x ∈ B.A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)?

x ∈ A ∪ (B ∩ C)

x ∈ A ∨ (x ∈ B ∧ x ∈ C).(x ∈ A ∨ x ∈ B) ∧ (x ∈ A ∨ x ∈ C). DISTThus, x ∈ A ∪ (B ∩ C)↔ (x ∈ A ∨ x ∈ B) ∧ (x ∈ A ∨ x ∈ C).One can use Venn diagrams....

S. Choi (KAIST) Logic and set theory October 7, 2012 10 / 26

Page 55: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Set theoretic problem

When is the set empty?How can one verify two sets are disjoint, same, smaller, bigger, or noneof the above?Answer: We use logic and the model theory.A ⊂ B means x ∈ A→ x ∈ B.Equality of A and B means x ∈ A if and only if x ∈ B.A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)?x ∈ A ∪ (B ∩ C)

x ∈ A ∨ (x ∈ B ∧ x ∈ C).(x ∈ A ∨ x ∈ B) ∧ (x ∈ A ∨ x ∈ C). DISTThus, x ∈ A ∪ (B ∩ C)↔ (x ∈ A ∨ x ∈ B) ∧ (x ∈ A ∨ x ∈ C).One can use Venn diagrams....

S. Choi (KAIST) Logic and set theory October 7, 2012 10 / 26

Page 56: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Set theoretic problem

When is the set empty?How can one verify two sets are disjoint, same, smaller, bigger, or noneof the above?Answer: We use logic and the model theory.A ⊂ B means x ∈ A→ x ∈ B.Equality of A and B means x ∈ A if and only if x ∈ B.A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)?x ∈ A ∪ (B ∩ C)

x ∈ A ∨ (x ∈ B ∧ x ∈ C).

(x ∈ A ∨ x ∈ B) ∧ (x ∈ A ∨ x ∈ C). DISTThus, x ∈ A ∪ (B ∩ C)↔ (x ∈ A ∨ x ∈ B) ∧ (x ∈ A ∨ x ∈ C).One can use Venn diagrams....

S. Choi (KAIST) Logic and set theory October 7, 2012 10 / 26

Page 57: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Set theoretic problem

When is the set empty?How can one verify two sets are disjoint, same, smaller, bigger, or noneof the above?Answer: We use logic and the model theory.A ⊂ B means x ∈ A→ x ∈ B.Equality of A and B means x ∈ A if and only if x ∈ B.A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)?x ∈ A ∪ (B ∩ C)

x ∈ A ∨ (x ∈ B ∧ x ∈ C).(x ∈ A ∨ x ∈ B) ∧ (x ∈ A ∨ x ∈ C). DIST

Thus, x ∈ A ∪ (B ∩ C)↔ (x ∈ A ∨ x ∈ B) ∧ (x ∈ A ∨ x ∈ C).One can use Venn diagrams....

S. Choi (KAIST) Logic and set theory October 7, 2012 10 / 26

Page 58: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Set theoretic problem

When is the set empty?How can one verify two sets are disjoint, same, smaller, bigger, or noneof the above?Answer: We use logic and the model theory.A ⊂ B means x ∈ A→ x ∈ B.Equality of A and B means x ∈ A if and only if x ∈ B.A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)?x ∈ A ∪ (B ∩ C)

x ∈ A ∨ (x ∈ B ∧ x ∈ C).(x ∈ A ∨ x ∈ B) ∧ (x ∈ A ∨ x ∈ C). DISTThus, x ∈ A ∪ (B ∩ C)↔ (x ∈ A ∨ x ∈ B) ∧ (x ∈ A ∨ x ∈ C).

One can use Venn diagrams....

S. Choi (KAIST) Logic and set theory October 7, 2012 10 / 26

Page 59: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

Set theoretic problem

When is the set empty?How can one verify two sets are disjoint, same, smaller, bigger, or noneof the above?Answer: We use logic and the model theory.A ⊂ B means x ∈ A→ x ∈ B.Equality of A and B means x ∈ A if and only if x ∈ B.A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)?x ∈ A ∪ (B ∩ C)

x ∈ A ∨ (x ∈ B ∧ x ∈ C).(x ∈ A ∨ x ∈ B) ∧ (x ∈ A ∨ x ∈ C). DISTThus, x ∈ A ∪ (B ∩ C)↔ (x ∈ A ∨ x ∈ B) ∧ (x ∈ A ∨ x ∈ C).One can use Venn diagrams....

S. Choi (KAIST) Logic and set theory October 7, 2012 10 / 26

Page 60: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

More set theoretic problem

Compare (A− B)− C, (A− B) ∩ (A− C), (A− B) ∪ (A− C).

x ∈ (A− B) ∧ x /∈ C. (x ∈ A ∧ x /∈ B) ∧ x /∈ C.(x ∈ A ∧ x /∈ B) ∨ (x ∈ A ∧ x /∈ C).(A− B) ∩ (A− C).We can show (A− B)− C ⊂ (A− B) ∪ (A− C).Is (A− B) ∪ (A− C) ⊂ (A− B)− C?

Use logic to find examples.

S. Choi (KAIST) Logic and set theory October 7, 2012 11 / 26

Page 61: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

More set theoretic problem

Compare (A− B)− C, (A− B) ∩ (A− C), (A− B) ∪ (A− C).x ∈ (A− B) ∧ x /∈ C. (x ∈ A ∧ x /∈ B) ∧ x /∈ C.

(x ∈ A ∧ x /∈ B) ∨ (x ∈ A ∧ x /∈ C).(A− B) ∩ (A− C).We can show (A− B)− C ⊂ (A− B) ∪ (A− C).Is (A− B) ∪ (A− C) ⊂ (A− B)− C?

Use logic to find examples.

S. Choi (KAIST) Logic and set theory October 7, 2012 11 / 26

Page 62: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

More set theoretic problem

Compare (A− B)− C, (A− B) ∩ (A− C), (A− B) ∪ (A− C).x ∈ (A− B) ∧ x /∈ C. (x ∈ A ∧ x /∈ B) ∧ x /∈ C.(x ∈ A ∧ x /∈ B) ∨ (x ∈ A ∧ x /∈ C).

(A− B) ∩ (A− C).We can show (A− B)− C ⊂ (A− B) ∪ (A− C).Is (A− B) ∪ (A− C) ⊂ (A− B)− C?

Use logic to find examples.

S. Choi (KAIST) Logic and set theory October 7, 2012 11 / 26

Page 63: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

More set theoretic problem

Compare (A− B)− C, (A− B) ∩ (A− C), (A− B) ∪ (A− C).x ∈ (A− B) ∧ x /∈ C. (x ∈ A ∧ x /∈ B) ∧ x /∈ C.(x ∈ A ∧ x /∈ B) ∨ (x ∈ A ∧ x /∈ C).(A− B) ∩ (A− C).

We can show (A− B)− C ⊂ (A− B) ∪ (A− C).Is (A− B) ∪ (A− C) ⊂ (A− B)− C?

Use logic to find examples.

S. Choi (KAIST) Logic and set theory October 7, 2012 11 / 26

Page 64: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

More set theoretic problem

Compare (A− B)− C, (A− B) ∩ (A− C), (A− B) ∪ (A− C).x ∈ (A− B) ∧ x /∈ C. (x ∈ A ∧ x /∈ B) ∧ x /∈ C.(x ∈ A ∧ x /∈ B) ∨ (x ∈ A ∧ x /∈ C).(A− B) ∩ (A− C).We can show (A− B)− C ⊂ (A− B) ∪ (A− C).

Is (A− B) ∪ (A− C) ⊂ (A− B)− C?

Use logic to find examples.

S. Choi (KAIST) Logic and set theory October 7, 2012 11 / 26

Page 65: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

More set theoretic problem

Compare (A− B)− C, (A− B) ∩ (A− C), (A− B) ∪ (A− C).x ∈ (A− B) ∧ x /∈ C. (x ∈ A ∧ x /∈ B) ∧ x /∈ C.(x ∈ A ∧ x /∈ B) ∨ (x ∈ A ∧ x /∈ C).(A− B) ∩ (A− C).We can show (A− B)− C ⊂ (A− B) ∪ (A− C).Is (A− B) ∪ (A− C) ⊂ (A− B)− C?

Use logic to find examples.

S. Choi (KAIST) Logic and set theory October 7, 2012 11 / 26

Page 66: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

More set theoretic problem

Compare (A− B)− C, (A− B) ∩ (A− C), (A− B) ∪ (A− C).x ∈ (A− B) ∧ x /∈ C. (x ∈ A ∧ x /∈ B) ∧ x /∈ C.(x ∈ A ∧ x /∈ B) ∨ (x ∈ A ∧ x /∈ C).(A− B) ∩ (A− C).We can show (A− B)− C ⊂ (A− B) ∪ (A− C).Is (A− B) ∪ (A− C) ⊂ (A− B)− C?

Use logic to find examples.

S. Choi (KAIST) Logic and set theory October 7, 2012 11 / 26

Page 67: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

More set theoretic problem

Compare (A− B)− C, (A− B) ∩ (A− C), (A− B) ∪ (A− C).x ∈ (A− B) ∧ x /∈ C. (x ∈ A ∧ x /∈ B) ∧ x /∈ C.(x ∈ A ∧ x /∈ B) ∨ (x ∈ A ∧ x /∈ C).(A− B) ∩ (A− C).We can show (A− B)− C ⊂ (A− B) ∪ (A− C).Is (A− B) ∪ (A− C) ⊂ (A− B)− C?

Use logic to find examples.

S. Choi (KAIST) Logic and set theory October 7, 2012 11 / 26

Page 68: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

More set theoretic problem

Comparing (A− B)− C and (A− B) ∪ (A− C).

x ∈ (A− B) ∧ x /∈ C and (x ∈ A ∧ x /∈ B)∧ /∈ C.(x ∈ A ∧ x /∈ B) ∨ (x ∈ A ∧ x /∈ C).∀x((x ∈ A ∧ x /∈ B) ∨ (x ∈ A ∧ x /∈ C))→ (x ∈ A ∧ x /∈ B) ∧ x /∈ C) isinvalid.Find the counter-example...(Using what?)

S. Choi (KAIST) Logic and set theory October 7, 2012 12 / 26

Page 69: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

More set theoretic problem

Comparing (A− B)− C and (A− B) ∪ (A− C).x ∈ (A− B) ∧ x /∈ C and (x ∈ A ∧ x /∈ B)∧ /∈ C.

(x ∈ A ∧ x /∈ B) ∨ (x ∈ A ∧ x /∈ C).∀x((x ∈ A ∧ x /∈ B) ∨ (x ∈ A ∧ x /∈ C))→ (x ∈ A ∧ x /∈ B) ∧ x /∈ C) isinvalid.Find the counter-example...(Using what?)

S. Choi (KAIST) Logic and set theory October 7, 2012 12 / 26

Page 70: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

More set theoretic problem

Comparing (A− B)− C and (A− B) ∪ (A− C).x ∈ (A− B) ∧ x /∈ C and (x ∈ A ∧ x /∈ B)∧ /∈ C.(x ∈ A ∧ x /∈ B) ∨ (x ∈ A ∧ x /∈ C).

∀x((x ∈ A ∧ x /∈ B) ∨ (x ∈ A ∧ x /∈ C))→ (x ∈ A ∧ x /∈ B) ∧ x /∈ C) isinvalid.Find the counter-example...(Using what?)

S. Choi (KAIST) Logic and set theory October 7, 2012 12 / 26

Page 71: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

More set theoretic problem

Comparing (A− B)− C and (A− B) ∪ (A− C).x ∈ (A− B) ∧ x /∈ C and (x ∈ A ∧ x /∈ B)∧ /∈ C.(x ∈ A ∧ x /∈ B) ∨ (x ∈ A ∧ x /∈ C).∀x((x ∈ A ∧ x /∈ B) ∨ (x ∈ A ∧ x /∈ C))→ (x ∈ A ∧ x /∈ B) ∧ x /∈ C) isinvalid.

Find the counter-example...(Using what?)

S. Choi (KAIST) Logic and set theory October 7, 2012 12 / 26

Page 72: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Sets

More set theoretic problem

Comparing (A− B)− C and (A− B) ∪ (A− C).x ∈ (A− B) ∧ x /∈ C and (x ∈ A ∧ x /∈ B)∧ /∈ C.(x ∈ A ∧ x /∈ B) ∨ (x ∈ A ∧ x /∈ C).∀x((x ∈ A ∧ x /∈ B) ∨ (x ∈ A ∧ x /∈ C))→ (x ∈ A ∧ x /∈ B) ∧ x /∈ C) isinvalid.Find the counter-example...(Using what?)

S. Choi (KAIST) Logic and set theory October 7, 2012 12 / 26

Page 73: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Quantifiers and sets

Quantifiers and sets

A ∩ B ⊂ B − C. Translate this to logic

∀x((x ∈ A ∧ x ∈ B)→ (x ∈ B ∧ x /∈ C)).If A ⊂ B, then A and C − B are disjoint.∀x(x ∈ A→ x ∈ B)→ ¬∃x(x ∈ A ∧ x ∈ (C − B)).∀x(x ∈ A→ x ∈ B)→ ¬∃x(x ∈ A ∧ x ∈ C ∧ x /∈ B).

S. Choi (KAIST) Logic and set theory October 7, 2012 13 / 26

Page 74: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Quantifiers and sets

Quantifiers and sets

A ∩ B ⊂ B − C. Translate this to logic∀x((x ∈ A ∧ x ∈ B)→ (x ∈ B ∧ x /∈ C)).

If A ⊂ B, then A and C − B are disjoint.∀x(x ∈ A→ x ∈ B)→ ¬∃x(x ∈ A ∧ x ∈ (C − B)).∀x(x ∈ A→ x ∈ B)→ ¬∃x(x ∈ A ∧ x ∈ C ∧ x /∈ B).

S. Choi (KAIST) Logic and set theory October 7, 2012 13 / 26

Page 75: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Quantifiers and sets

Quantifiers and sets

A ∩ B ⊂ B − C. Translate this to logic∀x((x ∈ A ∧ x ∈ B)→ (x ∈ B ∧ x /∈ C)).If A ⊂ B, then A and C − B are disjoint.

∀x(x ∈ A→ x ∈ B)→ ¬∃x(x ∈ A ∧ x ∈ (C − B)).∀x(x ∈ A→ x ∈ B)→ ¬∃x(x ∈ A ∧ x ∈ C ∧ x /∈ B).

S. Choi (KAIST) Logic and set theory October 7, 2012 13 / 26

Page 76: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Quantifiers and sets

Quantifiers and sets

A ∩ B ⊂ B − C. Translate this to logic∀x((x ∈ A ∧ x ∈ B)→ (x ∈ B ∧ x /∈ C)).If A ⊂ B, then A and C − B are disjoint.∀x(x ∈ A→ x ∈ B)→ ¬∃x(x ∈ A ∧ x ∈ (C − B)).

∀x(x ∈ A→ x ∈ B)→ ¬∃x(x ∈ A ∧ x ∈ C ∧ x /∈ B).

S. Choi (KAIST) Logic and set theory October 7, 2012 13 / 26

Page 77: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Quantifiers and sets

Quantifiers and sets

A ∩ B ⊂ B − C. Translate this to logic∀x((x ∈ A ∧ x ∈ B)→ (x ∈ B ∧ x /∈ C)).If A ⊂ B, then A and C − B are disjoint.∀x(x ∈ A→ x ∈ B)→ ¬∃x(x ∈ A ∧ x ∈ (C − B)).∀x(x ∈ A→ x ∈ B)→ ¬∃x(x ∈ A ∧ x ∈ C ∧ x /∈ B).

S. Choi (KAIST) Logic and set theory October 7, 2012 13 / 26

Page 78: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Quantifiers and sets

Examples

For every number a, the equation ax2 + 4x − 2 = 0 has a solution if andonly if a ≥ −2.

Use R.∀a(a ≥ −2↔ ∃x ∈ R(ax2 + 4x − 2 = 0)).Is this true? How does one verify this...

S. Choi (KAIST) Logic and set theory October 7, 2012 14 / 26

Page 79: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Quantifiers and sets

Examples

For every number a, the equation ax2 + 4x − 2 = 0 has a solution if andonly if a ≥ −2.Use R.

∀a(a ≥ −2↔ ∃x ∈ R(ax2 + 4x − 2 = 0)).Is this true? How does one verify this...

S. Choi (KAIST) Logic and set theory October 7, 2012 14 / 26

Page 80: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Quantifiers and sets

Examples

For every number a, the equation ax2 + 4x − 2 = 0 has a solution if andonly if a ≥ −2.Use R.∀a(a ≥ −2↔ ∃x ∈ R(ax2 + 4x − 2 = 0)).

Is this true? How does one verify this...

S. Choi (KAIST) Logic and set theory October 7, 2012 14 / 26

Page 81: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Quantifiers and sets

Examples

For every number a, the equation ax2 + 4x − 2 = 0 has a solution if andonly if a ≥ −2.Use R.∀a(a ≥ −2↔ ∃x ∈ R(ax2 + 4x − 2 = 0)).Is this true? How does one verify this...

S. Choi (KAIST) Logic and set theory October 7, 2012 14 / 26

Page 82: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

Equivalences involving quantifiers

¬∀x P(x)↔ ∃x¬P(x).

¬∃x P(x)↔ ∀x¬P(x).Negation of A ⊂ B.¬∀x(x ∈ A→ x ∈ B).∃x¬(x ∈ A→ x ∈ B).∃x¬(x /∈ A ∨ x ∈ B). MI. (conditional law)∃x(x ∈ A ∧ x /∈ B). DM.There exists an element of A not in B.

S. Choi (KAIST) Logic and set theory October 7, 2012 15 / 26

Page 83: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

Equivalences involving quantifiers

¬∀x P(x)↔ ∃x¬P(x).¬∃x P(x)↔ ∀x¬P(x).

Negation of A ⊂ B.¬∀x(x ∈ A→ x ∈ B).∃x¬(x ∈ A→ x ∈ B).∃x¬(x /∈ A ∨ x ∈ B). MI. (conditional law)∃x(x ∈ A ∧ x /∈ B). DM.There exists an element of A not in B.

S. Choi (KAIST) Logic and set theory October 7, 2012 15 / 26

Page 84: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

Equivalences involving quantifiers

¬∀x P(x)↔ ∃x¬P(x).¬∃x P(x)↔ ∀x¬P(x).Negation of A ⊂ B.

¬∀x(x ∈ A→ x ∈ B).∃x¬(x ∈ A→ x ∈ B).∃x¬(x /∈ A ∨ x ∈ B). MI. (conditional law)∃x(x ∈ A ∧ x /∈ B). DM.There exists an element of A not in B.

S. Choi (KAIST) Logic and set theory October 7, 2012 15 / 26

Page 85: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

Equivalences involving quantifiers

¬∀x P(x)↔ ∃x¬P(x).¬∃x P(x)↔ ∀x¬P(x).Negation of A ⊂ B.¬∀x(x ∈ A→ x ∈ B).

∃x¬(x ∈ A→ x ∈ B).∃x¬(x /∈ A ∨ x ∈ B). MI. (conditional law)∃x(x ∈ A ∧ x /∈ B). DM.There exists an element of A not in B.

S. Choi (KAIST) Logic and set theory October 7, 2012 15 / 26

Page 86: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

Equivalences involving quantifiers

¬∀x P(x)↔ ∃x¬P(x).¬∃x P(x)↔ ∀x¬P(x).Negation of A ⊂ B.¬∀x(x ∈ A→ x ∈ B).∃x¬(x ∈ A→ x ∈ B).

∃x¬(x /∈ A ∨ x ∈ B). MI. (conditional law)∃x(x ∈ A ∧ x /∈ B). DM.There exists an element of A not in B.

S. Choi (KAIST) Logic and set theory October 7, 2012 15 / 26

Page 87: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

Equivalences involving quantifiers

¬∀x P(x)↔ ∃x¬P(x).¬∃x P(x)↔ ∀x¬P(x).Negation of A ⊂ B.¬∀x(x ∈ A→ x ∈ B).∃x¬(x ∈ A→ x ∈ B).∃x¬(x /∈ A ∨ x ∈ B). MI. (conditional law)

∃x(x ∈ A ∧ x /∈ B). DM.There exists an element of A not in B.

S. Choi (KAIST) Logic and set theory October 7, 2012 15 / 26

Page 88: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

Equivalences involving quantifiers

¬∀x P(x)↔ ∃x¬P(x).¬∃x P(x)↔ ∀x¬P(x).Negation of A ⊂ B.¬∀x(x ∈ A→ x ∈ B).∃x¬(x ∈ A→ x ∈ B).∃x¬(x /∈ A ∨ x ∈ B). MI. (conditional law)∃x(x ∈ A ∧ x /∈ B). DM.

There exists an element of A not in B.

S. Choi (KAIST) Logic and set theory October 7, 2012 15 / 26

Page 89: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

Equivalences involving quantifiers

¬∀x P(x)↔ ∃x¬P(x).¬∃x P(x)↔ ∀x¬P(x).Negation of A ⊂ B.¬∀x(x ∈ A→ x ∈ B).∃x¬(x ∈ A→ x ∈ B).∃x¬(x /∈ A ∨ x ∈ B). MI. (conditional law)∃x(x ∈ A ∧ x /∈ B). DM.There exists an element of A not in B.

S. Choi (KAIST) Logic and set theory October 7, 2012 15 / 26

Page 90: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

∃x ∈ A P(x) is defined as ∃x(x ∈ A ∧ P(x)).

∀x ∈ A P(x) is defined as ∀x(x ∈ A→ P(x)).¬∀x ∈ A P(x)↔ ∃x ∈ A¬P(x).proof: ¬∀x(x ∈ A→ P(x)).∃x¬(x ∈ A→ P(x)).∃x¬(x /∈ A ∨ P(x)).∃x(x ∈ A ∧ ¬P(x)).∃x ∈ A¬P(x).These are all equivalent statements

S. Choi (KAIST) Logic and set theory October 7, 2012 16 / 26

Page 91: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

∃x ∈ A P(x) is defined as ∃x(x ∈ A ∧ P(x)).∀x ∈ A P(x) is defined as ∀x(x ∈ A→ P(x)).

¬∀x ∈ A P(x)↔ ∃x ∈ A¬P(x).proof: ¬∀x(x ∈ A→ P(x)).∃x¬(x ∈ A→ P(x)).∃x¬(x /∈ A ∨ P(x)).∃x(x ∈ A ∧ ¬P(x)).∃x ∈ A¬P(x).These are all equivalent statements

S. Choi (KAIST) Logic and set theory October 7, 2012 16 / 26

Page 92: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

∃x ∈ A P(x) is defined as ∃x(x ∈ A ∧ P(x)).∀x ∈ A P(x) is defined as ∀x(x ∈ A→ P(x)).¬∀x ∈ A P(x)↔ ∃x ∈ A¬P(x).

proof: ¬∀x(x ∈ A→ P(x)).∃x¬(x ∈ A→ P(x)).∃x¬(x /∈ A ∨ P(x)).∃x(x ∈ A ∧ ¬P(x)).∃x ∈ A¬P(x).These are all equivalent statements

S. Choi (KAIST) Logic and set theory October 7, 2012 16 / 26

Page 93: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

∃x ∈ A P(x) is defined as ∃x(x ∈ A ∧ P(x)).∀x ∈ A P(x) is defined as ∀x(x ∈ A→ P(x)).¬∀x ∈ A P(x)↔ ∃x ∈ A¬P(x).proof: ¬∀x(x ∈ A→ P(x)).

∃x¬(x ∈ A→ P(x)).∃x¬(x /∈ A ∨ P(x)).∃x(x ∈ A ∧ ¬P(x)).∃x ∈ A¬P(x).These are all equivalent statements

S. Choi (KAIST) Logic and set theory October 7, 2012 16 / 26

Page 94: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

∃x ∈ A P(x) is defined as ∃x(x ∈ A ∧ P(x)).∀x ∈ A P(x) is defined as ∀x(x ∈ A→ P(x)).¬∀x ∈ A P(x)↔ ∃x ∈ A¬P(x).proof: ¬∀x(x ∈ A→ P(x)).∃x¬(x ∈ A→ P(x)).

∃x¬(x /∈ A ∨ P(x)).∃x(x ∈ A ∧ ¬P(x)).∃x ∈ A¬P(x).These are all equivalent statements

S. Choi (KAIST) Logic and set theory October 7, 2012 16 / 26

Page 95: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

∃x ∈ A P(x) is defined as ∃x(x ∈ A ∧ P(x)).∀x ∈ A P(x) is defined as ∀x(x ∈ A→ P(x)).¬∀x ∈ A P(x)↔ ∃x ∈ A¬P(x).proof: ¬∀x(x ∈ A→ P(x)).∃x¬(x ∈ A→ P(x)).∃x¬(x /∈ A ∨ P(x)).

∃x(x ∈ A ∧ ¬P(x)).∃x ∈ A¬P(x).These are all equivalent statements

S. Choi (KAIST) Logic and set theory October 7, 2012 16 / 26

Page 96: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

∃x ∈ A P(x) is defined as ∃x(x ∈ A ∧ P(x)).∀x ∈ A P(x) is defined as ∀x(x ∈ A→ P(x)).¬∀x ∈ A P(x)↔ ∃x ∈ A¬P(x).proof: ¬∀x(x ∈ A→ P(x)).∃x¬(x ∈ A→ P(x)).∃x¬(x /∈ A ∨ P(x)).∃x(x ∈ A ∧ ¬P(x)).

∃x ∈ A¬P(x).These are all equivalent statements

S. Choi (KAIST) Logic and set theory October 7, 2012 16 / 26

Page 97: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

∃x ∈ A P(x) is defined as ∃x(x ∈ A ∧ P(x)).∀x ∈ A P(x) is defined as ∀x(x ∈ A→ P(x)).¬∀x ∈ A P(x)↔ ∃x ∈ A¬P(x).proof: ¬∀x(x ∈ A→ P(x)).∃x¬(x ∈ A→ P(x)).∃x¬(x /∈ A ∨ P(x)).∃x(x ∈ A ∧ ¬P(x)).∃x ∈ A¬P(x).

These are all equivalent statements

S. Choi (KAIST) Logic and set theory October 7, 2012 16 / 26

Page 98: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

∃x ∈ A P(x) is defined as ∃x(x ∈ A ∧ P(x)).∀x ∈ A P(x) is defined as ∀x(x ∈ A→ P(x)).¬∀x ∈ A P(x)↔ ∃x ∈ A¬P(x).proof: ¬∀x(x ∈ A→ P(x)).∃x¬(x ∈ A→ P(x)).∃x¬(x /∈ A ∨ P(x)).∃x(x ∈ A ∧ ¬P(x)).∃x ∈ A¬P(x).These are all equivalent statements

S. Choi (KAIST) Logic and set theory October 7, 2012 16 / 26

Page 99: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

¬∃x ∈ A P(x)↔ ∀x ∈ A¬P(x).

proof: ¬∃x(x ∈ A ∧ P(x)).∀x¬(x ∈ A ∧ P(x)).∀x(x /∈ A ∨ ¬P(x)).∀x(x ∈ A→ ¬P(x).∀x ∈ A¬P(x).These are all equivalent statements

S. Choi (KAIST) Logic and set theory October 7, 2012 17 / 26

Page 100: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

¬∃x ∈ A P(x)↔ ∀x ∈ A¬P(x).proof: ¬∃x(x ∈ A ∧ P(x)).

∀x¬(x ∈ A ∧ P(x)).∀x(x /∈ A ∨ ¬P(x)).∀x(x ∈ A→ ¬P(x).∀x ∈ A¬P(x).These are all equivalent statements

S. Choi (KAIST) Logic and set theory October 7, 2012 17 / 26

Page 101: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

¬∃x ∈ A P(x)↔ ∀x ∈ A¬P(x).proof: ¬∃x(x ∈ A ∧ P(x)).∀x¬(x ∈ A ∧ P(x)).

∀x(x /∈ A ∨ ¬P(x)).∀x(x ∈ A→ ¬P(x).∀x ∈ A¬P(x).These are all equivalent statements

S. Choi (KAIST) Logic and set theory October 7, 2012 17 / 26

Page 102: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

¬∃x ∈ A P(x)↔ ∀x ∈ A¬P(x).proof: ¬∃x(x ∈ A ∧ P(x)).∀x¬(x ∈ A ∧ P(x)).∀x(x /∈ A ∨ ¬P(x)).

∀x(x ∈ A→ ¬P(x).∀x ∈ A¬P(x).These are all equivalent statements

S. Choi (KAIST) Logic and set theory October 7, 2012 17 / 26

Page 103: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

¬∃x ∈ A P(x)↔ ∀x ∈ A¬P(x).proof: ¬∃x(x ∈ A ∧ P(x)).∀x¬(x ∈ A ∧ P(x)).∀x(x /∈ A ∨ ¬P(x)).∀x(x ∈ A→ ¬P(x).

∀x ∈ A¬P(x).These are all equivalent statements

S. Choi (KAIST) Logic and set theory October 7, 2012 17 / 26

Page 104: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

¬∃x ∈ A P(x)↔ ∀x ∈ A¬P(x).proof: ¬∃x(x ∈ A ∧ P(x)).∀x¬(x ∈ A ∧ P(x)).∀x(x /∈ A ∨ ¬P(x)).∀x(x ∈ A→ ¬P(x).∀x ∈ A¬P(x).

These are all equivalent statements

S. Choi (KAIST) Logic and set theory October 7, 2012 17 / 26

Page 105: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

Equivalences involving quantifiers

¬∃x ∈ A P(x)↔ ∀x ∈ A¬P(x).proof: ¬∃x(x ∈ A ∧ P(x)).∀x¬(x ∈ A ∧ P(x)).∀x(x /∈ A ∨ ¬P(x)).∀x(x ∈ A→ ¬P(x).∀x ∈ A¬P(x).These are all equivalent statements

S. Choi (KAIST) Logic and set theory October 7, 2012 17 / 26

Page 106: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Indexed sets

Let I be the set of indices i = 1,2,3, ...

p1 = 2, p2 = 3, p3 = 5,...{p1,p2, ...} = {pi |i ∈ I} is another set, called, an indexed set. (Actuallythis is an axiom)In fact I could be any set.{n2|n ∈ N}, {n2|n ∈ Z}.{√

x |x ∈ Q}

S. Choi (KAIST) Logic and set theory October 7, 2012 18 / 26

Page 107: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Indexed sets

Let I be the set of indices i = 1,2,3, ...p1 = 2, p2 = 3, p3 = 5,...

{p1,p2, ...} = {pi |i ∈ I} is another set, called, an indexed set. (Actuallythis is an axiom)In fact I could be any set.{n2|n ∈ N}, {n2|n ∈ Z}.{√

x |x ∈ Q}

S. Choi (KAIST) Logic and set theory October 7, 2012 18 / 26

Page 108: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Indexed sets

Let I be the set of indices i = 1,2,3, ...p1 = 2, p2 = 3, p3 = 5,...{p1,p2, ...} = {pi |i ∈ I} is another set, called, an indexed set. (Actuallythis is an axiom)

In fact I could be any set.{n2|n ∈ N}, {n2|n ∈ Z}.{√

x |x ∈ Q}

S. Choi (KAIST) Logic and set theory October 7, 2012 18 / 26

Page 109: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Indexed sets

Let I be the set of indices i = 1,2,3, ...p1 = 2, p2 = 3, p3 = 5,...{p1,p2, ...} = {pi |i ∈ I} is another set, called, an indexed set. (Actuallythis is an axiom)In fact I could be any set.

{n2|n ∈ N}, {n2|n ∈ Z}.{√

x |x ∈ Q}

S. Choi (KAIST) Logic and set theory October 7, 2012 18 / 26

Page 110: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Indexed sets

Let I be the set of indices i = 1,2,3, ...p1 = 2, p2 = 3, p3 = 5,...{p1,p2, ...} = {pi |i ∈ I} is another set, called, an indexed set. (Actuallythis is an axiom)In fact I could be any set.{n2|n ∈ N}, {n2|n ∈ Z}.

{√

x |x ∈ Q}

S. Choi (KAIST) Logic and set theory October 7, 2012 18 / 26

Page 111: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Indexed sets

Let I be the set of indices i = 1,2,3, ...p1 = 2, p2 = 3, p3 = 5,...{p1,p2, ...} = {pi |i ∈ I} is another set, called, an indexed set. (Actuallythis is an axiom)In fact I could be any set.{n2|n ∈ N}, {n2|n ∈ Z}.{√

x |x ∈ Q}

S. Choi (KAIST) Logic and set theory October 7, 2012 18 / 26

Page 112: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Family of sets

A set whose elements are sets is said to be a family of sets.

We can also write {Ai |i ∈ I} for Ai a set and I an index set.F = {{}, {{}}, {{{}}}}Given a set A, the power set is defined: P(A) = {x |x ⊂ A}.x ∈ P(A) is equivalent to x ⊂ A and to ∀y(y ∈ x → y ∈ A).

S. Choi (KAIST) Logic and set theory October 7, 2012 19 / 26

Page 113: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Family of sets

A set whose elements are sets is said to be a family of sets.We can also write {Ai |i ∈ I} for Ai a set and I an index set.

F = {{}, {{}}, {{{}}}}Given a set A, the power set is defined: P(A) = {x |x ⊂ A}.x ∈ P(A) is equivalent to x ⊂ A and to ∀y(y ∈ x → y ∈ A).

S. Choi (KAIST) Logic and set theory October 7, 2012 19 / 26

Page 114: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Family of sets

A set whose elements are sets is said to be a family of sets.We can also write {Ai |i ∈ I} for Ai a set and I an index set.F = {{}, {{}}, {{{}}}}

Given a set A, the power set is defined: P(A) = {x |x ⊂ A}.x ∈ P(A) is equivalent to x ⊂ A and to ∀y(y ∈ x → y ∈ A).

S. Choi (KAIST) Logic and set theory October 7, 2012 19 / 26

Page 115: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Family of sets

A set whose elements are sets is said to be a family of sets.We can also write {Ai |i ∈ I} for Ai a set and I an index set.F = {{}, {{}}, {{{}}}}Given a set A, the power set is defined: P(A) = {x |x ⊂ A}.

x ∈ P(A) is equivalent to x ⊂ A and to ∀y(y ∈ x → y ∈ A).

S. Choi (KAIST) Logic and set theory October 7, 2012 19 / 26

Page 116: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Family of sets

A set whose elements are sets is said to be a family of sets.We can also write {Ai |i ∈ I} for Ai a set and I an index set.F = {{}, {{}}, {{{}}}}Given a set A, the power set is defined: P(A) = {x |x ⊂ A}.x ∈ P(A) is equivalent to x ⊂ A and to ∀y(y ∈ x → y ∈ A).

S. Choi (KAIST) Logic and set theory October 7, 2012 19 / 26

Page 117: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

The power set

P(A) ⊂ P(B). Analysis

∀x(x ∈ P(A)→ x ∈ P(B)).∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))).If A ⊂ B, then is P(A) ⊂ P(B)?To check this what should we do? Use our inference rules....

S. Choi (KAIST) Logic and set theory October 7, 2012 20 / 26

Page 118: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

The power set

P(A) ⊂ P(B). Analysis∀x(x ∈ P(A)→ x ∈ P(B)).

∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))).If A ⊂ B, then is P(A) ⊂ P(B)?To check this what should we do? Use our inference rules....

S. Choi (KAIST) Logic and set theory October 7, 2012 20 / 26

Page 119: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

The power set

P(A) ⊂ P(B). Analysis∀x(x ∈ P(A)→ x ∈ P(B)).∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))).

If A ⊂ B, then is P(A) ⊂ P(B)?To check this what should we do? Use our inference rules....

S. Choi (KAIST) Logic and set theory October 7, 2012 20 / 26

Page 120: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

The power set

P(A) ⊂ P(B). Analysis∀x(x ∈ P(A)→ x ∈ P(B)).∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))).If A ⊂ B, then is P(A) ⊂ P(B)?

To check this what should we do? Use our inference rules....

S. Choi (KAIST) Logic and set theory October 7, 2012 20 / 26

Page 121: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

The power set

P(A) ⊂ P(B). Analysis∀x(x ∈ P(A)→ x ∈ P(B)).∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))).If A ⊂ B, then is P(A) ⊂ P(B)?To check this what should we do? Use our inference rules....

S. Choi (KAIST) Logic and set theory October 7, 2012 20 / 26

Page 122: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

A ⊂ B ` ∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))).

1. ∀x(x ∈ A→ x ∈ B). A.2: ∀y(y ∈ a→ y ∈ A) H.3: b ∈ a→ b ∈ A.4: b ∈ A→ b ∈ B.5: b ∈ a→ b ∈ B.6.: ∀y(y ∈ a→ y ∈ B).7. (∀y(y ∈ a→ y ∈ A))→ ∀y(y ∈ a→ y ∈ B). 2-68. ∀x((∀y(y ∈ x → y ∈ A))→ ∀y(y ∈ a→ y ∈ B)).

S. Choi (KAIST) Logic and set theory October 7, 2012 21 / 26

Page 123: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

A ⊂ B ` ∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))).1. ∀x(x ∈ A→ x ∈ B). A.

2: ∀y(y ∈ a→ y ∈ A) H.3: b ∈ a→ b ∈ A.4: b ∈ A→ b ∈ B.5: b ∈ a→ b ∈ B.6.: ∀y(y ∈ a→ y ∈ B).7. (∀y(y ∈ a→ y ∈ A))→ ∀y(y ∈ a→ y ∈ B). 2-68. ∀x((∀y(y ∈ x → y ∈ A))→ ∀y(y ∈ a→ y ∈ B)).

S. Choi (KAIST) Logic and set theory October 7, 2012 21 / 26

Page 124: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

A ⊂ B ` ∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))).1. ∀x(x ∈ A→ x ∈ B). A.2: ∀y(y ∈ a→ y ∈ A) H.

3: b ∈ a→ b ∈ A.4: b ∈ A→ b ∈ B.5: b ∈ a→ b ∈ B.6.: ∀y(y ∈ a→ y ∈ B).7. (∀y(y ∈ a→ y ∈ A))→ ∀y(y ∈ a→ y ∈ B). 2-68. ∀x((∀y(y ∈ x → y ∈ A))→ ∀y(y ∈ a→ y ∈ B)).

S. Choi (KAIST) Logic and set theory October 7, 2012 21 / 26

Page 125: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

A ⊂ B ` ∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))).1. ∀x(x ∈ A→ x ∈ B). A.2: ∀y(y ∈ a→ y ∈ A) H.3: b ∈ a→ b ∈ A.

4: b ∈ A→ b ∈ B.5: b ∈ a→ b ∈ B.6.: ∀y(y ∈ a→ y ∈ B).7. (∀y(y ∈ a→ y ∈ A))→ ∀y(y ∈ a→ y ∈ B). 2-68. ∀x((∀y(y ∈ x → y ∈ A))→ ∀y(y ∈ a→ y ∈ B)).

S. Choi (KAIST) Logic and set theory October 7, 2012 21 / 26

Page 126: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

A ⊂ B ` ∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))).1. ∀x(x ∈ A→ x ∈ B). A.2: ∀y(y ∈ a→ y ∈ A) H.3: b ∈ a→ b ∈ A.4: b ∈ A→ b ∈ B.

5: b ∈ a→ b ∈ B.6.: ∀y(y ∈ a→ y ∈ B).7. (∀y(y ∈ a→ y ∈ A))→ ∀y(y ∈ a→ y ∈ B). 2-68. ∀x((∀y(y ∈ x → y ∈ A))→ ∀y(y ∈ a→ y ∈ B)).

S. Choi (KAIST) Logic and set theory October 7, 2012 21 / 26

Page 127: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

A ⊂ B ` ∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))).1. ∀x(x ∈ A→ x ∈ B). A.2: ∀y(y ∈ a→ y ∈ A) H.3: b ∈ a→ b ∈ A.4: b ∈ A→ b ∈ B.5: b ∈ a→ b ∈ B.

6.: ∀y(y ∈ a→ y ∈ B).7. (∀y(y ∈ a→ y ∈ A))→ ∀y(y ∈ a→ y ∈ B). 2-68. ∀x((∀y(y ∈ x → y ∈ A))→ ∀y(y ∈ a→ y ∈ B)).

S. Choi (KAIST) Logic and set theory October 7, 2012 21 / 26

Page 128: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

A ⊂ B ` ∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))).1. ∀x(x ∈ A→ x ∈ B). A.2: ∀y(y ∈ a→ y ∈ A) H.3: b ∈ a→ b ∈ A.4: b ∈ A→ b ∈ B.5: b ∈ a→ b ∈ B.6.: ∀y(y ∈ a→ y ∈ B).

7. (∀y(y ∈ a→ y ∈ A))→ ∀y(y ∈ a→ y ∈ B). 2-68. ∀x((∀y(y ∈ x → y ∈ A))→ ∀y(y ∈ a→ y ∈ B)).

S. Choi (KAIST) Logic and set theory October 7, 2012 21 / 26

Page 129: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

A ⊂ B ` ∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))).1. ∀x(x ∈ A→ x ∈ B). A.2: ∀y(y ∈ a→ y ∈ A) H.3: b ∈ a→ b ∈ A.4: b ∈ A→ b ∈ B.5: b ∈ a→ b ∈ B.6.: ∀y(y ∈ a→ y ∈ B).7. (∀y(y ∈ a→ y ∈ A))→ ∀y(y ∈ a→ y ∈ B). 2-6

8. ∀x((∀y(y ∈ x → y ∈ A))→ ∀y(y ∈ a→ y ∈ B)).

S. Choi (KAIST) Logic and set theory October 7, 2012 21 / 26

Page 130: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

A ⊂ B ` ∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))).1. ∀x(x ∈ A→ x ∈ B). A.2: ∀y(y ∈ a→ y ∈ A) H.3: b ∈ a→ b ∈ A.4: b ∈ A→ b ∈ B.5: b ∈ a→ b ∈ B.6.: ∀y(y ∈ a→ y ∈ B).7. (∀y(y ∈ a→ y ∈ A))→ ∀y(y ∈ a→ y ∈ B). 2-68. ∀x((∀y(y ∈ x → y ∈ A))→ ∀y(y ∈ a→ y ∈ B)).

S. Choi (KAIST) Logic and set theory October 7, 2012 21 / 26

Page 131: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) ` A ⊂ B.

1. ∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) A.2.: a ∈ A H.3.:: a ∈ {a}. H (used as a hypothesis)4.:: a ∈ A.5.: a ∈ {a} → a ∈ A. 3-46.: (∀y(y ∈ {a} → y ∈ A))→ (∀y(y ∈ {a} → y ∈ B))

7.: (a ∈ {a} → a ∈ A)→ (a ∈ {a} → a ∈ B).8.: a ∈ {a} → a ∈ B.9.: a ∈ {a} (True statement)9.: a ∈ B.10. a ∈ A→ a ∈ B.

S. Choi (KAIST) Logic and set theory October 7, 2012 22 / 26

Page 132: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) ` A ⊂ B.1. ∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) A.

2.: a ∈ A H.3.:: a ∈ {a}. H (used as a hypothesis)4.:: a ∈ A.5.: a ∈ {a} → a ∈ A. 3-46.: (∀y(y ∈ {a} → y ∈ A))→ (∀y(y ∈ {a} → y ∈ B))

7.: (a ∈ {a} → a ∈ A)→ (a ∈ {a} → a ∈ B).8.: a ∈ {a} → a ∈ B.9.: a ∈ {a} (True statement)9.: a ∈ B.10. a ∈ A→ a ∈ B.

S. Choi (KAIST) Logic and set theory October 7, 2012 22 / 26

Page 133: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) ` A ⊂ B.1. ∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) A.2.: a ∈ A H.

3.:: a ∈ {a}. H (used as a hypothesis)4.:: a ∈ A.5.: a ∈ {a} → a ∈ A. 3-46.: (∀y(y ∈ {a} → y ∈ A))→ (∀y(y ∈ {a} → y ∈ B))

7.: (a ∈ {a} → a ∈ A)→ (a ∈ {a} → a ∈ B).8.: a ∈ {a} → a ∈ B.9.: a ∈ {a} (True statement)9.: a ∈ B.10. a ∈ A→ a ∈ B.

S. Choi (KAIST) Logic and set theory October 7, 2012 22 / 26

Page 134: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) ` A ⊂ B.1. ∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) A.2.: a ∈ A H.3.:: a ∈ {a}. H (used as a hypothesis)

4.:: a ∈ A.5.: a ∈ {a} → a ∈ A. 3-46.: (∀y(y ∈ {a} → y ∈ A))→ (∀y(y ∈ {a} → y ∈ B))

7.: (a ∈ {a} → a ∈ A)→ (a ∈ {a} → a ∈ B).8.: a ∈ {a} → a ∈ B.9.: a ∈ {a} (True statement)9.: a ∈ B.10. a ∈ A→ a ∈ B.

S. Choi (KAIST) Logic and set theory October 7, 2012 22 / 26

Page 135: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) ` A ⊂ B.1. ∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) A.2.: a ∈ A H.3.:: a ∈ {a}. H (used as a hypothesis)4.:: a ∈ A.

5.: a ∈ {a} → a ∈ A. 3-46.: (∀y(y ∈ {a} → y ∈ A))→ (∀y(y ∈ {a} → y ∈ B))

7.: (a ∈ {a} → a ∈ A)→ (a ∈ {a} → a ∈ B).8.: a ∈ {a} → a ∈ B.9.: a ∈ {a} (True statement)9.: a ∈ B.10. a ∈ A→ a ∈ B.

S. Choi (KAIST) Logic and set theory October 7, 2012 22 / 26

Page 136: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) ` A ⊂ B.1. ∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) A.2.: a ∈ A H.3.:: a ∈ {a}. H (used as a hypothesis)4.:: a ∈ A.5.: a ∈ {a} → a ∈ A. 3-4

6.: (∀y(y ∈ {a} → y ∈ A))→ (∀y(y ∈ {a} → y ∈ B))

7.: (a ∈ {a} → a ∈ A)→ (a ∈ {a} → a ∈ B).8.: a ∈ {a} → a ∈ B.9.: a ∈ {a} (True statement)9.: a ∈ B.10. a ∈ A→ a ∈ B.

S. Choi (KAIST) Logic and set theory October 7, 2012 22 / 26

Page 137: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) ` A ⊂ B.1. ∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) A.2.: a ∈ A H.3.:: a ∈ {a}. H (used as a hypothesis)4.:: a ∈ A.5.: a ∈ {a} → a ∈ A. 3-46.: (∀y(y ∈ {a} → y ∈ A))→ (∀y(y ∈ {a} → y ∈ B))

7.: (a ∈ {a} → a ∈ A)→ (a ∈ {a} → a ∈ B).8.: a ∈ {a} → a ∈ B.9.: a ∈ {a} (True statement)9.: a ∈ B.10. a ∈ A→ a ∈ B.

S. Choi (KAIST) Logic and set theory October 7, 2012 22 / 26

Page 138: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) ` A ⊂ B.1. ∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) A.2.: a ∈ A H.3.:: a ∈ {a}. H (used as a hypothesis)4.:: a ∈ A.5.: a ∈ {a} → a ∈ A. 3-46.: (∀y(y ∈ {a} → y ∈ A))→ (∀y(y ∈ {a} → y ∈ B))

7.: (a ∈ {a} → a ∈ A)→ (a ∈ {a} → a ∈ B).

8.: a ∈ {a} → a ∈ B.9.: a ∈ {a} (True statement)9.: a ∈ B.10. a ∈ A→ a ∈ B.

S. Choi (KAIST) Logic and set theory October 7, 2012 22 / 26

Page 139: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) ` A ⊂ B.1. ∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) A.2.: a ∈ A H.3.:: a ∈ {a}. H (used as a hypothesis)4.:: a ∈ A.5.: a ∈ {a} → a ∈ A. 3-46.: (∀y(y ∈ {a} → y ∈ A))→ (∀y(y ∈ {a} → y ∈ B))

7.: (a ∈ {a} → a ∈ A)→ (a ∈ {a} → a ∈ B).8.: a ∈ {a} → a ∈ B.

9.: a ∈ {a} (True statement)9.: a ∈ B.10. a ∈ A→ a ∈ B.

S. Choi (KAIST) Logic and set theory October 7, 2012 22 / 26

Page 140: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) ` A ⊂ B.1. ∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) A.2.: a ∈ A H.3.:: a ∈ {a}. H (used as a hypothesis)4.:: a ∈ A.5.: a ∈ {a} → a ∈ A. 3-46.: (∀y(y ∈ {a} → y ∈ A))→ (∀y(y ∈ {a} → y ∈ B))

7.: (a ∈ {a} → a ∈ A)→ (a ∈ {a} → a ∈ B).8.: a ∈ {a} → a ∈ B.9.: a ∈ {a} (True statement)

9.: a ∈ B.10. a ∈ A→ a ∈ B.

S. Choi (KAIST) Logic and set theory October 7, 2012 22 / 26

Page 141: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) ` A ⊂ B.1. ∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) A.2.: a ∈ A H.3.:: a ∈ {a}. H (used as a hypothesis)4.:: a ∈ A.5.: a ∈ {a} → a ∈ A. 3-46.: (∀y(y ∈ {a} → y ∈ A))→ (∀y(y ∈ {a} → y ∈ B))

7.: (a ∈ {a} → a ∈ A)→ (a ∈ {a} → a ∈ B).8.: a ∈ {a} → a ∈ B.9.: a ∈ {a} (True statement)9.: a ∈ B.

10. a ∈ A→ a ∈ B.

S. Choi (KAIST) Logic and set theory October 7, 2012 22 / 26

Page 142: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) ` A ⊂ B.1. ∀x((∀y(y ∈ x → y ∈ A))→ (∀y(y ∈ x → y ∈ B))) A.2.: a ∈ A H.3.:: a ∈ {a}. H (used as a hypothesis)4.:: a ∈ A.5.: a ∈ {a} → a ∈ A. 3-46.: (∀y(y ∈ {a} → y ∈ A))→ (∀y(y ∈ {a} → y ∈ B))

7.: (a ∈ {a} → a ∈ A)→ (a ∈ {a} → a ∈ B).8.: a ∈ {a} → a ∈ B.9.: a ∈ {a} (True statement)9.: a ∈ B.10. a ∈ A→ a ∈ B.

S. Choi (KAIST) Logic and set theory October 7, 2012 22 / 26

Page 143: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

F = {Cs|s ∈ S} a family of sets.

Define⋃F as the set of elements in at least one element of F .⋃

F = {x |∃A(A ∈ F ∧ x ∈ A)} = {x |∃A ∈ F(x ∈ A)}.Define

⋂F as the set of common elements of elements of F .⋂

F = {x |∀A(A ∈ F → x ∈ A)} = {x |∀A ∈ F(x ∈ A)}.Alternate notations: F = {Ai |i ∈ I}.⋂F =

⋂i∈I Ai = {x |∀i ∈ I(x ∈ Ai)}.⋃

F =⋃

i∈I Ai = {x |∃i ∈ I(x ∈ Ai)}.

S. Choi (KAIST) Logic and set theory October 7, 2012 23 / 26

Page 144: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

F = {Cs|s ∈ S} a family of sets.Define

⋃F as the set of elements in at least one element of F .

⋃F = {x |∃A(A ∈ F ∧ x ∈ A)} = {x |∃A ∈ F(x ∈ A)}.

Define⋂F as the set of common elements of elements of F .⋂

F = {x |∀A(A ∈ F → x ∈ A)} = {x |∀A ∈ F(x ∈ A)}.Alternate notations: F = {Ai |i ∈ I}.⋂F =

⋂i∈I Ai = {x |∀i ∈ I(x ∈ Ai)}.⋃

F =⋃

i∈I Ai = {x |∃i ∈ I(x ∈ Ai)}.

S. Choi (KAIST) Logic and set theory October 7, 2012 23 / 26

Page 145: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

F = {Cs|s ∈ S} a family of sets.Define

⋃F as the set of elements in at least one element of F .⋃

F = {x |∃A(A ∈ F ∧ x ∈ A)} = {x |∃A ∈ F(x ∈ A)}.

Define⋂F as the set of common elements of elements of F .⋂

F = {x |∀A(A ∈ F → x ∈ A)} = {x |∀A ∈ F(x ∈ A)}.Alternate notations: F = {Ai |i ∈ I}.⋂F =

⋂i∈I Ai = {x |∀i ∈ I(x ∈ Ai)}.⋃

F =⋃

i∈I Ai = {x |∃i ∈ I(x ∈ Ai)}.

S. Choi (KAIST) Logic and set theory October 7, 2012 23 / 26

Page 146: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

F = {Cs|s ∈ S} a family of sets.Define

⋃F as the set of elements in at least one element of F .⋃

F = {x |∃A(A ∈ F ∧ x ∈ A)} = {x |∃A ∈ F(x ∈ A)}.Define

⋂F as the set of common elements of elements of F .

⋂F = {x |∀A(A ∈ F → x ∈ A)} = {x |∀A ∈ F(x ∈ A)}.

Alternate notations: F = {Ai |i ∈ I}.⋂F =

⋂i∈I Ai = {x |∀i ∈ I(x ∈ Ai)}.⋃

F =⋃

i∈I Ai = {x |∃i ∈ I(x ∈ Ai)}.

S. Choi (KAIST) Logic and set theory October 7, 2012 23 / 26

Page 147: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

F = {Cs|s ∈ S} a family of sets.Define

⋃F as the set of elements in at least one element of F .⋃

F = {x |∃A(A ∈ F ∧ x ∈ A)} = {x |∃A ∈ F(x ∈ A)}.Define

⋂F as the set of common elements of elements of F .⋂

F = {x |∀A(A ∈ F → x ∈ A)} = {x |∀A ∈ F(x ∈ A)}.

Alternate notations: F = {Ai |i ∈ I}.⋂F =

⋂i∈I Ai = {x |∀i ∈ I(x ∈ Ai)}.⋃

F =⋃

i∈I Ai = {x |∃i ∈ I(x ∈ Ai)}.

S. Choi (KAIST) Logic and set theory October 7, 2012 23 / 26

Page 148: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

F = {Cs|s ∈ S} a family of sets.Define

⋃F as the set of elements in at least one element of F .⋃

F = {x |∃A(A ∈ F ∧ x ∈ A)} = {x |∃A ∈ F(x ∈ A)}.Define

⋂F as the set of common elements of elements of F .⋂

F = {x |∀A(A ∈ F → x ∈ A)} = {x |∀A ∈ F(x ∈ A)}.Alternate notations: F = {Ai |i ∈ I}.

⋂F =

⋂i∈I Ai = {x |∀i ∈ I(x ∈ Ai)}.⋃

F =⋃

i∈I Ai = {x |∃i ∈ I(x ∈ Ai)}.

S. Choi (KAIST) Logic and set theory October 7, 2012 23 / 26

Page 149: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

F = {Cs|s ∈ S} a family of sets.Define

⋃F as the set of elements in at least one element of F .⋃

F = {x |∃A(A ∈ F ∧ x ∈ A)} = {x |∃A ∈ F(x ∈ A)}.Define

⋂F as the set of common elements of elements of F .⋂

F = {x |∀A(A ∈ F → x ∈ A)} = {x |∀A ∈ F(x ∈ A)}.Alternate notations: F = {Ai |i ∈ I}.⋂F =

⋂i∈I Ai = {x |∀i ∈ I(x ∈ Ai)}.

⋃F =

⋃i∈I Ai = {x |∃i ∈ I(x ∈ Ai)}.

S. Choi (KAIST) Logic and set theory October 7, 2012 23 / 26

Page 150: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

F = {Cs|s ∈ S} a family of sets.Define

⋃F as the set of elements in at least one element of F .⋃

F = {x |∃A(A ∈ F ∧ x ∈ A)} = {x |∃A ∈ F(x ∈ A)}.Define

⋂F as the set of common elements of elements of F .⋂

F = {x |∀A(A ∈ F → x ∈ A)} = {x |∀A ∈ F(x ∈ A)}.Alternate notations: F = {Ai |i ∈ I}.⋂F =

⋂i∈I Ai = {x |∀i ∈ I(x ∈ Ai)}.⋃

F =⋃

i∈I Ai = {x |∃i ∈ I(x ∈ Ai)}.

S. Choi (KAIST) Logic and set theory October 7, 2012 23 / 26

Page 151: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Example

x ∈ P(⋃F). Analysis:

x ⊂⋃F .

∀y(y ∈ x → y ∈⋃F).

∀y(y ∈ x → ∃A ∈ F(y ∈ A)).Prove that x ∈ F ` x ∈ P(

⋃F).

x ∈ F ` ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).1. x ∈ F . A.2.: a ∈ x H.3.: ∃A ∈ F(a ∈ A).4. a ∈ x → (∃A ∈ F(a ∈ A)) 2-3.5. ∀y(y ∈ x → (∃A ∈ F(y ∈ A)))

S. Choi (KAIST) Logic and set theory October 7, 2012 24 / 26

Page 152: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Example

x ∈ P(⋃F). Analysis:

x ⊂⋃F .

∀y(y ∈ x → y ∈⋃F).

∀y(y ∈ x → ∃A ∈ F(y ∈ A)).Prove that x ∈ F ` x ∈ P(

⋃F).

x ∈ F ` ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).1. x ∈ F . A.2.: a ∈ x H.3.: ∃A ∈ F(a ∈ A).4. a ∈ x → (∃A ∈ F(a ∈ A)) 2-3.5. ∀y(y ∈ x → (∃A ∈ F(y ∈ A)))

S. Choi (KAIST) Logic and set theory October 7, 2012 24 / 26

Page 153: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Example

x ∈ P(⋃F). Analysis:

x ⊂⋃F .

∀y(y ∈ x → y ∈⋃F).

∀y(y ∈ x → ∃A ∈ F(y ∈ A)).Prove that x ∈ F ` x ∈ P(

⋃F).

x ∈ F ` ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).1. x ∈ F . A.2.: a ∈ x H.3.: ∃A ∈ F(a ∈ A).4. a ∈ x → (∃A ∈ F(a ∈ A)) 2-3.5. ∀y(y ∈ x → (∃A ∈ F(y ∈ A)))

S. Choi (KAIST) Logic and set theory October 7, 2012 24 / 26

Page 154: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Example

x ∈ P(⋃F). Analysis:

x ⊂⋃F .

∀y(y ∈ x → y ∈⋃F).

∀y(y ∈ x → ∃A ∈ F(y ∈ A)).

Prove that x ∈ F ` x ∈ P(⋃F).

x ∈ F ` ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).1. x ∈ F . A.2.: a ∈ x H.3.: ∃A ∈ F(a ∈ A).4. a ∈ x → (∃A ∈ F(a ∈ A)) 2-3.5. ∀y(y ∈ x → (∃A ∈ F(y ∈ A)))

S. Choi (KAIST) Logic and set theory October 7, 2012 24 / 26

Page 155: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Example

x ∈ P(⋃F). Analysis:

x ⊂⋃F .

∀y(y ∈ x → y ∈⋃F).

∀y(y ∈ x → ∃A ∈ F(y ∈ A)).Prove that x ∈ F ` x ∈ P(

⋃F).

x ∈ F ` ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).1. x ∈ F . A.2.: a ∈ x H.3.: ∃A ∈ F(a ∈ A).4. a ∈ x → (∃A ∈ F(a ∈ A)) 2-3.5. ∀y(y ∈ x → (∃A ∈ F(y ∈ A)))

S. Choi (KAIST) Logic and set theory October 7, 2012 24 / 26

Page 156: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Example

x ∈ P(⋃F). Analysis:

x ⊂⋃F .

∀y(y ∈ x → y ∈⋃F).

∀y(y ∈ x → ∃A ∈ F(y ∈ A)).Prove that x ∈ F ` x ∈ P(

⋃F).

x ∈ F ` ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).

1. x ∈ F . A.2.: a ∈ x H.3.: ∃A ∈ F(a ∈ A).4. a ∈ x → (∃A ∈ F(a ∈ A)) 2-3.5. ∀y(y ∈ x → (∃A ∈ F(y ∈ A)))

S. Choi (KAIST) Logic and set theory October 7, 2012 24 / 26

Page 157: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Example

x ∈ P(⋃F). Analysis:

x ⊂⋃F .

∀y(y ∈ x → y ∈⋃F).

∀y(y ∈ x → ∃A ∈ F(y ∈ A)).Prove that x ∈ F ` x ∈ P(

⋃F).

x ∈ F ` ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).1. x ∈ F . A.

2.: a ∈ x H.3.: ∃A ∈ F(a ∈ A).4. a ∈ x → (∃A ∈ F(a ∈ A)) 2-3.5. ∀y(y ∈ x → (∃A ∈ F(y ∈ A)))

S. Choi (KAIST) Logic and set theory October 7, 2012 24 / 26

Page 158: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Example

x ∈ P(⋃F). Analysis:

x ⊂⋃F .

∀y(y ∈ x → y ∈⋃F).

∀y(y ∈ x → ∃A ∈ F(y ∈ A)).Prove that x ∈ F ` x ∈ P(

⋃F).

x ∈ F ` ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).1. x ∈ F . A.2.: a ∈ x H.

3.: ∃A ∈ F(a ∈ A).4. a ∈ x → (∃A ∈ F(a ∈ A)) 2-3.5. ∀y(y ∈ x → (∃A ∈ F(y ∈ A)))

S. Choi (KAIST) Logic and set theory October 7, 2012 24 / 26

Page 159: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Example

x ∈ P(⋃F). Analysis:

x ⊂⋃F .

∀y(y ∈ x → y ∈⋃F).

∀y(y ∈ x → ∃A ∈ F(y ∈ A)).Prove that x ∈ F ` x ∈ P(

⋃F).

x ∈ F ` ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).1. x ∈ F . A.2.: a ∈ x H.3.: ∃A ∈ F(a ∈ A).

4. a ∈ x → (∃A ∈ F(a ∈ A)) 2-3.5. ∀y(y ∈ x → (∃A ∈ F(y ∈ A)))

S. Choi (KAIST) Logic and set theory October 7, 2012 24 / 26

Page 160: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Example

x ∈ P(⋃F). Analysis:

x ⊂⋃F .

∀y(y ∈ x → y ∈⋃F).

∀y(y ∈ x → ∃A ∈ F(y ∈ A)).Prove that x ∈ F ` x ∈ P(

⋃F).

x ∈ F ` ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).1. x ∈ F . A.2.: a ∈ x H.3.: ∃A ∈ F(a ∈ A).4. a ∈ x → (∃A ∈ F(a ∈ A)) 2-3.

5. ∀y(y ∈ x → (∃A ∈ F(y ∈ A)))

S. Choi (KAIST) Logic and set theory October 7, 2012 24 / 26

Page 161: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Example

x ∈ P(⋃F). Analysis:

x ⊂⋃F .

∀y(y ∈ x → y ∈⋃F).

∀y(y ∈ x → ∃A ∈ F(y ∈ A)).Prove that x ∈ F ` x ∈ P(

⋃F).

x ∈ F ` ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).1. x ∈ F . A.2.: a ∈ x H.3.: ∃A ∈ F(a ∈ A).4. a ∈ x → (∃A ∈ F(a ∈ A)) 2-3.5. ∀y(y ∈ x → (∃A ∈ F(y ∈ A)))

S. Choi (KAIST) Logic and set theory October 7, 2012 24 / 26

Page 162: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Example

x ∈ P(⋃F) ` x ∈ F . Is this valid?

Try to use refutation tree test.x ∈ P(

⋃F). x /∈ F .

1 ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).2 x /∈ F . negation first.

1 ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).2 x /∈ F .3 a ∈ x → ∃A ∈ F(a ∈ A).

1 ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).2 x /∈ F .3 check a ∈ x → ∃A ∈ F(a ∈ A).4 (i) a /∈ x 4(ii) ∃A(a ∈ A ∧ A ∈ F).

1 ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).2 x /∈ F .4 (i) a /∈ x open 4(ii) check∃A(a ∈ A ∧ A ∈ F)

5 (ii) a ∈ A0

6 (ii) A0 ∈ F .

S. Choi (KAIST) Logic and set theory October 7, 2012 25 / 26

Page 163: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Example

x ∈ P(⋃F) ` x ∈ F . Is this valid?

Try to use refutation tree test.x ∈ P(

⋃F). x /∈ F .

1 ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).2 x /∈ F . negation first.

1 ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).2 x /∈ F .3 a ∈ x → ∃A ∈ F(a ∈ A).

1 ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).2 x /∈ F .3 check a ∈ x → ∃A ∈ F(a ∈ A).4 (i) a /∈ x 4(ii) ∃A(a ∈ A ∧ A ∈ F).

1 ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).2 x /∈ F .4 (i) a /∈ x open 4(ii) check∃A(a ∈ A ∧ A ∈ F)

5 (ii) a ∈ A0

6 (ii) A0 ∈ F .

S. Choi (KAIST) Logic and set theory October 7, 2012 25 / 26

Page 164: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Example

x ∈ P(⋃F) ` x ∈ F . Is this valid?

Try to use refutation tree test.x ∈ P(

⋃F). x /∈ F .

1 ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).2 x /∈ F . negation first.

1 ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).2 x /∈ F .3 a ∈ x → ∃A ∈ F(a ∈ A).

1 ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).2 x /∈ F .3 check a ∈ x → ∃A ∈ F(a ∈ A).4 (i) a /∈ x 4(ii) ∃A(a ∈ A ∧ A ∈ F).

1 ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).2 x /∈ F .4 (i) a /∈ x open 4(ii) check∃A(a ∈ A ∧ A ∈ F)

5 (ii) a ∈ A0

6 (ii) A0 ∈ F .

S. Choi (KAIST) Logic and set theory October 7, 2012 25 / 26

Page 165: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

Example

x ∈ P(⋃F) ` x ∈ F . Is this valid?

Try to use refutation tree test.x ∈ P(

⋃F). x /∈ F .

1 ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).2 x /∈ F . negation first.

1 ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).2 x /∈ F .3 a ∈ x → ∃A ∈ F(a ∈ A).

1 ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).2 x /∈ F .3 check a ∈ x → ∃A ∈ F(a ∈ A).4 (i) a /∈ x 4(ii) ∃A(a ∈ A ∧ A ∈ F).

1 ∀y(y ∈ x → ∃A ∈ F(y ∈ A)).2 x /∈ F .4 (i) a /∈ x open 4(ii) check∃A(a ∈ A ∧ A ∈ F)

5 (ii) a ∈ A0

6 (ii) A0 ∈ F .

S. Choi (KAIST) Logic and set theory October 7, 2012 25 / 26

Page 166: Logic and the set theory - Lecture 11,12: Quantifiers (The ...mathsci.kaist.ac.kr/~schoi/Logiclec11-12.pdf · Logic and the set theory Lecture 11,12: Quantifiers (The set theory)

More operations on sets

How do one obtain a counter-example? x /∈ F and a /∈ x .F = {{1,2}, {1,3}}. x = {1,2,3}. a = 4.F = {{1,2}, {1,3}}. x = {1,2,3}. a = 3. a ∈ {1,3}. {1,3} ∈ F .

S. Choi (KAIST) Logic and set theory October 7, 2012 26 / 26