Near pairs of `b`-places and the losses in the sharpness bound
New.Derivatives.Sharpness.NearPairs.lean
Reading
Upstream documentation written by Claude
This file studies places at a prime
pthat does not split inK = ℚ(√-d), their partners, and theb-places among them. A near pair is ab-place whose partner at an exponente < l₀ / 2inI_pis ab-place;I_pis the set of odd numbers, or of alle ≥ 1ifp = d. For non-splitp ≤ ktheb-places are sparse along the powers(-p) ^ jwithj < l₀. Forp = dthere are no near pairs. Writingvfor thep-adic valuation, the file then bounds the losses in the sharpness bound: forp ≤ kthe terms of the sumsR_τ = D.partnerMinSum p τnot coming from a near pair are covered byv(B)for a productBof consecutive integers.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Notions from other files:
New.Data P: the data over the parametersP = (q₀, d), with the size parametersb,x,x₁,k, the exponentsand the groupD.Φof infinite places of the fieldE.l₀ = New.l₀ D.towerExp: the least power of3above27 s, where2 ^ s = m ^ 22.D.bPlaces,D.weight: the set ofb-places and the weightκof a place, equal tobat theb-places and toa / x₁elsewhere, wherea = x b.D.placeOfInt ν: the place named by the integerν; the partner ofτat the exponenteisP.partner D.towerExp p e τ = D.placeOfInt (-p ^ e) * τ.P.placeClass: the class of a place modulo a divisor ofq₁ = towerDeg s * q₀.chiK d: the characterχ_K = (· / d);pdoes not split inKifχ_K(p) ≠ 1.positivePartnerExponents d p,piPrimeValuation d p,gammaPrime d p: the setI_p, which is empty ifpsplits, and the numbersv(π_p)andγ_p = v(π_p) ∑_{e ∈ I_p} p⁻ᵉ.
Main definitions and results
New.Data.summable_posPart_sub_weight: the series in the predicted valuationS_pconverges.New.Data.notMem_bPlaces_of_two_partners: sparseness of theb-places along the powers of-p.New.Data.IsNearPair.exponent_unique,New.Data.IsNearPair.eq_and_eq_of_partner_eq,New.Data.IsNearPair.end_ne_start: for non-splitp ≤ kno place occurs twice among the starts and ends of near pairs; two pairs that share a place contradict sparseness.New.Data.lossProduct: a productBofn♯ = ⌈6 b / k⌉consecutive integers, the last ones up tolifn♯ ≤ l, withv(n♯!) ≤ v(B)andv(l!) ≤ v((l - n♯)₊!) + v(B).New.Data.mul_sum_weight_sub_localPrimeSumTotal:γ_p |κ| - S_p = v(π_p) ∑ R_τ, where|κ|is the sum of the weights.New.Data.partnerMinSum_le,New.Data.error_le_padicValNat_lossProduct: forp ≤ kthe terms ofR_τother than that of a near pair are covered byv(B).
Relation to the literature
Legendre's formula for v(n!) is classical.
Declarations
lemma error_le_padicValNat_lossProduct (D : Data P) {p : ℕ} [hp : Fact p.Prime] (hk : p ≤ D.k) (l : ℕ) : 3 * (D.logB + 2) + D.x ^ 42 + 1 + l₀ D.towerExp * (D.a / D.x₁) + 2 * D.b / (D.k * p) ≤ padicValNat p (D.lossProduct l)
Import route to Main
New.Derivatives.Sharpness.NearPairs → New.Derivatives.Sharpness.Cases (pinned import) → New.Derivatives.Sharpness.BoundAttained (pinned import) → New.OneLift.HeckeValues.TwistedValueHeights (pinned import) → New.OneLift.LiftVolumeHeight (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)