lecture 5: propositional calculus: part 1 s. choimathsci.kaist.ac.kr/~schoi/logiclec5.pdf · logic...

106
Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department of Mathematical Science KAIST, Daejeon, South Korea Fall semester, 2012 S. Choi (KAIST) Logic and set theory September 18, 2012 1 / 16

Upload: others

Post on 04-Jul-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Logic and the set theoryLecture 5: Propositional Calculus: part 1

S. Choi

Department of Mathematical ScienceKAIST, Daejeon, South Korea

Fall semester, 2012

S. Choi (KAIST) Logic and set theory September 18, 2012 1 / 16

Page 2: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Introduction

About this lecture

Notions of Inference

Inference RulesHypothetical RulesDerived RulesThe Propositional RulesEquivalencesCourse homepages:http://mathsci.kaist.ac.kr/~schoi/logic.html andthe 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 September 18, 2012 2 / 16

Page 3: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Introduction

About this lecture

Notions of InferenceInference Rules

Hypothetical RulesDerived RulesThe Propositional RulesEquivalencesCourse homepages:http://mathsci.kaist.ac.kr/~schoi/logic.html andthe 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 September 18, 2012 2 / 16

Page 4: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Introduction

About this lecture

Notions of InferenceInference RulesHypothetical Rules

Derived RulesThe Propositional RulesEquivalencesCourse homepages:http://mathsci.kaist.ac.kr/~schoi/logic.html andthe 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 September 18, 2012 2 / 16

Page 5: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Introduction

About this lecture

Notions of InferenceInference RulesHypothetical RulesDerived Rules

The Propositional RulesEquivalencesCourse homepages:http://mathsci.kaist.ac.kr/~schoi/logic.html andthe 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 September 18, 2012 2 / 16

Page 6: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Introduction

About this lecture

Notions of InferenceInference RulesHypothetical RulesDerived RulesThe Propositional Rules

EquivalencesCourse homepages:http://mathsci.kaist.ac.kr/~schoi/logic.html andthe 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 September 18, 2012 2 / 16

Page 7: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Introduction

About this lecture

Notions of InferenceInference RulesHypothetical RulesDerived RulesThe Propositional RulesEquivalences

Course homepages:http://mathsci.kaist.ac.kr/~schoi/logic.html andthe 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 September 18, 2012 2 / 16

Page 8: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Introduction

About this lecture

Notions of InferenceInference RulesHypothetical RulesDerived RulesThe Propositional RulesEquivalencesCourse homepages:http://mathsci.kaist.ac.kr/~schoi/logic.html andthe 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 September 18, 2012 2 / 16

Page 9: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Introduction

About this lecture

Notions of InferenceInference RulesHypothetical RulesDerived RulesThe Propositional RulesEquivalencesCourse homepages:http://mathsci.kaist.ac.kr/~schoi/logic.html andthe 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 September 18, 2012 2 / 16

Page 10: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Introduction

Some helpful references

Richard Jeffrey, Formal logic: its scope and limits, Mc Graw Hill

A mathematical introduction to logic, H. Enderton, AcademicPress.Whitehead, Russell, Principia Mathematica (our library). (Thiscould be a project idea. )http://plato.stanford.edu/contents.html has muchresource. See “Realism, Informal logic 2. Deductivism andbeyond,” and “Nondeductive methods in mathematics.”http://ocw.mit.edu/OcwWeb/Linguistics-and-Philosophy/24-241Fall-2005/CourseHome/ See "Derivations inSentential Calculus". (or SC Derivations.)http://jvrosset.free.fr/Goedel-Proof-Truth.pdf“Does Godels incompleteness prove that truth transcends proof?”

S. Choi (KAIST) Logic and set theory September 18, 2012 3 / 16

Page 11: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Introduction

Some helpful references

Richard Jeffrey, Formal logic: its scope and limits, Mc Graw HillA mathematical introduction to logic, H. Enderton, AcademicPress.

Whitehead, Russell, Principia Mathematica (our library). (Thiscould be a project idea. )http://plato.stanford.edu/contents.html has muchresource. See “Realism, Informal logic 2. Deductivism andbeyond,” and “Nondeductive methods in mathematics.”http://ocw.mit.edu/OcwWeb/Linguistics-and-Philosophy/24-241Fall-2005/CourseHome/ See "Derivations inSentential Calculus". (or SC Derivations.)http://jvrosset.free.fr/Goedel-Proof-Truth.pdf“Does Godels incompleteness prove that truth transcends proof?”

S. Choi (KAIST) Logic and set theory September 18, 2012 3 / 16

Page 12: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Introduction

Some helpful references

Richard Jeffrey, Formal logic: its scope and limits, Mc Graw HillA mathematical introduction to logic, H. Enderton, AcademicPress.Whitehead, Russell, Principia Mathematica (our library). (Thiscould be a project idea. )

http://plato.stanford.edu/contents.html has muchresource. See “Realism, Informal logic 2. Deductivism andbeyond,” and “Nondeductive methods in mathematics.”http://ocw.mit.edu/OcwWeb/Linguistics-and-Philosophy/24-241Fall-2005/CourseHome/ See "Derivations inSentential Calculus". (or SC Derivations.)http://jvrosset.free.fr/Goedel-Proof-Truth.pdf“Does Godels incompleteness prove that truth transcends proof?”

S. Choi (KAIST) Logic and set theory September 18, 2012 3 / 16

Page 13: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Introduction

Some helpful references

Richard Jeffrey, Formal logic: its scope and limits, Mc Graw HillA mathematical introduction to logic, H. Enderton, AcademicPress.Whitehead, Russell, Principia Mathematica (our library). (Thiscould be a project idea. )http://plato.stanford.edu/contents.html has muchresource. See “Realism, Informal logic 2. Deductivism andbeyond,” and “Nondeductive methods in mathematics.”

http://ocw.mit.edu/OcwWeb/Linguistics-and-Philosophy/24-241Fall-2005/CourseHome/ See "Derivations inSentential Calculus". (or SC Derivations.)http://jvrosset.free.fr/Goedel-Proof-Truth.pdf“Does Godels incompleteness prove that truth transcends proof?”

S. Choi (KAIST) Logic and set theory September 18, 2012 3 / 16

Page 14: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Introduction

Some helpful references

Richard Jeffrey, Formal logic: its scope and limits, Mc Graw HillA mathematical introduction to logic, H. Enderton, AcademicPress.Whitehead, Russell, Principia Mathematica (our library). (Thiscould be a project idea. )http://plato.stanford.edu/contents.html has muchresource. See “Realism, Informal logic 2. Deductivism andbeyond,” and “Nondeductive methods in mathematics.”http://ocw.mit.edu/OcwWeb/Linguistics-and-Philosophy/24-241Fall-2005/CourseHome/ See "Derivations inSentential Calculus". (or SC Derivations.)

http://jvrosset.free.fr/Goedel-Proof-Truth.pdf“Does Godels incompleteness prove that truth transcends proof?”

S. Choi (KAIST) Logic and set theory September 18, 2012 3 / 16

Page 15: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Introduction

Some helpful references

