Lecture 4 and 5
Lecture 4 and 5
Lecture: 4 & 5
Statement Reason
p ∨ [∼(∼p ∧ q)] ≡p ∨ [∼(∼p) ∨ ∼q] DeMorgan’s Law
≡p ∨ [p ∨ ∼q] Double Negative Law
≡[p ∨ p ]∨ ∼q Associative Law for ∨
≡p∨ ∼q Idempotent Law
Statement Reason
∼ (∼ p ∧ q) ∧ (p ∨ q)
≡ (∼ (∼ p) ∨ ∼q) ∧ (p ∨ q) DeMorgan’s Law
≡ (p ∨ ∼q) ∧ (p ∨ q) Double Negative Law
≡p ∨(∼q ∧ q) Distributive Law
≡p∨ c Negation Law
≡p Identity Law
The last two columns imply that the expressions are equivalent.
p→q ≡ ∼p∨q
Statement Reason
∼(p→q)≡ ∼(∼p∨ q)
≡ ∼(∼ p) ∧ ∼q by De Morgan’s law
≡p ∧∼q Double Negative Law
Example 7
(1) If today is Friday, then 2 + 3 = 5.
If 2 + 3 =6 5, then today is not Friday.
(2) If it snows today, I will ski tomorrow.
I will not ski tomorrow only if it does not snow today.
(3) If P is a square, then P is a rectangle.
If P is not a rectangle then P is not a square.
(4) If my car is in the repair shop, then I cannot get to class.
If I get to the class, then my car is not in the repair shop.