2PropositionalLogic1 6.1 3
2PropositionalLogic1 6.1 3
Logic
6.1 easier translations
6.2 simple truth tables
6.3 truth evaluations
Dr. Lee Wang Yen
Department of Philosophy
21/01/2018
argument forms
P1 If you’re in Singapore,
then you’re in South East Asia
P2 You’re in Singapore
∴ you’re in South East Asia
1 not ~ ~P negation P:
[~] (not p) the negand
2 and ⋅ (P⋅Q) conjunction P, Q:
[&] (P and Q) the conjuncts
3 or ∨ (P∨Q) disjunction P, Q:
[@] (P or Q) the disjuncts
4 If…then ⊃ (P⊃Q) material P: antecedent
[>] (if P then Q) conditional Q: consequent
5 if and only ≡ (P≡Q) bi- N/A
if (iff)
21/01/2018
[=] (P iff Q) conditional
well-formed formula (wff)
• a grammatically correct expression in a formal
language
21/01/2018
Parentheses (1)
1. negation does not need parentheses.
e.g.
‘~P ⋅ Q’ is not a wff
ambiguous – could mean:
21/01/2018
2 rules of grouping:
1. Put ‘(‘ wherever you see ‘both’, ‘either’, or ‘if’ (there
are exceptions).
• either not A or B = (~A ∨ B)
• not either A or B = ~(A ∨ B)
• If both A and B, then C = ((A ⋅ B) ⊃ C)
• Not both not-A and B = ~(~A ⋅ B)
21/01/2018
capital letters
• stand for whole sentences
e.g. ‘Gensler is happy’ is ‘G’
CAUTION:
• ‘Bob and Lauren got married to each other’ is ‘M’
* Don’t translate it as ‘(B ⋅ L)’, which means ‘Bob got
married and Lauren got married’.
21/01/2018
laws of logical equivalences (1)
The following laws apply to ‘⋅’, ‘∨’
1. the commutative law: order doesn’t matter
(A ⋅ B) = (B ⋅ A)
(A ∨ B) = (B ∨ A)
2. the associative law : grouping doesn’t matter within
a long construct which uses the same connective
((A ⋅ B) ⋅ C) = (A ⋅ (B ⋅ C))
((A ∨ B) ∨ C) = (A ∨ (B ∨ C))
3. De Morgan’s laws:
~(A ⋅ B) = (~A ∨ ~B)
Not both A and B Either not-A or not-B
~(A ∨ B) = (~A ⋅ ~B)
Not either A or B Both not-A and not-B
21/01/2018
laws of logical equivalences (2)
• the contrapositive law applies to ‘⊃’
(D ⊃ A) = (~A ⊃ ~D)
e.g.
D= it is a dog
A = it is an animal
21/01/2018
Exercise 6.1a: 1
Not both A and B
~ A B
21/01/2018
Exercise 6.1a: 3
Either both A and B or C
( A B C )
either this or that (outermost structure)
( A B C )
this or that
P Q (P ⋅ Q)
0 0 0 or 1?
0 1 0 or 1?
1 0 0 or 1?
(example)
1 1 0 or 1?
P Q (P ⋅ Q)
0 0 0 both conjuncts 0 conjunction 0
0 1 0
one conjunct 0 conjunction 0
1 0 0
1 1 1 both conjuncts 1 conjunction 1
P Q (P ∨ Q)
0 0 0 both disjuncts 0 disjunction 0
0 1 1
one disjunct 0 disjunction 1
1 0 1
1 1 1 both disjuncts 1 disjunction 1
P Q (P⊃Q)
0 0 1
falsity implies anything: (0⊃ )=1
0 1 1
anything implies truth: (⊃1 )=1
1 0 0
1 1 1 truth doesn’t imply falsity: (1 ⊃ 0)=0
P Q (P≡Q)
0 0 1
0 1 0
1 0 0
1 1 1
2. (0⋅0)
*both conjuncts must be true
=0
3.(0⊃0)
*falsity implies anything
=1
(false if the antecedent is true and the consequent false,
otherwise true)
21/01/2018
truth evaluations
• Knowledge of truth-conditions of logical connectives
enables us to evaluate truth values of wffs.
• Example:
Suppose P=1, Q=0, R=0.
Is ‘((P ⊃ Q) ≡ ~R)’ true or false?
Solution:
((P ⊃ Q) ≡ ~R)
((1 ⊃ 0) ≡ ~0) *replace the letters with truth values
(0 ≡ … *left-hand side: (1 ⊃ 0) yields 0
(0 ≡ 1) *right-hand side: ~0 yields 1
0 21/01/2018
*(0 ≡ 1) yields 0
the inside-out approach
~(1 ⋅ 0) ~(1 ⋅ 0)
=~0 =(~1 ⋅ ~0) wrong!
=1 =(0 ⋅ 1)
=0
3. ~(~A ⋅ ~X)
=~(~1 ⋅ ~0)
=~(0 ⋅ 1)
=~0
=1
21/01/2018
exercise 6.3a (II)
Assume that A=1, B=1, X=0, Y=0
5. (~X ≡ Y)
= (~0 ≡ 0)
= (1 ≡ 0)
=0
21/01/2018