Mathlib theorem · Existing formal mathematics

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.

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.

Every type admits some linear order whose strict relation is well founded. Explanatory diagram.
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

Statement map for Well-Ordering TheoremEvery type admits a linear order whose strict relation is well founded. Claim boundary: 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. The pinned upstream declaration is exists_wellOrder. The complete formal statement is available in the Exact Mathlib statement section.Mathematical readingEvery type admits alinear order whosestrict relation is wellfounded.Claim boundaryThis target indexesMathlib's theorem thatevery type α admits someLinearOrder whose strictrelation is wellfounded. It is anexistential result only:the selected declarationdoes not provide acomputable or canonicalorder, preserve orextend a relationalready on α, oridentify the chosenorder with a particularordinal.Pinned declarationmathlib ·exists_wellOrderStatement map for Well-Ordering TheoremEvery type admits a linear order whose strict relation is well founded. Claim boundary: 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. The pinned upstream declaration is exists_wellOrder. The complete formal statement is available in the Exact Mathlib statement section.Mathematical readingEvery type admits alinear order whosestrict relation is wellfounded.Claim boundaryThis target indexesMathlib's theorem thatevery type α admits someLinearOrder whose strictrelation is wellfounded. It is anexistential result only:the selected declarationdoes not provide acomputable or canonicalorder, preserve orextend a relationalready on α, oridentify the chosenorder with a particularordinal.Pinned declarationmathlib ·exists_wellOrder

Read the exact Mathlib declaration

This map summarizes the statement's structure; the exact Mathlib declaration remains authoritative.

The same sample elements are organized into a strict order without adding, losing, or merging any element. Explanatory 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

Upstream indexedPinned source bytes verified locally
Locally reproducedExact upstream declaration replayed
Reviewed pageCurrent public presentation reviewed
Accepted Atlas resultNot recorded for the preferred artifact

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.

Source and local evidence

Where the theorem comes from

Existing declaration
exists_wellOrder in mathlib
Relationship
The checked artifact is the upstream declaration itself
Local Lean evidence
artifact.library.mathlib.well-ordering-theorem.v001
Source
Open the pinned upstream reference