lecture 3: propositional logic s. choimathsci.kaist.ac.kr/~schoi/logiclec3.pdf · introduction some...

Post on 11-Jul-2020

5 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Logic and the set theoryLecture 3: Propositional Logic

S. Choi

Department of Mathematical ScienceKAIST, Daejeon, South Korea

Fall semester, 2012

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

Introduction

About this lecture

Argument forms

Logical operatorsFormalization: well formed formula (wff)Truth tableCourse 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 10, 2012 2 / 18

Introduction

About this lecture

Argument formsLogical operators

Formalization: well formed formula (wff)Truth tableCourse 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 10, 2012 2 / 18

Introduction

About this lecture

Argument formsLogical operatorsFormalization: well formed formula (wff)

Truth tableCourse 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 10, 2012 2 / 18

Introduction

About this lecture

Argument formsLogical operatorsFormalization: well formed formula (wff)Truth table

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 10, 2012 2 / 18

Introduction

About this lecture

Argument formsLogical operatorsFormalization: well formed formula (wff)Truth tableCourse 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 10, 2012 2 / 18

Introduction

About this lecture

Argument formsLogical operatorsFormalization: well formed formula (wff)Truth tableCourse 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 10, 2012 2 / 18

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.http://ocw.mit.edu/courses/

linguistics-and-philosophy/24-241-logic-i-fall-2009/

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

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.http://ocw.mit.edu/courses/

linguistics-and-philosophy/24-241-logic-i-fall-2009/

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

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.http://ocw.mit.edu/courses/

linguistics-and-philosophy/24-241-logic-i-fall-2009/

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

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.

http://ocw.mit.edu/courses/

linguistics-and-philosophy/24-241-logic-i-fall-2009/

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

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.http://ocw.mit.edu/courses/

linguistics-and-philosophy/24-241-logic-i-fall-2009/

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

Argument forms

Argument forms

P, Q, R represent some sentences (not nec. atomic)

Either today is Monday or Tuesday.P or Q.If you have bad grades in KAIST, then you can get kicked out.If P, then Q.If P and Q, then R. It is not the case R. It is not the case P and Q.

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

Argument forms

Argument forms

P, Q, R represent some sentences (not nec. atomic)Either today is Monday or Tuesday.

P or Q.If you have bad grades in KAIST, then you can get kicked out.If P, then Q.If P and Q, then R. It is not the case R. It is not the case P and Q.

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

Argument forms

Argument forms

P, Q, R represent some sentences (not nec. atomic)Either today is Monday or Tuesday.P or Q.

If you have bad grades in KAIST, then you can get kicked out.If P, then Q.If P and Q, then R. It is not the case R. It is not the case P and Q.

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

Argument forms

Argument forms

P, Q, R represent some sentences (not nec. atomic)Either today is Monday or Tuesday.P or Q.If you have bad grades in KAIST, then you can get kicked out.

If P, then Q.If P and Q, then R. It is not the case R. It is not the case P and Q.

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

Argument forms

Argument forms

P, Q, R represent some sentences (not nec. atomic)Either today is Monday or Tuesday.P or Q.If you have bad grades in KAIST, then you can get kicked out.If P, then Q.

If P and Q, then R. It is not the case R. It is not the case P and Q.

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

Argument forms

Argument forms

P, Q, R represent some sentences (not nec. atomic)Either today is Monday or Tuesday.P or Q.If you have bad grades in KAIST, then you can get kicked out.If P, then Q.If P and Q, then R. It is not the case R. It is not the case P and Q.

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

Logical operators

Logical operators

It is not the case that: ¬ or˜

And: ∧ or &Or: ∨If ..., then... : →.If and only if: ↔.Seehttp://plato.stanford.edu/entries/pm-notation/.Seehttp://en.wikipedia.org/wiki/Logical_connective/.` is used to mark the conclusion.

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

Logical operators

Logical operators

It is not the case that: ¬ or˜And: ∧ or &

