+ All Categories
Home > Documents > Lecture Notes 8

Lecture Notes 8

Date post: 01-Jan-2016
Category:
Upload: zia-chang
View: 15 times
Download: 0 times
Share this document with a friend
Description:
Lecture Notes 8. CS1502. Example Proof. A  (B  C) (A  B)  (A  C). Valid Argument. P 1 P 2 … P n Q Q is a tautological (logical) consequence of P 1 , P 2 , …, P n (P 1  P 2  …  P n ) Q is a tautology (logical necessity). NEW IDEA. Valid Argument. P. Example. - PowerPoint PPT Presentation
Popular Tags:
27
Lecture Notes 8 Lecture Notes 8 CS1502 CS1502
Transcript
Page 1: Lecture Notes 8

Lecture Notes 8Lecture Notes 8

CS1502CS1502

Page 2: Lecture Notes 8

Example ProofExample Proof

A A (B (B C) C)

(A (A B) B) (A (A C) C)

Page 3: Lecture Notes 8
Page 4: Lecture Notes 8

Valid ArgumentValid Argument

PP11

P P22

… … P Pnn

Q Q

Q is a tautological (logical) consequence of PQ is a tautological (logical) consequence of P11, P, P22, …, P, …, Pnn

(P(P1 1 P P2 2 … … P Pnn) ) Q is a tautology (logical necessity). Q is a tautology (logical necessity). NEW IDEANEW IDEA

Valid Argument

Page 5: Lecture Notes 8

ExampleExample

Show Show P is a tautological consequence of P is a tautological consequence of (P (P Q). Q).

Methods of attack:Methods of attack:BooleBoole

– Show Show P is a tautological consequence of P is a tautological consequence of (P (P Q). Q).

– Show Show (P (P Q) Q) P is a tautology.P is a tautology.

FitchFitch– Show Show (P (P Q) is a valid argument Q) is a valid argument

P

Page 6: Lecture Notes 8

Tautological ConsequenceTautological Consequence

Page 7: Lecture Notes 8

TautologyTautology

Page 8: Lecture Notes 8

Using FitchUsing Fitch

Page 9: Lecture Notes 8

ExampleExample

Show Show P is not a tautological consequence of P is not a tautological consequence of (P (P Q). Q).

Method of attack:Method of attack:BooleBoole

– Show Show P is not a tautological consequence of P is not a tautological consequence of (P (P Q). Q).– Show Show (P (P Q) Q) P is not a tautology.P is not a tautology.

Build a worldBuild a world– Show Show (P (P Q) is an invalid argument Q) is an invalid argument

P

Page 10: Lecture Notes 8

Not a Tautological Not a Tautological ConsequenceConsequence

Page 11: Lecture Notes 8

Not a TautologyNot a Tautology

Page 12: Lecture Notes 8

Build a WorldBuild a World

Let P be assigned true and Q false.Let P be assigned true and Q false. (P (P Q) is true while Q) is true while P is false.P is false.

premises conclusion

Page 13: Lecture Notes 8

ExampleExample

Show the following argument is valid.Show the following argument is valid.

Cube(b) Cube(b) (Cube(c) (Cube(c) Cube(b)) Cube(b)) Cube(c) Cube(c)

Page 14: Lecture Notes 8

Logical ConsequenceLogical Consequence

Cube(b) Cube(c) Cube(b) ~(Cube(b) ̂Cube(c )) ~Cube(c) is spurious?T T T F F noT F T T T noF T F T F noF F F T T no

Page 15: Lecture Notes 8

Logical NecessityLogical Necessity

Cube(b) Cube(c) Cube(b) ~(Cube(b) ̂Cube(c) ~Cube(c) (Cube(b) ̂~(Cube(b) ̂Cube(c))) -> ~Cube(c)T T T F F TT F T T T TF T F T F TF F F T T T

Every non-spurious row is true! In fact, every row is true, so a Tautology!!

Page 16: Lecture Notes 8

FitchFitch

Page 17: Lecture Notes 8

Non-consequenceNon-consequence

Show the following argument is invalid.Show the following argument is invalid.

Cube(a) Cube(a) Cube(b) Cube(b) (Cube(c) (Cube(c) Cube(b)) Cube(b)) Cube(c)Cube(c)

Page 18: Lecture Notes 8

CounterexampleCounterexample

Page 19: Lecture Notes 8

Inference PatternsInference Patterns

Modus PonensModus Ponens P P Q Q P P Q Q

Page 20: Lecture Notes 8

Tautological ConsequenceTautological Consequence

Page 21: Lecture Notes 8

TautologyTautology

Page 22: Lecture Notes 8

EliminationElimination

P P Q Q … …

P P … … Q Q Elim

Page 23: Lecture Notes 8

IntroductionIntroduction

PP … …

Q Q P P Q Q Intro

Page 24: Lecture Notes 8

EliminationElimination

P P Q Q … …

P P … … Q Q Elim

Page 25: Lecture Notes 8

IntroductionIntroduction

PP … … Q Q

Q Q … … P P P P Q Q

Intro

Page 26: Lecture Notes 8

Inference PatternsInference Patterns

Modus TollensModus Tollens P P Q Q QQ PP

Page 27: Lecture Notes 8

Modus TollensModus Tollens


Recommended