122
Logic and the set theory Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST, Daejeon, South Korea Fall semester, 2011 S. Choi (KAIST) Logic and set theory October 5, 2011 1 / 32

Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

  • Upload
    others

  • View
    8

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Logic and the set theoryLecture 13: Proofs in How to Prove It.

S. Choi

Department of Mathematical ScienceKAIST, Daejeon, South Korea

Fall semester, 2011

S. Choi (KAIST) Logic and set theory October 5, 2011 1 / 32

Page 2: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Introduction

About this lecture

Proof strategies

Proofs involving negations and conditionals.Proofs involving quantifiersProofs involving conjunctions and biconditionals (up to here in thislecture.)Proofs involving disjunctionsExistence and uniqueness proofMore examples of proofs..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 5, 2011 2 / 32

Page 3: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Introduction

About this lecture

Proof strategiesProofs involving negations and conditionals.

Proofs involving quantifiersProofs involving conjunctions and biconditionals (up to here in thislecture.)Proofs involving disjunctionsExistence and uniqueness proofMore examples of proofs..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 5, 2011 2 / 32

Page 4: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Introduction

About this lecture

Proof strategiesProofs involving negations and conditionals.Proofs involving quantifiers

Proofs involving conjunctions and biconditionals (up to here in thislecture.)Proofs involving disjunctionsExistence and uniqueness proofMore examples of proofs..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 5, 2011 2 / 32

Page 5: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Introduction

About this lecture

Proof strategiesProofs involving negations and conditionals.Proofs involving quantifiersProofs involving conjunctions and biconditionals (up to here in thislecture.)

Proofs involving disjunctionsExistence and uniqueness proofMore examples of proofs..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 5, 2011 2 / 32

Page 6: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Introduction

About this lecture

Proof strategiesProofs involving negations and conditionals.Proofs involving quantifiersProofs involving conjunctions and biconditionals (up to here in thislecture.)Proofs involving disjunctions

Existence and uniqueness proofMore examples of proofs..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 5, 2011 2 / 32

Page 7: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Introduction

About this lecture

Proof strategiesProofs involving negations and conditionals.Proofs involving quantifiersProofs involving conjunctions and biconditionals (up to here in thislecture.)Proofs involving disjunctionsExistence and uniqueness proof

More examples of proofs..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 5, 2011 2 / 32

Page 8: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Introduction

About this lecture

Proof strategiesProofs involving negations and conditionals.Proofs involving quantifiersProofs involving conjunctions and biconditionals (up to here in thislecture.)Proofs involving disjunctionsExistence and uniqueness proofMore examples of proofs..

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 5, 2011 2 / 32

Page 9: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Introduction

About this lecture

Proof strategiesProofs involving negations and conditionals.Proofs involving quantifiersProofs involving conjunctions and biconditionals (up to here in thislecture.)Proofs involving disjunctionsExistence and uniqueness proofMore examples of proofs..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 5, 2011 2 / 32

Page 10: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Introduction

About this lecture

Proof strategiesProofs involving negations and conditionals.Proofs involving quantifiersProofs involving conjunctions and biconditionals (up to here in thislecture.)Proofs involving disjunctionsExistence and uniqueness proofMore examples of proofs..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 5, 2011 2 / 32

Page 11: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

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.Thinking about Mathematics: The Philosophy of Mathematics, S. Shapiro,Oxford. 2000.

S. Choi (KAIST) Logic and set theory October 5, 2011 3 / 32

Page 12: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

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.Thinking about Mathematics: The Philosophy of Mathematics, S. Shapiro,Oxford. 2000.

S. Choi (KAIST) Logic and set theory October 5, 2011 3 / 32

Page 13: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

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.Thinking about Mathematics: The Philosophy of Mathematics, S. Shapiro,Oxford. 2000.

S. Choi (KAIST) Logic and set theory October 5, 2011 3 / 32

Page 14: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

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.

Thinking about Mathematics: The Philosophy of Mathematics, S. Shapiro,Oxford. 2000.

S. Choi (KAIST) Logic and set theory October 5, 2011 3 / 32

Page 15: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

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.Thinking about Mathematics: The Philosophy of Mathematics, S. Shapiro,Oxford. 2000.

S. Choi (KAIST) Logic and set theory October 5, 2011 3 / 32

Page 16: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

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 5, 2011 4 / 32

Page 17: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

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 5, 2011 4 / 32

Page 18: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

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 5, 2011 4 / 32

Page 19: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proof strategies

Proof strategies

A mathematician and/or logicians use many methods to obtain results:These includes guessing, finding examples and counter-examples,experimenting with computations, analogies, physical experiments, andthought experiments (like pictures).

Sometimes proofs involve constructions, i.e., the proof of polynomial rootexistences by Gauss.However, the only results that the mathematicians accept are given bylogical deductions from the set theoretical foundations. (This includesfinding counter-examples by guessing)There are some controversies as to whether the ZFC is the onlyfoundation.Other fields such as numerical mathematics, physics, and so on havedifferent standards.Because of these differences of standards, it is often very hard tocommunicate with other fields.

S. Choi (KAIST) Logic and set theory October 5, 2011 5 / 32

Page 20: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proof strategies

Proof strategies

A mathematician and/or logicians use many methods to obtain results:These includes guessing, finding examples and counter-examples,experimenting with computations, analogies, physical experiments, andthought experiments (like pictures).Sometimes proofs involve constructions, i.e., the proof of polynomial rootexistences by Gauss.

However, the only results that the mathematicians accept are given bylogical deductions from the set theoretical foundations. (This includesfinding counter-examples by guessing)There are some controversies as to whether the ZFC is the onlyfoundation.Other fields such as numerical mathematics, physics, and so on havedifferent standards.Because of these differences of standards, it is often very hard tocommunicate with other fields.

S. Choi (KAIST) Logic and set theory October 5, 2011 5 / 32

Page 21: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proof strategies

Proof strategies

A mathematician and/or logicians use many methods to obtain results:These includes guessing, finding examples and counter-examples,experimenting with computations, analogies, physical experiments, andthought experiments (like pictures).Sometimes proofs involve constructions, i.e., the proof of polynomial rootexistences by Gauss.However, the only results that the mathematicians accept are given bylogical deductions from the set theoretical foundations. (This includesfinding counter-examples by guessing)

There are some controversies as to whether the ZFC is the onlyfoundation.Other fields such as numerical mathematics, physics, and so on havedifferent standards.Because of these differences of standards, it is often very hard tocommunicate with other fields.

S. Choi (KAIST) Logic and set theory October 5, 2011 5 / 32

Page 22: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proof strategies

Proof strategies