Richard Jeffrey, Formal logic: its scope and limits, Mc Graw HillA mathematical introduction to logic, H. Enderton, AcademicPress.Whitehead, Russell, Principia Mathematica (our library). (Thiscould be a project idea. )http://plato.stanford.edu/contents.html has muchresource. See “Realism, Informal logic 2. Deductivism andbeyond,” and “Nondeductive methods in mathematics.”http://ocw.mit.edu/OcwWeb/Linguistics-and-Philosophy/24-241Fall-2005/CourseHome/ See "Derivations inSentential Calculus". (or SC Derivations.)http://jvrosset.free.fr/Goedel-Proof-Truth.pdf“Does Godels incompleteness prove that truth transcends proof?”

S. Choi (KAIST) Logic and set theory September 18, 2012 3 / 16

Page 16: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

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 September 18, 2012 4 / 16

Page 17: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

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 September 18, 2012 4 / 16

Page 18: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

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 September 18, 2012 4 / 16

Page 19: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

The notion of inference

The realism and antirealism

If the tree fall in a forest, and no one was there to heard it, did itmake a sound? (Berkeley)

Realism believes in the existence and the independence of certainobjects and so on. This is very close to the logical atomism.Antirealism: One has to test to find out before it can considered toexists and so on.Since we do not know everything, which should we take as ourposition?

S. Choi (KAIST) Logic and set theory September 18, 2012 5 / 16

Page 20: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

The notion of inference

The realism and antirealism

If the tree fall in a forest, and no one was there to heard it, did itmake a sound? (Berkeley)Realism believes in the existence and the independence of certainobjects and so on. This is very close to the logical atomism.

Antirealism: One has to test to find out before it can considered toexists and so on.Since we do not know everything, which should we take as ourposition?

S. Choi (KAIST) Logic and set theory September 18, 2012 5 / 16

Page 21: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

The notion of inference

The realism and antirealism

If the tree fall in a forest, and no one was there to heard it, did itmake a sound? (Berkeley)Realism believes in the existence and the independence of certainobjects and so on. This is very close to the logical atomism.Antirealism: One has to test to find out before it can considered toexists and so on.

Since we do not know everything, which should we take as ourposition?

S. Choi (KAIST) Logic and set theory September 18, 2012 5 / 16

Page 22: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

The notion of inference

The realism and antirealism

If the tree fall in a forest, and no one was there to heard it, did itmake a sound? (Berkeley)Realism believes in the existence and the independence of certainobjects and so on. This is very close to the logical atomism.Antirealism: One has to test to find out before it can considered toexists and so on.Since we do not know everything, which should we take as ourposition?

S. Choi (KAIST) Logic and set theory September 18, 2012 5 / 16

Page 23: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

The notion of inference

The notion of inference

From a valid set of "assumptions" or "theorems" we wish todeduce more true statements.

We give a collection of ten rules of inference that gives you truestatements from assumptions. (The collection of rules depend onbooks but essentially equivalent.) (Some Postmordernist will callthese just Rhetorics.)Inference = Deduction = Proof.This is actually weaker than TF table or truth tree method. (inhigher-order logic)If you take the antirealist’s position, the deductions are only validmethod. But we could also take the realist’s position.The reason for doing it is that for Predicate calculus, TF methodscannot work since we have to check infinitely many cases.(incompleteness)

S. Choi (KAIST) Logic and set theory September 18, 2012 6 / 16

Page 24: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

The notion of inference

The notion of inference

From a valid set of "assumptions" or "theorems" we wish todeduce more true statements.We give a collection of ten rules of inference that gives you truestatements from assumptions. (The collection of rules depend onbooks but essentially equivalent.) (Some Postmordernist will callthese just Rhetorics.)

Inference = Deduction = Proof.This is actually weaker than TF table or truth tree method. (inhigher-order logic)If you take the antirealist’s position, the deductions are only validmethod. But we could also take the realist’s position.The reason for doing it is that for Predicate calculus, TF methodscannot work since we have to check infinitely many cases.(incompleteness)

S. Choi (KAIST) Logic and set theory September 18, 2012 6 / 16

Page 25: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

The notion of inference

The notion of inference

From a valid set of "assumptions" or "theorems" we wish todeduce more true statements.We give a collection of ten rules of inference that gives you truestatements from assumptions. (The collection of rules depend onbooks but essentially equivalent.) (Some Postmordernist will callthese just Rhetorics.)Inference = Deduction = Proof.

This is actually weaker than TF table or truth tree method. (inhigher-order logic)If you take the antirealist’s position, the deductions are only validmethod. But we could also take the realist’s position.The reason for doing it is that for Predicate calculus, TF methodscannot work since we have to check infinitely many cases.(incompleteness)

S. Choi (KAIST) Logic and set theory September 18, 2012 6 / 16

Page 26: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

The notion of inference

The notion of inference

From a valid set of "assumptions" or "theorems" we wish todeduce more true statements.We give a collection of ten rules of inference that gives you truestatements from assumptions. (The collection of rules depend onbooks but essentially equivalent.) (Some Postmordernist will callthese just Rhetorics.)Inference = Deduction = Proof.This is actually weaker than TF table or truth tree method. (inhigher-order logic)

If you take the antirealist’s position, the deductions are only validmethod. But we could also take the realist’s position.The reason for doing it is that for Predicate calculus, TF methodscannot work since we have to check infinitely many cases.(incompleteness)

S. Choi (KAIST) Logic and set theory September 18, 2012 6 / 16

Page 27: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

The notion of inference

The notion of inference

From a valid set of "assumptions" or "theorems" we wish todeduce more true statements.We give a collection of ten rules of inference that gives you truestatements from assumptions. (The collection of rules depend onbooks but essentially equivalent.) (Some Postmordernist will callthese just Rhetorics.)Inference = Deduction = Proof.This is actually weaker than TF table or truth tree method. (inhigher-order logic)If you take the antirealist’s position, the deductions are only validmethod. But we could also take the realist’s position.

The reason for doing it is that for Predicate calculus, TF methodscannot work since we have to check infinitely many cases.(incompleteness)

S. Choi (KAIST) Logic and set theory September 18, 2012 6 / 16

Page 28: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

The notion of inference

The notion of inference

From a valid set of "assumptions" or "theorems" we wish todeduce more true statements.We give a collection of ten rules of inference that gives you truestatements from assumptions. (The collection of rules depend onbooks but essentially equivalent.) (Some Postmordernist will callthese just Rhetorics.)Inference = Deduction = Proof.This is actually weaker than TF table or truth tree method. (inhigher-order logic)If you take the antirealist’s position, the deductions are only validmethod. But we could also take the realist’s position.The reason for doing it is that for Predicate calculus, TF methodscannot work since we have to check infinitely many cases.(incompleteness)

S. Choi (KAIST) Logic and set theory September 18, 2012 6 / 16

Page 29: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

Nonhypothetical Inference Rules

Modus Ponens or condition eliminations (→ E). From aconditional and its antecendent, we can infer the consequent.

P, P → Q, ` Q.We can check in truth table.Example:P, Q → R, P → Q, ` R.We need two (→ E).

S. Choi (KAIST) Logic and set theory September 18, 2012 7 / 16

Page 30: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

Nonhypothetical Inference Rules

Modus Ponens or condition eliminations (→ E). From aconditional and its antecendent, we can infer the consequent.P, P → Q, ` Q.

We can check in truth table.Example:P, Q → R, P → Q, ` R.We need two (→ E).

S. Choi (KAIST) Logic and set theory September 18, 2012 7 / 16

Page 31: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

Nonhypothetical Inference Rules

Modus Ponens or condition eliminations (→ E). From aconditional and its antecendent, we can infer the consequent.P, P → Q, ` Q.We can check in truth table.

Example:P, Q → R, P → Q, ` R.We need two (→ E).

