RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Masses of definite hermitian lattices and ideal zeta bounds for adelic Gauss sums

Lib.SiegelWeil.Mass.lean

Open interactive viewer Raw Lean source · Pinned source

Reading

Upstream documentation written by Claude

The mass New.mass E l is the sum of 1 / #Aut over the double cosets Γ \ G_f / K₀ of the definite space New.stdSpace E (Fin l). Here G_f is the unitary group over the finite adeles, Γ (New.stdRatPoints) its rational points, K₀ (New.stdLevel) the stabiliser of the standard lattice, and New.classSum the weighted sum over these double cosets. If E is stably unramified, the class sum in rank j + 1 of the number of vectors of norm 1 is the mass in rank j. The file also bounds adelic Gauss sums, integrated over the characters, by a value of the ideal zeta function of a ring.

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

Rest of upstream introduction

Rest of upstream introduction

Main definitions and results

  • New.classSum_card_norm_one_eq_mass: let E be stably unramified (New.HasPrimitiveRoot5040: E contains a primitive root of unity of order 5040, so it is unramified over its maximal real subfield at all finite places). Then the class sum in rank j + 1 of the number of lattice vectors of norm 1 is the mass in rank j.
  • New.idealZeta: the sum ζ_R(s) of [R : I]^(−s) over the ideals I of finite index of a ring R.
  • New.lintegral_le_idealZeta_mul: let ζ_R(μ) ≤ 2. An integral is at most ζ_R(μ)·V if almost every point x of the domain lies in some set S(I), for an ideal I of finite index, with [R : I]^μ · f(x) · (measure of S(I)) ≤ V, for the integrand f.
  • New.lintegral_gauss_sum_le_idealZeta: if ζ_Ô(μ) ≤ 2 and 2(μ + 1) ≤ n, the integral over b of |∫_{Ô^n} ψ_f(b(w*w − Γ)/2) dw| is at most ζ_Ô(μ)·vol(Ô^n).

Notions from other files:

  • New.stdSpace: the definite space I_n, the sum of n norms with its standard lattice.

Relation to the literature

Part of a known result, the mass formula for unimodular hermitian lattices: masses in consecutive ranks are compared through the class sums of norm one vectors. See Lib.SiegelWeil.OneVector.SiegelClassSum.

Part of a known result, Siegel's formula for representing a number by a hermitian form, with bounds on the local densities: the Gauss sums are bounded at all finite places at once, by sorting the characters by their conductor ideal. See Lib.SiegelWeil.OneVector.SiegelClassSum.

Pinned source lines

Declarations

  • lemma lintegral_gauss_sum_le_idealZeta (hμ : idealZeta (Ô E) μ ≤ 2) [Fintype n]
        (hd : 2 * (μ + 1) ≤ card n) (Γ : 𝔸f E) :
        ∫⁻ b : selfAdjoint (𝔸f E), ‖∫ w : n → 𝔸f E in (stdLattice E n : Set (n → 𝔸f E)),
            (ψf E ((2⁻¹ : E) * (b.val * (star w ⬝ᵥ w - Γ))) : ℂ)‖ₑ ≤
          idealZeta (Ô E) μ * volÔ E ^ card n
    

Import route to Main

Lib.SiegelWeil.Mass → Lib.Adelic.Adeles.SemilocalProducts (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)

X Reddit Email LinkedIn