Skip to content
Part IA Michaelmas, Lent Term

Existential Quantification

The Existential Quantifier

The existential quantifier \exists means “there exists” or “there is”.

The statement x.P(x)\exists x. P(x) means: there is at least one element xx (in the domain) such that P(x)P(x) holds.

Syntax

xS.P(x)\exists x \in S. P(x)

means “there exists an xx in the set SS such that P(x)P(x) holds.”

Examples

  • nN.n>10\exists n \in \mathbb{N}. n > 10 (true: n=11n = 11 works)
  • nZ.n2=4\exists n \in \mathbb{Z}. n^2 = 4 (true: n=2n = 2 or n=2n = -2)
  • nZ.n2=2\exists n \in \mathbb{Z}. n^2 = 2 (false: no integer squared equals 2)

Proof Strategy: Constructive Existence

To prove xS.P(x)\exists x \in S. P(x):

  1. Exhibit a witness: Find a specific value x0Sx_0 \in S
  2. Verify: Prove that P(x0)P(x_0) holds

This is called a constructive proof of existence.

Example

Statement: There exists an even prime number.

Proof:

Take x0=2x_0 = 2.

We verify: 22 is even (since 2=212 = 2 \cdot 1) and 22 is prime (its only divisors are 11 and 22).

Therefore, nN\exists n \in \mathbb{N} such that nn is even and prime.

Non-constructive Existence

Sometimes we can prove x.P(x)\exists x. P(x) without exhibiting a specific witness.

Example: “There exist irrational numbers a,ba, b such that aba^b is rational.”

Non-constructive proof: Consider 22\sqrt{2}^{\sqrt{2}}.

  • If it’s rational, take a=2a = \sqrt{2}, b=2b = \sqrt{2}
  • If it’s irrational, take a=22a = \sqrt{2}^{\sqrt{2}}, b=2b = \sqrt{2}, and note ab=(22)2=22=2a^b = (\sqrt{2}^{\sqrt{2}})^{\sqrt{2}} = \sqrt{2}^2 = 2

In either case, such a,ba, b exist.

Nested Quantifiers

x.y.P(x,y)\exists x. \forall y. P(x, y)

“There exists an xx such that for all yy, P(x,y)P(x, y) holds.”

y.x.P(x,y)\forall y. \exists x. P(x, y)

“For all yy, there exists an xx such that P(x,y)P(x, y) holds.”

Order Matters!

These are NOT equivalent:

x.y.P(x,y)≢y.x.P(x,y)\exists x. \forall y. P(x, y) \not\equiv \forall y. \exists x. P(x, y)

Example

Consider P(x,y):P(x, y) : \equivxx loves yy” over people.

  • x.y.P(x,y)\exists x. \forall y. P(x, y): There is someone who loves everyone.
  • y.x.P(x,y)\forall y. \exists x. P(x, y): Everyone is loved by someone.

The second is much weaker.

Example over R\mathbb{R}

  • x.y.xy\exists x. \forall y. x \leq y: False (no smallest real)
  • y.x.xy\forall y. \exists x. x \leq y: True (take x=y1x = y - 1)

De Morgan’s Laws for Quantifiers

Negation of Universal

¬(x.P(x))x.¬P(x)\neg(\forall x. P(x)) \equiv \exists x. \neg P(x)

“It is not the case that all xx satisfy PP” means “there exists an xx that does not satisfy PP.”

Negation of Existential

¬(x.P(x))x.¬P(x)\neg(\exists x. P(x)) \equiv \forall x. \neg P(x)

“It is not the case that some xx satisfes PP” means “all xx fail to satisfy PP.”

Example

¬(nN.n>0)nN.n0\neg(\forall n \in \mathbb{N}. n > 0) \equiv \exists n \in \mathbb{N}. n \leq 0

The witness is n=0n = 0.

Common Structures

Existential Implication

x.(P(x)Q(x))\exists x. (P(x) \Rightarrow Q(x)) is tricky.

Note: P(x)Q(x)P(x) \Rightarrow Q(x) is equivalent to ¬P(x)Q(x)\neg P(x) \lor Q(x).

So x.(P(x)Q(x))\exists x. (P(x) \Rightarrow Q(x)) is equivalent to x.(¬P(x)Q(x))\exists x. (\neg P(x) \lor Q(x)).

Example

xR.(x<0x2<0)\exists x \in \mathbb{R}. (x < 0 \Rightarrow x^2 < 0)

This is true: take x=1x = 1. Then x<0x < 0 is false, so the implication is vacuously true.

Common Pitfalls

Unverified Witness

Trap: Claiming x.P(x)\exists x. P(x) without verifying P(x)P(x) for your candidate.

Example: To prove n.n2+n+41\exists n. n^2 + n + 41 is prime, you cannot just say “take n=40n = 40” without checking.

Wrong Quantifier Order

Trap: Confusing x.y\exists x. \forall y with y.x\forall y. \exists x.

They are NOT equivalent.

Using a Variable Without Introduction

Trap: Using xx in a proof without specifying where it comes from.

When proving x.y.P(x,y)\forall x. \exists y. P(x, y), for each xx you must say how to find yy.


Summary

  • x.P(x)\exists x. P(x) means “there exists an xx such that P(x)P(x)
  • Prove constructively: exhibit a witness x0x_0 and verify P(x0)P(x_0)
  • Quantifier order matters: x.y≢y.x\exists x. \forall y \not\equiv \forall y. \exists x
  • De Morgan: ¬x.P(x)x.¬P(x)\neg\forall x. P(x) \equiv \exists x. \neg P(x) and ¬x.P(x)x.¬P(x)\neg\exists x. P(x) \equiv \forall x. \neg P(x)