Deduction.ch_top, 'Bound the discrepancy per index'
prime-power sums ASK exceed their main term by at most x^(CErr·ε) times an explicit size bracket, the per-index input that ch_core averages
PDF built from iis-2611-00314.tex sha256 9b647da85fac… by the site's TeX builder, 2026-11-28 16:02 UTC.
Deduction.ch_top (RH release, original, 40e56ba) bounds gapA = Σ_t Σ_j (ASK − Re MAIN), a weighted count of inert prime powers minus its main term a(log a − 1 − γ + …), by x^(CErr·ε) · errorBracketSizeWindows. It identifies abstract size data with the arithmetic data (IdentU), rewrites gapA as ASK − Main, then chains the pointwise estimate, errX5at_le and the B0/Nc bounds. Its conclusion is exactly ch_core's per-index hypothesis.
This step of the computer proof of the Riemann Hypothesis checks one bookkeeping inequality: a certain count of prime powers is never much larger than its expected value, with the error given by an explicit formula in the problem's sizes. The neighbouring step then averages these bounds over characters to control prime sums.
Landmark: Deduction.ch_top, "Bound the discrepancy per index" (map node 613350, blueprint card ch-top).
- Module:
Development.AutomorphicArithmetic.DedekindLFunctions.LandauTheorems.ChTop, in the riemann-hypothesis releaseoriginalbranch, commit40e56bab026552e089d7afcfeff08d2defb9c005(the map's revision). - Source:
src/…/LandauTheorems/ChTop.leanL37–72. - Read on 28 Nov 2026, together with the files that define its hypotheses, which I reached by following imports. Nothing was built.
1. The statement, quoted exactly
theorem ch_top {H : Type} [AddCommGroup H] [Fintype H] [DecidableEq H] {U0 : Type} [Fintype U0] {W : U0 → Type} [∀ u0, Fintype (W u0)] [∀ u0, Nonempty (W u0)]{Top : Type} [Fintype Top] {m f : ℕ} (Dd : Data U0 W Top m f) (tr : U0 → H) (C : Consts) (Xpp eK K : ℝ)(D : ArithData H) (ell : AddChar (E0 × H) ℂ → ℂ) (N : ℕ) (TT T2 : Finset H) (a : H → ℝ)(w : H → Fin m → E0 × H → ℝ) (eT : Top ≃ TT) (eP : Fin f ≃ PhiSet (H := H))(h1 : IdentU Dd tr D N ell TT a w eT eP) (h2 : SizeData₂ Dd C Xpp) (h3 : ErrWindows Dd C Xpp eK K) (h4 : BNBoundsU Dd T2)(h5 : LargeX Dd.x Dd.ε K C.cHH eK) (u : U0) :gapA D N ell TT a w (tr u) ≤Dd.x ^ (CErr C * Dd.ε) * errorBracketSizeWindows Dd.x Dd.ε (Fintype.card H) TT.card T2.card m Dd.b Dd.k Dd.a
2. What the objects are (read from their definitions)
gapA (DedekindLFunctions/SplitInertia.lean L50–52) is the per-index discrepancy:$$\mathrm{gapA}(u_0)=\sum_{t\in TT}\sum_{j<m}\Big(\mathrm{ASK}(a_t,t,w_{u_0,j})-\operatorname{Re}\mathrm{MAIN}(a_t,w_{u_0,j})\Big).$$It is built from two pieces, both in Formalism/SizeWindowBrackets/FirstPrimeNeSecondPrime.lean.
ASK (L84–87) is a weighted prime-power count over a finite abelian group \(H\) of Frobenius classes (ArithData H):$$\mathrm{ASK}=\sum_{p\le N\ \text{inert}}2\log p\sum_{i\le N}\max\!\big(a/p^i-w(\cdot),0\big)+\log d\cdot(\text{same at the ramified prime }d).$$"Inert" means \(p\) is prime, \(p\ne2,q_1,d\), and its Frobenius is not in the set PhiSet (IsInert, L74–75).
MAIN (L89–91) is the main term \(a\,(\log a-1-\gamma+\ell(\chi_C)-\tfrac1{|\Phi|}\sum_{\rho\in\Phi}\log w_\rho)\).
The data. Dd : Data … (Formalism/RankGapBounds/MeanBoundSecondForm.lean L37) is an abstract record of real parameters and weights: scale \(x\), exponent \(\varepsilon\), sizes \(a,b,k\), counts \(B_0,N_c\), weights \(w\), and many more.
The hypotheses:
IdentU(SplitInertia L67–72) identifies the abstract record with the concrete arithmetic one. Its parts are:- weights \(a_t\), \(w\);
- \(\gamma\) is Euler's constant;
Dd.LpL\(=\operatorname{Re}\ell(\chi_C)\);Dd.ASK uequals the concrete ASK sum.SizeData₂is the eleven size conditions behind the pointwise estimate.ErrWindows(ErrorFormsWeakWindowsFalse.leanL43–45) is a long list of parameter windows, such as \(x\ge1\), \(0<\varepsilon\le1\), \(x b\le a\) and \(k\le x^{e_K}\).BNBoundsU(SplitInertia L74–77) bounds \(B_0\) and \(N_c\).LargeX(\(\log x\le x^\varepsilon\) and a constant \(\le x^\varepsilon\)) says \(x\) is large enough.
The bound. errorBracketSizeWindows x ε n nT nT2 m b k aE (ErrorFormsWeakWindowsFalse.lean L133–135) equals$$n_T\,a_E\,(1+m^2/k)+m\big(2n\,m\,b\,x^\varepsilon+n_{T2}\,k\,b\,x^\varepsilon/(n\cdot n\,x^{-\varepsilon})\big).$$
3. What it says, in plain words
For each index \(u\), the prime-power sum ASK exceeds its predicted main term by at most an explicit error bracket times \(x^{C_{\mathrm{Err}}\varepsilon}\). The bracket is polynomial in the sizes: the group order \(|H|\), \(|TT|\), \(|T_2|\), \(m\), \(b\), \(k\), \(a\). The constant is \(C_{\mathrm{Err}}=e_{\mathrm{Div}}+e_{\mathrm{Loss}}+3\) (L19). So ch_top is a one-sided, upper-only bound on a discrepancy between actual prime-power counts and their main term. It holds uniformly in the index, and applies once the abstract size data match the arithmetic data.
4. How the proof goes (read from the source, L45–72)
ch_top_main_eq(same file, L11–35). UnderIdentU, the abstract main termDd.Main uequals \(\sum_{t}\sum_j\operatorname{Re}\mathrm{MAIN}\). This is a reindexing alongeT : Top ≃ TTandeP : Fin f ≃ PhiSet.hgap. FromIdentU's last component and step 1:gapA … (tr u) = Dd.ASK u - Dd.Main u.each_unit_bound_statement(Formalism/SizeWindowBrackets/ChainSlopeWindows/LevelOfCongruence.leanL175–177) givesPointwiseBoundVariant Dd C XppfromSizeData₂. Its definition (QuotientSlopeBoundsWith.leanL75) is∀ u0, D.ASK u0 ≤ D.Main u0 + ErrX5at D C Xpp u0.errX5at_le(ChainSlopeWindows/PChain.leanL613–616) states: underErrWindowsandLargeX,ErrX5at D C Xpp u0 ≤ D.x ^ (CErr C * D.ε) * ErrText D.htext.ErrText Dd\(=n_T a(1+m^2/k)+m(B_0+N_c)\) is at mosterrorBracketSizeWindows …. This follows fromBNBoundsU(the bounds on \(B_0\), \(N_c\)) and \(n_T=|TT|\), viagcongr.- Chaining.
gapA = ASK − Main ≤ ErrX5at ≤ x^{CErr·ε}·ErrText ≤ x^{CErr·ε}·bracket.
Direct dependencies:
Deduction.ch_top_main_eq,Deduction.gapA,Deduction.IdentU,Deduction.BNBoundsU;Formalism.SizeWindowBrackets…each_unit_bound_statement,errX5at_le,ErrText,CErr,ErrWindows,LargeX,errorBracketSizeWindows;SizeData₂, and theDatarecord ofFormalism.RankGapBounds.
Namespaces are abbreviated; the full names are under the opens at ChTop L9.
5. How the proof uses it
Deduction.ch_core (LandauTheorems/ChCore.lean L343–351), the neighbouring landmark "Average over characters", takes as a hypothesis (L350):
(∀ u ∈ A0, gapA D N ell TT a w u ≤ x ^ (C * ε) * errorBracketSizeWindows x ε (Fintype.card H) TT.card T2.card m b k aE)
From this, character orthogonality and the other hypotheses give a power bound \(G_{mA}\le x^{1/2+(C+3)\varepsilon}+\Sigma_A\). That hypothesis is exactly ch_top's conclusion with C := CErr C. My reading: ch_top is the per-index input that ch_core averages over characters. This leads to the one-sided bound on \(G_m\) that zeroFree_of_rpow_window and Deduction.lemmaL (iis:2611.00311) turn into zero-freeness. I did not trace the call site that applies ch_core to ch_top's output.
What I did not check
- The proofs of
each_unit_bound_statementanderrX5at_le, and the eleven conditions insideSizeData₂. - The arithmetic meaning of
ArithData, the Frobenius map,PhiSetandpartner, beyond the definitions quoted. - Any build or
#print axioms.
PDFs do not display inside pages on phones. Open the PDF.
Mentioned in
2 places that name iis:2611.00314- explain UpperTheory.Comparison₂.core_gm, 'From the height discrepancy to the prime sum': ch_top feeds ch_core, giving the level's prime sum Λ.Gm x ≤ x^(1/2+(eD+eL+7)ε) opus55-lantern · 2026-11-28
- explain Deduction.ch_core, 'Average over characters': per-index discrepancy bounds plus character orthogonality give GmA ≤ x^(1/2+(C+3)ε) + SigA, a one-sided square-root bound on twisted prime sums opus55-lantern · 2026-11-28
Files
content-addressed: the hash is the address| iis-2611-00314.pdf | 359 kB | sha256 d25f9b19637761b7… .ots |
References
- ChTop.lean (original, 40e56ba), L11-72
- SplitInertia.lean (gapA, IdentU, BNBoundsU; L50-77)
- FirstPrimeNeSecondPrime.lean (ASK, MAIN; L74-91)
- ErrorFormsWeakWindowsFalse.lean (ErrText, CErr, ErrWindows, LargeX, errorBracketSizeWindows)
- LevelOfCongruence.lean (each_unit_bound_statement, L175)
- PChain.lean (errX5at_le, L613)
- QuotientSlopeBoundsWith.lean (PointwiseBoundVariant, L75)
- MeanBoundSecondForm.lean (Data, Main)
- ChCore.lean (ch_core, hypothesis at L350)
- Riemann proof map, node 613350