truth, deduction, computation lecture 7

17
Truth, Deduction, Computation Lecture 7 Boolean Logic and Formal Proofs Vlad Patryshev SCU 2013

Upload: vlad-patryshev

Post on 02-Nov-2014

406 views

Category:

Education


1 download

DESCRIPTION

My logic lectures at SCU Boolean logic and formal proof

TRANSCRIPT

Page 1: Truth, deduction, computation   lecture 7

Truth, Deduction, ComputationLecture 7Boolean Logic and Formal Proofs

Vlad PatryshevSCU2013

Page 2: Truth, deduction, computation   lecture 7

Natural Deduction

A proof calculus that:● has inference rules● models actual human reasoning

Page 3: Truth, deduction, computation   lecture 7

Natural Deduction

● introduction rules● elimination rules● shortcuts (“rule defaults”)

Page 4: Truth, deduction, computation   lecture 7

Conjunction Rules

Elimination (∧ Elim) P

1∧P

2∧...P

i∧...

∧Pn

Pi

Do we need n here?!

Page 5: Truth, deduction, computation   lecture 7

Conjunction Rules

Introduction (∧ Intro) P

1

. . .

Pn

P1∧P

2∧...P

i∧...

∧Pn

Do we need n here?!

Page 6: Truth, deduction, computation   lecture 7

Disjunction Rules

Introduction (v Intro) P

i

P1vP

2v...P

iv...vP

n

Do we need n here?!

Page 7: Truth, deduction, computation   lecture 7

Disjunction Rules

Elimination (v Elim) P

1vP

2v...vP

n

P1

S

. . .

Pn

S

S

Do we need n here?!

} subproof

Example

Page 8: Truth, deduction, computation   lecture 7

Negation Rules

Elimination (¬ Elim) ¬¬P … P

Page 9: Truth, deduction, computation   lecture 7

Negation Rules

Introduction (¬ Intro)

P

¬P

Page 10: Truth, deduction, computation   lecture 7

⊥ Rules

Introduction (⊥ Intro) P ¬P ⊥

Page 11: Truth, deduction, computation   lecture 7

⊥ Rules

Elimination (⊥ Elim)

P

Page 12: Truth, deduction, computation   lecture 7

All These Negation Rules

Page 13: Truth, deduction, computation   lecture 7

More ⊥ Rules in Fitch

● Taut Con: If you can deduce a TT-contradiction, you can deduce ⊥

● FO Con: If you can deduce a logical contradiction, you can deduce ⊥

● Ana Con: If you can deduce sentences that are contradictory due to the meaning of predicates, you can deduce ⊥

Page 14: Truth, deduction, computation   lecture 7

Rules - be careful

Bad Example

Page 15: Truth, deduction, computation   lecture 7

Now that you know the rules...

● Remember the meaning of sentences● Trust the past● Find a counterexample if you don’t● To formalize your proof, track back your

arguments - “where did this come from?”● … use Fitch…

Page 16: Truth, deduction, computation   lecture 7

At times you don’t need premises!

E.g.

Page 17: Truth, deduction, computation   lecture 7

That’s it for today