A mathematician and/or logicians use many methods to obtain results:These includes guessing, finding examples and counter-examples,experimenting with computations, analogies, physical experiments, andthought experiments (like pictures).Sometimes proofs involve constructions, i.e., the proof of polynomial rootexistences by Gauss.However, the only results that the mathematicians accept are given bylogical deductions from the set theoretical foundations. (This includesfinding counter-examples by guessing)There are some controversies as to whether the ZFC is the onlyfoundation.

Other fields such as numerical mathematics, physics, and so on havedifferent standards.Because of these differences of standards, it is often very hard tocommunicate with other fields.

S. Choi (KAIST) Logic and set theory October 5, 2011 5 / 32

Page 23: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proof strategies

Proof strategies

A mathematician and/or logicians use many methods to obtain results:These includes guessing, finding examples and counter-examples,experimenting with computations, analogies, physical experiments, andthought experiments (like pictures).Sometimes proofs involve constructions, i.e., the proof of polynomial rootexistences by Gauss.However, the only results that the mathematicians accept are given bylogical deductions from the set theoretical foundations. (This includesfinding counter-examples by guessing)There are some controversies as to whether the ZFC is the onlyfoundation.Other fields such as numerical mathematics, physics, and so on havedifferent standards.

Because of these differences of standards, it is often very hard tocommunicate with other fields.

S. Choi (KAIST) Logic and set theory October 5, 2011 5 / 32

Page 24: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proof strategies

Proof strategies

A mathematician and/or logicians use many methods to obtain results:These includes guessing, finding examples and counter-examples,experimenting with computations, analogies, physical experiments, andthought experiments (like pictures).Sometimes proofs involve constructions, i.e., the proof of polynomial rootexistences by Gauss.However, the only results that the mathematicians accept are given bylogical deductions from the set theoretical foundations. (This includesfinding counter-examples by guessing)There are some controversies as to whether the ZFC is the onlyfoundation.Other fields such as numerical mathematics, physics, and so on havedifferent standards.Because of these differences of standards, it is often very hard tocommunicate with other fields.

S. Choi (KAIST) Logic and set theory October 5, 2011 5 / 32

Page 25: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proof strategies

Finding proofs are hard: example: Fermat’s conjecture...

Finding a proof is an art. However, there are hints.Most proofs that you have to do have no more than 5-6 steps.In this book, the proof strategies are divided intofor a given of form:¬P,P ∧Q.P ∨Q.P → Q,P ↔ Q,∀xP(x),∃xP(x),∃!xP(x).for a goal of form:¬P,P ∧Q,P ∨Q,P → Q,P ↔ Q,∀xP(x),∀n ∈ NP(n),∃xP(x),∃!xP(x).

S. Choi (KAIST) Logic and set theory October 5, 2011 6 / 32

Page 26: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proof strategies

Finding proofs are hard: example: Fermat’s conjecture...Finding a proof is an art. However, there are hints.

Most proofs that you have to do have no more than 5-6 steps.In this book, the proof strategies are divided intofor a given of form:¬P,P ∧Q.P ∨Q.P → Q,P ↔ Q,∀xP(x),∃xP(x),∃!xP(x).for a goal of form:¬P,P ∧Q,P ∨Q,P → Q,P ↔ Q,∀xP(x),∀n ∈ NP(n),∃xP(x),∃!xP(x).

S. Choi (KAIST) Logic and set theory October 5, 2011 6 / 32

Page 27: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proof strategies

Finding proofs are hard: example: Fermat’s conjecture...Finding a proof is an art. However, there are hints.Most proofs that you have to do have no more than 5-6 steps.

In this book, the proof strategies are divided intofor a given of form:¬P,P ∧Q.P ∨Q.P → Q,P ↔ Q,∀xP(x),∃xP(x),∃!xP(x).for a goal of form:¬P,P ∧Q,P ∨Q,P → Q,P ↔ Q,∀xP(x),∀n ∈ NP(n),∃xP(x),∃!xP(x).

S. Choi (KAIST) Logic and set theory October 5, 2011 6 / 32

Page 28: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proof strategies

Finding proofs are hard: example: Fermat’s conjecture...Finding a proof is an art. However, there are hints.Most proofs that you have to do have no more than 5-6 steps.In this book, the proof strategies are divided into

for a given of form:¬P,P ∧Q.P ∨Q.P → Q,P ↔ Q,∀xP(x),∃xP(x),∃!xP(x).for a goal of form:¬P,P ∧Q,P ∨Q,P → Q,P ↔ Q,∀xP(x),∀n ∈ NP(n),∃xP(x),∃!xP(x).

S. Choi (KAIST) Logic and set theory October 5, 2011 6 / 32

Page 29: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proof strategies

Finding proofs are hard: example: Fermat’s conjecture...Finding a proof is an art. However, there are hints.Most proofs that you have to do have no more than 5-6 steps.In this book, the proof strategies are divided intofor a given of form:¬P,P ∧Q.P ∨Q.P → Q,P ↔ Q,∀xP(x),∃xP(x),∃!xP(x).

for a goal of form:¬P,P ∧Q,P ∨Q,P → Q,P ↔ Q,∀xP(x),∀n ∈ NP(n),∃xP(x),∃!xP(x).

S. Choi (KAIST) Logic and set theory October 5, 2011 6 / 32

Page 30: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proof strategies

Finding proofs are hard: example: Fermat’s conjecture...Finding a proof is an art. However, there are hints.Most proofs that you have to do have no more than 5-6 steps.In this book, the proof strategies are divided intofor a given of form:¬P,P ∧Q.P ∨Q.P → Q,P ↔ Q,∀xP(x),∃xP(x),∃!xP(x).for a goal of form:¬P,P ∧Q,P ∨Q,P → Q,P ↔ Q,∀xP(x),∀n ∈ NP(n),∃xP(x),∃!xP(x).

S. Choi (KAIST) Logic and set theory October 5, 2011 6 / 32

Page 31: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proof strategies

We use a “structural method” in this book. The method is that of divideand conquer or "Top down" approach.

This means breaking down the proof into smaller and smaller pieceswhich are easier to prove or already proven by someone else.Never assert anything until you can justify it fully using hypothesis or theconclusions reached earlier.The basic assumption we will have in mathematics is the ZFC.N,Z,Q, and R are the important sets.

S. Choi (KAIST) Logic and set theory October 5, 2011 7 / 32

Page 32: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proof strategies

We use a “structural method” in this book. The method is that of divideand conquer or "Top down" approach.This means breaking down the proof into smaller and smaller pieceswhich are easier to prove or already proven by someone else.

Never assert anything until you can justify it fully using hypothesis or theconclusions reached earlier.The basic assumption we will have in mathematics is the ZFC.N,Z,Q, and R are the important sets.

S. Choi (KAIST) Logic and set theory October 5, 2011 7 / 32

Page 33: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proof strategies

We use a “structural method” in this book. The method is that of divideand conquer or "Top down" approach.This means breaking down the proof into smaller and smaller pieceswhich are easier to prove or already proven by someone else.Never assert anything until you can justify it fully using hypothesis or theconclusions reached earlier.

