← back to logic

Logical Equivalence

Craig DeLancey · A Concise Introduction to Logic, Ch. 4 · CC BY-SA 4.0

Two formulas are logically equivalent when they have the same truth value in every possible assignment. Equivalence laws let you rewrite formulas into simpler or more useful forms without changing their meaning.

¬(P ∧ Q) ¬P ∨ ¬Q De Morgan's Law

De Morgan's laws

Negation distributes over conjunction and disjunction by flipping the connective. ¬(P ∧ Q) ≡ ¬P ∨ ¬Q. ¬(P ∨ Q) ≡ ¬P ∧ ¬Q.

Scheme

Distribution

Conjunction distributes over disjunction and vice versa. P ∧ (Q ∨ R) ≡ (P ∧ Q) ∨ (P ∧ R). P ∨ (Q ∧ R) ≡ (P ∨ Q) ∧ (P ∨ R).

Scheme

Contrapositive

The contrapositive of P → Q is ¬Q → ¬P. They are logically equivalent. The converse (Q → P) and inverse (¬P → ¬Q) are NOT equivalent to the original.

Scheme

Biconditional elimination and simplification

P ↔ Q ≡ (P → Q) ∧ (Q → P). The biconditional is just two implications conjoined. Other useful equivalences: double negation (¬¬P ≡ P), idempotence (P ∧ P ≡ P), and absorption (P ∧ (P ∨ Q) ≡ P).

Scheme

Equivalence laws reference

Law Equivalence
De Morgan¬(P ∧ Q) ≡ ¬P ∨ ¬Q
De Morgan¬(P ∨ Q) ≡ ¬P ∧ ¬Q
DistributionP ∧ (Q ∨ R) ≡ (P ∧ Q) ∨ (P ∧ R)
ContrapositiveP → Q ≡ ¬Q → ¬P
BiconditionalP ↔ Q ≡ (P → Q) ∧ (Q → P)
Double negation¬¬P ≡ P
AbsorptionP ∧ (P ∨ Q) ≡ P