S. Choi (KAIST) Logic and set theory September 18, 2012 7 / 16

Page 32: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

Nonhypothetical Inference Rules

Modus Ponens or condition eliminations (→ E). From aconditional and its antecendent, we can infer the consequent.P, P → Q, ` Q.We can check in truth table.Example:

P, Q → R, P → Q, ` R.We need two (→ E).

S. Choi (KAIST) Logic and set theory September 18, 2012 7 / 16

Page 33: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

Nonhypothetical Inference Rules

Modus Ponens or condition eliminations (→ E). From aconditional and its antecendent, we can infer the consequent.P, P → Q, ` Q.We can check in truth table.Example:P, Q → R, P → Q, ` R.

We need two (→ E).

S. Choi (KAIST) Logic and set theory September 18, 2012 7 / 16

Page 34: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

Nonhypothetical Inference Rules

Modus Ponens or condition eliminations (→ E). From aconditional and its antecendent, we can infer the consequent.P, P → Q, ` Q.We can check in truth table.Example:P, Q → R, P → Q, ` R.We need two (→ E).

S. Choi (KAIST) Logic and set theory September 18, 2012 7 / 16

Page 35: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

More rules

Negation elimination (¬E): ¬¬φ→ φ.

Conjunction introduction (∧I): φ, ψ → φ ∧ ψ.Conjunction elimination (∧E) : φ ∧ ψ → φ, ψ.Disjunction introduction (∨I): φ→ φ ∨ ψ for any wff ψ.Disjuction elimination (∨E): φ ∨ ψ, φ→ χ, ψ → χ. Then infer χ.Biconditional introduction.(↔ I): φ→ ψ, ψ → φ. Then φ↔ ψ.Biconditional elimination. (↔ E): φ↔ ψ. Then φ→ ψ, ψ → φ.

S. Choi (KAIST) Logic and set theory September 18, 2012 8 / 16

Page 36: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

More rules

Negation elimination (¬E): ¬¬φ→ φ.Conjunction introduction (∧I): φ, ψ → φ ∧ ψ.

Conjunction elimination (∧E) : φ ∧ ψ → φ, ψ.Disjunction introduction (∨I): φ→ φ ∨ ψ for any wff ψ.Disjuction elimination (∨E): φ ∨ ψ, φ→ χ, ψ → χ. Then infer χ.Biconditional introduction.(↔ I): φ→ ψ, ψ → φ. Then φ↔ ψ.Biconditional elimination. (↔ E): φ↔ ψ. Then φ→ ψ, ψ → φ.

S. Choi (KAIST) Logic and set theory September 18, 2012 8 / 16

Page 37: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

More rules

Negation elimination (¬E): ¬¬φ→ φ.Conjunction introduction (∧I): φ, ψ → φ ∧ ψ.Conjunction elimination (∧E) : φ ∧ ψ → φ, ψ.

Disjunction introduction (∨I): φ→ φ ∨ ψ for any wff ψ.Disjuction elimination (∨E): φ ∨ ψ, φ→ χ, ψ → χ. Then infer χ.Biconditional introduction.(↔ I): φ→ ψ, ψ → φ. Then φ↔ ψ.Biconditional elimination. (↔ E): φ↔ ψ. Then φ→ ψ, ψ → φ.

S. Choi (KAIST) Logic and set theory September 18, 2012 8 / 16

Page 38: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

More rules

Negation elimination (¬E): ¬¬φ→ φ.Conjunction introduction (∧I): φ, ψ → φ ∧ ψ.Conjunction elimination (∧E) : φ ∧ ψ → φ, ψ.Disjunction introduction (∨I): φ→ φ ∨ ψ for any wff ψ.

Disjuction elimination (∨E): φ ∨ ψ, φ→ χ, ψ → χ. Then infer χ.Biconditional introduction.(↔ I): φ→ ψ, ψ → φ. Then φ↔ ψ.Biconditional elimination. (↔ E): φ↔ ψ. Then φ→ ψ, ψ → φ.

S. Choi (KAIST) Logic and set theory September 18, 2012 8 / 16

Page 39: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

More rules

Negation elimination (¬E): ¬¬φ→ φ.Conjunction introduction (∧I): φ, ψ → φ ∧ ψ.Conjunction elimination (∧E) : φ ∧ ψ → φ, ψ.Disjunction introduction (∨I): φ→ φ ∨ ψ for any wff ψ.Disjuction elimination (∨E): φ ∨ ψ, φ→ χ, ψ → χ. Then infer χ.

Biconditional introduction.(↔ I): φ→ ψ, ψ → φ. Then φ↔ ψ.Biconditional elimination. (↔ E): φ↔ ψ. Then φ→ ψ, ψ → φ.

S. Choi (KAIST) Logic and set theory September 18, 2012 8 / 16

Page 40: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

More rules

Negation elimination (¬E): ¬¬φ→ φ.Conjunction introduction (∧I): φ, ψ → φ ∧ ψ.Conjunction elimination (∧E) : φ ∧ ψ → φ, ψ.Disjunction introduction (∨I): φ→ φ ∨ ψ for any wff ψ.Disjuction elimination (∨E): φ ∨ ψ, φ→ χ, ψ → χ. Then infer χ.Biconditional introduction.(↔ I): φ→ ψ, ψ → φ. Then φ↔ ψ.

Biconditional elimination. (↔ E): φ↔ ψ. Then φ→ ψ, ψ → φ.

S. Choi (KAIST) Logic and set theory September 18, 2012 8 / 16

Page 41: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

More rules

Negation elimination (¬E): ¬¬φ→ φ.Conjunction introduction (∧I): φ, ψ → φ ∧ ψ.Conjunction elimination (∧E) : φ ∧ ψ → φ, ψ.Disjunction introduction (∨I): φ→ φ ∨ ψ for any wff ψ.Disjuction elimination (∨E): φ ∨ ψ, φ→ χ, ψ → χ. Then infer χ.Biconditional introduction.(↔ I): φ→ ψ, ψ → φ. Then φ↔ ψ.Biconditional elimination. (↔ E): φ↔ ψ. Then φ→ ψ, ψ → φ.

S. Choi (KAIST) Logic and set theory September 18, 2012 8 / 16

Page 42: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

Example 1

P ` (P ∨ Q) ∧ (P ∨ R).

1. P. Assumption2. P ∨ Q. 1. ∨I.3. P ∨ R. 1. ∨I.4. (P ∨ Q) ∧ (P ∨ R). 2.3. ∧I.

S. Choi (KAIST) Logic and set theory September 18, 2012 9 / 16

Page 43: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

Example 1

P ` (P ∨ Q) ∧ (P ∨ R).1. P. Assumption

2. P ∨ Q. 1. ∨I.3. P ∨ R. 1. ∨I.4. (P ∨ Q) ∧ (P ∨ R). 2.3. ∧I.

S. Choi (KAIST) Logic and set theory September 18, 2012 9 / 16

Page 44: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

Example 1

P ` (P ∨ Q) ∧ (P ∨ R).1. P. Assumption2. P ∨ Q. 1. ∨I.

3. P ∨ R. 1. ∨I.4. (P ∨ Q) ∧ (P ∨ R). 2.3. ∧I.

S. Choi (KAIST) Logic and set theory September 18, 2012 9 / 16

Page 45: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

Example 1

P ` (P ∨ Q) ∧ (P ∨ R).1. P. Assumption2. P ∨ Q. 1. ∨I.3. P ∨ R. 1. ∨I.

4. (P ∨ Q) ∧ (P ∨ R). 2.3. ∧I.

S. Choi (KAIST) Logic and set theory September 18, 2012 9 / 16

Page 46: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

Example 1

P ` (P ∨ Q) ∧ (P ∨ R).1. P. Assumption2. P ∨ Q. 1. ∨I.3. P ∨ R. 1. ∨I.4. (P ∨ Q) ∧ (P ∨ R). 2.3. ∧I.

S. Choi (KAIST) Logic and set theory September 18, 2012 9 / 16

Page 47: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

Example 2

P,¬¬(P → Q) ` (R ∧ S) ∨ Q.

1. P. Assumption2. ¬¬(P → Q). A.3. P → Q. 2. ¬E .4. Q. 1.3. → E .5. (R ∧ S) ∨ Q 4. ∨I.

S. Choi (KAIST) Logic and set theory September 18, 2012 10 / 16

Page 48: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

Example 2

P,¬¬(P → Q) ` (R ∧ S) ∨ Q.1. P. Assumption

2. ¬¬(P → Q). A.3. P → Q. 2. ¬E .4. Q. 1.3. → E .5. (R ∧ S) ∨ Q 4. ∨I.

S. Choi (KAIST) Logic and set theory September 18, 2012 10 / 16

Page 49: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

Example 2

P,¬¬(P → Q) ` (R ∧ S) ∨ Q.1. P. Assumption2. ¬¬(P → Q). A.

3. P → Q. 2. ¬E .4. Q. 1.3. → E .5. (R ∧ S) ∨ Q 4. ∨I.

S. Choi (KAIST) Logic and set theory September 18, 2012 10 / 16

Page 50: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

Example 2

P,¬¬(P → Q) ` (R ∧ S) ∨ Q.1. P. Assumption2. ¬¬(P → Q). A.3. P → Q. 2. ¬E .

4. Q. 1.3. → E .5. (R ∧ S) ∨ Q 4. ∨I.

S. Choi (KAIST) Logic and set theory September 18, 2012 10 / 16

Page 51: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

Example 2

P,¬¬(P → Q) ` (R ∧ S) ∨ Q.1. P. Assumption2. ¬¬(P → Q). A.3. P → Q. 2. ¬E .4. Q. 1.3. → E .

5. (R ∧ S) ∨ Q 4. ∨I.

S. Choi (KAIST) Logic and set theory September 18, 2012 10 / 16

Page 52: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

Example 2

P,¬¬(P → Q) ` (R ∧ S) ∨ Q.1. P. Assumption2. ¬¬(P → Q). A.3. P → Q. 2. ¬E .4. Q. 1.3. → E .5. (R ∧ S) ∨ Q 4. ∨I.

S. Choi (KAIST) Logic and set theory September 18, 2012 10 / 16

Page 53: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

Example 3

P ∨ P,P → (Q ∧ R) ` R.

1. P ∨ P. A.2. P → (Q ∧ R). A.3. Q ∧ R. 1, 2. ∨E .4. R. 3. ∧E .

S. Choi (KAIST) Logic and set theory September 18, 2012 11 / 16

Page 54: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

Example 3

P ∨ P,P → (Q ∧ R) ` R.1. P ∨ P. A.

2. P → (Q ∧ R). A.3. Q ∧ R. 1, 2. ∨E .4. R. 3. ∧E .

S. Choi (KAIST) Logic and set theory September 18, 2012 11 / 16

Page 55: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

Example 3

P ∨ P,P → (Q ∧ R) ` R.1. P ∨ P. A.2. P → (Q ∧ R). A.

3. Q ∧ R. 1, 2. ∨E .4. R. 3. ∧E .

S. Choi (KAIST) Logic and set theory September 18, 2012 11 / 16

Page 56: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

Example 3

P ∨ P,P → (Q ∧ R) ` R.1. P ∨ P. A.2. P → (Q ∧ R). A.3. Q ∧ R. 1, 2. ∨E .

4. R. 3. ∧E .

S. Choi (KAIST) Logic and set theory September 18, 2012 11 / 16

Page 57: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Nonhypothetical Inference Rules

Example 3

P ∨ P,P → (Q ∧ R) ` R.1. P ∨ P. A.2. P → (Q ∧ R). A.3. Q ∧ R. 1, 2. ∨E .4. R. 3. ∧E .

S. Choi (KAIST) Logic and set theory September 18, 2012 11 / 16

Page 58: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Hypothetical Rules

Conditional introduction (→ I): Given a derivation of φ with help ofψ, we infer ψ → φ.

Example:P → Q, Q → R ` P → R. (Socrates is human, Humans aremortal, Thus, Socrates is mortal.)P → Q. A.Q → R. A.: P. H.: Q. 1,3, → E .: R. 2.4, → E .P → R. 3-5. → I.

S. Choi (KAIST) Logic and set theory September 18, 2012 12 / 16

Page 59: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Hypothetical Rules

Conditional introduction (→ I): Given a derivation of φ with help ofψ, we infer ψ → φ.Example:

P → Q, Q → R ` P → R. (Socrates is human, Humans aremortal, Thus, Socrates is mortal.)P → Q. A.Q → R. A.: P. H.: Q. 1,3, → E .: R. 2.4, → E .P → R. 3-5. → I.

S. Choi (KAIST) Logic and set theory September 18, 2012 12 / 16

Page 60: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Hypothetical Rules

Conditional introduction (→ I): Given a derivation of φ with help ofψ, we infer ψ → φ.Example:P → Q, Q → R ` P → R. (Socrates is human, Humans aremortal, Thus, Socrates is mortal.)

P → Q. A.Q → R. A.: P. H.: Q. 1,3, → E .: R. 2.4, → E .P → R. 3-5. → I.

S. Choi (KAIST) Logic and set theory September 18, 2012 12 / 16

Page 61: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Hypothetical Rules

Conditional introduction (→ I): Given a derivation of φ with help ofψ, we infer ψ → φ.Example:P → Q, Q → R ` P → R. (Socrates is human, Humans aremortal, Thus, Socrates is mortal.)P → Q. A.

Q → R. A.: P. H.: Q. 1,3, → E .: R. 2.4, → E .P → R. 3-5. → I.

S. Choi (KAIST) Logic and set theory September 18, 2012 12 / 16

Page 62: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Hypothetical Rules

Conditional introduction (→ I): Given a derivation of φ with help ofψ, we infer ψ → φ.Example:P → Q, Q → R ` P → R. (Socrates is human, Humans aremortal, Thus, Socrates is mortal.)P → Q. A.Q → R. A.

: P. H.: Q. 1,3, → E .: R. 2.4, → E .P → R. 3-5. → I.

S. Choi (KAIST) Logic and set theory September 18, 2012 12 / 16

Page 63: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Hypothetical Rules

Conditional introduction (→ I): Given a derivation of φ with help ofψ, we infer ψ → φ.Example:P → Q, Q → R ` P → R. (Socrates is human, Humans aremortal, Thus, Socrates is mortal.)P → Q. A.Q → R. A.: P. H.

: Q. 1,3, → E .: R. 2.4, → E .P → R. 3-5. → I.

S. Choi (KAIST) Logic and set theory September 18, 2012 12 / 16

Page 64: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Hypothetical Rules