The basic assumption we will have in mathematics is the ZFC.N,Z,Q, and R are the important sets.

S. Choi (KAIST) Logic and set theory October 5, 2011 7 / 32

Page 34: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proof strategies

We use a “structural method” in this book. The method is that of divideand conquer or "Top down" approach.This means breaking down the proof into smaller and smaller pieceswhich are easier to prove or already proven by someone else.Never assert anything until you can justify it fully using hypothesis or theconclusions reached earlier.The basic assumption we will have in mathematics is the ZFC.

N,Z,Q, and R are the important sets.

S. Choi (KAIST) Logic and set theory October 5, 2011 7 / 32

Page 35: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proof strategies

We use a “structural method” in this book. The method is that of divideand conquer or "Top down" approach.This means breaking down the proof into smaller and smaller pieceswhich are easier to prove or already proven by someone else.Never assert anything until you can justify it fully using hypothesis or theconclusions reached earlier.The basic assumption we will have in mathematics is the ZFC.N,Z,Q, and R are the important sets.

S. Choi (KAIST) Logic and set theory October 5, 2011 7 / 32

Page 36: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To prove the form P → Q

First method: Assume P and prove Q. Or add P to the list of hypothesisand prove Q.

Given Goal−−−− P → Q−−−−

Change toGiven Goal−−−− Q−−−−

P

S. Choi (KAIST) Logic and set theory October 5, 2011 8 / 32

Page 37: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To prove the form P → Q

First method: Assume P and prove Q. Or add P to the list of hypothesisand prove Q.

Given Goal−−−− P → Q−−−−

Change toGiven Goal−−−− Q−−−−

P

S. Choi (KAIST) Logic and set theory October 5, 2011 8 / 32

Page 38: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To prove the form P → Q

First method: Assume P and prove Q. Or add P to the list of hypothesisand prove Q.

Given Goal−−−− P → Q−−−−

Change toGiven Goal−−−− Q−−−−

P

S. Choi (KAIST) Logic and set theory October 5, 2011 8 / 32

Page 39: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

Example 0 < a < b → a2 < b2.

Given Goal−−− 0 < a < b → a2 < b2

−−−−

Change toGiven Goal−−−− a2 < b2

−−−−0 < a < b

Given Goal0 < a < b a2 < b2

0 < a2 < ab0 < ab < b2

S. Choi (KAIST) Logic and set theory October 5, 2011 9 / 32

Page 40: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

Example 0 < a < b → a2 < b2.

Given Goal−−− 0 < a < b → a2 < b2

−−−−

Change toGiven Goal−−−− a2 < b2

−−−−0 < a < b

Given Goal0 < a < b a2 < b2

0 < a2 < ab0 < ab < b2

S. Choi (KAIST) Logic and set theory October 5, 2011 9 / 32

Page 41: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

Example 0 < a < b → a2 < b2.

Given Goal−−− 0 < a < b → a2 < b2

−−−−

Change toGiven Goal−−−− a2 < b2

−−−−0 < a < b

Given Goal0 < a < b a2 < b2

0 < a2 < ab0 < ab < b2

S. Choi (KAIST) Logic and set theory October 5, 2011 9 / 32

Page 42: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

Example 0 < a < b → a2 < b2.

Given Goal−−− 0 < a < b → a2 < b2

−−−−

Change toGiven Goal−−−− a2 < b2

−−−−0 < a < b

Given Goal0 < a < b a2 < b2

0 < a2 < ab0 < ab < b2

S. Choi (KAIST) Logic and set theory October 5, 2011 9 / 32

Page 43: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To prove P → Q

P → Q ↔ ¬Q → ¬P.

Second method: Assume ¬Q and prove ¬P.

Given Goal−−−− P → Q−−−−

Change toGiven Goal−−−− ¬P−−−−¬Q

S. Choi (KAIST) Logic and set theory October 5, 2011 10 / 32

Page 44: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To prove P → Q

P → Q ↔ ¬Q → ¬P.Second method: Assume ¬Q and prove ¬P.

Given Goal−−−− P → Q−−−−

Change toGiven Goal−−−− ¬P−−−−¬Q

S. Choi (KAIST) Logic and set theory October 5, 2011 10 / 32

Page 45: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To prove P → Q

P → Q ↔ ¬Q → ¬P.Second method: Assume ¬Q and prove ¬P.

Given Goal−−−− P → Q−−−−

Change toGiven Goal−−−− ¬P−−−−¬Q

S. Choi (KAIST) Logic and set theory October 5, 2011 10 / 32

Page 46: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To prove P → Q

P → Q ↔ ¬Q → ¬P.Second method: Assume ¬Q and prove ¬P.

Given Goal−−−− P → Q−−−−

Change toGiven Goal−−−− ¬P−−−−¬Q

S. Choi (KAIST) Logic and set theory October 5, 2011 10 / 32

Page 47: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

Example: Let a > b. Then if ac ≤ bc, then c ≤ 0.

Given Goala,b, c are real numbers (ac ≤ bc)→ (c ≤ 0)

a > b

Given Goala,b, c are real numbers ac > bc

a > bc > 0

S. Choi (KAIST) Logic and set theory October 5, 2011 11 / 32

Page 48: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

Example: Let a > b. Then if ac ≤ bc, then c ≤ 0.

Given Goala,b, c are real numbers (ac ≤ bc)→ (c ≤ 0)

a > b

Given Goala,b, c are real numbers ac > bc

a > bc > 0

S. Choi (KAIST) Logic and set theory October 5, 2011 11 / 32

Page 49: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

Example: Let a > b. Then if ac ≤ bc, then c ≤ 0.

Given Goala,b, c are real numbers (ac ≤ bc)→ (c ≤ 0)

a > b

Given Goala,b, c are real numbers ac > bc

a > bc > 0

S. Choi (KAIST) Logic and set theory October 5, 2011 11 / 32

Page 50: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

Write this in English

Theorem: Let a > b. Then if ac ≤ bc, then c ≤ 0.

Proof: We will prove this by contrapositives. To prove ac ≤ bc → c ≤ 0. Itis sufficient to prove c > 0→ ac > bc. Suppose c > 0. Then ac > bc bya > b.

S. Choi (KAIST) Logic and set theory October 5, 2011 12 / 32

Page 51: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

Write this in English

Theorem: Let a > b. Then if ac ≤ bc, then c ≤ 0.Proof: We will prove this by contrapositives. To prove ac ≤ bc → c ≤ 0. Itis sufficient to prove c > 0→ ac > bc. Suppose c > 0. Then ac > bc bya > b.

S. Choi (KAIST) Logic and set theory October 5, 2011 12 / 32

Page 52: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To prove a goal of the form ¬P.

