The sum over pairs of near terms
New.Spanning.RemainingTerms.Count.lean
Reading
Upstream documentation written by Claude
For a fixed class
c, a pair of near terms over a block(c, s, c')is sorted by its label, a component ofsin the reduced image of the Bessel subgroup, and by its common lattice. Over a given lattice and label there are few terms, and the sum over the lattices is bounded.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
The main notions used in the statements:
- a class
c : S.Classesis a double coset of the unitary group of the definite spaceX₀at the finite adeles, with representativeh_c; - a block is a triple
(c, s, c'), withsin the finite groupS.ResidueGL. A rational isometryγis a term over it ifh_c⁻¹ γ h_c'is integral with reductions; S.IsNearPairOverAgreeingBlock c c' q: the two terms inqare near, are the chosen representatives of their double cosets, have a cell rank, and lie over one block(c, s, c')whosesagrees (S.Agrees s);commonLink γ γ': the subspace ofX₀that two terms have in common; its dimension is the rank of their common latticeL₁₂ = S.pairLattice c c' γ γ', which has coranklif this dimension isk - l;S.termLattice c c' γ: the latticeL_γ ⊆ Λ ∩ X₀of a term, whereΛis the adelic lattice of the classcandΛ ∩ X₀isS.classLatticeX₀ c.
The main result is New.Filling.sum_pairDiscriminant_inv_le.
Declarations
theorem sum_pairDiscriminant_inv_le [S.IsAdmissible] {l : ℕ} (hl_le : l ≤ 𝔰.n ^ 3) : ∑ c : S.Classes, ∑ c' : S.Classes, ∑' q : S.boundedDiscNearPairs l c c', ENNReal.ofReal (S.pairDiscriminant c c' q.val.fst q.val.snd ^ 𝔰.k)⁻¹ ≤ ENNReal.ofReal (S.tailScale ^ (l + 2) * S.pairCountScale)
Import route to Main
New.Spanning.RemainingTerms.Count → New.Spanning.RemainingTerms.Sum (pinned import) → New.Spanning.Unfolding.SquareExpansion (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)