Zorn's Lemma

lean4-proofset-theory-logicvisualization
every chain bounded     maximal element\text{every chain bounded} \implies \exists\text{ maximal element}

Statement

Let (P,)(P, \le) be a nonempty partially ordered set. If every chain (totally ordered subset) in PP has an upper bound in PP, then PP has at least one maximal element — an element mm such that no element strictly above mm exists:

(CP, C chainuP, cC, cu)    mP, pP, mpm=p(\forall C \subseteq P,\ C \text{ chain} \Rightarrow \exists\, u \in P,\ \forall c \in C,\ c \le u) \implies \exists\, m \in P,\ \forall p \in P,\ m \le p \Rightarrow m = p

Visualization

The poset of subgroups of Z\mathbb{Z} under inclusion, ordered by divisibility of the generator (larger subgroup = smaller index):

Subgroups of ℤ under ⊆:
         ℤ = ⟨1⟩
        / | \
    ⟨2⟩ ⟨3⟩ ⟨5⟩  …
    /\    |
 ⟨4⟩ ⟨6⟩ ⟨9⟩
    \  /
    ⟨12⟩
     …
     {0}

Chain example: ⟨1⟩ ⊇ ⟨2⟩ ⊇ ⟨4⟩ ⊇ ⟨8⟩ ⊇ …
Upper bound of chain: ⟨1⟩ (= ℤ itself)
Maximal element among proper subgroups: none finite one works —
but Zorn gives a maximal proper subgroup (e.g. ⟨p⟩ for prime p).

For the poset of all proper subgroups of Z\mathbb{Z} (excluding Z\mathbb{Z} itself): every chain {nkZ}\{n_k \mathbb{Z}\} has lcm as upper bound. Zorn yields a maximal proper subgroup pZp\mathbb{Z} for some prime pp.

Proof Sketch

Zorn's Lemma is equivalent to the Axiom of Choice. The standard proof proceeds:

  1. Assume the hypothesis. Suppose for contradiction no maximal element exists.
  2. For every chain CC, choose an upper bound u(C)Pu(C) \in P with u(C)u(C) strictly above some element of CC (using Choice and the no-maximal assumption).
  3. Build a transfinite sequence p0<p1<p2<<pω<p_0 < p_1 < p_2 < \cdots < p_\omega < \cdots by transfinite recursion using uu.
  4. This sequence, indexed by all ordinals, forms a strictly increasing chain of elements of PP. But PP is a set, so the collection of distinct elements is bounded — contradiction.

Connections

Zorn's Lemma is equivalent to the Well-Ordering TheoremWell-Ordering TheoremX, X, (X,X) is well-ordered\forall X,\ \exists\, \le_X,\ (X, \le_X) \text{ is well-ordered}Every set can be well-ordered: given AC, every set admits a relation under which every nonempty subset has a minimum.Read more → and the Axiom of Choice. All three are used interchangeably in modern algebra and topology. The existence of bases for all vector spaces, maximal ideals in rings, and algebraic closures of fields each follow from Zorn. Compare with Tychonoff's TheoremTychonoff's TheoremiIXi compact    i,  Xi compact\prod_{i \in I} X_i \text{ compact} \iff \forall i,\; X_i \text{ compact}An arbitrary product of compact spaces is compact in the product topologyRead more →, which is also equivalent to Choice.

Lean4 Proof

import Mathlib.Order.Zorn

/-- Zorn's Lemma for partial orders: every chain-bounded poset has a maximal element.
    Mathlib: `zorn_le`. -/
theorem zorns_lemma {α : Type*} [PartialOrder α]
    (h :  c : Set α, IsChain ·) c  BddAbove c) :  m : α, IsMax m :=
  zorn_le h