First method: Try to re-express ¬P in some other form. (in a positiveform)

Example: Suppose that A ∩ C ⊂ B and a ∈ C. Prove a /∈ A− B.

Given GoalA ∩ C ⊂ B a /∈ A− B

a ∈ C

We change a /∈ A− B.a /∈ A− B ↔ ¬(a ∈ A ∧ b /∈ B). ↔ (a /∈ A ∨ a ∈ B).↔ (a ∈ A→ a ∈ B).

Given GoalA ∩ C ⊂ B a ∈ A→ a ∈ B

a ∈ C

S. Choi (KAIST) Logic and set theory October 5, 2011 13 / 32

Page 53: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To prove a goal of the form ¬P.

First method: Try to re-express ¬P in some other form. (in a positiveform)Example: Suppose that A ∩ C ⊂ B and a ∈ C. Prove a /∈ A− B.

Given GoalA ∩ C ⊂ B a /∈ A− B

a ∈ C

We change a /∈ A− B.a /∈ A− B ↔ ¬(a ∈ A ∧ b /∈ B). ↔ (a /∈ A ∨ a ∈ B).↔ (a ∈ A→ a ∈ B).

Given GoalA ∩ C ⊂ B a ∈ A→ a ∈ B

a ∈ C

S. Choi (KAIST) Logic and set theory October 5, 2011 13 / 32

Page 54: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To prove a goal of the form ¬P.

First method: Try to re-express ¬P in some other form. (in a positiveform)Example: Suppose that A ∩ C ⊂ B and a ∈ C. Prove a /∈ A− B.

Given GoalA ∩ C ⊂ B a /∈ A− B

a ∈ C

We change a /∈ A− B.a /∈ A− B ↔ ¬(a ∈ A ∧ b /∈ B). ↔ (a /∈ A ∨ a ∈ B).↔ (a ∈ A→ a ∈ B).

Given GoalA ∩ C ⊂ B a ∈ A→ a ∈ B

a ∈ C

S. Choi (KAIST) Logic and set theory October 5, 2011 13 / 32

Page 55: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To prove a goal of the form ¬P.

First method: Try to re-express ¬P in some other form. (in a positiveform)Example: Suppose that A ∩ C ⊂ B and a ∈ C. Prove a /∈ A− B.

Given GoalA ∩ C ⊂ B a /∈ A− B

a ∈ C

We change a /∈ A− B.

a /∈ A− B ↔ ¬(a ∈ A ∧ b /∈ B). ↔ (a /∈ A ∨ a ∈ B).↔ (a ∈ A→ a ∈ B).

Given GoalA ∩ C ⊂ B a ∈ A→ a ∈ B

a ∈ C

S. Choi (KAIST) Logic and set theory October 5, 2011 13 / 32

Page 56: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To prove a goal of the form ¬P.

First method: Try to re-express ¬P in some other form. (in a positiveform)Example: Suppose that A ∩ C ⊂ B and a ∈ C. Prove a /∈ A− B.

Given GoalA ∩ C ⊂ B a /∈ A− B

a ∈ C

We change a /∈ A− B.a /∈ A− B ↔ ¬(a ∈ A ∧ b /∈ B). ↔ (a /∈ A ∨ a ∈ B).↔ (a ∈ A→ a ∈ B).

Given GoalA ∩ C ⊂ B a ∈ A→ a ∈ B

a ∈ C

S. Choi (KAIST) Logic and set theory October 5, 2011 13 / 32

Page 57: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To prove a goal of the form ¬P.

First method: Try to re-express ¬P in some other form. (in a positiveform)Example: Suppose that A ∩ C ⊂ B and a ∈ C. Prove a /∈ A− B.

Given GoalA ∩ C ⊂ B a /∈ A− B

a ∈ C

We change a /∈ A− B.a /∈ A− B ↔ ¬(a ∈ A ∧ b /∈ B). ↔ (a /∈ A ∨ a ∈ B).↔ (a ∈ A→ a ∈ B).

Given GoalA ∩ C ⊂ B a ∈ A→ a ∈ B

a ∈ C

S. Choi (KAIST) Logic and set theory October 5, 2011 13 / 32

Page 58: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

Given GoalA ∩ C ⊂ B a ∈ B

a ∈ Ca ∈ A

Theorem: Suppose that A ∩ C ⊂ B and a ∈ C. Prove a /∈ A− B.Proof: To show a /∈ A− B, it is equivalent to show a ∈ A→ a ∈ B. (Seeabove). Assume a ∈ A. Since A ∩ C ⊂ B and a ∈ C, it follows thata ∈ B.

S. Choi (KAIST) Logic and set theory October 5, 2011 14 / 32

Page 59: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

Given GoalA ∩ C ⊂ B a ∈ B

a ∈ Ca ∈ A

Theorem: Suppose that A ∩ C ⊂ B and a ∈ C. Prove a /∈ A− B.

Proof: To show a /∈ A− B, it is equivalent to show a ∈ A→ a ∈ B. (Seeabove). Assume a ∈ A. Since A ∩ C ⊂ B and a ∈ C, it follows thata ∈ B.

S. Choi (KAIST) Logic and set theory October 5, 2011 14 / 32

Page 60: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

Given GoalA ∩ C ⊂ B a ∈ B

a ∈ Ca ∈ A

Theorem: Suppose that A ∩ C ⊂ B and a ∈ C. Prove a /∈ A− B.Proof: To show a /∈ A− B, it is equivalent to show a ∈ A→ a ∈ B. (Seeabove). Assume a ∈ A. Since A ∩ C ⊂ B and a ∈ C, it follows thata ∈ B.

S. Choi (KAIST) Logic and set theory October 5, 2011 14 / 32

Page 61: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To prove a goal of the form ¬P.

Second method: Assume P and find a contradiction:

As above: Show A ∩ C ⊂ B, a ∈ C. Prove a /∈ A− B.

Given GoalA ∩ C ⊂ B a /∈ A− B

a ∈ C

Given GoalA ∩ C ⊂ B contradiction

a ∈ Ca ∈ A− B

S. Choi (KAIST) Logic and set theory October 5, 2011 15 / 32

Page 62: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To prove a goal of the form ¬P.

Second method: Assume P and find a contradiction:As above: Show A ∩ C ⊂ B, a ∈ C. Prove a /∈ A− B.

Given GoalA ∩ C ⊂ B a /∈ A− B

a ∈ C

Given GoalA ∩ C ⊂ B contradiction

a ∈ Ca ∈ A− B

S. Choi (KAIST) Logic and set theory October 5, 2011 15 / 32

Page 63: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To prove a goal of the form ¬P.

Second method: Assume P and find a contradiction:As above: Show A ∩ C ⊂ B, a ∈ C. Prove a /∈ A− B.

Given GoalA ∩ C ⊂ B a /∈ A− B

a ∈ C

