Siegel's formula as an upper bound, and domination of class sums by the density at the last entry
New.Spanning.MainTerm.SiegelTopBound.lean
Reading
Upstream documentation written by Claude
Finite-place estimate of the filling theorem: global sums are bounded by integrals over the product of the completions at a finite set
Tof places, stable under conjugation.
New.Filling.adelicFrequency,New.Filling.localFrequency: passage between skew-adjoint frequencies atTand self-adjoint finite adeles, through multiplication by-ϖ⁻¹and-ϖ, whereϖ = S.deltaEgenerates the different.New.Filling.normDensity_indicator_eq_mul: the density of a test function that isΨatTand the indicator of the lattice offTsplits into an integral of Gauss sums of the lattice and the density ofΨatT.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
New.Filling.IsFillingData.enorm_normDensity_le_mul_lintegral_normFiberMeasure: this density is at most1 + b⁻⁶times the volume of the lattice times the integral ofΨover the sphere ofβatT.New.Filling.IsFillingData.siegel_sum_le_lintegral_sphere: Siegel's formula bounds the sum of a step function over rational points with last entrytby a constant times its integral over the sphere oft.New.Filling.IsFillingData.exists_step_sum_fiberPairing: for any matrixR, the positive part of the real part of the sum of the fiber pairings againstRis, on the top quadric, the restriction of a compactly supported invariant step function.New.Filling.IsFillingData.sum_mul_norm_sum_cosetAmplitude_sq_le_lastEntryDensity: the squared norms of class sums with one last entrytare bounded by(1 + b⁻⁶) * S.scaledSiegelConsttimes archimedean densities and densities atT, divided by the normalized mass.
The IsFillingData results assume S admissible, S.ideleM⁻¹ integral off T and F filling
data. Conventions: Φ v is the embedding of the CM type at v. The last entry of γ is the
product of the last frame vector with its image under γ.
Notions from other files:
New.Floors.IntegralPlace: A structure onLocProd T, the product of the completions atT: an open compact self-dual subringRof volume one, a characterψ, a trace-one elementτ, a skew unit and the modulusmodulus.New.Filling.IsAdmissible: The standing hypotheses:sourceLevelis the preimage of K(M),reductionis onto, and size inequalities hold between b and ϖ, κ_v, N,besselDegree, the second moments, the number of Bessel coordinates, an index and the mass.New.Filling.latticeStabilizer: The groupKof integral points of the finite adelic unitary group;New.Floors.PlaceData.congruenceSubgroupis the groupK(M)atT, the kernel of reduction moduloM.
Relation to the literature
See New.Spanning.MainTerm.EnergyEstimate for related work.
Declarations
theorem IsFillingData.sum_mul_norm_sum_cosetAmplitude_sq_le_lastEntryDensity (hT_basis : S.latticeBasis ∈ intGL 𝔰.BesselIndex (integralOff T)) (hT_N : (S.N : E)⁻¹ ∈ ratIntegralOff T) [P : IntegralPlace (LocProd T)] {F : PlaceData (Fin (𝔰.k - (6 * 𝔰.ϱ + 13))) (S.latticeMiddle (LocProd T)) (𝔰.ϱ + 1 + 2 * 𝔰.ϱ + 5)} (hF : S.IsFillingData T F) {side : FullOrCut} {Z : F.IntermediateGroup} {j J : Type} [Fintype j] [Fintype J] {c c' : j → S.Classes} {γ : j → S.G E} {n : j → S.latticeStabilizer} {t : Eˣ} (h_inj : (fun i : j ↦ (c i, c' i, S.reduction (n i), γ i)).Injective) (hγ : ∀ i : j, γ i ∈ floorGroup 𝔰.ϱ) (h_tail : ∀ i : j, S.frameProducts (γ i) 𝔰.top 𝔰.top = t) (ht : ∀ v : InfinitePlace E, S.N ^ 2 < ‖Φ v (t : E)‖ ^ 2) (hn : ∀ i : j, S.toPlaces T (n i) ∈ Z.val) (h_off : ∀ i : j, S.IsIntegralOff T (S.translateByClassReps (c i) (c' i) (γ i))) (i₀ : j) {a : J → ℕ → Eˣ} (h_last : ∀ p : J, a p 𝔰.ϱ = t) (h_head : ∀ p : J, ∀ l < 𝔰.ϱ, (a p l : E) ∈ ratIntegralOff T ∧ ((a p l)⁻¹ : Eˣ).val ∈ ratIntegralOff T) {R : Matrix J J ℂ} {ρ : J → ℝ} {r : ℝ} (hR : ∀ i : j, R = .gram ℂ fun p : J ↦ ρ p • besselOrbitalIntegral volume (fun g : InfinitePlace E → 𝔰.G₁ ↦ .toLp 2 (S.besselFn side g)) (S.ratToInf (weylElem 𝔰.ϱ (a p) * γ i))) (h_weight : ∀ p : J, ρ p * (F.headDensity 𝔰.ϱ (Units.map (ratToPlaces T) ∘ a p) 1).toReal = r * √((∏ v : InfinitePlace E, (‖Φ v (t : E)‖ ^ 2 - S.N ^ 2)) ^ (𝔰.k - 1))) : ∑ i : j, r ^ 2 * ‖∑ p : J, S.cosetAmplitude side (c i) (S.reduction (n i)) (c' i) (weylElem 𝔰.ϱ (a p) * γ i)‖ ^ 2 ≤ (1 + S.b⁻¹ ^ 6) * S.scaledSiegelConst * (∑ p : J, ∑ q : J, R p q * (F.lastEntryDensity (S.piNAt T) Z (Units.map (ratToPlaces T) ∘ a p) (Units.map (ratToPlaces T) ∘ a q) / Z.massRatio.toReal)).re
Import route to Main
New.Spanning.MainTerm.SiegelTopBound → New.Spanning.MainTerm.FiniteSieveSystem (pinned import) → New.Spanning.MainTerm.EnergyEstimate (pinned import) → New.Spanning.Unfolding.MomentBounds (pinned import) → New.Spanning.Unfolding.Moments (pinned import) → New.Spanning.SecondMoment.SpanningTheorem (pinned import) → New.Reduction.ShortAndEnough (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)