Or: ∨If ..., then... : →.If and only if: ↔.Seehttp://plato.stanford.edu/entries/pm-notation/.Seehttp://en.wikipedia.org/wiki/Logical_connective/.` is used to mark the conclusion.

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

Logical operators

Logical operators

It is not the case that: ¬ or˜And: ∧ or &Or: ∨

If ..., then... : →.If and only if: ↔.Seehttp://plato.stanford.edu/entries/pm-notation/.Seehttp://en.wikipedia.org/wiki/Logical_connective/.` is used to mark the conclusion.

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

Logical operators

Logical operators

It is not the case that: ¬ or˜And: ∧ or &Or: ∨If ..., then... : →.

If and only if: ↔.Seehttp://plato.stanford.edu/entries/pm-notation/.Seehttp://en.wikipedia.org/wiki/Logical_connective/.` is used to mark the conclusion.

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

Logical operators

Logical operators

It is not the case that: ¬ or˜And: ∧ or &Or: ∨If ..., then... : →.If and only if: ↔.

Seehttp://plato.stanford.edu/entries/pm-notation/.Seehttp://en.wikipedia.org/wiki/Logical_connective/.` is used to mark the conclusion.

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

Logical operators

Logical operators

It is not the case that: ¬ or˜And: ∧ or &Or: ∨If ..., then... : →.If and only if: ↔.Seehttp://plato.stanford.edu/entries/pm-notation/.

Seehttp://en.wikipedia.org/wiki/Logical_connective/.` is used to mark the conclusion.

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

Logical operators

Logical operators

It is not the case that: ¬ or˜And: ∧ or &Or: ∨If ..., then... : →.If and only if: ↔.Seehttp://plato.stanford.edu/entries/pm-notation/.Seehttp://en.wikipedia.org/wiki/Logical_connective/.

` is used to mark the conclusion.

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

Logical operators

Logical operators

It is not the case that: ¬ or˜And: ∧ or &Or: ∨If ..., then... : →.If and only if: ↔.Seehttp://plato.stanford.edu/entries/pm-notation/.Seehttp://en.wikipedia.org/wiki/Logical_connective/.` is used to mark the conclusion.

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

Logical operators

Precedence

The order of precedence determines which connective is the"main connective" when interpreting a non-atomic formula.

As a way of reducing the number of necessary parentheses, onemay introduce precedence rules:Operator Precedence

I ¬I ∧I ∨I →I ↔

So for example, P ∨Q ∧ ¬R → S is short for(P ∨ (Q ∧ (¬R)))→ S.

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

Logical operators

Precedence

The order of precedence determines which connective is the"main connective" when interpreting a non-atomic formula.As a way of reducing the number of necessary parentheses, onemay introduce precedence rules:

Operator Precedence

I ¬I ∧I ∨I →I ↔

So for example, P ∨Q ∧ ¬R → S is short for(P ∨ (Q ∧ (¬R)))→ S.

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

Logical operators

Precedence

The order of precedence determines which connective is the"main connective" when interpreting a non-atomic formula.As a way of reducing the number of necessary parentheses, onemay introduce precedence rules:Operator Precedence

I ¬I ∧I ∨I →I ↔

So for example, P ∨Q ∧ ¬R → S is short for(P ∨ (Q ∧ (¬R)))→ S.

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

Logical operators

Precedence

The order of precedence determines which connective is the"main connective" when interpreting a non-atomic formula.As a way of reducing the number of necessary parentheses, onemay introduce precedence rules:Operator Precedence

I ¬

I ∧I ∨I →I ↔

So for example, P ∨Q ∧ ¬R → S is short for(P ∨ (Q ∧ (¬R)))→ S.

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

Logical operators

Precedence

The order of precedence determines which connective is the"main connective" when interpreting a non-atomic formula.As a way of reducing the number of necessary parentheses, onemay introduce precedence rules:Operator Precedence

I ¬I ∧

I ∨I →I ↔

So for example, P ∨Q ∧ ¬R → S is short for(P ∨ (Q ∧ (¬R)))→ S.

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

Logical operators

Precedence