Given GoalA ∩ C ⊂ B contradiction

a ∈ Ca ∈ A− B

S. Choi (KAIST) Logic and set theory October 5, 2011 15 / 32

Page 64: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To prove a goal of the form ¬P.

Second method: Assume P and find a contradiction:As above: Show A ∩ C ⊂ B, a ∈ C. Prove a /∈ A− B.

Given GoalA ∩ C ⊂ B a /∈ A− B

a ∈ C

Given GoalA ∩ C ⊂ B contradiction

a ∈ Ca ∈ A− B

S. Choi (KAIST) Logic and set theory October 5, 2011 15 / 32

Page 65: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To prove a goal of the form ¬P.

Given GoalA ∩ C ⊂ B contradiction

a ∈ Ca ∈ A− B

a ∈ (A ∩ C)− Ba ∈ ∅

S. Choi (KAIST) Logic and set theory October 5, 2011 16 / 32

Page 66: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To use a given of the form ¬P.

First method: If we are doing a proof by contradiction, then use P as thegoal.

Given Goal¬P contradiction

−−−−

Change toGiven Goal¬P P

−−−−

Second method: re-express in some other form (positive form)

S. Choi (KAIST) Logic and set theory October 5, 2011 17 / 32

Page 67: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To use a given of the form ¬P.

First method: If we are doing a proof by contradiction, then use P as thegoal.

Given Goal¬P contradiction

−−−−

Change toGiven Goal¬P P

−−−−

Second method: re-express in some other form (positive form)

S. Choi (KAIST) Logic and set theory October 5, 2011 17 / 32

Page 68: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To use a given of the form ¬P.

First method: If we are doing a proof by contradiction, then use P as thegoal.

Given Goal¬P contradiction

−−−−

Change toGiven Goal¬P P

−−−−

Second method: re-express in some other form (positive form)

S. Choi (KAIST) Logic and set theory October 5, 2011 17 / 32

Page 69: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To use a given of the form ¬P.

First method: If we are doing a proof by contradiction, then use P as thegoal.

Given Goal¬P contradiction

−−−−

Change toGiven Goal¬P P

−−−−

Second method: re-express in some other form (positive form)

S. Choi (KAIST) Logic and set theory October 5, 2011 17 / 32

Page 70: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To use the given of the form P → Q

Use modus ponens P,P → Q ` Q.

Use modus tollens P → Q,¬Q ` ¬P.Example: Suppose A ⊂ B,a ∈ A, and a and b are not both elements of B.Prove b /∈ B.

Given GoalA ⊂ B b /∈ Ba ∈ A

¬(a ∈ B ∧ b ∈ B)

Given GoalA ⊂ B b /∈ Ba ∈ A

(a ∈ B → b /∈ B)

S. Choi (KAIST) Logic and set theory October 5, 2011 18 / 32

Page 71: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To use the given of the form P → Q

Use modus ponens P,P → Q ` Q.Use modus tollens P → Q,¬Q ` ¬P.

Example: Suppose A ⊂ B,a ∈ A, and a and b are not both elements of B.Prove b /∈ B.

Given GoalA ⊂ B b /∈ Ba ∈ A

¬(a ∈ B ∧ b ∈ B)

Given GoalA ⊂ B b /∈ Ba ∈ A

(a ∈ B → b /∈ B)

S. Choi (KAIST) Logic and set theory October 5, 2011 18 / 32

Page 72: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To use the given of the form P → Q

Use modus ponens P,P → Q ` Q.Use modus tollens P → Q,¬Q ` ¬P.Example: Suppose A ⊂ B,a ∈ A, and a and b are not both elements of B.Prove b /∈ B.

Given GoalA ⊂ B b /∈ Ba ∈ A

¬(a ∈ B ∧ b ∈ B)

Given GoalA ⊂ B b /∈ Ba ∈ A

(a ∈ B → b /∈ B)

S. Choi (KAIST) Logic and set theory October 5, 2011 18 / 32

Page 73: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To use the given of the form P → Q

Use modus ponens P,P → Q ` Q.Use modus tollens P → Q,¬Q ` ¬P.Example: Suppose A ⊂ B,a ∈ A, and a and b are not both elements of B.Prove b /∈ B.

Given GoalA ⊂ B b /∈ Ba ∈ A

¬(a ∈ B ∧ b ∈ B)

Given GoalA ⊂ B b /∈ Ba ∈ A

(a ∈ B → b /∈ B)

S. Choi (KAIST) Logic and set theory October 5, 2011 18 / 32

Page 74: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

To use the given of the form P → Q

Use modus ponens P,P → Q ` Q.Use modus tollens P → Q,¬Q ` ¬P.Example: Suppose A ⊂ B,a ∈ A, and a and b are not both elements of B.Prove b /∈ B.

Given GoalA ⊂ B b /∈ Ba ∈ A

¬(a ∈ B ∧ b ∈ B)

Given GoalA ⊂ B b /∈ Ba ∈ A

(a ∈ B → b /∈ B)

S. Choi (KAIST) Logic and set theory October 5, 2011 18 / 32

Page 75: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

Given GoalA ⊂ B b /∈ Ba ∈ A

(a ∈ B → b /∈ B)a ∈ B

Theorem: Suppose A ⊂ B,a ∈ A, and a and b are not both elements ofB. Then b /∈ B.Proof: Since a and b are not both elements of B, it follows that if a is anelement of B, then b is not an element of B. Since a ∈ A, we have a ∈ B.Thus b is not an element of B.

S. Choi (KAIST) Logic and set theory October 5, 2011 19 / 32

Page 76: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

Given GoalA ⊂ B b /∈ Ba ∈ A

(a ∈ B → b /∈ B)a ∈ B

Theorem: Suppose A ⊂ B,a ∈ A, and a and b are not both elements ofB. Then b /∈ B.

Proof: Since a and b are not both elements of B, it follows that if a is anelement of B, then b is not an element of B. Since a ∈ A, we have a ∈ B.Thus b is not an element of B.

S. Choi (KAIST) Logic and set theory October 5, 2011 19 / 32

Page 77: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving negations and conditionals.

Given GoalA ⊂ B b /∈ Ba ∈ A

(a ∈ B → b /∈ B)a ∈ B

Theorem: Suppose A ⊂ B,a ∈ A, and a and b are not both elements ofB. Then b /∈ B.Proof: Since a and b are not both elements of B, it follows that if a is anelement of B, then b is not an element of B. Since a ∈ A, we have a ∈ B.Thus b is not an element of B.

S. Choi (KAIST) Logic and set theory October 5, 2011 19 / 32

Page 78: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

To show a goal of the form ∀xP(x)

We introduce some arbitrary variable x in the assumption and prove P(x).

Given Goal−−−− ∀xP(x)−−−−

Given Goal−−−− P(x)−−−−

x is an arbitrary variable.

