Lecture 4: Logic and Hypothetical Judgments

September 17

The introduction rules

A proved
B proved
----------------------------- and-i
A AND B proved
A proved
----------------------------- or-i1
A OR B proved
B proved
----------------------------- or-i2
A OR B proved
----------------------------- true-i
TRUE proved
A proved |- B proved
----------------------------- imp-i
A => B proved

The hypothetical judgment

It is a big point that we always may have some assumptions "floating around" on the left in all of our rules. Pierce would always explicitly mention these assumptions, but we will not, integrating the fact that whenever we write judgments then we might

This class takes the view that Pierce's choice is actually the less natural choice. However, it is so ingrained into the way we teach language theory that the SASyLF tool goes through great lengths to support the Pierce view - the tool would have been easier to write if we had taken this course's view of hypothetical judgments! You can see a presentation more in line with Pierce's by going to the SASyLF code here.

The elimination rules

How would we prove (A AND A) => A proved? We need to be able to show A proved from the assumption, but the assumption only gives us A AND A. Elimination rules allow us to use things by taking them apart.
A AND B proved
----------------------------- and-e1
A proved
A AND B proved
----------------------------- and-e2
B proved
A => B proved
A proved
----------------------------- imp-e (or "modus ponens")
B proved
A OR B proved
A proved |- C proved
B proved |- C proved
----------------------------- or-i1
C proved
FALSE proved
----------------------------- or-i1
A proved

Proof

(It is difficult to write these derivation trees in ASCII...)

Part 1

----------------------------------------------------------- hyp
(A OR B) AND (NOT A) proved |- (A OR B) and (NOT A) proved
----------------------------------------------------------- and-e1
(A OR B) AND (NOT A) proved |- A OR B proved

Part 2

----------------------------------- hyp    
... |- (A OR B) AND (NOT A) proved         
-----------------------------------         ------------------------- hyp
... |- A => FALSE proved                    ..., A proved |- A proved
--------------------------------------------------------------------- imp-e
(A OR B) AND (NOT A) proved, A proved |- FALSE proved
----------------------------------------------------- false-e
(A OR B) AND (NOT A) proved, A proved |- B proved

Part 3

------------------------------------------------- hyp
(A OR B) AND (NOT A) proved, B proved |- B proved

Wrap-up

    (part 1)                (part 2)                (part 3)

... |- A OR B proved    ... |- B proved        .... |- B proved
----------------------------------------------------------------- or-e
(A OR B) AND (NOT A) proved |- B proved
------------------------------------------- imp-i
((A OR B) AND (NOT A)) => B proved

$LastChangedDate: 2008-11-10 11:52:21 -0500 (Mon, 10 Nov 2008) $
$Author: rjsimmon $
$Rev: 1029 $