Académique Documents
Professionnel Documents
Culture Documents
Previous Lecture
Truth tables
Tautologies and contradictions
Logic equivalences
Laws of Logic
Introduction
Discrete Mathematics
Andrei Bulatov
Discrete Mathematics – Laws of Logic 4-3 Discrete Mathematics – Laws of Logic 4-4
p ¬p ¬¬p p q ¬p ¬q p∧q ¬ (p ∧ q) ¬p ∨ ¬q
0 0 0 1 1 0 1 1
0 1
1 0 1 1 0 0 1 1
1 0
1 0 0 1 0 1 1
1 1 0 0 1 0 0
Discrete Mathematics – Laws of Logic 4-5 Discrete Mathematics – Laws of Logic 4-6
p ∧ (q ∨ r) ⇔ (p ∧ q) ∨ (p ∧ r) Distributive laws
p ∨ (q ∧ r) ⇔ (p ∨ q) ∧ (p ∨ r)
1
Discrete Mathematics – Laws of Logic 4-7 Discrete Mathematics – Laws of Logic 4-8
p∧F ⇔ F
Domination laws
p∨T ⇔ T
p ∧ (p ∨ q) ⇔ p
Absorption laws
p ∨ (p ∧ q) ⇔ p
Discrete Mathematics – Laws of Logic 4-9 Discrete Mathematics – Laws of Logic 4-10
Discrete Mathematics – Laws of Logic 4-11 Discrete Mathematics – Laws of Logic 4-12
2
Discrete Mathematics – Laws of Logic 4-13 Discrete Mathematics – Laws of Logic 4-14
Let Φ be a compound statement, p an arbitrary (not necessarily Exercises from the Book:
primitive!) statement that appears in Φ, and let q be a statement No. 1ai, 2, 6a, 6b, 14a (page 66)
such that p ⇔ q. If we replace one or more occurrences of p by
q, then for the resulting compound statement Ψ we have Φ ⇔ Ψ.
- Express conjunction and disjunction through implication and negation
(*)
Therefore
(p → q) ∨ (q → p) ⇔ ((p ∨ (p ∧ q)) → q) ∨ (q → p).