S. Choi (KAIST) Logic and set theory October 5, 2011 20 / 32

Page 79: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

To show a goal of the form ∀xP(x)

We introduce some arbitrary variable x in the assumption and prove P(x).

Given Goal−−−− ∀xP(x)−−−−

Given Goal−−−− P(x)−−−−

x is an arbitrary variable.

S. Choi (KAIST) Logic and set theory October 5, 2011 20 / 32

Page 80: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

To show a goal of the form ∀xP(x)

We introduce some arbitrary variable x in the assumption and prove P(x).

Given Goal−−−− ∀xP(x)−−−−

Given Goal−−−− P(x)−−−−

x is an arbitrary variable.

S. Choi (KAIST) Logic and set theory October 5, 2011 20 / 32

Page 81: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Examples

A,B,C are sets. A− B ⊂ C. Prove A− C ⊂ B.

Given GoalA− B ⊂ C A− C ⊂ B

Given Goal∀x(x ∈ A− B → x ∈ C) ∀x(x ∈ A− C → x ∈ B)

Given Goal∀x(x ∈ A− B → x ∈ C) x ∈ A− C → x ∈ B

x arbitrary

S. Choi (KAIST) Logic and set theory October 5, 2011 21 / 32

Page 82: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Examples

A,B,C are sets. A− B ⊂ C. Prove A− C ⊂ B.

Given GoalA− B ⊂ C A− C ⊂ B

Given Goal∀x(x ∈ A− B → x ∈ C) ∀x(x ∈ A− C → x ∈ B)

Given Goal∀x(x ∈ A− B → x ∈ C) x ∈ A− C → x ∈ B

x arbitrary

S. Choi (KAIST) Logic and set theory October 5, 2011 21 / 32

Page 83: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Examples

A,B,C are sets. A− B ⊂ C. Prove A− C ⊂ B.

Given GoalA− B ⊂ C A− C ⊂ B

Given Goal∀x(x ∈ A− B → x ∈ C) ∀x(x ∈ A− C → x ∈ B)

Given Goal∀x(x ∈ A− B → x ∈ C) x ∈ A− C → x ∈ B

x arbitrary

S. Choi (KAIST) Logic and set theory October 5, 2011 21 / 32

Page 84: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Examples

A,B,C are sets. A− B ⊂ C. Prove A− C ⊂ B.

Given GoalA− B ⊂ C A− C ⊂ B

Given Goal∀x(x ∈ A− B → x ∈ C) ∀x(x ∈ A− C → x ∈ B)

Given Goal∀x(x ∈ A− B → x ∈ C) x ∈ A− C → x ∈ B

x arbitrary

S. Choi (KAIST) Logic and set theory October 5, 2011 21 / 32

Page 85: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Examples

Given Goal∀x(x ∈ A− B → x ∈ C) x ∈ B

x arbitraryx ∈ A− C

Given Goal∀x(x ∈ A− B → x ∈ C) contradiction

x ∈ Ax /∈ Cx /∈ B

S. Choi (KAIST) Logic and set theory October 5, 2011 22 / 32

Page 86: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Examples

Given Goal∀x(x ∈ A− B → x ∈ C) x ∈ B

x arbitraryx ∈ A− C

Given Goal∀x(x ∈ A− B → x ∈ C) contradiction

x ∈ Ax /∈ Cx /∈ B

S. Choi (KAIST) Logic and set theory October 5, 2011 22 / 32

Page 87: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Given Goal∀x(x ∈ A− B → x ∈ C) x ∈ C

x ∈ Ax /∈ Cx /∈ B

Read the English proof also.

S. Choi (KAIST) Logic and set theory October 5, 2011 23 / 32

Page 88: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Given Goal∀x(x ∈ A− B → x ∈ C) x ∈ C

x ∈ Ax /∈ Cx /∈ B

Read the English proof also.

S. Choi (KAIST) Logic and set theory October 5, 2011 23 / 32

Page 89: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

To prove a goal of form ∃xP(x)

We guess x and show P(x).

Given Goal−−−− ∃xP(x)−−−−

Given Goal−−−− P(x)−−−−

x the value you decided

S. Choi (KAIST) Logic and set theory October 5, 2011 24 / 32

Page 90: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

To prove a goal of form ∃xP(x)

We guess x and show P(x).

Given Goal−−−− ∃xP(x)−−−−

Given Goal−−−− P(x)−−−−

x the value you decided

S. Choi (KAIST) Logic and set theory October 5, 2011 24 / 32

Page 91: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

To prove a goal of form ∃xP(x)

We guess x and show P(x).

Given Goal−−−− ∃xP(x)−−−−

Given Goal−−−− P(x)−−−−

x the value you decided

S. Choi (KAIST) Logic and set theory October 5, 2011 24 / 32

Page 92: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

∃x , |x2 − 1| < 1/2.

Given Goalx ∈ R ∃x , |x2 − 1| < 1/2

Given Goalx ∈ R ∃x , |x2 − 1| < 1/2

x = 1.1 (x2 = 1.21, |x2 − 1| = 0.21 < 1/2)

S. Choi (KAIST) Logic and set theory October 5, 2011 25 / 32

Page 93: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

∃x , |x2 − 1| < 1/2.

Given Goalx ∈ R ∃x , |x2 − 1| < 1/2

Given Goalx ∈ R ∃x , |x2 − 1| < 1/2

x = 1.1 (x2 = 1.21, |x2 − 1| = 0.21 < 1/2)

S. Choi (KAIST) Logic and set theory October 5, 2011 25 / 32

Page 94: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

∃x , |x2 − 1| < 1/2.

Given Goalx ∈ R ∃x , |x2 − 1| < 1/2

Given Goalx ∈ R ∃x , |x2 − 1| < 1/2

x = 1.1 (x2 = 1.21, |x2 − 1| = 0.21 < 1/2)

S. Choi (KAIST) Logic and set theory October 5, 2011 25 / 32

Page 95: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

To use a given of form ∃xP(x) or ∀xP(x)

∃xP(x): Introduce new variable x0. P(x0) is true (existential instantiation)

∀xP(x): wait until a particular value a for x to pop-up and use P(a).Example: F ,G families of sets. Suppose that F ∩G 6= ∅. Then

⋂F ⊂

⋃G.

Given GoalF ∩ G 6= ∅ ∀x(x ∈

⋂F → x ∈

⋃G)

S. Choi (KAIST) Logic and set theory October 5, 2011 26 / 32

Page 96: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

To use a given of form ∃xP(x) or ∀xP(x)

∃xP(x): Introduce new variable x0. P(x0) is true (existential instantiation)∀xP(x): wait until a particular value a for x to pop-up and use P(a).

Example: F ,G families of sets. Suppose that F ∩G 6= ∅. Then⋂F ⊂

⋃G.

