The Laws of Logic are a set of fundamental principles which are the foundation of logical reasoning.
Let p, q, and r be any three propositions.
Law |
Formula |
Idempotent laws |
p∧p≡p p∨p≡p |
Identity laws |
p∧true≡p p∨false≡p |
Inverse laws |
p∧(¬p)≡false p∨(¬p)≡true |
Domination laws |
p∨true≡true p∧false≡false |
Commutative laws |
p∧q≡q∧p p∨q≡q∨p |
Double negation |
¬(¬p)≡p |
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) |
De Morgan's laws |
¬(p∧q)≡¬p∨¬q ¬(p∨q)≡¬p∧¬q |
Implication conversion law |
p→q≡¬p∨q |
Contrapositive law |
p→q≡¬q→¬p |
Reductio ad absurdum law |
p→q≡(p∧¬q)→false |