The order of precedence determines which connective is the"main connective" when interpreting a non-atomic formula.As a way of reducing the number of necessary parentheses, onemay introduce precedence rules:Operator Precedence

I ¬I ∧I ∨

I →I ↔

So for example, P ∨Q ∧ ¬R → S is short for(P ∨ (Q ∧ (¬R)))→ S.

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

Logical operators

Precedence

The order of precedence determines which connective is the"main connective" when interpreting a non-atomic formula.As a way of reducing the number of necessary parentheses, onemay introduce precedence rules:Operator Precedence

I ¬I ∧I ∨I →

I ↔So for example, P ∨Q ∧ ¬R → S is short for(P ∨ (Q ∧ (¬R)))→ S.

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

Logical operators

Precedence

The order of precedence determines which connective is the"main connective" when interpreting a non-atomic formula.As a way of reducing the number of necessary parentheses, onemay introduce precedence rules:Operator Precedence

I ¬I ∧I ∨I →I ↔

So for example, P ∨Q ∧ ¬R → S is short for(P ∨ (Q ∧ (¬R)))→ S.

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

Logical operators

Precedence

The order of precedence determines which connective is the"main connective" when interpreting a non-atomic formula.As a way of reducing the number of necessary parentheses, onemay introduce precedence rules:Operator Precedence

I ¬I ∧I ∨I →I ↔

So for example, P ∨Q ∧ ¬R → S is short for

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

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

Logical operators

Precedence

The order of precedence determines which connective is the"main connective" when interpreting a non-atomic formula.As a way of reducing the number of necessary parentheses, onemay introduce precedence rules:Operator Precedence

I ¬I ∧I ∨I →I ↔

So for example, P ∨Q ∧ ¬R → S is short for(P ∨ (Q ∧ (¬R)))→ S.

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

Logical operators

Formalizations

We can formalize any sentence by dividing it into atomic parts.

It is not both raining and snowing.¬(R ∧ S)

It is not raining or is not snowing.¬R ∨ ¬S

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

Logical operators

Formalizations

We can formalize any sentence by dividing it into atomic parts.It is not both raining and snowing.

¬(R ∧ S)

It is not raining or is not snowing.¬R ∨ ¬S

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

Logical operators

Formalizations

We can formalize any sentence by dividing it into atomic parts.It is not both raining and snowing.¬(R ∧ S)

It is not raining or is not snowing.¬R ∨ ¬S

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

Logical operators

Formalizations

We can formalize any sentence by dividing it into atomic parts.It is not both raining and snowing.¬(R ∧ S)

It is not raining or is not snowing.

¬R ∨ ¬S

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

Logical operators

Formalizations

We can formalize any sentence by dividing it into atomic parts.It is not both raining and snowing.¬(R ∧ S)

It is not raining or is not snowing.¬R ∨ ¬S

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

Well formed formula or wff

Well formed formula or wff

((∧P) ∨Q¬R) This is a nonsense

We define inductively.

I Any sentence letter is wff. (atomic one)I If φ is wff, then so is ¬φ.I If φ and ψ are wff, so is (φ ∧ ψ), (φ ∨ ψ), (φ→ ψ), and (φ↔ ψ).

A subwff is a wff within a wff.As long as atomic sentence letters are well defined, there is noambiguity in the meaning of wff.

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

Well formed formula or wff

Well formed formula or wff

((∧P) ∨Q¬R) This is a nonsenseWe define inductively.

I Any sentence letter is wff. (atomic one)I If φ is wff, then so is ¬φ.I If φ and ψ are wff, so is (φ ∧ ψ), (φ ∨ ψ), (φ→ ψ), and (φ↔ ψ).

A subwff is a wff within a wff.As long as atomic sentence letters are well defined, there is noambiguity in the meaning of wff.

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

Well formed formula or wff

Well formed formula or wff

((∧P) ∨Q¬R) This is a nonsenseWe define inductively.

I Any sentence letter is wff. (atomic one)

I If φ is wff, then so is ¬φ.I If φ and ψ are wff, so is (φ ∧ ψ), (φ ∨ ψ), (φ→ ψ), and (φ↔ ψ).

