propositional logic
Logical Equivalences
You should know: propositional logic
Overview
Two propositional formulas are logically equivalent if they have the same truth value under every possible assignment of truth values to their variables, written p ≡ q. Equivalences let us rewrite statements into simpler or more useful forms without changing their meaning, much like algebraic identities let us rewrite expressions. A standard library of equivalences — De Morgan's laws, the distributive laws, double negation, contrapositive, and the biconditional's expansion — covers the vast majority of simplifications needed in proofs and digital logic. Verifying an equivalence can always be done mechanically by comparing truth tables, but recognizing and applying named equivalences is far faster in practice.
Intuition
Think of a logical equivalence as two different recipes that always produce the same dish: no matter which raw ingredients (truth values) you feed in, both formulas come out identical. This is why you can substitute one side for the other anywhere inside a larger proof — it's the logical analogue of substituting equal quantities in algebra, and it's how a messy conditional statement gets rewritten into a clean disjunction or a checkable contrapositive.
Formal Definition
p and q are logically equivalent, written p ≡ q, exactly when p ↔ q is a tautology (true under every assignment). Key named equivalences include:
Worked Examples
Rewrite the conditional as a disjunction.
Negate both sides and apply De Morgan's law.
Double negation simplifies ¬¬p to p.
Answer: ¬(p → q) ≡ p ∧ ¬q.
Practice Problems
Use De Morgan's law to simplify ¬(¬p ∨ q).
Show that p ↔ q is equivalent to (p → q) ∧ (q → p).
Prove that (p → r) ∧ (q → r) ≡ (p ∨ q) → r.
Quiz
Summary
- p ≡ q means p and q have identical truth values under every assignment, equivalently p ↔ q is a tautology.
- Named equivalences (De Morgan's, distributive, contrapositive, double negation) let you rewrite formulas without checking a full truth table.
- Equivalences justify substitution: any subformula can be replaced by an equivalent one anywhere inside a larger expression.
Mathematics