Top Banner
Logic and the set theory Lecture 14: Proofs 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 26, 2012 1 / 24
108

Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

May 04, 2018

Download

Documents

vothuan
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Logic and the set theoryLecture 14: Proofs 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 26, 2012 1 / 24

Page 2: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Introduction

About this lecture

Proof strategies

Proofs involving negations and conditionals.

Proofs involving quantifiers

Proofs involving conjunctions and biconditionals

Proofs involving disjunctions

Existence and uniqueness proof

More examples of proofs..

Course homepages: http://mathsci.kaist.ac.kr/~schoi/logic.htmland the moodle 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 26, 2012 2 / 24

Page 3: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Introduction

About this lecture

Proof strategies

Proofs involving negations and conditionals.

Proofs involving quantifiers

Proofs involving conjunctions and biconditionals

Proofs involving disjunctions

Existence and uniqueness proof

More examples of proofs..

Course homepages: http://mathsci.kaist.ac.kr/~schoi/logic.htmland the moodle 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 26, 2012 2 / 24

Page 4: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Introduction

About this lecture

Proof strategies

Proofs involving negations and conditionals.

Proofs involving quantifiers

Proofs involving conjunctions and biconditionals

Proofs involving disjunctions

Existence and uniqueness proof

More examples of proofs..

Course homepages: http://mathsci.kaist.ac.kr/~schoi/logic.htmland the moodle 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 26, 2012 2 / 24

Page 5: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Introduction

About this lecture

Proof strategies

Proofs involving negations and conditionals.

Proofs involving quantifiers

Proofs involving conjunctions and biconditionals

Proofs involving disjunctions

Existence and uniqueness proof

More examples of proofs..

Course homepages: http://mathsci.kaist.ac.kr/~schoi/logic.htmland the moodle 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 26, 2012 2 / 24

Page 6: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Introduction

About this lecture

Proof strategies

Proofs involving negations and conditionals.

Proofs involving quantifiers

Proofs involving conjunctions and biconditionals

Proofs involving disjunctions

Existence and uniqueness proof

More examples of proofs..

Course homepages: http://mathsci.kaist.ac.kr/~schoi/logic.htmland the moodle 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 26, 2012 2 / 24

Page 7: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Introduction

About this lecture

Proof strategies

Proofs involving negations and conditionals.

Proofs involving quantifiers

Proofs involving conjunctions and biconditionals

Proofs involving disjunctions

Existence and uniqueness proof

More examples of proofs..

Course homepages: http://mathsci.kaist.ac.kr/~schoi/logic.htmland the moodle 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 26, 2012 2 / 24

Page 8: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Introduction

About this lecture

Proof strategies

Proofs involving negations and conditionals.

Proofs involving quantifiers

Proofs involving conjunctions and biconditionals

Proofs involving disjunctions

Existence and uniqueness proof

More examples of proofs..

Course homepages: http://mathsci.kaist.ac.kr/~schoi/logic.htmland the moodle 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 26, 2012 2 / 24

Page 9: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Introduction

About this lecture

Proof strategies

Proofs involving negations and conditionals.

Proofs involving quantifiers

Proofs involving conjunctions and biconditionals

Proofs involving disjunctions

Existence and uniqueness proof

More examples of proofs..

Course homepages: http://mathsci.kaist.ac.kr/~schoi/logic.htmland the moodle 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 26, 2012 2 / 24

Page 10: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Introduction

About this lecture

Proof strategies

Proofs involving negations and conditionals.

Proofs involving quantifiers

Proofs involving conjunctions and biconditionals

Proofs involving disjunctions

Existence and uniqueness proof

More examples of proofs..

Course homepages: http://mathsci.kaist.ac.kr/~schoi/logic.htmland the moodle 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 26, 2012 2 / 24

Page 11: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Introduction

Some helpful references

Sets, Logic and Categories, Peter J. Cameron, Springer. Read Chapters 3,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 26, 2012 3 / 24

Page 12: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Introduction

Some helpful references

Sets, Logic and Categories, Peter J. Cameron, Springer. Read Chapters 3,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 26, 2012 3 / 24

Page 13: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Introduction

Some helpful references

Sets, Logic and Categories, Peter J. Cameron, Springer. Read Chapters 3,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 26, 2012 3 / 24

Page 14: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Introduction

Some helpful references

Sets, Logic and Categories, Peter J. Cameron, Springer. Read Chapters 3,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 26, 2012 3 / 24

Page 15: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Introduction

Some helpful references

Sets, Logic and Categories, Peter J. Cameron, Springer. Read Chapters 3,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 26, 2012 3 / 24

Page 16: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

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 26, 2012 4 / 24

Page 17: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

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 26, 2012 4 / 24

Page 18: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

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 26, 2012 4 / 24

Page 19: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Proofs involving disjunctions

To use a given of form P ∨Q.

First method is to divide into cases:

For case 1, assume P and derive something.

For case 2, assume Q and derive something, preferably same as above.

This is the same as disjuction elimination ∨E in Nolt.

Example in the book A ⊂ C,B ⊂ C,` A ∪ B ⊂ C.

The second method: Given ¬P or can show P false, then we can assume Q ony.

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

Page 20: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Proofs involving disjunctions

To use a given of form P ∨Q.

First method is to divide into cases:

For case 1, assume P and derive something.

For case 2, assume Q and derive something, preferably same as above.

This is the same as disjuction elimination ∨E in Nolt.

Example in the book A ⊂ C,B ⊂ C,` A ∪ B ⊂ C.

The second method: Given ¬P or can show P false, then we can assume Q ony.

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

Page 21: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Proofs involving disjunctions

To use a given of form P ∨Q.

First method is to divide into cases:

For case 1, assume P and derive something.