A subwff is a wff within a wff.As long as atomic sentence letters are well defined, there is noambiguity in the meaning of wff.

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

Well formed formula or wff

Well formed formula or wff

((∧P) ∨Q¬R) This is a nonsenseWe define inductively.

I Any sentence letter is wff. (atomic one)I If φ is wff, then so is ¬φ.

I If φ and ψ are wff, so is (φ ∧ ψ), (φ ∨ ψ), (φ→ ψ), and (φ↔ ψ).

A subwff is a wff within a wff.As long as atomic sentence letters are well defined, there is noambiguity in the meaning of wff.

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

Well formed formula or wff

Well formed formula or wff

((∧P) ∨Q¬R) This is a nonsenseWe define inductively.

I Any sentence letter is wff. (atomic one)I If φ is wff, then so is ¬φ.I If φ and ψ are wff, so is (φ ∧ ψ), (φ ∨ ψ), (φ→ ψ), and (φ↔ ψ).

A subwff is a wff within a wff.As long as atomic sentence letters are well defined, there is noambiguity in the meaning of wff.

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

Well formed formula or wff

Well formed formula or wff

((∧P) ∨Q¬R) This is a nonsenseWe define inductively.

I Any sentence letter is wff. (atomic one)I If φ is wff, then so is ¬φ.I If φ and ψ are wff, so is (φ ∧ ψ), (φ ∨ ψ), (φ→ ψ), and (φ↔ ψ).

A subwff is a wff within a wff.

As long as atomic sentence letters are well defined, there is noambiguity in the meaning of wff.

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

Well formed formula or wff

Well formed formula or wff

((∧P) ∨Q¬R) This is a nonsenseWe define inductively.

I Any sentence letter is wff. (atomic one)I If φ is wff, then so is ¬φ.I If φ and ψ are wff, so is (φ ∧ ψ), (φ ∨ ψ), (φ→ ψ), and (φ↔ ψ).

A subwff is a wff within a wff.As long as atomic sentence letters are well defined, there is noambiguity in the meaning of wff.

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

Well formed formula or wff

Some exercises

Either there is no Starbuck’s in Daejeon or I do not buy coffeebeans.

¬S ∨ ¬B.If I buy coffee beans, then there is no Starbuck’s in Daejeon.B → ¬S.If there were no God, then no movement is possible. But there aremovements. Hence, God exists.¬G→ ¬M, M, ` G.

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

Well formed formula or wff

Some exercises

Either there is no Starbuck’s in Daejeon or I do not buy coffeebeans.¬S ∨ ¬B.

If I buy coffee beans, then there is no Starbuck’s in Daejeon.B → ¬S.If there were no God, then no movement is possible. But there aremovements. Hence, God exists.¬G→ ¬M, M, ` G.

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

Well formed formula or wff

Some exercises

Either there is no Starbuck’s in Daejeon or I do not buy coffeebeans.¬S ∨ ¬B.If I buy coffee beans, then there is no Starbuck’s in Daejeon.

B → ¬S.If there were no God, then no movement is possible. But there aremovements. Hence, God exists.¬G→ ¬M, M, ` G.

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

Well formed formula or wff

Some exercises

Either there is no Starbuck’s in Daejeon or I do not buy coffeebeans.¬S ∨ ¬B.If I buy coffee beans, then there is no Starbuck’s in Daejeon.B → ¬S.

If there were no God, then no movement is possible. But there aremovements. Hence, God exists.¬G→ ¬M, M, ` G.

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

Well formed formula or wff

Some exercises

Either there is no Starbuck’s in Daejeon or I do not buy coffeebeans.¬S ∨ ¬B.If I buy coffee beans, then there is no Starbuck’s in Daejeon.B → ¬S.If there were no God, then no movement is possible. But there aremovements. Hence, God exists.