Given GoalF ∩ G 6= ∅ ∀x(x ∈

⋂F → x ∈

⋃G)

S. Choi (KAIST) Logic and set theory October 5, 2011 26 / 32

Page 97: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

To use a given of form ∃xP(x) or ∀xP(x)

∃xP(x): Introduce new variable x0. P(x0) is true (existential instantiation)∀xP(x): wait until a particular value a for x to pop-up and use P(a).Example: F ,G families of sets. Suppose that F ∩G 6= ∅. Then

⋂F ⊂

⋃G.

Given GoalF ∩ G 6= ∅ ∀x(x ∈

⋂F → x ∈

⋃G)

S. Choi (KAIST) Logic and set theory October 5, 2011 26 / 32

Page 98: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

To use a given of form ∃xP(x) or ∀xP(x)

∃xP(x): Introduce new variable x0. P(x0) is true (existential instantiation)∀xP(x): wait until a particular value a for x to pop-up and use P(a).Example: F ,G families of sets. Suppose that F ∩G 6= ∅. Then

⋂F ⊂

⋃G.

Given GoalF ∩ G 6= ∅ ∀x(x ∈

⋂F → x ∈

⋃G)

S. Choi (KAIST) Logic and set theory October 5, 2011 26 / 32

Page 99: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Given GoalF ∩ G 6= ∅ x ∈

⋃G

x ∈⋂F

Given Goal∃A(A ∈ F ∩ G) ∃A ∈ G(x ∈ A)∀A ∈ F(x ∈ A)

Given GoalA0 ∈ F ∃A ∈ G(x ∈ A)A0 ∈ G

∀A ∈ F(x ∈ A)x ∈ A0

S. Choi (KAIST) Logic and set theory October 5, 2011 27 / 32

Page 100: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Given GoalF ∩ G 6= ∅ x ∈

⋃G

x ∈⋂F

Given Goal∃A(A ∈ F ∩ G) ∃A ∈ G(x ∈ A)∀A ∈ F(x ∈ A)

Given GoalA0 ∈ F ∃A ∈ G(x ∈ A)A0 ∈ G

∀A ∈ F(x ∈ A)x ∈ A0

S. Choi (KAIST) Logic and set theory October 5, 2011 27 / 32

Page 101: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Given GoalF ∩ G 6= ∅ x ∈

⋃G

x ∈⋂F

Given Goal∃A(A ∈ F ∩ G) ∃A ∈ G(x ∈ A)∀A ∈ F(x ∈ A)

Given GoalA0 ∈ F ∃A ∈ G(x ∈ A)A0 ∈ G

∀A ∈ F(x ∈ A)x ∈ A0

S. Choi (KAIST) Logic and set theory October 5, 2011 27 / 32

Page 102: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Given GoalA0 ∈ F ∃A ∈ G(x ∈ A)A0 ∈ G

∀A ∈ F(x ∈ A)x ∈ A0 ( Use A = A0)

Theorem: Suppose F and G are families of sets. F ∩ G = ∅. Then⋂F ⊂

⋃G.

Proof: Suppose x ∈⋂F . Since F ∩ G 6= ∅. Let A0 be the common

element. Then A0 ∈ F . Thus, x ∈ A0 as A0 ∈ F . Since A0 ∈ G, thenx ∈

⋃G.

S. Choi (KAIST) Logic and set theory October 5, 2011 28 / 32

Page 103: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Given GoalA0 ∈ F ∃A ∈ G(x ∈ A)A0 ∈ G

∀A ∈ F(x ∈ A)x ∈ A0 ( Use A = A0)

Theorem: Suppose F and G are families of sets. F ∩ G = ∅. Then⋂F ⊂

⋃G.

Proof: Suppose x ∈⋂F . Since F ∩ G 6= ∅. Let A0 be the common

element. Then A0 ∈ F . Thus, x ∈ A0 as A0 ∈ F . Since A0 ∈ G, thenx ∈

⋃G.

S. Choi (KAIST) Logic and set theory October 5, 2011 28 / 32

Page 104: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Given GoalA0 ∈ F ∃A ∈ G(x ∈ A)A0 ∈ G

∀A ∈ F(x ∈ A)x ∈ A0 ( Use A = A0)

Theorem: Suppose F and G are families of sets. F ∩ G = ∅. Then⋂F ⊂

⋃G.

Proof: Suppose x ∈⋂F . Since F ∩ G 6= ∅. Let A0 be the common

element. Then A0 ∈ F . Thus, x ∈ A0 as A0 ∈ F . Since A0 ∈ G, thenx ∈

⋃G.

S. Choi (KAIST) Logic and set theory October 5, 2011 28 / 32

Page 105: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Proofs involving conjunctions and biconditionals

To prove a goal of the form P ∧Q: Prove P and Q separately.

To use P ∧Q: Regard as P and Q.To prove a goal P ↔ Q: Prove P → Q and Q → P.To use P ↔ Q: Treat as two givens P → Q and Q → P.

S. Choi (KAIST) Logic and set theory October 5, 2011 29 / 32

Page 106: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Proofs involving conjunctions and biconditionals

To prove a goal of the form P ∧Q: Prove P and Q separately.To use P ∧Q: Regard as P and Q.

To prove a goal P ↔ Q: Prove P → Q and Q → P.To use P ↔ Q: Treat as two givens P → Q and Q → P.

S. Choi (KAIST) Logic and set theory October 5, 2011 29 / 32

Page 107: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Proofs involving conjunctions and biconditionals

To prove a goal of the form P ∧Q: Prove P and Q separately.To use P ∧Q: Regard as P and Q.To prove a goal P ↔ Q: Prove P → Q and Q → P.

To use P ↔ Q: Treat as two givens P → Q and Q → P.

S. Choi (KAIST) Logic and set theory October 5, 2011 29 / 32

Page 108: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Proofs involving conjunctions and biconditionals

To prove a goal of the form P ∧Q: Prove P and Q separately.To use P ∧Q: Regard as P and Q.To prove a goal P ↔ Q: Prove P → Q and Q → P.To use P ↔ Q: Treat as two givens P → Q and Q → P.

S. Choi (KAIST) Logic and set theory October 5, 2011 29 / 32

Page 109: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Example

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

Prove→: ∀x¬P(x)→ ¬∃xP(x)

Given Goal∀x¬P(x) contradiction∃xP(x)

Given Goal∀x¬P(x) contradiction

P(x0)

Given Goal∀¬P(x) contradictionP(x0)¬P(x0)

S. Choi (KAIST) Logic and set theory October 5, 2011 30 / 32

Page 110: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Example

Prove ∀x¬P(x)↔ ¬∃xP(x).Prove→: ∀x¬P(x)→ ¬∃xP(x)

Given Goal∀x¬P(x) contradiction∃xP(x)

Given Goal∀x¬P(x) contradiction

P(x0)

