The Existential Quantifier
The existential quantifier ∃ means “there exists” or “there is”.
The statement ∃x.P(x) means: there is at least one element x (in the domain) such that P(x) holds.
Syntax
∃x∈S.P(x)
means “there exists an x in the set S such that P(x) holds.”
Examples
- ∃n∈N.n>10 (true: n=11 works)
- ∃n∈Z.n2=4 (true: n=2 or n=−2)
- ∃n∈Z.n2=2 (false: no integer squared equals 2)
Proof Strategy: Constructive Existence
To prove ∃x∈S.P(x):
- Exhibit a witness: Find a specific value x0∈S
- Verify: Prove that P(x0) holds
This is called a constructive proof of existence.
Example
Statement: There exists an even prime number.
Proof:
Take x0=2.
We verify: 2 is even (since 2=2⋅1) and 2 is prime (its only divisors are 1 and 2).
Therefore, ∃n∈N such that n is even and prime.
Non-constructive Existence
Sometimes we can prove ∃x.P(x) without exhibiting a specific witness.
Example: “There exist irrational numbers a,b such that ab is rational.”
Non-constructive proof: Consider 22.
- If it’s rational, take a=2, b=2
- If it’s irrational, take a=22, b=2, and note ab=(22)2=22=2
In either case, such a,b exist.
Nested Quantifiers
∃x.∀y.P(x,y)
“There exists an x such that for all y, P(x,y) holds.”
∀y.∃x.P(x,y)
“For all y, there exists an x such that P(x,y) holds.”
Order Matters!
These are NOT equivalent:
∃x.∀y.P(x,y)≡∀y.∃x.P(x,y)
Example
Consider P(x,y):≡ ”x loves y” over people.
- ∃x.∀y.P(x,y): There is someone who loves everyone.
- ∀y.∃x.P(x,y): Everyone is loved by someone.
The second is much weaker.
Example over R
- ∃x.∀y.x≤y: False (no smallest real)
- ∀y.∃x.x≤y: True (take x=y−1)
De Morgan’s Laws for Quantifiers
Negation of Universal
¬(∀x.P(x))≡∃x.¬P(x)
“It is not the case that all x satisfy P” means “there exists an x that does not satisfy P.”
Negation of Existential
¬(∃x.P(x))≡∀x.¬P(x)
“It is not the case that some x satisfes P” means “all x fail to satisfy P.”
Example
¬(∀n∈N.n>0)≡∃n∈N.n≤0
The witness is n=0.
Common Structures
Existential Implication
∃x.(P(x)⇒Q(x)) is tricky.
Note: P(x)⇒Q(x) is equivalent to ¬P(x)∨Q(x).
So ∃x.(P(x)⇒Q(x)) is equivalent to ∃x.(¬P(x)∨Q(x)).
Example
∃x∈R.(x<0⇒x2<0)
This is true: take x=1. Then x<0 is false, so the implication is vacuously true.
Common Pitfalls
Unverified Witness
Trap: Claiming ∃x.P(x) without verifying P(x) for your candidate.
Example: To prove ∃n.n2+n+41 is prime, you cannot just say “take n=40” without checking.
Wrong Quantifier Order
Trap: Confusing ∃x.∀y with ∀y.∃x.
They are NOT equivalent.
Using a Variable Without Introduction
Trap: Using x in a proof without specifying where it comes from.
When proving ∀x.∃y.P(x,y), for each x you must say how to find y.
Summary
- ∃x.P(x) means “there exists an x such that P(x)”
- Prove constructively: exhibit a witness x0 and verify P(x0)
- Quantifier order matters: ∃x.∀y≡∀y.∃x
- De Morgan: ¬∀x.P(x)≡∃x.¬P(x) and ¬∃x.P(x)≡∀x.¬P(x)