Existing in Mathlib · Logic and foundations
Well-Ordering Theorem
For any type α, regardless of its size or prior structure, there is some way to compare every pair of elements linearly such that the resulting strict order is well founded.
- well-orders
- linear orders
- well-founded relations
- cardinals
- pullback orders
- choice principles
Exact theorem
Exact Mathlib statement
theorem exists_wellOrder (α : Type u) : ∃ (_ : LinearOrder α), WellFoundedLT αThe theorem at a glance
Well-Ordering Theorem — existence without canonicity
A visual guide to the theorem's hypotheses, structure, and conclusion; the exact statement gives the formal detail.
Well-Ordering Theorem — existence without canonicity

Detailed visual description
The poster pairs the exact Mathlib endpoint with a restrained before-and-after diagram. Heterogeneous elements begin without relations and reappear along one selected open-ended order, while the exact-scope panel keeps the result existential and disclaims canonicity, computability, and extension of an existing relation.
Statement structure
Statement and scope
Read the exact Mathlib declaration
This map summarizes the statement's structure; the exact Mathlib declaration remains authoritative.
Well-Ordering Theorem — scientific diagram

Detailed visual description
An auditable twelve-element sample illustrates the existence of a selected well-order: every distinct token on the left appears exactly once in the ordered chain on the right. The finite sample does not restrict the theorem to finite types.
Why it matters
A mathematical landmark
The well-ordering theorem is a central choice principle: it makes transfinite methods available on an arbitrary type after choosing a suitable order. Mathlib's declaration captures the exact existence of a linear order with well-founded strict comparison.
ProofAtlas record
What has been checked
Mathlib is the source of the theorem; the local Lean replay and page review are separate.
Claim boundary
No new theorem is claimed
This target indexes Mathlib's theorem that every type α admits some LinearOrder whose strict relation is well founded. It is an existential result only: the selected declaration does not provide a computable or canonical order, preserve or extend a relation already on α, or identify the chosen order with a particular ordinal.
- Proof Atlas did not originate the well-ordering theorem or Mathlib's declaration.
- The theorem asserts existence; it does not choose a canonical, unique, or computationally recoverable order.
- The selected declaration does not say that its order extends or preserves any pre-existing relation on α.
- The generated explanation and visuals are not proof evidence.
Source and local evidence
Where the theorem comes from
- Existing declaration
exists_wellOrderin mathlib- Relationship
- The checked artifact is the upstream declaration itself
- Local Lean evidence
artifact.library.mathlib.well-ordering-theorem.v001