01 Intro Logic
01 Intro Logic
and
Clem Baker-Finch
OED: Concerned with the form, rather than the matter, of reasoning.
The validity of logical arguments depends on their form, rather than their
content.
Assignments: 4 9% each
Participation: 4%
Final Exam: 60%
Final mark capped at Exam*(100/60)+10%
During week 7 or thereabouts, there will be a practice test during class time.
We will also work through solutions in a later class. The practice test will not
be for credit.
Examples:
– I am the smartest person in the room.
– John had toast for breakfast.
– 2 + 2 = 5.
p q p^q
T T T
T F F
F T F
F F F
p :p p_:p
T F T
F T T
In general, to prove a tautology, one can construct a truth table for the
proposition and checks that its column is all T’s.
: (highest)
^
_
)
, (lowest)
Examples:
: p _ q ) r ^ s ((: p ) _ q ) ) (r ^ s )
p _ q ^ r p _ (q ^ r )
COMP 2600 — Logic Review 13
(Algebraic) Laws of Propositional Calculus
Associative laws
p _ (q _ r ) (p _ q ) _ r
p ^ (q ^ r ) (p ^ q ) ^ r
Distributive laws
p ^ (q _ r ) (p ^ q ) _ (p ^ r )
p _ (q ^ r ) (p _ q ) ^ (p _ r )
These are just a representative few.
p1
..
.
pn
q
or (equivalently) as:
p ^ ^ pn ) ) q
( 1 :::
The lecture is good if both the material is organized and the class is
happy.
p_q
:p
q
p _ q) ^ : p ) q
(
: p ^ (p _ q ) ) q (commutativity)
(: p ^ p ) _ (: p ^ q ) ) q (distribution)
F _ (: p ^ q ) ) q (contradiction)
:p^q ) q (or-simplification)
: (: p ^ q ) _ q (implication)
(p _ : q ) _ q (De Morgan)
p _ (: q _ q ) (associativity)
p_T (excluded middle)
T (or-simplification)
p)q
p
q
p (Lisa)
) q (Lisa)
. . . which we might be able to deal with. . .
General form: 8 x 2 D P (x ):
:
proposition.
In 8 x 2 D P (x ):
:
– 8 is the quantifier ;
– x is the bound variable;
– D is the domain;
– P (x ) is a predicate (possibly) involving the bound variable x .
8 x y 2 D P (x y ) is an abbreviation for 8 x 2 D (8 y 2 D P (x y ))
; : ; : : ;
(8 x 8 y P (x y )) (8 y 8 x P (x y )).
: : ; : : ;
For example, (8 x 8 y x + y = y + x ) (8 y 8 x x + y = y + x ).
: : : :
9
The existential quantifier is denoted by , and is pronounced for some or
there exists.
Examples:
9 x (9 y x + y = y x ).
: :
General form: 9 x 2 D P (x ):
:
true proposition.
In 9 x 2 D P (x ):
:
9 is the quantifier ;
x is the bound variable;
D is the domain;
P (x ) is a predicate (possibly) involving the bound variable x .
Many others . . .