Given Goal∀¬P(x) contradictionP(x0)¬P(x0)

S. Choi (KAIST) Logic and set theory October 5, 2011 30 / 32

Page 111: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Example

Prove ∀x¬P(x)↔ ¬∃xP(x).Prove→: ∀x¬P(x)→ ¬∃xP(x)

Given Goal∀x¬P(x) contradiction∃xP(x)

Given Goal∀x¬P(x) contradiction

P(x0)

Given Goal∀¬P(x) contradictionP(x0)¬P(x0)

S. Choi (KAIST) Logic and set theory October 5, 2011 30 / 32

Page 112: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Example

Prove ∀x¬P(x)↔ ¬∃xP(x).Prove→: ∀x¬P(x)→ ¬∃xP(x)

Given Goal∀x¬P(x) contradiction∃xP(x)

Given Goal∀x¬P(x) contradiction

P(x0)

Given Goal∀¬P(x) contradictionP(x0)¬P(x0)

S. Choi (KAIST) Logic and set theory October 5, 2011 30 / 32

Page 113: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Example

Prove ∀x¬P(x)↔ ¬∃xP(x).Prove→: ∀x¬P(x)→ ¬∃xP(x)

Given Goal∀x¬P(x) contradiction∃xP(x)

Given Goal∀x¬P(x) contradiction

P(x0)

Given Goal∀¬P(x) contradictionP(x0)¬P(x0)

S. Choi (KAIST) Logic and set theory October 5, 2011 30 / 32

Page 114: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Example

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

Prove←: ¬∃xP(x)→ ∀x¬P(x)

Given Goal¬∃xP(x) ∀x¬P(x)

Given Goal¬∃xP(x) ¬P(x)

x arbitrary

Given Goal¬∃xP(x) contradiction

x arbitraryP(x)

S. Choi (KAIST) Logic and set theory October 5, 2011 31 / 32

Page 115: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Example

Prove ∀x¬P(x)↔ ¬∃xP(x).Prove←: ¬∃xP(x)→ ∀x¬P(x)

Given Goal¬∃xP(x) ∀x¬P(x)

Given Goal¬∃xP(x) ¬P(x)

x arbitrary

Given Goal¬∃xP(x) contradiction

x arbitraryP(x)

S. Choi (KAIST) Logic and set theory October 5, 2011 31 / 32

Page 116: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Example

Prove ∀x¬P(x)↔ ¬∃xP(x).Prove←: ¬∃xP(x)→ ∀x¬P(x)

Given Goal¬∃xP(x) ∀x¬P(x)

Given Goal¬∃xP(x) ¬P(x)

x arbitrary

Given Goal¬∃xP(x) contradiction

x arbitraryP(x)

S. Choi (KAIST) Logic and set theory October 5, 2011 31 / 32

Page 117: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Example

Prove ∀x¬P(x)↔ ¬∃xP(x).Prove←: ¬∃xP(x)→ ∀x¬P(x)

Given Goal¬∃xP(x) ∀x¬P(x)

Given Goal¬∃xP(x) ¬P(x)

x arbitrary

Given Goal¬∃xP(x) contradiction

x arbitraryP(x)

S. Choi (KAIST) Logic and set theory October 5, 2011 31 / 32

Page 118: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Example

Prove ∀x¬P(x)↔ ¬∃xP(x).Prove←: ¬∃xP(x)→ ∀x¬P(x)

Given Goal¬∃xP(x) ∀x¬P(x)

Given Goal¬∃xP(x) ¬P(x)

x arbitrary

Given Goal¬∃xP(x) contradiction

x arbitraryP(x)

S. Choi (KAIST) Logic and set theory October 5, 2011 31 / 32

Page 119: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Given Goal¬∃xP(x) ∃xP(x)

x arbitraryP(x)

Theorem: ∀x¬P(x)↔ ¬∃xP(x).Proof: (→) Suppose ∀x¬P(x) and suppose ∃xP(x). We choose x0 suchthat P(x0) is true. Since ∀x¬P(x), we know ¬P(x0). This is acontradiction. Thus, ∀x¬P(x)→ ¬∃xP(x).Proof: (←) Suppose ¬∃xP(x). Let x be arbitrary. Suppose that P(x).Then ∃xP(x). This is a contradiction. Thus ¬P(x) is true. Since x wasarbitrary, we have ∀x¬P(x).

S. Choi (KAIST) Logic and set theory October 5, 2011 32 / 32

Page 120: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Given Goal¬∃xP(x) ∃xP(x)

x arbitraryP(x)

Theorem: ∀x¬P(x)↔ ¬∃xP(x).

Proof: (→) Suppose ∀x¬P(x) and suppose ∃xP(x). We choose x0 suchthat P(x0) is true. Since ∀x¬P(x), we know ¬P(x0). This is acontradiction. Thus, ∀x¬P(x)→ ¬∃xP(x).Proof: (←) Suppose ¬∃xP(x). Let x be arbitrary. Suppose that P(x).Then ∃xP(x). This is a contradiction. Thus ¬P(x) is true. Since x wasarbitrary, we have ∀x¬P(x).

S. Choi (KAIST) Logic and set theory October 5, 2011 32 / 32

Page 121: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Given Goal¬∃xP(x) ∃xP(x)

x arbitraryP(x)

Theorem: ∀x¬P(x)↔ ¬∃xP(x).Proof: (→) Suppose ∀x¬P(x) and suppose ∃xP(x). We choose x0 suchthat P(x0) is true. Since ∀x¬P(x), we know ¬P(x0). This is acontradiction. Thus, ∀x¬P(x)→ ¬∃xP(x).

Proof: (←) Suppose ¬∃xP(x). Let x be arbitrary. Suppose that P(x).Then ∃xP(x). This is a contradiction. Thus ¬P(x) is true. Since x wasarbitrary, we have ∀x¬P(x).

S. Choi (KAIST) Logic and set theory October 5, 2011 32 / 32

Page 122: Lecture 13: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec13.pdf · Lecture 13: Proofs in How to Prove It. S. Choi Department of Mathematical Science KAIST,

Proofs involving quantifiers

Given Goal¬∃xP(x) ∃xP(x)

x arbitraryP(x)

Theorem: ∀x¬P(x)↔ ¬∃xP(x).Proof: (→) Suppose ∀x¬P(x) and suppose ∃xP(x). We choose x0 suchthat P(x0) is true. Since ∀x¬P(x), we know ¬P(x0). This is acontradiction. Thus, ∀x¬P(x)→ ¬∃xP(x).Proof: (←) Suppose ¬∃xP(x). Let x be arbitrary. Suppose that P(x).Then ∃xP(x). This is a contradiction. Thus ¬P(x) is true. Since x wasarbitrary, we have ∀x¬P(x).

S. Choi (KAIST) Logic and set theory October 5, 2011 32 / 32