Dave's CPSC 121 Tutorial Notes - Week Two Cheat Sheet Tips
Dave's CPSC 121 Tutorial Notes - Week Two Cheat Sheet Tips
• Rules of Inference:
Resolution: p∨q
∼p ∨ r
∴ (q ∨ r)
1
Sample Problems
1. Proving Logical Equivalence
if you want to prove x ≡ y, you have two methods:
1) Using truth tables, or
2) Using the Equivalence Laws.
Always start with just the Left Hand Side (LHS) xor the RHS.
Take a moment to decide which side might be easier for you.
General Format:
Prove x ≡ y:
LHS ≡x
≡ x0 (some Equivalence Law)
≡ x00 (some Equivalence Law)
≡ ...
≡y (some Equivalence Law)
≡ RHS
∴ x≡y
Example:
In this case, starting with the LHS may be easier, but let’s start with the RHS:
2
2. Verifying Arguments
The process of proving an argument is valid has a similar feel to proving logical equivalences, but
they are actually quite different.
However, both logical equivalences and arguments can be verified with a truth table.
Recall the general argument form:
Let’s verify the Resolution rule of inference using the truth table method;
Resolution: p∨q
∼p ∨ r
∴ (q ∨ r)
3
3. Valid Arguments
Don’t mix up valid arguments and true conclusions:
Valid arguments can produce false conclusions if the original premises turn out to be false.
p: Dave is a good TA
q: Dave is Superman
Dave is a good TA
Dave is not a good TA
∴ Dave is Superman
Note that an argument is valid regardless of what the underlying propositional variables represent.
4
4. Making Arguments
When making arguments, we start with some known true things about our universe that we are given
(our premises) and then continue to add more true things we have deduced, until (hopefully) we can
arrive to the desired conclusion.
General Format:
Example 1:
Premises: (1) b∨ ∼ c
(2) (c ∧ d) ∨ e
(3) ∼ e ∧ (h → g)
(4) a →∼ b
Conclusion: ∴ ∼a
Deductions: (5) ∼ e Specialization (3)
(6) c ∧ d Elimination (2)+(5)
(7) c Specialization (6)
(8) b Elimination (1)+(7)
(9) ∼ a Modus Tollens (4)+(8)
∴ The Argument is valid
5
Example 2: