RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Principal ideal powers, S-units and a class number bound

Lib.General.NumberTheory.SUnitsAndClassNumber.lean

Open interactive viewer Raw Lean source · Pinned source

Reading

Upstream documentation written by Claude

For every ideal I of a ring of integers of a number field some power I ^ n with n ≠ 0 is principal. For ideals of norm greater than 1 the generators can be chosen large at every complex embedding.

Main definitions and results

  • New.ThetaTori.exists_pow_eq_span_inv_lt: for an ideal of norm greater than 1, some power is principal with a non-unit generator of arbitrarily large absolute value at every complex embedding.

Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.

Rest of upstream introduction

Rest of upstream introduction
  • New.SUnit.dirichlet_unit_theorem: for a finite set S of finite places of a number field K, the S-units are finitely generated of rank #S + #(infinite places) - 1. This follows from Mathlib's unit theorem and the finiteness of the class number, in the form New.exists_valuation_eq_exp_mul. Valuations are multiplicative, with values in ℤᵐ⁰, and a uniformiser has valuation exp (-1).
  • New.eq_zero_of_forall_norm_lt_one: an algebraic integer of absolute value below 1 at every infinite place is 0. Here Φ v, from an instance of New.PlaceEmbedding, is a chosen complex embedding that induces the infinite place v.
  • New.classNumber_le: a number field of degree n and discriminant d has class number at most (2 ^ n * |d|) ^ (n + 1).

Minkowski's bound is at most 2 ^ n * |d| (New.minkowski_bound_le_two_pow_mul_discr), so each class has an integral ideal of norm k ≤ 2 ^ n * |d| as a member. Such an ideal is generated by k and one more element, and the proof counts the possible pairs.

  • New.conj_mem_quadInt: for a prime d ≡ 7 mod 8, the ring New.quadInt d, the image of the ring of integers of ℚ(√−d) in ℂ, is stable under complex conjugation.

Relation to the literature

Dirichlet's S-unit theorem is deduced from the unit theorem in Mathlib, and the class number bound is a crude explicit form of the finiteness of the class number, deduced from Minkowski's bound in Mathlib.

Pinned source lines

Declarations

  • lemma New.classNumber_le (F : Type*) [Field F] [NumberField F] :
        classNumber F ≤ (2 ^ finrank ℚ F * (discr F).natAbs) ^ (finrank ℚ F + 1)
    

Import route to Main

Lib.General.NumberTheory.SUnitsAndClassNumber → Lib.CM.Sigma.ThetaSections (pinned import) → Lib.CM.GoodReduction (pinned import) → Lib.CM.FiniteLattices (pinned import) → New.Derivatives.Vacuum.IntegralVacuum (pinned import) → New.Reduction.Data.AdmissibleData (pinned import) → New.Reduction.Data.Existence (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)

X Reddit Email LinkedIn