¬G→ ¬M, M, ` G.

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

Well formed formula or wff

Some exercises

Either there is no Starbuck’s in Daejeon or I do not buy coffeebeans.¬S ∨ ¬B.If I buy coffee beans, then there is no Starbuck’s in Daejeon.B → ¬S.If there were no God, then no movement is possible. But there aremovements. Hence, God exists.¬G→ ¬M, M, ` G.

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

Well formed formula or wff

Some exercises

Either it is raining, or it’s both snowing and raining.

R ∨ (R ∧ S).Either it is both raining and snowing or it is snowing but not raining.(R ∧ S) ∨ (S ∧ ¬R).

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

Well formed formula or wff

Some exercises

Either it is raining, or it’s both snowing and raining.R ∨ (R ∧ S).

Either it is both raining and snowing or it is snowing but not raining.(R ∧ S) ∨ (S ∧ ¬R).

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

Well formed formula or wff

Some exercises

Either it is raining, or it’s both snowing and raining.R ∨ (R ∧ S).Either it is both raining and snowing or it is snowing but not raining.

(R ∧ S) ∨ (S ∧ ¬R).

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

Well formed formula or wff

Some exercises

Either it is raining, or it’s both snowing and raining.R ∨ (R ∧ S).Either it is both raining and snowing or it is snowing but not raining.(R ∧ S) ∨ (S ∧ ¬R).

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

Truth table

Semantics of the logical operators

semantics: the study of meaning.

Each atomic formula has a truth or false value in a real world (orworld A).Each wff has a truth or false value in a real world (or world A).This depends on the truth values of atomic formulas.

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

Truth table

Semantics of the logical operators

semantics: the study of meaning.Each atomic formula has a truth or false value in a real world (orworld A).

Each wff has a truth or false value in a real world (or world A).This depends on the truth values of atomic formulas.

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

Truth table

Semantics of the logical operators

semantics: the study of meaning.Each atomic formula has a truth or false value in a real world (orworld A).Each wff has a truth or false value in a real world (or world A).

This depends on the truth values of atomic formulas.

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

Truth table

Semantics of the logical operators

semantics: the study of meaning.Each atomic formula has a truth or false value in a real world (orworld A).Each wff has a truth or false value in a real world (or world A).This depends on the truth values of atomic formulas.

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

Truth table

Truth tables

Truth table generator:

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

I http://svn.oriontransfer.org/TruthTable/index.rhtml, hasxor, complete.

I One has to learn some notations... Sometimes use 0 and 1 insteadof F and T .

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

Truth table

Truth tables

Truth table generator:I http://en.wikipedia.org/wiki/Truth_table,

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

I http://svn.oriontransfer.org/TruthTable/index.rhtml, hasxor, complete.

I One has to learn some notations... Sometimes use 0 and 1 insteadof F and T .

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

Truth table

Truth tables

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

I http://svn.oriontransfer.org/TruthTable/index.rhtml, hasxor, complete.

I One has to learn some notations... Sometimes use 0 and 1 insteadof F and T .

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

Truth table

Truth tables

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

I http://svn.oriontransfer.org/TruthTable/index.rhtml, hasxor, complete.

I One has to learn some notations... Sometimes use 0 and 1 insteadof F and T .

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

Truth table

Truth tables

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

I http://svn.oriontransfer.org/TruthTable/index.rhtml, hasxor, complete.

I One has to learn some notations... Sometimes use 0 and 1 insteadof F and T .

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

Truth table

Truth tables

Elementary ones:

I ¬aI a ∧ bI a ∨ bI a→ b.I a↔ b or (a→ b) ∧ (b → a)I Every wff can be evaluated from this.I In computer science xor .

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

Truth table

Truth tables

Elementary ones:I ¬a

I a ∧ bI a ∨ bI a→ b.I a↔ b or (a→ b) ∧ (b → a)I Every wff can be evaluated from this.I In computer science xor .

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

Truth table

Truth tables

Elementary ones:I ¬aI a ∧ b

I a ∨ bI a→ b.I a↔ b or (a→ b) ∧ (b → a)I Every wff can be evaluated from this.I In computer science xor .

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

Truth table