Conditional introduction (→ I): Given a derivation of φ with help ofψ, we infer ψ → φ.Example:P → Q, Q → R ` P → R. (Socrates is human, Humans aremortal, Thus, Socrates is mortal.)P → Q. A.Q → R. A.: P. H.: Q. 1,3, → E .

: R. 2.4, → E .P → R. 3-5. → I.

S. Choi (KAIST) Logic and set theory September 18, 2012 12 / 16

Page 65: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Hypothetical Rules

Conditional introduction (→ I): Given a derivation of φ with help ofψ, we infer ψ → φ.Example:P → Q, Q → R ` P → R. (Socrates is human, Humans aremortal, Thus, Socrates is mortal.)P → Q. A.Q → R. A.: P. H.: Q. 1,3, → E .: R. 2.4, → E .

P → R. 3-5. → I.

S. Choi (KAIST) Logic and set theory September 18, 2012 12 / 16

Page 66: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Hypothetical Rules

Conditional introduction (→ I): Given a derivation of φ with help ofψ, we infer ψ → φ.Example:P → Q, Q → R ` P → R. (Socrates is human, Humans aremortal, Thus, Socrates is mortal.)P → Q. A.Q → R. A.: P. H.: Q. 1,3, → E .: R. 2.4, → E .P → R. 3-5. → I.

S. Choi (KAIST) Logic and set theory September 18, 2012 12 / 16

Page 67: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example(P ∧ Q) ∨ (P ∧ R) ` P ∧ (Q ∨ R).

1. (P ∧ Q) ∨ (P ∧ R). A2. : P ∧ Q. H3. : P 2. ∧E .4. : Q 2. ∧E .5. : Q ∨ R. 4. ∨I.6 : P ∧ (Q ∨ R). 3.5. ∧I.7. (P ∧ Q) → (P ∧ (Q ∨ R)). 2-6 → I.8. : P ∧ R. H9. : P 8. ∧E .10. : R 8. ∧E .11. : Q ∨ R. 10. ∨I.12 : P ∧ (Q ∨ R). 9.11. ∧I.13. (P ∧ R) → (P ∧ (Q ∨ R)). 2-6 → I.14. P ∧ (Q ∨ R). 1.7.13 ∨E .

S. Choi (KAIST) Logic and set theory September 18, 2012 13 / 16

Page 68: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example(P ∧ Q) ∨ (P ∧ R) ` P ∧ (Q ∨ R).1. (P ∧ Q) ∨ (P ∧ R). A

2. : P ∧ Q. H3. : P 2. ∧E .4. : Q 2. ∧E .5. : Q ∨ R. 4. ∨I.6 : P ∧ (Q ∨ R). 3.5. ∧I.7. (P ∧ Q) → (P ∧ (Q ∨ R)). 2-6 → I.8. : P ∧ R. H9. : P 8. ∧E .10. : R 8. ∧E .11. : Q ∨ R. 10. ∨I.12 : P ∧ (Q ∨ R). 9.11. ∧I.13. (P ∧ R) → (P ∧ (Q ∨ R)). 2-6 → I.14. P ∧ (Q ∨ R). 1.7.13 ∨E .

S. Choi (KAIST) Logic and set theory September 18, 2012 13 / 16

Page 69: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example(P ∧ Q) ∨ (P ∧ R) ` P ∧ (Q ∨ R).1. (P ∧ Q) ∨ (P ∧ R). A2. : P ∧ Q. H

3. : P 2. ∧E .4. : Q 2. ∧E .5. : Q ∨ R. 4. ∨I.6 : P ∧ (Q ∨ R). 3.5. ∧I.7. (P ∧ Q) → (P ∧ (Q ∨ R)). 2-6 → I.8. : P ∧ R. H9. : P 8. ∧E .10. : R 8. ∧E .11. : Q ∨ R. 10. ∨I.12 : P ∧ (Q ∨ R). 9.11. ∧I.13. (P ∧ R) → (P ∧ (Q ∨ R)). 2-6 → I.14. P ∧ (Q ∨ R). 1.7.13 ∨E .

S. Choi (KAIST) Logic and set theory September 18, 2012 13 / 16

Page 70: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example(P ∧ Q) ∨ (P ∧ R) ` P ∧ (Q ∨ R).1. (P ∧ Q) ∨ (P ∧ R). A2. : P ∧ Q. H3. : P 2. ∧E .

4. : Q 2. ∧E .5. : Q ∨ R. 4. ∨I.6 : P ∧ (Q ∨ R). 3.5. ∧I.7. (P ∧ Q) → (P ∧ (Q ∨ R)). 2-6 → I.8. : P ∧ R. H9. : P 8. ∧E .10. : R 8. ∧E .11. : Q ∨ R. 10. ∨I.12 : P ∧ (Q ∨ R). 9.11. ∧I.13. (P ∧ R) → (P ∧ (Q ∨ R)). 2-6 → I.14. P ∧ (Q ∨ R). 1.7.13 ∨E .

S. Choi (KAIST) Logic and set theory September 18, 2012 13 / 16

Page 71: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example(P ∧ Q) ∨ (P ∧ R) ` P ∧ (Q ∨ R).1. (P ∧ Q) ∨ (P ∧ R). A2. : P ∧ Q. H3. : P 2. ∧E .4. : Q 2. ∧E .

5. : Q ∨ R. 4. ∨I.6 : P ∧ (Q ∨ R). 3.5. ∧I.7. (P ∧ Q) → (P ∧ (Q ∨ R)). 2-6 → I.8. : P ∧ R. H9. : P 8. ∧E .10. : R 8. ∧E .11. : Q ∨ R. 10. ∨I.12 : P ∧ (Q ∨ R). 9.11. ∧I.13. (P ∧ R) → (P ∧ (Q ∨ R)). 2-6 → I.14. P ∧ (Q ∨ R). 1.7.13 ∨E .

S. Choi (KAIST) Logic and set theory September 18, 2012 13 / 16

Page 72: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example(P ∧ Q) ∨ (P ∧ R) ` P ∧ (Q ∨ R).1. (P ∧ Q) ∨ (P ∧ R). A2. : P ∧ Q. H3. : P 2. ∧E .4. : Q 2. ∧E .5. : Q ∨ R. 4. ∨I.

6 : P ∧ (Q ∨ R). 3.5. ∧I.7. (P ∧ Q) → (P ∧ (Q ∨ R)). 2-6 → I.8. : P ∧ R. H9. : P 8. ∧E .10. : R 8. ∧E .11. : Q ∨ R. 10. ∨I.12 : P ∧ (Q ∨ R). 9.11. ∧I.13. (P ∧ R) → (P ∧ (Q ∨ R)). 2-6 → I.14. P ∧ (Q ∨ R). 1.7.13 ∨E .

S. Choi (KAIST) Logic and set theory September 18, 2012 13 / 16

Page 73: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example(P ∧ Q) ∨ (P ∧ R) ` P ∧ (Q ∨ R).1. (P ∧ Q) ∨ (P ∧ R). A2. : P ∧ Q. H3. : P 2. ∧E .4. : Q 2. ∧E .5. : Q ∨ R. 4. ∨I.6 : P ∧ (Q ∨ R). 3.5. ∧I.

7. (P ∧ Q) → (P ∧ (Q ∨ R)). 2-6 → I.8. : P ∧ R. H9. : P 8. ∧E .10. : R 8. ∧E .11. : Q ∨ R. 10. ∨I.12 : P ∧ (Q ∨ R). 9.11. ∧I.13. (P ∧ R) → (P ∧ (Q ∨ R)). 2-6 → I.14. P ∧ (Q ∨ R). 1.7.13 ∨E .