For case 2, assume Q and derive something, preferably same as above.

This is the same as disjuction elimination ∨E in Nolt.

Example in the book A ⊂ C,B ⊂ C,` A ∪ B ⊂ C.

The second method: Given ¬P or can show P false, then we can assume Q ony.

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

Page 22: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Proofs involving disjunctions

To use a given of form P ∨Q.

First method is to divide into cases:

For case 1, assume P and derive something.

For case 2, assume Q and derive something, preferably same as above.

This is the same as disjuction elimination ∨E in Nolt.

Example in the book A ⊂ C,B ⊂ C,` A ∪ B ⊂ C.

The second method: Given ¬P or can show P false, then we can assume Q ony.

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

Page 23: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Proofs involving disjunctions

To use a given of form P ∨Q.

First method is to divide into cases:

For case 1, assume P and derive something.

For case 2, assume Q and derive something, preferably same as above.

This is the same as disjuction elimination ∨E in Nolt.

Example in the book A ⊂ C,B ⊂ C,` A ∪ B ⊂ C.

The second method: Given ¬P or can show P false, then we can assume Q ony.

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

Page 24: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Proofs involving disjunctions

To use a given of form P ∨Q.

First method is to divide into cases:

For case 1, assume P and derive something.

For case 2, assume Q and derive something, preferably same as above.

This is the same as disjuction elimination ∨E in Nolt.

Example in the book A ⊂ C,B ⊂ C,` A ∪ B ⊂ C.

The second method: Given ¬P or can show P false, then we can assume Q ony.

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

Page 25: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Proofs involving disjunctions

To use a given of form P ∨Q.

First method is to divide into cases:

For case 1, assume P and derive something.

For case 2, assume Q and derive something, preferably same as above.

This is the same as disjuction elimination ∨E in Nolt.