Truth tables

Elementary ones:I ¬aI a ∧ bI a ∨ b

I a→ b.I a↔ b or (a→ b) ∧ (b → a)I Every wff can be evaluated from this.I In computer science xor .

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

Truth table

Truth tables

Elementary ones:I ¬aI a ∧ bI a ∨ bI a→ b.

I a↔ b or (a→ b) ∧ (b → a)I Every wff can be evaluated from this.I In computer science xor .

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

Truth table

Truth tables

Elementary ones:I ¬aI a ∧ bI a ∨ bI a→ b.I a↔ b or (a→ b) ∧ (b → a)

I Every wff can be evaluated from this.I In computer science xor .

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

Truth table

Truth tables

Elementary ones:I ¬aI a ∧ bI a ∨ bI a→ b.I a↔ b or (a→ b) ∧ (b → a)I Every wff can be evaluated from this.

I In computer science xor .

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

Truth table

Truth tables

Elementary ones:I ¬aI a ∧ bI a ∨ bI a→ b.I a↔ b or (a→ b) ∧ (b → a)I Every wff can be evaluated from this.I In computer science xor .

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

Truth table

Examples

To construct a truth table for a complex wff, we find the truthvalues for its smallest subwffs and then use the truth tables for thelogical operators for larger subwff and so on....

¬S ∧ ¬B.(¬G→ ¬M)→ (M → G).Also compare P → Q and ¬P ∨Q. Check(P → Q)↔ (¬P ∨Q)).This is used to compare.You can also use ¬((P → Q) xor (¬P ∨Q)).

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

Truth table

Examples

To construct a truth table for a complex wff, we find the truthvalues for its smallest subwffs and then use the truth tables for thelogical operators for larger subwff and so on....¬S ∧ ¬B.

(¬G→ ¬M)→ (M → G).Also compare P → Q and ¬P ∨Q. Check(P → Q)↔ (¬P ∨Q)).This is used to compare.You can also use ¬((P → Q) xor (¬P ∨Q)).

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

Truth table

Examples

To construct a truth table for a complex wff, we find the truthvalues for its smallest subwffs and then use the truth tables for thelogical operators for larger subwff and so on....¬S ∧ ¬B.(¬G→ ¬M)→ (M → G).

Also compare P → Q and ¬P ∨Q. Check(P → Q)↔ (¬P ∨Q)).This is used to compare.You can also use ¬((P → Q) xor (¬P ∨Q)).

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

Truth table

Examples

To construct a truth table for a complex wff, we find the truthvalues for its smallest subwffs and then use the truth tables for thelogical operators for larger subwff and so on....¬S ∧ ¬B.(¬G→ ¬M)→ (M → G).Also compare P → Q and ¬P ∨Q. Check(P → Q)↔ (¬P ∨Q)).

This is used to compare.You can also use ¬((P → Q) xor (¬P ∨Q)).

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

Truth table

Examples

To construct a truth table for a complex wff, we find the truthvalues for its smallest subwffs and then use the truth tables for thelogical operators for larger subwff and so on....¬S ∧ ¬B.(¬G→ ¬M)→ (M → G).Also compare P → Q and ¬P ∨Q. Check(P → Q)↔ (¬P ∨Q)).This is used to compare.

You can also use ¬((P → Q) xor (¬P ∨Q)).

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

Truth table

Examples

To construct a truth table for a complex wff, we find the truthvalues for its smallest subwffs and then use the truth tables for thelogical operators for larger subwff and so on....¬S ∧ ¬B.(¬G→ ¬M)→ (M → G).Also compare P → Q and ¬P ∨Q. Check(P → Q)↔ (¬P ∨Q)).This is used to compare.You can also use ¬((P → Q) xor (¬P ∨Q)).

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

Truth table

Tautology and a contradiction

Given some formula, any assignment of T and F yields T in thetruth table. Such a formula is said to be a tautology.

P ∨ ¬P.Given some formula, any assignment of T and F yields F in thetruth table. Such a formula is said to be a contradiction.(truth-functionally inconsistent)P ∧ ¬P.The formula which are not one of the above is said to betruth-functionally contingent.

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

