Each quantifier flips as the negation passes
∀ becomes ∃ and ∃ becomes ∀, in order, until the negation reaches the predicate. This is De Morgan generalised to arbitrary domains.
¬∀x P(x) ≡ ∃x ¬P(x) and ¬∃x P(x) ≡ ∀x ¬P(x). Applied repeatedly, this converts any negated statement into one with the negation on the predicate — which is how you find out what a counterexample must look like.
Core ideas
Negation is mechanical here, and the mechanism is worth trusting: it tells you exactly what would have to be shown to refute a claim.
∀ becomes ∃ and ∃ becomes ∀, in order, until the negation reaches the predicate. This is De Morgan generalised to arbitrary domains.
Negating a theorem statement produces the exact shape of a counterexample. That is the practical payoff of doing it mechanically.
¬∀x (P(x) → Q(x)) ≡ ∃x (P(x) ∧ ¬Q(x)): the conditional becomes a conjunction, which is why restricted universals negate into restricted existentials.
The material
The two rules, why they generalise De Morgan, and how to apply them in sequence.
¬∀x P(x) ≡ ∃x ¬P(x) and ¬∃x P(x) ≡ ∀x ¬P(x), over any domain.
¬∀x P(x) says it is not the case that P holds throughout the domain — so some element fails it, which is ∃x ¬P(x). Conversely, if some c has ¬P(c) then ∀x P(x) cannot hold.
For a finite domain {a₁, …, aₙ} this is literally De Morgan: ¬(P(a₁) ∧ … ∧ P(aₙ)) ≡ ¬P(a₁) ∨ … ∨ ¬P(aₙ). The quantifier rules are the same statement freed from finiteness.
□
Applied to a nested statement, the rules are used one at a time from the outside in. Each application moves the negation one quantifier further right and flips that quantifier.
Every quantifier has flipped and the negation now sits on the predicate, where the propositional rules of “Logical Equivalence” take over. If P is a conditional, ¬(A → B) ≡ A ∧ ¬B finishes the job.
"Every prime greater than 2 is odd" is ∀x ((P(x) ∧ x > 2) → Odd(x)). Its negation is ∃x (P(x) ∧ x > 2 ∧ ¬Odd(x)) — "there is an even prime greater than 2". That is exactly the counterexample you would have to produce, and its shape came out of the mechanism rather than out of thinking about primes.
This is the lesson's real use. Faced with a claim you suspect is false, negate it mechanically and read what the negation demands. Very often the negation is easy to satisfy and the counterexample writes itself.
¬∃!x P(x) says either nothing satisfies P or at least two things do. Unfolding ∃! and negating gives exactly that disjunction — a good check on whether the mechanism has been applied correctly.
Interactive
A finite universe you can edit
Method
One quantifier at a time, outside in. Never guess the result.
Including the domain restriction as a conditional or conjunction. Negating English directly is where errors enter.
∀ to ∃ or ∃ to ∀, moving the negation inside it.
Each step flips exactly one quantifier. Do not skip ahead.
¬(A → B) ≡ A ∧ ¬B, De Morgan for ∧/∨, double negation. Then read the result back into English as the description of a counterexample.
f is continuous at a when ∀ε > 0 ∃δ > 0 ∀x (|x − a| < δ → |f(x) − f(a)| < ε).
Read it: there is a tolerance ε such that no matter how small δ is made, some point within δ of a is thrown further than ε away. That is precisely what discontinuity looks like, and the mechanism produced it without any geometric intuition being consulted.
Negate ∀ε ∃N ∀n (n ≥ N → |aₙ − L| < ε), the definition of a convergent sequence, and read the answer back into English. If the mechanism carried you through, it will carry you through any definition you meet later.
Something to change about this lesson? Write it down, tick it off when it is handled, and export the list when you want to act on it. Kept in this browser only: nothing is sent anywhere, and nobody is notified.
No recommendations yet for this lesson.