Example in the book A ⊂ C,B ⊂ C,` A ∪ B ⊂ C.

The second method: Given ¬P or can show P false, then we can assume Q ony.

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

Page 26: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Given GoalP ∨Q −−−−−−−−

Given GoalCase 1: P −−−−−−−−

Case 2: Q −−−−−−−−

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

Page 27: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Given GoalP ∨Q −−−−−−−−

Given GoalCase 1: P −−−−−−−−

Case 2: Q −−−−−−−−

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

Page 28: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Example

Example: A− (B − C) ⊂ (A− B) ∪ C.

∀x(x ∈ A− (B − C)→ x ∈ (A− B) ∪ C).

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

Given Goalx arbitrary x ∈ (A− B) ∪ C)

x ∈ A− (B − C)

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

Page 29: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Example

Example: A− (B − C) ⊂ (A− B) ∪ C.

∀x(x ∈ A− (B − C)→ x ∈ (A− B) ∪ C).

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

Given Goalx arbitrary x ∈ (A− B) ∪ C)

x ∈ A− (B − C)

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

Page 30: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Example

Example: A− (B − C) ⊂ (A− B) ∪ C.

∀x(x ∈ A− (B − C)→ x ∈ (A− B) ∪ C).

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

Given Goalx arbitrary x ∈ (A− B) ∪ C)

x ∈ A− (B − C)

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

Page 31: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Example

Example: A− (B − C) ⊂ (A− B) ∪ C.

∀x(x ∈ A− (B − C)→ x ∈ (A− B) ∪ C).

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

Given Goalx arbitrary x ∈ (A− B) ∪ C)

x ∈ A− (B − C)

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

Page 32: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Example

Example: A− (B − C) ⊂ (A− B) ∪ C.

∀x(x ∈ A− (B − C)→ x ∈ (A− B) ∪ C).

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

Given Goalx arbitrary x ∈ (A− B) ∪ C)

x ∈ A− (B − C)

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

Page 33: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Example

Example: A− (B − C) ⊂ (A− B) ∪ C.

∀x(x ∈ A− (B − C)→ x ∈ (A− B) ∪ C).

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

Given Goalx arbitrary x ∈ (A− B) ∪ C)

x ∈ A− (B − C)

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

Page 34: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Given Goalx ∈ A ∧ ¬(x ∈ B ∧ x /∈ C) (x ∈ A ∧ x /∈ B) ∨ x ∈ C

Given Goalx ∈ A (x ∈ A ∧ x /∈ B) ∨ x ∈ C

x /∈ B ∨ x ∈ C

Given Goalx ∈ A (x ∈ A ∧ x /∈ B) ∨ x ∈ C

Case1 : x /∈ BCase2 : x ∈ C

Case 1 gives x ∈ A− B. Case 2 gives x ∈ C.

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

Page 35: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Given Goalx ∈ A ∧ ¬(x ∈ B ∧ x /∈ C) (x ∈ A ∧ x /∈ B) ∨ x ∈ C

Given Goalx ∈ A (x ∈ A ∧ x /∈ B) ∨ x ∈ C

x /∈ B ∨ x ∈ C

Given Goalx ∈ A (x ∈ A ∧ x /∈ B) ∨ x ∈ C

Case1 : x /∈ BCase2 : x ∈ C

Case 1 gives x ∈ A− B. Case 2 gives x ∈ C.

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

Page 36: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Given Goalx ∈ A ∧ ¬(x ∈ B ∧ x /∈ C) (x ∈ A ∧ x /∈ B) ∨ x ∈ C

Given Goalx ∈ A (x ∈ A ∧ x /∈ B) ∨ x ∈ C

x /∈ B ∨ x ∈ C

Given Goalx ∈ A (x ∈ A ∧ x /∈ B) ∨ x ∈ C

Case1 : x /∈ BCase2 : x ∈ C

Case 1 gives x ∈ A− B. Case 2 gives x ∈ C.

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

Page 37: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Given Goalx ∈ A ∧ ¬(x ∈ B ∧ x /∈ C) (x ∈ A ∧ x /∈ B) ∨ x ∈ C

Given Goalx ∈ A (x ∈ A ∧ x /∈ B) ∨ x ∈ C

x /∈ B ∨ x ∈ C

Given Goalx ∈ A (x ∈ A ∧ x /∈ B) ∨ x ∈ C

Case1 : x /∈ BCase2 : x ∈ C

Case 1 gives x ∈ A− B. Case 2 gives x ∈ C.

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

Page 38: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

To prove a goal of form P ∨ Q.

First method: break into cases and prove P and prove Q for each cases.

Example above (A− B)− C ⊂ (A− B) ∪ C.

Second method: Assume ¬Q and prove P.

Given Goal−−−− P ∨Q−−−−

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

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

Page 39: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

To prove a goal of form P ∨ Q.

First method: break into cases and prove P and prove Q for each cases.

Example above (A− B)− C ⊂ (A− B) ∪ C.

Second method: Assume ¬Q and prove P.

Given Goal−−−− P ∨Q−−−−

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

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

Page 40: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

To prove a goal of form P ∨ Q.

First method: break into cases and prove P and prove Q for each cases.

Example above (A− B)− C ⊂ (A− B) ∪ C.

Second method: Assume ¬Q and prove P.

Given Goal−−−− P ∨Q−−−−

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

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

Page 41: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

To prove a goal of form P ∨ Q.

First method: break into cases and prove P and prove Q for each cases.

Example above (A− B)− C ⊂ (A− B) ∪ C.

Second method: Assume ¬Q and prove P.

Given Goal−−−− P ∨Q−−−−

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

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

Page 42: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

To prove a goal of form P ∨ Q.

First method: break into cases and prove P and prove Q for each cases.

Example above (A− B)− C ⊂ (A− B) ∪ C.

Second method: Assume ¬Q and prove P.

Given Goal−−−− P ∨Q−−−−

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

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

Page 43: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Suppose that m and n are integers. If mn is even, then either m is even or n iseven.

Given Goalmn is even m is even ∨ n is even

Given Goalmn is even n is even

m is odd

mn = 2k , (2j + 1)n = 2k , 2jn + n = 2k , n = 2k − 2jn = 2(k − jn)

Thus, n is even.

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

Page 44: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Suppose that m and n are integers. If mn is even, then either m is even or n iseven.

Given Goalmn is even m is even ∨ n is even

Given Goalmn is even n is even

m is odd

mn = 2k , (2j + 1)n = 2k , 2jn + n = 2k , n = 2k − 2jn = 2(k − jn)

Thus, n is even.

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

Page 45: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Suppose that m and n are integers. If mn is even, then either m is even or n iseven.

Given Goalmn is even m is even ∨ n is even

Given Goalmn is even n is even

m is odd

mn = 2k , (2j + 1)n = 2k , 2jn + n = 2k , n = 2k − 2jn = 2(k − jn)

Thus, n is even.

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

Page 46: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

Proofs involving disjunctions

Suppose that m and n are integers. If mn is even, then either m is even or n iseven.

Given Goalmn is even m is even ∨ n is even

Given Goalmn is even n is even

m is odd

mn = 2k , (2j + 1)n = 2k , 2jn + n = 2k , n = 2k − 2jn = 2(k − jn)

Thus, n is even.

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

Page 47: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

The existence and uniqueness proof.

∃!xP(x)↔ ∃x(P(x) ∧ ¬(∃y(P(y) ∧ y 6= x))).

Using equivalences we obtain ¬(∃y(P(y) ∧ y 6= x))↔ ∀y(P(y)→ y = x).

∃!xP(x)↔ ∃x(P(x) ∧ ∀y(P(y)→ y = x)).The following are equivalent

I ∃x(P(x) ∧ ∀y(P(y) → y = x)).I ∃x∀y(P(y) ↔ y = x).I ∃xP(x) ∧ ∀y∀z((P(y) ∧ P(z) → y = z).

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

Page 48: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

The existence and uniqueness proof.

∃!xP(x)↔ ∃x(P(x) ∧ ¬(∃y(P(y) ∧ y 6= x))).

Using equivalences we obtain ¬(∃y(P(y) ∧ y 6= x))↔ ∀y(P(y)→ y = x).

∃!xP(x)↔ ∃x(P(x) ∧ ∀y(P(y)→ y = x)).The following are equivalent

I ∃x(P(x) ∧ ∀y(P(y) → y = x)).I ∃x∀y(P(y) ↔ y = x).I ∃xP(x) ∧ ∀y∀z((P(y) ∧ P(z) → y = z).

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

Page 49: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

The existence and uniqueness proof.

∃!xP(x)↔ ∃x(P(x) ∧ ¬(∃y(P(y) ∧ y 6= x))).

Using equivalences we obtain ¬(∃y(P(y) ∧ y 6= x))↔ ∀y(P(y)→ y = x).

∃!xP(x)↔ ∃x(P(x) ∧ ∀y(P(y)→ y = x)).

The following are equivalent

I ∃x(P(x) ∧ ∀y(P(y) → y = x)).I ∃x∀y(P(y) ↔ y = x).I ∃xP(x) ∧ ∀y∀z((P(y) ∧ P(z) → y = z).

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

Page 50: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

The existence and uniqueness proof.

∃!xP(x)↔ ∃x(P(x) ∧ ¬(∃y(P(y) ∧ y 6= x))).

Using equivalences we obtain ¬(∃y(P(y) ∧ y 6= x))↔ ∀y(P(y)→ y = x).

∃!xP(x)↔ ∃x(P(x) ∧ ∀y(P(y)→ y = x)).The following are equivalent

I ∃x(P(x) ∧ ∀y(P(y) → y = x)).I ∃x∀y(P(y) ↔ y = x).I ∃xP(x) ∧ ∀y∀z((P(y) ∧ P(z) → y = z).

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

Page 51: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

The existence and uniqueness proof.

∃!xP(x)↔ ∃x(P(x) ∧ ¬(∃y(P(y) ∧ y 6= x))).

Using equivalences we obtain ¬(∃y(P(y) ∧ y 6= x))↔ ∀y(P(y)→ y = x).

∃!xP(x)↔ ∃x(P(x) ∧ ∀y(P(y)→ y = x)).The following are equivalent

I ∃x(P(x) ∧ ∀y(P(y) → y = x)).

I ∃x∀y(P(y) ↔ y = x).I ∃xP(x) ∧ ∀y∀z((P(y) ∧ P(z) → y = z).

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

Page 52: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

The existence and uniqueness proof.

∃!xP(x)↔ ∃x(P(x) ∧ ¬(∃y(P(y) ∧ y 6= x))).

Using equivalences we obtain ¬(∃y(P(y) ∧ y 6= x))↔ ∀y(P(y)→ y = x).

∃!xP(x)↔ ∃x(P(x) ∧ ∀y(P(y)→ y = x)).The following are equivalent

I ∃x(P(x) ∧ ∀y(P(y) → y = x)).I ∃x∀y(P(y) ↔ y = x).

I ∃xP(x) ∧ ∀y∀z((P(y) ∧ P(z) → y = z).

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

Page 53: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

The existence and uniqueness proof.

∃!xP(x)↔ ∃x(P(x) ∧ ¬(∃y(P(y) ∧ y 6= x))).

Using equivalences we obtain ¬(∃y(P(y) ∧ y 6= x))↔ ∀y(P(y)→ y = x).

∃!xP(x)↔ ∃x(P(x) ∧ ∀y(P(y)→ y = x)).The following are equivalent

I ∃x(P(x) ∧ ∀y(P(y) → y = x)).I ∃x∀y(P(y) ↔ y = x).I ∃xP(x) ∧ ∀y∀z((P(y) ∧ P(z) → y = z).

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

Page 54: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Example

We will prove by proving 1→ 2→ 3→ 1.

1→ 2.

Given Goal∃x(P(x) ∧ ∀y(P(y)→ y = x)) ∃x∀y(P(y)↔ y = x)

Given GoalP(x0) ∃x∀y(P(y)↔ y = x)

∀y(P(y)→ y = x0)

Given GoalP(x0) ∀y(P(y)↔ y = x)

∀y(P(y)→ y = x0)x = x0

→ is clear in the Goal side. ← is clear also.

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

Page 55: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Example

We will prove by proving 1→ 2→ 3→ 1.

1→ 2.

Given Goal∃x(P(x) ∧ ∀y(P(y)→ y = x)) ∃x∀y(P(y)↔ y = x)

Given GoalP(x0) ∃x∀y(P(y)↔ y = x)

∀y(P(y)→ y = x0)

Given GoalP(x0) ∀y(P(y)↔ y = x)

∀y(P(y)→ y = x0)x = x0

→ is clear in the Goal side. ← is clear also.

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

Page 56: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Example

We will prove by proving 1→ 2→ 3→ 1.

1→ 2.

Given Goal∃x(P(x) ∧ ∀y(P(y)→ y = x)) ∃x∀y(P(y)↔ y = x)

Given GoalP(x0) ∃x∀y(P(y)↔ y = x)

∀y(P(y)→ y = x0)

Given GoalP(x0) ∀y(P(y)↔ y = x)

∀y(P(y)→ y = x0)x = x0

→ is clear in the Goal side. ← is clear also.

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

Page 57: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Example

We will prove by proving 1→ 2→ 3→ 1.

1→ 2.

Given Goal∃x(P(x) ∧ ∀y(P(y)→ y = x)) ∃x∀y(P(y)↔ y = x)

Given GoalP(x0) ∃x∀y(P(y)↔ y = x)

∀y(P(y)→ y = x0)

Given GoalP(x0) ∀y(P(y)↔ y = x)

∀y(P(y)→ y = x0)x = x0

→ is clear in the Goal side. ← is clear also.

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

Page 58: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Example

We will prove by proving 1→ 2→ 3→ 1.

1→ 2.

Given Goal∃x(P(x) ∧ ∀y(P(y)→ y = x)) ∃x∀y(P(y)↔ y = x)

Given GoalP(x0) ∃x∀y(P(y)↔ y = x)

∀y(P(y)→ y = x0)

Given GoalP(x0) ∀y(P(y)↔ y = x)

∀y(P(y)→ y = x0)x = x0

→ is clear in the Goal side. ← is clear also.

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

Page 59: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Example

We will prove by proving 1→ 2→ 3→ 1.

1→ 2.

Given Goal∃x(P(x) ∧ ∀y(P(y)→ y = x)) ∃x∀y(P(y)↔ y = x)

Given GoalP(x0) ∃x∀y(P(y)↔ y = x)

∀y(P(y)→ y = x0)

Given GoalP(x0) ∀y(P(y)↔ y = x)

∀y(P(y)→ y = x0)x = x0

→ is clear in the Goal side. ← is clear also.

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

Page 60: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Example

2→ 3.

Given Goal∃x∀y(P(y)↔y=x) ∃xP(x)∧∀y∀z((P(y)∧P(z)→y=z)

First goalGiven Goal

∀y(P(y)→ y = x0) ∃xP(x)P(x0)

Second goal

Given Goal∀y(P(y)→ y = x0) ∀y∀z(P(y) ∧ P(z)→ y = z)

P(x0)

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

Page 61: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Example

2→ 3.

Given Goal∃x∀y(P(y)↔y=x) ∃xP(x)∧∀y∀z((P(y)∧P(z)→y=z)

First goalGiven Goal

∀y(P(y)→ y = x0) ∃xP(x)P(x0)

Second goal

Given Goal∀y(P(y)→ y = x0) ∀y∀z(P(y) ∧ P(z)→ y = z)

P(x0)

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

Page 62: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Example

2→ 3.

Given Goal∃x∀y(P(y)↔y=x) ∃xP(x)∧∀y∀z((P(y)∧P(z)→y=z)

First goalGiven Goal

∀y(P(y)→ y = x0) ∃xP(x)P(x0)

Second goal

Given Goal∀y(P(y)→ y = x0) ∀y∀z(P(y) ∧ P(z)→ y = z)

P(x0)

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

Page 63: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Example

2→ 3.

Given Goal∃x∀y(P(y)↔y=x) ∃xP(x)∧∀y∀z((P(y)∧P(z)→y=z)

First goalGiven Goal

∀y(P(y)→ y = x0) ∃xP(x)P(x0)

Second goal

Given Goal∀y(P(y)→ y = x0) ∀y∀z(P(y) ∧ P(z)→ y = z)

P(x0)

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

Page 64: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Given Goal∀y(P(y)→ y = x0) (P(y) ∧ P(z))→ y = z

P(x0)y arbitraryz arbitrary

Given Goal∀y(P(y)→ y = x0) y = z

P(x0)P(y)P(z)

Then y = x0 and z = x0. Hence the conclusion.

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

Page 65: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Given Goal∀y(P(y)→ y = x0) (P(y) ∧ P(z))→ y = z

P(x0)y arbitraryz arbitrary

Given Goal∀y(P(y)→ y = x0) y = z

P(x0)P(y)P(z)

Then y = x0 and z = x0. Hence the conclusion.

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

Page 66: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Given Goal∀y(P(y)→ y = x0) (P(y) ∧ P(z))→ y = z

P(x0)y arbitraryz arbitrary

Given Goal∀y(P(y)→ y = x0) y = z

P(x0)P(y)P(z)

Then y = x0 and z = x0. Hence the conclusion.

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

Page 67: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Example

Finally 3→ 1.

Given Goal∃xP(x)∧∀y∀z((P(y)∧P(z))→y=z) ∃x(P(x)∧∀y(P(y)→y=x))

Given GoalP(x0) P(x0)∧∀y(P(y)→y=x0)

∀y∀z((P(y) ∧ P(z))→ y = z)

Given GoalP(x0) y = x0

∀y∀z((P(y) ∧ P(z))→ y = z)P(y)

Since P(x0),P(y), we have x0 = y . Done.

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

Page 68: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Example

Finally 3→ 1.

Given Goal∃xP(x)∧∀y∀z((P(y)∧P(z))→y=z) ∃x(P(x)∧∀y(P(y)→y=x))

Given GoalP(x0) P(x0)∧∀y(P(y)→y=x0)

∀y∀z((P(y) ∧ P(z))→ y = z)

Given GoalP(x0) y = x0

∀y∀z((P(y) ∧ P(z))→ y = z)P(y)

Since P(x0),P(y), we have x0 = y . Done.

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

Page 69: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Example

Finally 3→ 1.

Given Goal∃xP(x)∧∀y∀z((P(y)∧P(z))→y=z) ∃x(P(x)∧∀y(P(y)→y=x))

Given GoalP(x0) P(x0)∧∀y(P(y)→y=x0)

∀y∀z((P(y) ∧ P(z))→ y = z)

Given GoalP(x0) y = x0

∀y∀z((P(y) ∧ P(z))→ y = z)P(y)

Since P(x0),P(y), we have x0 = y . Done.

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

Page 70: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Example

Finally 3→ 1.

Given Goal∃xP(x)∧∀y∀z((P(y)∧P(z))→y=z) ∃x(P(x)∧∀y(P(y)→y=x))

Given GoalP(x0) P(x0)∧∀y(P(y)→y=x0)

∀y∀z((P(y) ∧ P(z))→ y = z)

Given GoalP(x0) y = x0

∀y∀z((P(y) ∧ P(z))→ y = z)P(y)

Since P(x0),P(y), we have x0 = y . Done.

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

Page 71: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Example

Finally 3→ 1.

Given Goal∃xP(x)∧∀y∀z((P(y)∧P(z))→y=z) ∃x(P(x)∧∀y(P(y)→y=x))

Given GoalP(x0) P(x0)∧∀y(P(y)→y=x0)

∀y∀z((P(y) ∧ P(z))→ y = z)

Given GoalP(x0) y = x0

∀y∀z((P(y) ∧ P(z))→ y = z)P(y)

Since P(x0),P(y), we have x0 = y . Done.

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

Page 72: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

To prove a goal of form ∃!xP(x)

Prove ∃xP(x) (existence) and ∀y∀z(P(y) ∧ P(z)→ y = z). (uniqueness)

To use a given of form ∃!xP(x).

Treat as two assumptions ∃xP(x) (existence) and ∀y∀z(P(y) ∧ P(z)→ y = z).(uniqueness)

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

Page 73: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

To prove a goal of form ∃!xP(x)

Prove ∃xP(x) (existence) and ∀y∀z(P(y) ∧ P(z)→ y = z). (uniqueness)

To use a given of form ∃!xP(x).

Treat as two assumptions ∃xP(x) (existence) and ∀y∀z(P(y) ∧ P(z)→ y = z).(uniqueness)

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

Page 74: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

To prove a goal of form ∃!xP(x)

Prove ∃xP(x) (existence) and ∀y∀z(P(y) ∧ P(z)→ y = z). (uniqueness)

To use a given of form ∃!xP(x).

Treat as two assumptions ∃xP(x) (existence) and ∀y∀z(P(y) ∧ P(z)→ y = z).(uniqueness)

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

Page 75: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

To prove a goal of form ∃!xP(x)

Prove ∃xP(x) (existence) and ∀y∀z(P(y) ∧ P(z)→ y = z). (uniqueness)

To use a given of form ∃!xP(x).

Treat as two assumptions ∃xP(x) (existence) and ∀y∀z(P(y) ∧ P(z)→ y = z).(uniqueness)

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

Page 76: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Example

A,B,C are sets. A ∩ B 6= ∅,A ∩ C 6= ∅. A has a unique element. Then proveB ∩ C 6= ∅.

Given GoalA ∩ B 6= ∅ B ∩ C 6= ∅A ∩ C 6= ∅∃!x(x ∈ A)

Given Goal∃x(x ∈ A ∧ x ∈ B) ∃x(x ∈ B ∧ x ∈ C)∃x(x ∈ A ∧ x ∈ C)∃x(x ∈ A)

∀y∀z(y ∈ A ∧ z ∈ A→ y = z)

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

Page 77: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Example

A,B,C are sets. A ∩ B 6= ∅,A ∩ C 6= ∅. A has a unique element. Then proveB ∩ C 6= ∅.

Given GoalA ∩ B 6= ∅ B ∩ C 6= ∅A ∩ C 6= ∅∃!x(x ∈ A)

Given Goal∃x(x ∈ A ∧ x ∈ B) ∃x(x ∈ B ∧ x ∈ C)∃x(x ∈ A ∧ x ∈ C)∃x(x ∈ A)

∀y∀z(y ∈ A ∧ z ∈ A→ y = z)

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

Page 78: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Example

A,B,C are sets. A ∩ B 6= ∅,A ∩ C 6= ∅. A has a unique element. Then proveB ∩ C 6= ∅.

Given GoalA ∩ B 6= ∅ B ∩ C 6= ∅A ∩ C 6= ∅∃!x(x ∈ A)

Given Goal∃x(x ∈ A ∧ x ∈ B) ∃x(x ∈ B ∧ x ∈ C)∃x(x ∈ A ∧ x ∈ C)∃x(x ∈ A)

∀y∀z(y ∈ A ∧ z ∈ A→ y = z)

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

Page 79: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Given Goalb ∈ A ∧ b ∈ B ∃x(x ∈ B ∧ x ∈ C)c ∈ A ∧ c ∈ C

a ∈ A∀y∀z((y ∈ A ∧ z ∈ A)→ y = z)

b = a and c = a. Thus a ∈ B ∧ a ∈ C.

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

Page 80: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

The existence and uniqueness proof

Given Goalb ∈ A ∧ b ∈ B ∃x(x ∈ B ∧ x ∈ C)c ∈ A ∧ c ∈ C

a ∈ A∀y∀z((y ∈ A ∧ z ∈ A)→ y = z)

b = a and c = a. Thus a ∈ B ∧ a ∈ C.

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

Page 81: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

.

This illustrates the existence proof:

limx→2 x2 + 2 = 6.

Cauchy’s defintion: ∀ε > 0(∃δ > 0(∀x(|x − 2| < δ → |x2 + 2− 6| < ε))).

Given Goalε > 0 arbitrary ∃δ > 0(∀x(|x − 2| < δ → |x2 + 2− 6| < ε)))

Given Goalε > 0 arbitrary |x2 + 2− 6| < εδ = δ0 must find|x − 2| < δ

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

Page 82: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

.

This illustrates the existence proof:

limx→2 x2 + 2 = 6.

Cauchy’s defintion: ∀ε > 0(∃δ > 0(∀x(|x − 2| < δ → |x2 + 2− 6| < ε))).

Given Goalε > 0 arbitrary ∃δ > 0(∀x(|x − 2| < δ → |x2 + 2− 6| < ε)))

Given Goalε > 0 arbitrary |x2 + 2− 6| < εδ = δ0 must find|x − 2| < δ

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

Page 83: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

.

This illustrates the existence proof:

limx→2 x2 + 2 = 6.

Cauchy’s defintion: ∀ε > 0(∃δ > 0(∀x(|x − 2| < δ → |x2 + 2− 6| < ε))).

Given Goalε > 0 arbitrary ∃δ > 0(∀x(|x − 2| < δ → |x2 + 2− 6| < ε)))

Given Goalε > 0 arbitrary |x2 + 2− 6| < εδ = δ0 must find|x − 2| < δ

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

Page 84: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

.

This illustrates the existence proof:

limx→2 x2 + 2 = 6.

Cauchy’s defintion: ∀ε > 0(∃δ > 0(∀x(|x − 2| < δ → |x2 + 2− 6| < ε))).

Given Goalε > 0 arbitrary ∃δ > 0(∀x(|x − 2| < δ → |x2 + 2− 6| < ε)))

Given Goalε > 0 arbitrary |x2 + 2− 6| < εδ = δ0 must find|x − 2| < δ

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

Page 85: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

.

This illustrates the existence proof:

limx→2 x2 + 2 = 6.

Cauchy’s defintion: ∀ε > 0(∃δ > 0(∀x(|x − 2| < δ → |x2 + 2− 6| < ε))).

Given Goalε > 0 arbitrary ∃δ > 0(∀x(|x − 2| < δ → |x2 + 2− 6| < ε)))

Given Goalε > 0 arbitrary |x2 + 2− 6| < εδ = δ0 must find|x − 2| < δ

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

Page 86: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

Guess work: Find conditions on δ. Assume |x − 2| < δ, δ < 1. Then we obtain|x − 2| < 1, 3 < |x + 2| < 5, |x + 2| < 5. Thus |x2 − 4| = |x − 2||x + 2| < 5δ.Thus, choose δ = min{1/2, ε/5}. Then

ε/5 ≤ 1/2 case: |x − 2| < ε/5→ |(x − 2)(x + 2)| < ε.

1/2 ≤ ε/5 case: |x − 2| < 1/2→ |(x − 2)(x + 2)| < 5(1/2) ≤ 5ε/5 = ε.

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

Page 87: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

Guess work: Find conditions on δ. Assume |x − 2| < δ, δ < 1. Then we obtain|x − 2| < 1, 3 < |x + 2| < 5, |x + 2| < 5. Thus |x2 − 4| = |x − 2||x + 2| < 5δ.Thus, choose δ = min{1/2, ε/5}. Then

ε/5 ≤ 1/2 case: |x − 2| < ε/5→ |(x − 2)(x + 2)| < ε.

1/2 ≤ ε/5 case: |x − 2| < 1/2→ |(x − 2)(x + 2)| < 5(1/2) ≤ 5ε/5 = ε.

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

Page 88: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

Guess work: Find conditions on δ. Assume |x − 2| < δ, δ < 1. Then we obtain|x − 2| < 1, 3 < |x + 2| < 5, |x + 2| < 5. Thus |x2 − 4| = |x − 2||x + 2| < 5δ.Thus, choose δ = min{1/2, ε/5}. Then

ε/5 ≤ 1/2 case: |x − 2| < ε/5→ |(x − 2)(x + 2)| < ε.

1/2 ≤ ε/5 case: |x − 2| < 1/2→ |(x − 2)(x + 2)| < 5(1/2) ≤ 5ε/5 = ε.

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

Page 89: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

Theorem limx→2 x2 + 2 = 6.

Proof: Suppose that ε > 0. Let δ = min{1/2, ε/5}.Then |x − 2| < 1/2 and |x − 2| < ε/5.

|x + 2| < 5 by above and |(x − 2)(x + 2)| < ε/5 · 5 = ε.

Thus, |x2 + 2− 6| < ε.

∀ε > 0, if δ = min{1/2, ε/5}, then ∀x(|x − 2| < δ → |x2 + 2− 6| < ε).

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

Page 90: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

Theorem limx→2 x2 + 2 = 6.

Proof: Suppose that ε > 0. Let δ = min{1/2, ε/5}.

Then |x − 2| < 1/2 and |x − 2| < ε/5.

|x + 2| < 5 by above and |(x − 2)(x + 2)| < ε/5 · 5 = ε.

Thus, |x2 + 2− 6| < ε.

∀ε > 0, if δ = min{1/2, ε/5}, then ∀x(|x − 2| < δ → |x2 + 2− 6| < ε).

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

Page 91: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

Theorem limx→2 x2 + 2 = 6.

Proof: Suppose that ε > 0. Let δ = min{1/2, ε/5}.Then |x − 2| < 1/2 and |x − 2| < ε/5.

|x + 2| < 5 by above and |(x − 2)(x + 2)| < ε/5 · 5 = ε.

Thus, |x2 + 2− 6| < ε.

∀ε > 0, if δ = min{1/2, ε/5}, then ∀x(|x − 2| < δ → |x2 + 2− 6| < ε).

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

Page 92: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

Theorem limx→2 x2 + 2 = 6.

Proof: Suppose that ε > 0. Let δ = min{1/2, ε/5}.Then |x − 2| < 1/2 and |x − 2| < ε/5.

|x + 2| < 5 by above and |(x − 2)(x + 2)| < ε/5 · 5 = ε.

Thus, |x2 + 2− 6| < ε.

∀ε > 0, if δ = min{1/2, ε/5}, then ∀x(|x − 2| < δ → |x2 + 2− 6| < ε).

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

Page 93: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

Theorem limx→2 x2 + 2 = 6.

Proof: Suppose that ε > 0. Let δ = min{1/2, ε/5}.Then |x − 2| < 1/2 and |x − 2| < ε/5.

|x + 2| < 5 by above and |(x − 2)(x + 2)| < ε/5 · 5 = ε.

Thus, |x2 + 2− 6| < ε.

∀ε > 0, if δ = min{1/2, ε/5}, then ∀x(|x − 2| < δ → |x2 + 2− 6| < ε).

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

Page 94: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

Theorem limx→2 x2 + 2 = 6.

Proof: Suppose that ε > 0. Let δ = min{1/2, ε/5}.Then |x − 2| < 1/2 and |x − 2| < ε/5.

|x + 2| < 5 by above and |(x − 2)(x + 2)| < ε/5 · 5 = ε.

Thus, |x2 + 2− 6| < ε.

∀ε > 0, if δ = min{1/2, ε/5}, then ∀x(|x − 2| < δ → |x2 + 2− 6| < ε).

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

Page 95: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

limx→c√

x =√

c, (x > 0, c > 0).

∀c > 0(∀ε > 0∃δ > 0(∀x > 0(|x − c| < δ → |√

x −√

c| < ε))).

Given Goalε > 0 arbitrary ∃δ > 0(∀x > 0(|x − c| < δ → |

√x −√

c| < ε))

Given Goalε > 0 arbitrary |

√x −√

c| < εδ = δ0

|x − c| < δ, x > 0

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

Page 96: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

limx→c√

x =√

c, (x > 0, c > 0).

∀c > 0(∀ε > 0∃δ > 0(∀x > 0(|x − c| < δ → |√

x −√

c| < ε))).

Given Goalε > 0 arbitrary ∃δ > 0(∀x > 0(|x − c| < δ → |

√x −√

c| < ε))

Given Goalε > 0 arbitrary |

√x −√

c| < εδ = δ0

|x − c| < δ, x > 0

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

Page 97: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

limx→c√

x =√

c, (x > 0, c > 0).

∀c > 0(∀ε > 0∃δ > 0(∀x > 0(|x − c| < δ → |√

x −√

c| < ε))).

Given Goalε > 0 arbitrary ∃δ > 0(∀x > 0(|x − c| < δ → |

√x −√

c| < ε))

Given Goalε > 0 arbitrary |

√x −√

c| < εδ = δ0

|x − c| < δ, x > 0

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

Page 98: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

limx→c√

x =√

c, (x > 0, c > 0).

∀c > 0(∀ε > 0∃δ > 0(∀x > 0(|x − c| < δ → |√

x −√

c| < ε))).

Given Goalε > 0 arbitrary ∃δ > 0(∀x > 0(|x − c| < δ → |

√x −√

c| < ε))

Given Goalε > 0 arbitrary |

√x −√

c| < εδ = δ0

|x − c| < δ, x > 0

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

Page 99: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

Guess work:

|√

x −√

c| = |x − c|/(√

x +√

c) ≤ |x − c|/√

c.

Let δ =√

cε.

Then |x − c| <√

cε→ |√

x −√

c| < ε.

Given Goalε > 0 arbitrary |

√x −√

c| < εδ =√

cε|x − c| < δ, x > 0

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

Page 100: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

Guess work:

|√

x −√

c| = |x − c|/(√

x +√

c) ≤ |x − c|/√

c.

Let δ =√

cε.

Then |x − c| <√

cε→ |√

x −√

c| < ε.

Given Goalε > 0 arbitrary |

√x −√

c| < εδ =√

cε|x − c| < δ, x > 0

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

Page 101: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

Guess work:

|√

x −√

c| = |x − c|/(√

x +√

c) ≤ |x − c|/√

c.

Let δ =√

cε.

Then |x − c| <√

cε→ |√

x −√

c| < ε.

Given Goalε > 0 arbitrary |

√x −√

c| < εδ =√

cε|x − c| < δ, x > 0

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

Page 102: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

Guess work:

|√

x −√

c| = |x − c|/(√

x +√

c) ≤ |x − c|/√

c.

Let δ =√

cε.

Then |x − c| <√

cε→ |√

x −√

c| < ε.

Given Goalε > 0 arbitrary |

√x −√

c| < εδ =√

cε|x − c| < δ, x > 0

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

Page 103: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

Guess work:

|√

x −√

c| = |x − c|/(√

x +√

c) ≤ |x − c|/√

c.

Let δ =√

cε.

Then |x − c| <√

cε→ |√

x −√

c| < ε.

Given Goalε > 0 arbitrary |

√x −√

c| < εδ =√

cε|x − c| < δ, x > 0

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

Page 104: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

Theorem: limx→c√

x =√

c. Assume x , c > 0.

Proof: Let ε > 0 be arbitrary. Let δ =√

cε. Then |x − c| <√

cε.

|√

x −√

c| = |x − c|/(√

x +√

c) ≤ |x − c|/√

c < ε.

∀x , x > 0, |x − c| <√

cε→ |√

x −√

c| < ε.

∀c > 0(∀ε > 0∃δ > 0(∀x > 0(|x − c| < δ → |√

x −√

c| < ε))).

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

Page 105: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

Theorem: limx→c√

x =√

c. Assume x , c > 0.

Proof: Let ε > 0 be arbitrary. Let δ =√

cε. Then |x − c| <√

cε.

|√

x −√

c| = |x − c|/(√

x +√

c) ≤ |x − c|/√

c < ε.

∀x , x > 0, |x − c| <√

cε→ |√

x −√

c| < ε.

∀c > 0(∀ε > 0∃δ > 0(∀x > 0(|x − c| < δ → |√

x −√

c| < ε))).

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

Page 106: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

Theorem: limx→c√

x =√

c. Assume x , c > 0.

Proof: Let ε > 0 be arbitrary. Let δ =√

cε. Then |x − c| <√

cε.

|√

x −√

c| = |x − c|/(√

x +√

c) ≤ |x − c|/√

c < ε.

∀x , x > 0, |x − c| <√

cε→ |√

x −√

c| < ε.

∀c > 0(∀ε > 0∃δ > 0(∀x > 0(|x − c| < δ → |√

x −√

c| < ε))).

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

Page 107: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

Theorem: limx→c√

x =√

c. Assume x , c > 0.

Proof: Let ε > 0 be arbitrary. Let δ =√

cε. Then |x − c| <√

cε.

|√

x −√

c| = |x − c|/(√

x +√

c) ≤ |x − c|/√

c < ε.

∀x , x > 0, |x − c| <√

cε→ |√

x −√

c| < ε.

∀c > 0(∀ε > 0∃δ > 0(∀x > 0(|x − c| < δ → |√

x −√

c| < ε))).

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

Page 108: Lecture 14: Proofs in How to Prove It. S. Choimathsci.kaist.ac.kr/~schoi/Logiclec14.pdfIntroduction About this lecture Proof strategies Proofs involving negations and conditionals.

More examples of proofs

Theorem: limx→c√

x =√

c. Assume x , c > 0.

Proof: Let ε > 0 be arbitrary. Let δ =√

cε. Then |x − c| <√

cε.

|√

x −√

c| = |x − c|/(√

x +√

c) ≤ |x − c|/√

c < ε.

∀x , x > 0, |x − c| <√

cε→ |√

x −√

c| < ε.

∀c > 0(∀ε > 0∃δ > 0(∀x > 0(|x − c| < δ → |√

x −√

c| < ε))).

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