S. Choi (KAIST) Logic and set theory September 18, 2012 13 / 16

Page 74: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example(P ∧ Q) ∨ (P ∧ R) ` P ∧ (Q ∨ R).1. (P ∧ Q) ∨ (P ∧ R). A2. : P ∧ Q. H3. : P 2. ∧E .4. : Q 2. ∧E .5. : Q ∨ R. 4. ∨I.6 : P ∧ (Q ∨ R). 3.5. ∧I.7. (P ∧ Q) → (P ∧ (Q ∨ R)). 2-6 → I.

8. : P ∧ R. H9. : P 8. ∧E .10. : R 8. ∧E .11. : Q ∨ R. 10. ∨I.12 : P ∧ (Q ∨ R). 9.11. ∧I.13. (P ∧ R) → (P ∧ (Q ∨ R)). 2-6 → I.14. P ∧ (Q ∨ R). 1.7.13 ∨E .

S. Choi (KAIST) Logic and set theory September 18, 2012 13 / 16

Page 75: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example(P ∧ Q) ∨ (P ∧ R) ` P ∧ (Q ∨ R).1. (P ∧ Q) ∨ (P ∧ R). A2. : P ∧ Q. H3. : P 2. ∧E .4. : Q 2. ∧E .5. : Q ∨ R. 4. ∨I.6 : P ∧ (Q ∨ R). 3.5. ∧I.7. (P ∧ Q) → (P ∧ (Q ∨ R)). 2-6 → I.8. : P ∧ R. H

9. : P 8. ∧E .10. : R 8. ∧E .11. : Q ∨ R. 10. ∨I.12 : P ∧ (Q ∨ R). 9.11. ∧I.13. (P ∧ R) → (P ∧ (Q ∨ R)). 2-6 → I.14. P ∧ (Q ∨ R). 1.7.13 ∨E .

S. Choi (KAIST) Logic and set theory September 18, 2012 13 / 16

Page 76: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example(P ∧ Q) ∨ (P ∧ R) ` P ∧ (Q ∨ R).1. (P ∧ Q) ∨ (P ∧ R). A2. : P ∧ Q. H3. : P 2. ∧E .4. : Q 2. ∧E .5. : Q ∨ R. 4. ∨I.6 : P ∧ (Q ∨ R). 3.5. ∧I.7. (P ∧ Q) → (P ∧ (Q ∨ R)). 2-6 → I.8. : P ∧ R. H9. : P 8. ∧E .

10. : R 8. ∧E .11. : Q ∨ R. 10. ∨I.12 : P ∧ (Q ∨ R). 9.11. ∧I.13. (P ∧ R) → (P ∧ (Q ∨ R)). 2-6 → I.14. P ∧ (Q ∨ R). 1.7.13 ∨E .

S. Choi (KAIST) Logic and set theory September 18, 2012 13 / 16

Page 77: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example(P ∧ Q) ∨ (P ∧ R) ` P ∧ (Q ∨ R).1. (P ∧ Q) ∨ (P ∧ R). A2. : P ∧ Q. H3. : P 2. ∧E .4. : Q 2. ∧E .5. : Q ∨ R. 4. ∨I.6 : P ∧ (Q ∨ R). 3.5. ∧I.7. (P ∧ Q) → (P ∧ (Q ∨ R)). 2-6 → I.8. : P ∧ R. H9. : P 8. ∧E .10. : R 8. ∧E .

11. : Q ∨ R. 10. ∨I.12 : P ∧ (Q ∨ R). 9.11. ∧I.13. (P ∧ R) → (P ∧ (Q ∨ R)). 2-6 → I.14. P ∧ (Q ∨ R). 1.7.13 ∨E .

S. Choi (KAIST) Logic and set theory September 18, 2012 13 / 16

Page 78: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example(P ∧ Q) ∨ (P ∧ R) ` P ∧ (Q ∨ R).1. (P ∧ Q) ∨ (P ∧ R). A2. : P ∧ Q. H3. : P 2. ∧E .4. : Q 2. ∧E .5. : Q ∨ R. 4. ∨I.6 : P ∧ (Q ∨ R). 3.5. ∧I.7. (P ∧ Q) → (P ∧ (Q ∨ R)). 2-6 → I.8. : P ∧ R. H9. : P 8. ∧E .10. : R 8. ∧E .11. : Q ∨ R. 10. ∨I.

12 : P ∧ (Q ∨ R). 9.11. ∧I.13. (P ∧ R) → (P ∧ (Q ∨ R)). 2-6 → I.14. P ∧ (Q ∨ R). 1.7.13 ∨E .

S. Choi (KAIST) Logic and set theory September 18, 2012 13 / 16

Page 79: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example(P ∧ Q) ∨ (P ∧ R) ` P ∧ (Q ∨ R).1. (P ∧ Q) ∨ (P ∧ R). A2. : P ∧ Q. H3. : P 2. ∧E .4. : Q 2. ∧E .5. : Q ∨ R. 4. ∨I.6 : P ∧ (Q ∨ R). 3.5. ∧I.7. (P ∧ Q) → (P ∧ (Q ∨ R)). 2-6 → I.8. : P ∧ R. H9. : P 8. ∧E .10. : R 8. ∧E .11. : Q ∨ R. 10. ∨I.12 : P ∧ (Q ∨ R). 9.11. ∧I.

13. (P ∧ R) → (P ∧ (Q ∨ R)). 2-6 → I.14. P ∧ (Q ∨ R). 1.7.13 ∨E .

S. Choi (KAIST) Logic and set theory September 18, 2012 13 / 16

Page 80: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example(P ∧ Q) ∨ (P ∧ R) ` P ∧ (Q ∨ R).1. (P ∧ Q) ∨ (P ∧ R). A2. : P ∧ Q. H3. : P 2. ∧E .4. : Q 2. ∧E .5. : Q ∨ R. 4. ∨I.6 : P ∧ (Q ∨ R). 3.5. ∧I.7. (P ∧ Q) → (P ∧ (Q ∨ R)). 2-6 → I.8. : P ∧ R. H9. : P 8. ∧E .10. : R 8. ∧E .11. : Q ∨ R. 10. ∨I.12 : P ∧ (Q ∨ R). 9.11. ∧I.13. (P ∧ R) → (P ∧ (Q ∨ R)). 2-6 → I.

14. P ∧ (Q ∨ R). 1.7.13 ∨E .

S. Choi (KAIST) Logic and set theory September 18, 2012 13 / 16

Page 81: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example(P ∧ Q) ∨ (P ∧ R) ` P ∧ (Q ∨ R).1. (P ∧ Q) ∨ (P ∧ R). A2. : P ∧ Q. H3. : P 2. ∧E .4. : Q 2. ∧E .5. : Q ∨ R. 4. ∨I.6 : P ∧ (Q ∨ R). 3.5. ∧I.7. (P ∧ Q) → (P ∧ (Q ∨ R)). 2-6 → I.8. : P ∧ R. H9. : P 8. ∧E .10. : R 8. ∧E .11. : Q ∨ R. 10. ∨I.12 : P ∧ (Q ∨ R). 9.11. ∧I.13. (P ∧ R) → (P ∧ (Q ∨ R)). 2-6 → I.14. P ∧ (Q ∨ R). 1.7.13 ∨E .

