Logical Equivalence and Negation
When two propositions say the same thing, and how to say the opposite
Adapted from Kameron Decker Harris’s Fall 2026 lecture notes “Logic 3”, which are typed transcriptions of Scott Wehrwein’s Spring 2025 handwritten lecture notes. The truth table for the distributive law of “and” over “or” comes from those notes; the exercises are new.
1 Logical equivalence
Proof. By Definition: If and only if, \(A \Leftrightarrow B\) is true in a row of the truth table exactly when \(A\) and \(B\) have the same truth value in that row. So \(A \Leftrightarrow B\) is true in every row exactly when \(A\) and \(B\) have the same truth value in every row, which is what \(A \equiv B\) means.
Proof. Law 2 is Solution 3. For law 1, the fourth and fifth columns of this table match in every row:
| \(A\) | \(B\) | \(C\) | \(A \land (B \lor C)\) | \((A \land B) \lor (A \land C)\) |
|---|---|---|---|---|
| T | T | T | T | T |
| T | T | F | T | T |
| T | F | T | T | T |
| T | F | F | F | F |
| F | T | T | F | F |
| F | T | F | F | F |
| F | F | T | F | F |
| F | F | F | F | F |
2 Negation
Proof.
| \(P\) | \(\neg P\) | \(\neg \neg P\) |
|---|---|---|
| T | F | T |
| F | T | F |
The first and last columns match in both rows.
Proof. The truth value of the larger proposition in a row of its truth table depends on the truth value of \(A\) in that row, not on how \(A\) is written. \(A\) and \(B\) have the same truth value in every row, so the two larger propositions do too.
Proof. For law 1, the fourth and last columns of this table match in every row:
| \(P\) | \(Q\) | \(P \land Q\) | \(\neg (P \land Q)\) | \(\neg P\) | \(\neg Q\) | \(\neg P \lor \neg Q\) |
|---|---|---|---|---|---|---|
| T | T | T | F | F | F | F |
| T | F | F | T | F | T | T |
| F | T | F | T | T | F | T |
| F | F | F | T | T | T | T |
Law 2 follows from law 1. Law 1 holds for any two propositions, so it holds for \(\neg P\) and \(\neg Q\): \[ \neg (\neg P \land \neg Q) \equiv \neg \neg P \lor \neg \neg Q. \] By double negation (Theorem 3) and Theorem 4, the right side is logically equivalent to \(P \lor Q\), so \[ \neg (\neg P \land \neg Q) \equiv P \lor Q. \] Negating both sides (Theorem 4) gives \[ \neg \neg (\neg P \land \neg Q) \equiv \neg (P \lor Q), \] and by double negation the left side is logically equivalent to \(\neg P \land \neg Q\). So \(\neg (P \lor Q) \equiv \neg P \land \neg Q\).
Proof. By Definition: Implies, \(P \Rightarrow Q\) is false exactly when \(P\) is true and \(Q\) is false, so \(\neg (P \Rightarrow Q)\) is true exactly in that row. \(P \land \neg Q\) is true exactly when \(P\) is true and \(\neg Q\) is true, which is the same row.
Proof. By double negation (Theorem 3), \(P \Rightarrow Q \equiv \neg \neg (P \Rightarrow Q)\). By Theorem 6 and Theorem 4, \(\neg \neg (P \Rightarrow Q) \equiv \neg (P \land \neg Q)\). By De Morgan’s law 1 (Theorem 5), \(\neg (P \land \neg Q) \equiv \neg P \lor \neg \neg Q\), and by double negation again, that is logically equivalent to \(\neg P \lor Q\).
3 Negating quantified propositions
Proof.
- By Definition: Universal quantifier, \(\forall x \in S, P(x)\) is false exactly when \(P(x)\) is false for at least one \(x\) in \(S\), which by Definition: Existential quantifier is when \(\exists x \in S, \neg P(x)\) is true.
- By Definition: Existential quantifier, \(\exists x \in S, P(x)\) is false exactly when \(P(x)\) is false for every \(x\) in \(S\), which by Definition: Universal quantifier is when \(\forall x \in S, \neg P(x)\) is true.