Explicit bound for the number of classes in the genus
New.UpperBound.Size.ClassCount.lean
Reading
Upstream documentation written by Claude
This file gives a crude explicit bound
New.Space.card_stdClasses_lefor the number of classesNew.StdClasses (New.stdLevel E n)in the genus of the standard lattice. A class is determined by the Gram matrixGof a short basis of its lattice and a rational approximationXof the change of basis. BothGandG Xhave integral entries of bounded size, and such matrices are counted.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Main definitions and results
New.Space.card_stdClasses_le: an explicit bound for the number of classesNew.StdClasses (New.stdLevel E n), for a CM fieldEwithfinfinite places and a natural numberN ≠ 0in the different ofE.New.Space.stdClasses_eq_of_gram_eq: two classesg,g'inΓ \ G_f / K₀are equal if there areY,Y'inGL n Ewith the same Gram matrix such thatA' A⁻¹has entries inÔ E, whereA = g.out⁻¹ YandA' = g'.out⁻¹ Y'.
Notions from other files:
New.StdClasses K: the double cosetsΓ \ G_f / Kof the finite adelic unitary groupG_fof the form∑ x_i \bar x_iby its rational pointsΓand a subgroupK.New.stdLevel: the subgroupK₀ = G_f ∩ GL_n(Ô), the stabiliser of the standard latticeÔ^n.
Relation to the literature
See New.UpperBound.Size.Estimates for related work.
Declarations
lemma New.Space.card_stdClasses_le {E : Type} [Field E] [CMType E] {N : ℕ} [NeZero N] (hN_different : (N : 𝓞 E) ∈ differentIdeal ℤ (𝓞 E)) {n : Type} [Fintype n] [DecidableEq n] : Nat.card (StdClasses (stdLevel E n)) ≤ (1 + 2 * shortBasisConst E n N ^ 3) ^ (4 * Core.numInfPlaces E * card n ^ 2)
Import route to Main
New.UpperBound.Size.ClassCount → 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)