S. Choi (KAIST) Logic and set theory September 18, 2012 13 / 16

Page 82: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Note

Every hypothesis introduced begins at a new line.

No occurance of a formula to the right of a vertical line may becited after the line ended. (There may be multiple lines. See 4.20)If two or more hypotheses are ineffect, then the order that they aredischarged is reversed.A proof is not valid until all the hypotheses are discharged.

S. Choi (KAIST) Logic and set theory September 18, 2012 14 / 16

Page 83: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Note

Every hypothesis introduced begins at a new line.No occurance of a formula to the right of a vertical line may becited after the line ended. (There may be multiple lines. See 4.20)

If two or more hypotheses are ineffect, then the order that they aredischarged is reversed.A proof is not valid until all the hypotheses are discharged.

S. Choi (KAIST) Logic and set theory September 18, 2012 14 / 16

Page 84: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Note

Every hypothesis introduced begins at a new line.No occurance of a formula to the right of a vertical line may becited after the line ended. (There may be multiple lines. See 4.20)If two or more hypotheses are ineffect, then the order that they aredischarged is reversed.

A proof is not valid until all the hypotheses are discharged.

S. Choi (KAIST) Logic and set theory September 18, 2012 14 / 16

Page 85: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Note

Every hypothesis introduced begins at a new line.No occurance of a formula to the right of a vertical line may becited after the line ended. (There may be multiple lines. See 4.20)If two or more hypotheses are ineffect, then the order that they aredischarged is reversed.A proof is not valid until all the hypotheses are discharged.

S. Choi (KAIST) Logic and set theory September 18, 2012 14 / 16

Page 86: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Negation introduction

Negation introduction (¬I). Reductio ad absurdum, indirect proof.

Given a derivation of an absurdity from a hypothesis ¬φ, we inferφ.

I ¬P → P, ` P.I 1. ¬P → P. A.I 2. : ¬P. H (for ¬I)I 3. : P, 1.2, (→ E)I 4. : P ∧ ¬P. 2.3 (∧I).I 5. ¬¬P. 2-4 ¬I.I 6. P. ¬E .

S. Choi (KAIST) Logic and set theory September 18, 2012 15 / 16

Page 87: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Negation introduction

Negation introduction (¬I). Reductio ad absurdum, indirect proof.Given a derivation of an absurdity from a hypothesis ¬φ, we inferφ.

I ¬P → P, ` P.I 1. ¬P → P. A.I 2. : ¬P. H (for ¬I)I 3. : P, 1.2, (→ E)I 4. : P ∧ ¬P. 2.3 (∧I).I 5. ¬¬P. 2-4 ¬I.I 6. P. ¬E .

S. Choi (KAIST) Logic and set theory September 18, 2012 15 / 16

Page 88: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Negation introduction

Negation introduction (¬I). Reductio ad absurdum, indirect proof.Given a derivation of an absurdity from a hypothesis ¬φ, we inferφ.

I ¬P → P, ` P.

I 1. ¬P → P. A.I 2. : ¬P. H (for ¬I)I 3. : P, 1.2, (→ E)I 4. : P ∧ ¬P. 2.3 (∧I).I 5. ¬¬P. 2-4 ¬I.I 6. P. ¬E .

S. Choi (KAIST) Logic and set theory September 18, 2012 15 / 16

Page 89: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Negation introduction

Negation introduction (¬I). Reductio ad absurdum, indirect proof.Given a derivation of an absurdity from a hypothesis ¬φ, we inferφ.

I ¬P → P, ` P.I 1. ¬P → P. A.

I 2. : ¬P. H (for ¬I)I 3. : P, 1.2, (→ E)I 4. : P ∧ ¬P. 2.3 (∧I).I 5. ¬¬P. 2-4 ¬I.I 6. P. ¬E .

S. Choi (KAIST) Logic and set theory September 18, 2012 15 / 16

Page 90: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Negation introduction

Negation introduction (¬I). Reductio ad absurdum, indirect proof.Given a derivation of an absurdity from a hypothesis ¬φ, we inferφ.

I ¬P → P, ` P.I 1. ¬P → P. A.I 2. : ¬P. H (for ¬I)

I 3. : P, 1.2, (→ E)I 4. : P ∧ ¬P. 2.3 (∧I).I 5. ¬¬P. 2-4 ¬I.I 6. P. ¬E .

S. Choi (KAIST) Logic and set theory September 18, 2012 15 / 16

Page 91: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Negation introduction

Negation introduction (¬I). Reductio ad absurdum, indirect proof.Given a derivation of an absurdity from a hypothesis ¬φ, we inferφ.

I ¬P → P, ` P.I 1. ¬P → P. A.I 2. : ¬P. H (for ¬I)I 3. : P, 1.2, (→ E)

I 4. : P ∧ ¬P. 2.3 (∧I).I 5. ¬¬P. 2-4 ¬I.I 6. P. ¬E .

S. Choi (KAIST) Logic and set theory September 18, 2012 15 / 16

Page 92: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Negation introduction

Negation introduction (¬I). Reductio ad absurdum, indirect proof.Given a derivation of an absurdity from a hypothesis ¬φ, we inferφ.

I ¬P → P, ` P.I 1. ¬P → P. A.I 2. : ¬P. H (for ¬I)I 3. : P, 1.2, (→ E)I 4. : P ∧ ¬P. 2.3 (∧I).

I 5. ¬¬P. 2-4 ¬I.I 6. P. ¬E .

S. Choi (KAIST) Logic and set theory September 18, 2012 15 / 16

Page 93: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Negation introduction

Negation introduction (¬I). Reductio ad absurdum, indirect proof.Given a derivation of an absurdity from a hypothesis ¬φ, we inferφ.

I ¬P → P, ` P.I 1. ¬P → P. A.I 2. : ¬P. H (for ¬I)I 3. : P, 1.2, (→ E)I 4. : P ∧ ¬P. 2.3 (∧I).I 5. ¬¬P. 2-4 ¬I.

I 6. P. ¬E .

S. Choi (KAIST) Logic and set theory September 18, 2012 15 / 16

Page 94: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Negation introduction

Negation introduction (¬I). Reductio ad absurdum, indirect proof.Given a derivation of an absurdity from a hypothesis ¬φ, we inferφ.

I ¬P → P, ` P.I 1. ¬P → P. A.I 2. : ¬P. H (for ¬I)I 3. : P, 1.2, (→ E)I 4. : P ∧ ¬P. 2.3 (∧I).I 5. ¬¬P. 2-4 ¬I.I 6. P. ¬E .

S. Choi (KAIST) Logic and set theory September 18, 2012 15 / 16

Page 95: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example

P → Q ` ¬P ∨ Q.