Truth table

Tautology and a contradiction

Given some formula, any assignment of T and F yields T in thetruth table. Such a formula is said to be a tautology.P ∨ ¬P.

Given some formula, any assignment of T and F yields F in thetruth table. Such a formula is said to be a contradiction.(truth-functionally inconsistent)P ∧ ¬P.The formula which are not one of the above is said to betruth-functionally contingent.

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

Truth table

Tautology and a contradiction

Given some formula, any assignment of T and F yields T in thetruth table. Such a formula is said to be a tautology.P ∨ ¬P.Given some formula, any assignment of T and F yields F in thetruth table. Such a formula is said to be a contradiction.(truth-functionally inconsistent)

P ∧ ¬P.The formula which are not one of the above is said to betruth-functionally contingent.

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

Truth table

Tautology and a contradiction

Given some formula, any assignment of T and F yields T in thetruth table. Such a formula is said to be a tautology.P ∨ ¬P.Given some formula, any assignment of T and F yields F in thetruth table. Such a formula is said to be a contradiction.(truth-functionally inconsistent)P ∧ ¬P.

The formula which are not one of the above is said to betruth-functionally contingent.

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

Truth table

Tautology and a contradiction

Given some formula, any assignment of T and F yields T in thetruth table. Such a formula is said to be a tautology.P ∨ ¬P.Given some formula, any assignment of T and F yields F in thetruth table. Such a formula is said to be a contradiction.(truth-functionally inconsistent)P ∧ ¬P.The formula which are not one of the above is said to betruth-functionally contingent.

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

Truth table

Examples

(¬G→ ¬M)→ (M → G).

(P → Q)↔ (¬P ∨Q)).((P → Q)→ R)→ (P → R).

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

Truth table

Examples

(¬G→ ¬M)→ (M → G).(P → Q)↔ (¬P ∨Q)).

((P → Q)→ R)→ (P → R).

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

Truth table

Examples

(¬G→ ¬M)→ (M → G).(P → Q)↔ (¬P ∨Q)).((P → Q)→ R)→ (P → R).

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

Truth table

Truth table for argument forms

Here, we will have a number of premises P1,P2, . and aconclusion Q. We need to find the validity of P1,P2, ... ` Q

Pi s are complex.To check validity... We check when if every Pi is true, then so is Q.Or you can form (P1 ∧ P2 ∧ · · · ∧ Pn)→ Q.

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

Truth table

Truth table for argument forms

Here, we will have a number of premises P1,P2, . and aconclusion Q. We need to find the validity of P1,P2, ... ` QPi s are complex.

To check validity... We check when if every Pi is true, then so is Q.Or you can form (P1 ∧ P2 ∧ · · · ∧ Pn)→ Q.

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

Truth table

Truth table for argument forms

Here, we will have a number of premises P1,P2, . and aconclusion Q. We need to find the validity of P1,P2, ... ` QPi s are complex.To check validity... We check when if every Pi is true, then so is Q.

Or you can form (P1 ∧ P2 ∧ · · · ∧ Pn)→ Q.

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

Truth table

Truth table for argument forms

Here, we will have a number of premises P1,P2, . and aconclusion Q. We need to find the validity of P1,P2, ... ` QPi s are complex.To check validity... We check when if every Pi is true, then so is Q.Or you can form (P1 ∧ P2 ∧ · · · ∧ Pn)→ Q.

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

Truth table

Examples

P → Q,P → ¬Q ` ¬P.

((P → Q) ∧ (P → ¬Q))→ ¬P.R ` P ↔ (P ∨ (P ∧Q)).R → (P ↔ (P ∨ (P ∧Q))).

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

Truth table

Examples

P → Q,P → ¬Q ` ¬P.((P → Q) ∧ (P → ¬Q))→ ¬P.

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

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

Truth table

Examples

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

R → (P ↔ (P ∨ (P ∧Q))).

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

Truth table

Examples

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

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

top related