Background
Follow-up to #20516 (acceptance criterion #4b).
The OpenAI 2026-05-20 construction reportedly disproving Erdős's unit-distance conjecture (#20516) relies on infinite class field towers, guaranteed to exist by the Golod–Shafarevich theorem when the class group's ℓ-rank exceeds a bound depending on the discriminant. Formalizing this construction in Lean 4 / Mathlib (see #20576) requires the following infrastructure, which may or may not already exist in Mathlib.
This issue scopes which prerequisites exist, which are partially formalized, and which are entirely missing.
Scope
For each of the following Mathlib areas, audit the current state and report:
- Algebraic number theory basics:
NumberField, RingOfIntegers, Mathlib.NumberTheory.NumberField.*
- Class group:
ClassGroup, finiteness, ℓ-torsion subgroups
- Class field theory: Hilbert class fields, idele class groups, Artin reciprocity
- Class field towers: explicit definition and infinitude criteria
- Golod–Shafarevich theorem: pro-ℓ groups, inequalities on generators and relations, application to class field towers
- Dirichlet's unit theorem: rank of unit groups in rings of integers
- Embeddings: complex / real embeddings of number fields, Minkowski embedding into ℝⁿ
Acceptance Criteria
Notes
- This is a scoping issue, not a formalization issue. Output is a written audit, not Lean code.
- The Mathlib PR tracker (https://github.com/leanprover-community/mathlib4/pulls) and the Mathlib4 documentation are primary sources.
- Useful starting points:
Mathlib.NumberTheory.ClassNumber.*, Mathlib.NumberTheory.NumberField.Units.*.
Test Plan
Affected Files
Background
Follow-up to #20516 (acceptance criterion #4b).
The OpenAI 2026-05-20 construction reportedly disproving Erdős's unit-distance conjecture (#20516) relies on infinite class field towers, guaranteed to exist by the Golod–Shafarevich theorem when the class group's ℓ-rank exceeds a bound depending on the discriminant. Formalizing this construction in Lean 4 / Mathlib (see #20576) requires the following infrastructure, which may or may not already exist in Mathlib.
This issue scopes which prerequisites exist, which are partially formalized, and which are entirely missing.
Scope
For each of the following Mathlib areas, audit the current state and report:
NumberField,RingOfIntegers,Mathlib.NumberTheory.NumberField.*ClassGroup, finiteness, ℓ-torsion subgroupsAcceptance Criteria
complete,partial,missing, orout-of-scope.missingitems, estimate effort (lines, person-weeks).partialitems, list specific lemmas/definitions still needed.Notes
Mathlib.NumberTheory.ClassNumber.*,Mathlib.NumberTheory.NumberField.Units.*.Test Plan
Affected Files