Adelic Minkowski theorems and counts of rational points in boxes
Lib.Adelic.Reduction.MinkowskiTheorems.lean
Reading
Upstream documentation written by Claude
This file proves Minkowski's first theorem and the upper bound in his second theorem over the adeles, for the lattice attached to
y : GL n (𝔸 E). This lattice consists of the rational vectorsξwithy⁻¹ ξintegral at the finite places, measured byy⁻¹ ξat the infinite places. HereNew.𝔸 Eisℂ ^ f × 𝔸f Ewithf = New.Core.numInfPlaces E; here[CMType E]makesEa number field whose infinite places are all complex, each placewwith a chosen embeddingΦ w : E → ℂ.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
New.toAdele is the diagonal embedding, New.ideleAbs the adelic absolute value and New.Ô the
ring of integral finite adeles, and the unit box is ball 0 1 ×ˢ Ô E (sup norm) in each coordinate.
Main definitions and results
New.minkowski_first: a lower bound for the number of rationalξwithy⁻¹ ξin the unit box.New.Core.twoAtInfinity,New.Core.dyadicDiag,New.Core.profileBases: the idele that is2at infinity, the diagonal matricesDof its powers, and the rational basesYwithy⁻¹ Y D⁻¹in a given set.New.Core.frameLattice,New.Core.frameLength: the lattice ofyand the Euclidean length ofy⁻¹ ξat infinity.New.Core.minkowski_second_theorem: the second theorem. The lattice contains a basis ofE ^ nfor which|det y|times the product of the2 f-th powers of the lengths is bounded in terms off,nand the discriminant. The proof takes successive minima and applies the first theorem to a box without nonzero lattice vectors.New.exists_basis_frameLength_le_two_zpow: a bound of the same kind, with a larger constant, for the lengths rounded up to powers2 ^ x j.New.Core.encard_le_of_dyadic_box: at mostC * 4 ^ (f * ∑ i, (x i)⁺)rational vectorsξhave the vector of thetwoAtInfinity E ^ (-x i) * ξ iin a given compact set.New.Core.exists_eq_zero_of_zpow_mul_mem: for a compact setBof adeles and all largem, no nonzeroainEhastwoAtInfinity E ^ m * ainB.
Notions from other files:
New.ratVectors: the image ofE ^ nin𝔸 E ^ nunder the diagonal embedding, as an additive subgroup.
Relation to the literature
Part of a known result: Reduction theory, here the adelic Minkowski theorems. For Mahler-Godement
compactness and finite covolume see Lib.Adelic.Reduction.FiniteVolume.
Declarations
lemma New.Core.exists_eq_zero_of_zpow_mul_mem {E : Type*} [Field E] [CMType E] {B : Set (𝔸 E)} (hB : IsCompact B) : ∃ c : ℤ, ∀ e : ℤ, e < c → ∀ {a : E}, (twoAtInfinity E ^ (-e)).val * toAdele a ∈ B → a = 0
Import route to Main
Lib.Adelic.Reduction.MinkowskiTheorems → Lib.Adelic.Reduction.FiniteVolume (pinned import) → Lib.Adelic.Reduction.DefiniteClassSums (pinned import) → New.Spanning.Unfolding.Setup (pinned import) → New.Spanning.RemainingTerms.Box (pinned import) → New.UpperBound.Size.ClassCount (pinned import) → New.UpperBound.Size.Estimates (pinned import) → New.UpperBound.Size.ArchimedeanSize (pinned import) → New.Determinant.Twist.LongForms (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)