1. P → Q.2. : ¬(¬P ∨ Q). H (for ¬I.)3. ::P. H.(for ¬I).4. :: Q. 1.3. (→ E)5. :: ¬P ∨ Q. 4 ∨I.6. :: (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2.5. ∧I.7. : ¬P. 3-6 ¬I.8. : ¬P ∨ Q. 7. ∨I.9. : (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2. 8 ∧I.10. ¬¬(¬P ∨ Q). 2-9 ¬I.11. ¬P ∨ Q. 10. ¬E .

S. Choi (KAIST) Logic and set theory September 18, 2012 16 / 16

Page 96: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example

P → Q ` ¬P ∨ Q.1. P → Q.

2. : ¬(¬P ∨ Q). H (for ¬I.)3. ::P. H.(for ¬I).4. :: Q. 1.3. (→ E)5. :: ¬P ∨ Q. 4 ∨I.6. :: (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2.5. ∧I.7. : ¬P. 3-6 ¬I.8. : ¬P ∨ Q. 7. ∨I.9. : (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2. 8 ∧I.10. ¬¬(¬P ∨ Q). 2-9 ¬I.11. ¬P ∨ Q. 10. ¬E .

S. Choi (KAIST) Logic and set theory September 18, 2012 16 / 16

Page 97: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example

P → Q ` ¬P ∨ Q.1. P → Q.2. : ¬(¬P ∨ Q). H (for ¬I.)

3. ::P. H.(for ¬I).4. :: Q. 1.3. (→ E)5. :: ¬P ∨ Q. 4 ∨I.6. :: (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2.5. ∧I.7. : ¬P. 3-6 ¬I.8. : ¬P ∨ Q. 7. ∨I.9. : (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2. 8 ∧I.10. ¬¬(¬P ∨ Q). 2-9 ¬I.11. ¬P ∨ Q. 10. ¬E .

S. Choi (KAIST) Logic and set theory September 18, 2012 16 / 16

Page 98: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example

P → Q ` ¬P ∨ Q.1. P → Q.2. : ¬(¬P ∨ Q). H (for ¬I.)3. ::P. H.(for ¬I).

4. :: Q. 1.3. (→ E)5. :: ¬P ∨ Q. 4 ∨I.6. :: (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2.5. ∧I.7. : ¬P. 3-6 ¬I.8. : ¬P ∨ Q. 7. ∨I.9. : (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2. 8 ∧I.10. ¬¬(¬P ∨ Q). 2-9 ¬I.11. ¬P ∨ Q. 10. ¬E .

S. Choi (KAIST) Logic and set theory September 18, 2012 16 / 16

Page 99: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example

P → Q ` ¬P ∨ Q.1. P → Q.2. : ¬(¬P ∨ Q). H (for ¬I.)3. ::P. H.(for ¬I).4. :: Q. 1.3. (→ E)

5. :: ¬P ∨ Q. 4 ∨I.6. :: (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2.5. ∧I.7. : ¬P. 3-6 ¬I.8. : ¬P ∨ Q. 7. ∨I.9. : (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2. 8 ∧I.10. ¬¬(¬P ∨ Q). 2-9 ¬I.11. ¬P ∨ Q. 10. ¬E .

S. Choi (KAIST) Logic and set theory September 18, 2012 16 / 16

Page 100: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example

P → Q ` ¬P ∨ Q.1. P → Q.2. : ¬(¬P ∨ Q). H (for ¬I.)3. ::P. H.(for ¬I).4. :: Q. 1.3. (→ E)5. :: ¬P ∨ Q. 4 ∨I.

6. :: (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2.5. ∧I.7. : ¬P. 3-6 ¬I.8. : ¬P ∨ Q. 7. ∨I.9. : (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2. 8 ∧I.10. ¬¬(¬P ∨ Q). 2-9 ¬I.11. ¬P ∨ Q. 10. ¬E .

S. Choi (KAIST) Logic and set theory September 18, 2012 16 / 16

Page 101: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example

P → Q ` ¬P ∨ Q.1. P → Q.2. : ¬(¬P ∨ Q). H (for ¬I.)3. ::P. H.(for ¬I).4. :: Q. 1.3. (→ E)5. :: ¬P ∨ Q. 4 ∨I.6. :: (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2.5. ∧I.

7. : ¬P. 3-6 ¬I.8. : ¬P ∨ Q. 7. ∨I.9. : (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2. 8 ∧I.10. ¬¬(¬P ∨ Q). 2-9 ¬I.11. ¬P ∨ Q. 10. ¬E .

S. Choi (KAIST) Logic and set theory September 18, 2012 16 / 16

Page 102: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example

P → Q ` ¬P ∨ Q.1. P → Q.2. : ¬(¬P ∨ Q). H (for ¬I.)3. ::P. H.(for ¬I).4. :: Q. 1.3. (→ E)5. :: ¬P ∨ Q. 4 ∨I.6. :: (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2.5. ∧I.7. : ¬P. 3-6 ¬I.

8. : ¬P ∨ Q. 7. ∨I.9. : (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2. 8 ∧I.10. ¬¬(¬P ∨ Q). 2-9 ¬I.11. ¬P ∨ Q. 10. ¬E .

S. Choi (KAIST) Logic and set theory September 18, 2012 16 / 16

Page 103: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example

P → Q ` ¬P ∨ Q.1. P → Q.2. : ¬(¬P ∨ Q). H (for ¬I.)3. ::P. H.(for ¬I).4. :: Q. 1.3. (→ E)5. :: ¬P ∨ Q. 4 ∨I.6. :: (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2.5. ∧I.7. : ¬P. 3-6 ¬I.8. : ¬P ∨ Q. 7. ∨I.

9. : (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2. 8 ∧I.10. ¬¬(¬P ∨ Q). 2-9 ¬I.11. ¬P ∨ Q. 10. ¬E .

S. Choi (KAIST) Logic and set theory September 18, 2012 16 / 16

Page 104: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example

P → Q ` ¬P ∨ Q.1. P → Q.2. : ¬(¬P ∨ Q). H (for ¬I.)3. ::P. H.(for ¬I).4. :: Q. 1.3. (→ E)5. :: ¬P ∨ Q. 4 ∨I.6. :: (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2.5. ∧I.7. : ¬P. 3-6 ¬I.8. : ¬P ∨ Q. 7. ∨I.9. : (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2. 8 ∧I.

10. ¬¬(¬P ∨ Q). 2-9 ¬I.11. ¬P ∨ Q. 10. ¬E .

S. Choi (KAIST) Logic and set theory September 18, 2012 16 / 16

Page 105: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example

P → Q ` ¬P ∨ Q.1. P → Q.2. : ¬(¬P ∨ Q). H (for ¬I.)3. ::P. H.(for ¬I).4. :: Q. 1.3. (→ E)5. :: ¬P ∨ Q. 4 ∨I.6. :: (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2.5. ∧I.7. : ¬P. 3-6 ¬I.8. : ¬P ∨ Q. 7. ∨I.9. : (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2. 8 ∧I.10. ¬¬(¬P ∨ Q). 2-9 ¬I.

11. ¬P ∨ Q. 10. ¬E .

S. Choi (KAIST) Logic and set theory September 18, 2012 16 / 16

Page 106: Lecture 5: Propositional Calculus: part 1 S. Choimathsci.kaist.ac.kr/~schoi/Logiclec5.pdf · Logic and the set theory Lecture 5: Propositional Calculus: part 1 S. Choi Department

Hypothetical Rules

Example

P → Q ` ¬P ∨ Q.1. P → Q.2. : ¬(¬P ∨ Q). H (for ¬I.)3. ::P. H.(for ¬I).4. :: Q. 1.3. (→ E)5. :: ¬P ∨ Q. 4 ∨I.6. :: (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2.5. ∧I.7. : ¬P. 3-6 ¬I.8. : ¬P ∨ Q. 7. ∨I.9. : (¬P ∨ Q) ∧ ¬(¬P ∨ Q). 2. 8 ∧I.10. ¬¬(¬P ∨ Q). 2-9 ¬I.11. ¬P ∨ Q. 10. ¬E .

S. Choi (KAIST) Logic and set theory September 18, 2012 16 / 16