Logical equivalence. Two compound statements A and B are logically equivalent (written A≡B or A⇔B) if their truth-table columns are identical in every row. Equivalently -- and this is the practical test -- A≡B exactly when A↔B is a tautology.
The standard laws of equivalence (each provable by truth table, and usable afterwards to prove new equivalences symbolically, without redrawing a table):
- Idempotent: p∨p≡p, p∧p≡p.
- Commutative: p∨q≡q∨p, p∧q≡q∧p.
- Associative: p∨(q∨r)≡(p∨q)∨r, p∧(q∧r)≡(p∧q)∧r.
- Distributive: p∨(q∧r)≡(p∨q)∧(p∨r), p∧(q∨r)≡(p∧q)∨(p∧r).
- Identity: p∨T≡T, p∨F≡p; p∧T≡p, p∧F≡F.
- Complement: p∨¬p≡T, p∧¬p≡F; ¬T≡F, ¬F≡T.
- Involution (Double Negation): ¬(¬p)≡p.
- De Morgan's Laws: ¬(p∧q)≡¬p∨¬q, ¬(p∨q)≡¬p∧¬q.
- Absorption: p∨(p∧q)≡p, p∧(p∨q)≡p.
Two named equivalences worth memorising on their own:
- p→q≡¬p∨q -- a conditional is "not-p or q", which is exactly why a false hypothesis makes p→q automatically true.
- p↔q≡(p→q)∧(q→p)≡(p∧q)∨(¬p∧¬q) -- "if and only if" really does mean "both directions hold", and can also be read as "p,q agree". …