Intuition
Negating a first-order sentence is purely mechanical: move ¬ rightward through the whole prefix, flipping each quantifier as it passes, until it lands on the atomic predicate, then negate the connectives inside. "Not everyone is happy" becomes "someone is unhappy"; nothing needs cleverness — only the swap rules below.
The two quantifier rules (De Morgan for ∀,∃)
¬∀xP(x)≡∃x¬P(x),¬∃xP(x)≡∀x¬P(x).
Apply them repeatedly, left to right, so every ∀ in the prefix becomes ∃ and vice versa, in the same order. For example:
¬∀x∃y∀zQ≡∃x∀y∃z¬Q.
Negating the connectives inside
Once ¬ reaches the matrix, use ordinary propositional De Morgan:
| Expression |
Its negation |
| p∧q |
¬p∨¬q |
| p∨q |
¬p∧¬q |
| p→q |
p∧¬q |
| p↔q |
p⊕q (exactly one holds) |
The implication line is the one most people miss: ¬(p→q)≡p∧¬q — a conjunction, never another implication.
Bounded / restricted quantifiers
"All A's are B" and "some A is B" hide an implication and a conjunction; their negations swap the two:
| Statement |
Formalization |
Negation |
| Every A is B |
∀x(A(x)→B(x)) |
∃x(A(x)∧¬B(x)) |
| Some A is B |
∃x(A(x)∧B(x)) |
∀x(A(x)→¬B(x)) |
Equivalently, the shorthand forms obey ¬∀x∈SP(x)≡∃x∈S¬P(x) and ¬∃x∈SP(x)≡∀x∈S¬P(x) — the domain restriction x∈S is untouched; only the quantifier and the body flip.
Worked mini-example
Negate "not all humans are intelligent" is really asking for ¬(∀x(A(x)→B(x))) where A = human, B = intelligent:
¬∀x(A(x)→B(x))≡∃x¬(A(x)→B(x))≡∃x(A(x)∧¬B(x)),
read "there is a human who is not intelligent." A wrong-but-tempting answer keeps the implication as ∃x(A(x)→¬B(x)) — a vacuously-true statement about non-humans, so it is not equivalent.
Application: negating a compound definition
Definitions built from several quantifiers negate the same way. A function f:A→B is bijective iff injective ∧ surjective, so its negation is a disjunction of the two failures:
¬(inj∧surj)≡¬(inj)∨¬(surj).
- Injective ∀a,a′(a=a′→f(a)=f(a′)) negates (via ¬(p→q)) to ∃a,a′(a=a′∧f(a)=f(a′)) — "two distinct inputs collide."
- Surjective ∀b∃a(f(a)=b) negates (flip both quantifiers in order) to ∃b∀a(f(a)=b) — "some target is never hit."
Pitfall: Two classic traps. (1) When negating p→q inside a ∀, it becomes p∧¬q, not p→¬q. (2) Flip each quantifier's type in order — ¬∀b∃a is ∃b∀a, never ∀a∃b — and remember a negated ∧ turns into ∨.