RiemannA guide by Principia Superintelligence

Part I, chapter 6

All characters at once

Why the proof bounds a weighted family of LL-functions rather than ζ\zeta alone, and the exact contract it hands to the arithmetic: a growth bound on windows called TopG, and one statement about Galois representations, the Galois row, from which the cohomological window is derived.

draft, under review14 minfirst published in v0.1.0, 2026-11-22

The target

The theorem on the route is not about ζ\zeta. It is about every Dirichlet LL-function at once, and ζ\zeta is the case of the trivial character modulo one.

UpperTheory.EveryCharacterdefCharacterBoxes/EveryCharacter.lean:13Every Dirichlet LL-function, of every modulus, has no zero with Re⁡s>12\operatorname{Re} s > \tfrac12 (apart from the pole of L(1,s)L(1, s) at s=1s = 1).
def UpperTheory.EveryCharacter : Prop

Every Dirichlet LL-function, of every modulus, has no zero with Re⁡s>12\operatorname{Re} s > \tfrac12 (apart from the pole of L(1,s)L(1, s) at s=1s = 1).

Full declaration with proof
def UpperTheory.EveryCharacter : Prop :=
  ∀ (N : ℕ) [NeZero N] (χ : DirichletCharacter ℂ N) (s : ℂ), 1 / 2 < s.re → (χ ≠ 1 ∨ s ≠ 1) → DirichletCharacter.LFunction χ s ≠ 0

Chapter 5 showed that this one statement gives all five exported theorems. This chapter explains why the proof is organised around families of characters, and then reads the hand-off: the exact statement the analysis of chapters 2 to 5 receives from the arithmetic of the rest of the archive.

Families with positive weights

For a primitive character ψ\psi of order oo, the statistic the proof bounds is not GG but a combination,

Gψ(y)=G(y)+13o+1∑j=1o−1Re⁡Gψj(y),G_\psi(y) = G(y) + \frac{1}{3o+1}\sum_{j=1}^{o-1}\operatorname{Re} G_{\psi_j}(y),

where ψj\psi_j is the primitive character inducing ψj\psi^{j} and GψjG_{\psi_j} is the character version of the ramp sum from chapter 2. The weights are chosen so that every prime power enters with a positive coefficient: for nn prime to the conductor the coefficient is 4o/(3o+1)4o/(3o+1) when ψ(n)=1\psi(n) = 1 and 3o/(3o+1)3o/(3o+1) otherwise. Multiplied by 3o+13o+1, the combination is the statistic of the product ζ3o+1∏jL(s,ψj)\zeta^{3o+1}\prod_j L(s, \psi_j), and at a zero of that product the multiplicities add. So one window bound on GψG_\psi excludes zeros of ζ\zeta and of every L(s,ψj)L(s, \psi_j) to the right of θ\theta, by the window lemma applied to the family.

The archive makes the family a first-class object: a finite index set, a modulus and character for each index, a positive weight for each, and the rule that the trivial character is admitted only at modulus one.

Deduction.CharFamilystructureDedekindLFunctions/CharFamily.lean:24A weighted family of characters: ι\iota, moduli NiN_i, characters χi\chi_i, weights ai>0a_i > 0, and the admissibility rule.
structure CharFamily

A weighted family of characters: ι\iota, moduli NiN_i, characters χi\chi_i, weights ai>0a_i > 0, and the admissibility rule.

Full declaration with proof
structure CharFamily where
  ι : Type
  [fin : Fintype ι]
  N : ι → ℕ
  [nz : ∀ i, NeZero (N i)]
  χ : ∀ i, DirichletCharacter ℂ (N i)
  a : ι → ℝ
  a_pos : ∀ i, 0 < a i
  adm : ∀ i, N i = 1 ∨ χ i ≠ 1

attribute [instance] CharFamily.fin CharFamily.nz
Deduction.GmdefDedekindLFunctions/CharFamily.lean:36The family statistic Gm(y)=∑iaiRe⁡Gχi(y)G_m(y) = \sum_i a_i \operatorname{Re} G_{\chi_i}(y).
def Gm (F : CharFamily) (y : ℝ) : ℝ

The family statistic Gm(y)=∑iaiRe⁡Gχi(y)G_m(y) = \sum_i a_i \operatorname{Re} G_{\chi_i}(y).

Deduction.ZeroFreedefDedekindLFunctions/CharFamily.lean:38What the window lemma delivers: no member of the family has a zero with Re⁡s>θ\operatorname{Re} s > \theta.
def ZeroFree (F : CharFamily) (θ : ℝ) : Prop

What the window lemma delivers: no member of the family has a zero with Re⁡s>θ\operatorname{Re} s > \theta.

Full declaration with proof
def ZeroFree (F : CharFamily) (θ : ℝ) : Prop :=
  ∀ i, ∀ s : ℂ, θ < s.re → DirichletCharacter.LFunction (F.χ i) s ≠ 0
Deduction.zeroSetdefDedekindLFunctions/LandauZeroFreeCriterion.lean:11The pole set of the family's transform: zeros of each member and of its conjugate, in the right half-plane.
def zeroSet (F : CharFamily) : Set ℂ

The pole set of the family's transform: zeros of each member and of its conjugate, in the right half-plane.

Full declaration with proof
def zeroSet (F : CharFamily) : Set ℂ :=
  {ρ | 0 < ρ.re ∧ ∃ i, DirichletCharacter.LFunction (F.χ i) ρ = 0 ∨
    DirichletCharacter.LFunction (F.χ i) ((starRingEnd ℂ) ρ) = 0}
Deduction.famDdefDedekindLFunctions/LandauZeroFreeCriterion.lean:33The family actually used at a modulus qq: the trivial character with weight 11 and a set of non-trivial characters with a common weight ww.
def famD (q : ℕ) [NeZero q] (S : Finset (DirichletCharacter ℂ q)) (w : ℝ) (hw : 0 < w) : CharFamily

The family actually used at a modulus qq: the trivial character with weight 11 and a set of non-trivial characters with a common weight ww.

Full declaration with proof
def famD (q : ℕ) [NeZero q] (S : Finset (DirichletCharacter ℂ q)) (w : ℝ) (hw : 0 < w) : CharFamily where
  ι := Option {ξ : DirichletCharacter ℂ q // ξ ∈ S ∧ ξ ≠ 1}
  N := fun i => match i with
    | none => 1
    | some _ => q
  nz := fun i => by cases i <;> infer_instance
  χ := fun i => match i with
    | none => (1 : DirichletCharacter ℂ 1)
    | some ξ => ξ.1
  a := fun i => match i with
    | none => 1
    | some _ => w
  a_pos := fun i => by cases i <;> simp [hw]
  adm := fun i => by
    cases i with
    | none => exact Or.inl rfl
    | some ξ => exact Or.inr ξ.2.2

One consequence was already visible in chapters 3 and 4: an LL-function may have a real zero in the strip, which ζ\zeta cannot. The pole data carries a positive residue at such a pole, and the window lemma has a branch for it. Nothing else changes.

The contract with the arithmetic

Here is the line between the two halves of the proof. Above it, chapters 2 to 5: forty-five files, checked on a laptop in two minutes. Below it, the remaining seventeen million lines. The line is a single statement, TopG.

UpperTheory.Top.TopGdefCharacterBoxes/ZeroFreeAllOfTopG.lean:12A growth statement about families on windows, for hosts at every scale: whenever a host system exists for a requirement GG at scale λ>1\lambda > 1, and the families in its class satisfy the hypothesis VV, the class is connected. The names (λ\lambda, hosts, requirements, classes) belong to the arithmetic construction; what the analysis needs from them is that they yield window bounds on the family statistic.
def TopG : Prop

A growth statement about families on windows, for hosts at every scale: whenever a host system exists for a requirement GG at scale λ>1\lambda > 1, and the families in its class satisfy the hypothesis VV, the class is connected. The names (λ\lambda, hosts, requirements, classes) belong to the arithmetic construction; what the analysis needs from them is that they yield window bounds on the family statistic.

Full declaration with proof
def TopG : Prop :=
  ∀ (la : ℝ) (G : FReq), 1 < la → HostExW la G.req →
    (∀ {eps : ℝ} (Fm : FamP eps), G.cls la Fm → HypV Fm.toFamCore) → FamilyClassConnected (G.cls la)
The route from the Riemann Hypothesis back to TopG. Everything above the dashed line is the analytic bridge of chapters 2 to 5; TopG is the statement the arithmetic heart of the archive proves.

The theorem that spends TopG is the one that turns it into the zero-free statement for every primitive character. It needs one more thing per character: a host at every scale, which is where the auxiliary primes of the exposition’s Estimates B and C, the sets of columns, and the field extensions enter. Supplying hosts is itself conditional on a window for Galois cohomology, written VWinAt ψ 401.

UpperTheory.Top.zeroFreeAll_of_topGtheoremCharacterBoxes/ZeroFreeAllOfTopG.lean:26From TopG and a host system for every primitive character, every primitive character is zero-free above one half.
theorem zeroFreeAll_of_topG {la : ℝ} (hla : 1 < la) (h : TopG) (hS : ∀ ψ : PChar, HostExW la (GChi ψ).req) : ZeroFreeAll

From TopG and a host system for every primitive character, every primitive character is zero-free above one half.

Full declaration with proof
theorem zeroFreeAll_of_topG {la : ℝ} (hla : 1 < la) (h : TopG) (hS : ∀ ψ : PChar, HostExW la (GChi ψ).req) : ZeroFreeAll := by
  have key : ZeroFreeOn fun _ => True :=
    zeroFreeOn_of_tiedWin_cyc (Fam := FamP) (core := fun Fm => Fm.toFamCore) (Tied := fun Fm => ChainTied Fm) hla
      (fun ψ _ => UpperTheory.Comparison₂.level_gm_le_on_family_scales _) (fun ψ _ => UpperTheory.Comparison₂.formB _) fun ψ _ => by
        obtain ⟨eD, eL, ε₁, h1, h2⟩ := h la (GChi ψ) hla (hS ψ) (hypV_of_cls ψ la)
        refine ⟨eD, eL, ε₁, h1, fun eps a b => ?_⟩
        obtain ⟨Fm, c, d⟩ := h2 eps a b
        exact ⟨Fm, eFamC_of_cls ψ la Fm c, c.1, d⟩
  exact key
UpperTheory.Top.supplyChitheoremCharacterBoxes/SupplyChi.lean:8Hosts for a primitive character ψ\psi at scale 3/23/2, from the cohomological window for ψ\psi.
theorem UpperTheory.Top.supplyChi :
    ∀ ψ : PChar, VWinAt ψ 401 → HostExW (3 / 2) (GChi ψ).req

Hosts for a primitive character ψ\psi at scale 3/23/2, from the cohomological window for ψ\psi.

Full declaration with proof
theorem UpperTheory.Top.supplyChi :
    ∀ ψ : PChar, VWinAt ψ 401 → HostExW (3 / 2) (GChi ψ).req := by
  intro ψ hψ
  refine supplyOfAdm ψ hψ ?_
  intro eps he0 he1
  obtain ⟨x0, hx0⟩ := admissibleClassesTwistedChar eps he0 he1
  refine ⟨x0, fun s φ H0 hs hx hlo hhi _ _ => ?_⟩
  subst hs
  exact hx0 s φ H0 rfl hx hlo hhi
UpperTheory.Top.plugAlltheoremCharacterBoxes/EveryCharacter.lean:16Closes the loop: TopG in the form of its inputs (a 'Green' host system, the windows, and a family class) gives EveryCharacter, through the descent to primitive characters of chapter 5.
theorem UpperTheory.Top.plugAll (hG : GlobalTheory.GLq.Green) (hV : UpperTheory.Top.VWin)
    (h : Nonempty (Hyps (fun 𝒞 => Closed 𝒞 fun Fm _ => LinkN Fm) DRS)) : UpperTheory.EveryCharacter

Closes the loop: TopG in the form of its inputs (a 'Green' host system, the windows, and a family class) gives EveryCharacter, through the descent to primitive characters of chapter 5.

Full declaration with proof
theorem UpperTheory.Top.plugAll (hG : GlobalTheory.GLq.Green) (hV : UpperTheory.Top.VWin)
    (h : Nonempty (Hyps (fun 𝒞 => Closed 𝒞 fun Fm _ => LinkN Fm) DRS)) : UpperTheory.EveryCharacter :=
  UpperTheory.Top.imprimitive (UpperTheory.Top.plugWin hG hV h)
What the words host, requirement and class stand for

A requirement packages, for a scale and a host, the two things the arithmetic must produce for a character: a bound on the family statistic at that host (the “E at H” condition) and a bound on the lengths of certain Galois-cohomology groups (the “V” condition, written VVle). A host is a number field built from the character and the auxiliary primes, with its lattices and theta data. A class of families is the collection of families the construction can realise at a given scale. TopG says that if the arithmetic can supply hosts, then the families it realises satisfy the window bound in a connected way across scales, which is what the window lemma needs to see arbitrarily large windows. These are definitions of the archive; the chapter reports their shape, and the second milestone of this site will open them.

What the final assembly takes

The final assembly is short. The half-plane statement for every character is proved from one statement about Galois representations, the Galois row. From the row and the archive’s theorem that local Langlands parameters exist, it builds the record of literature statements; from the row alone it derives the cohomological window. The archive proves the row as well, so nothing is left assumed.

UpperTheory.FinalTheorems.everyCharactertheoremCharacterBoxes/MainConclusion.lean:10The theorem that the five exports call.
theorem UpperTheory.FinalTheorems.everyCharacter : UpperTheory.EveryCharacter

The theorem that the five exports call.

Full declaration with proof
theorem UpperTheory.FinalTheorems.everyCharacter : UpperTheory.EveryCharacter :=
  UpperTheory.FinalTheorems.everyCharacter_of_row UpperTheory.Gal.Int.galoisLocalGlobalStrong_recParameter
UpperTheory.FinalTheorems.everyCharacter_of_rowtheoremCharacterBoxes/MainConclusion.lean:7From a Galois row to every character: the angle brackets build the record of 'open literature statements' from the row and from the existence of local Langlands parameters, and the window comes from the row too. Nothing is assumed.
theorem UpperTheory.FinalTheorems.everyCharacter_of_row (h : UpperTheory.GalStar.Row0b fun h rc => UpperTheory.Zero.LLC.IsRecT h rc) : UpperTheory.EveryCharacter

From a Galois row to every character: the angle brackets build the record of 'open literature statements' from the row and from the existence of local Langlands parameters, and the window comes from the row too. Nothing is assumed.

Full declaration with proof
theorem UpperTheory.FinalTheorems.everyCharacter_of_row (h : UpperTheory.GalStar.Row0b fun h rc => UpperTheory.Zero.LLC.IsRecT h rc) : UpperTheory.EveryCharacter :=
  UpperTheory.LiteratureTheorems.every_character_of_literature_of_vWin ⟨h, UpperTheory.Zero.LLC.recTExists, h⟩ (UpperTheory.One.vwin_of_row h)
UpperTheory.LiteratureTheorems.OpenLiteratureStatementsstructureThirdPlaceSeries/EveryCharacterOfLiteratureOfVWin.lean:215The record: a Caraiani-style local-global row, the existence of local Langlands parameters with the properties the construction needs, and a second row for polarized pairs. In the archive it is constructed, not postulated.
structure UpperTheory.LiteratureTheorems.OpenLiteratureStatements : Prop

The record: a Caraiani-style local-global row, the existence of local Langlands parameters with the properties the construction needs, and a second row for polarized pairs. In the archive it is constructed, not postulated.

Full declaration with proof
structure UpperTheory.LiteratureTheorems.OpenLiteratureStatements : Prop where
  caraianiLocalGlobalDual : _root_.UpperTheory.One.M.Row
  localLanglandsExists : _root_.UpperTheory.Zero.LLC.RecTExists
  galoisRepOfPolarizedPairLit : _root_.UpperTheory.One.M.Row
UpperTheory.LiteratureTheorems.every_character_of_literature_of_vWintheoremThirdPlaceSeries/EveryCharacterOfLiteratureOfVWin.lean:810With that record and the window, every character; this file also discharges some fifty classical theorems by name, from the archive's own proofs.
theorem UpperTheory.LiteratureTheorems.every_character_of_literature_of_vWin (O : _root_.UpperTheory.LiteratureTheorems.OpenLiteratureStatements) (hV : UpperTheory.Top.VWin) : UpperTheory.EveryCharacter

With that record and the window, every character; this file also discharges some fifty classical theorems by name, from the archive's own proofs.

Full declaration with proof
theorem UpperTheory.LiteratureTheorems.every_character_of_literature_of_vWin (O : _root_.UpperTheory.LiteratureTheorems.OpenLiteratureStatements) (hV : UpperTheory.Top.VWin) : UpperTheory.EveryCharacter :=
  _root_.UpperTheory.Lit.every_character_of_theta_integrals_local_matching (_root_.UpperTheory.LiteratureTheorems.published_results_eigen O) (_root_.UpperTheory.LiteratureTheorems.published_results_first O) (_root_.UpperTheory.LiteratureTheorems.theta_integrals_agree_and_local_matching_of_literature O).1 (_root_.UpperTheory.LiteratureTheorems.theta_integrals_agree_and_local_matching_of_literature O).2
    (_root_.SelfIntersectionVolumeEstimates.topCovolSlim2_use_alt_alt (_root_.UpperTheory.LiteratureTheorems.resolution_char_zero_of_literature O) (_root_.UpperTheory.LiteratureTheorems.principalisation_char_zero_of_literature O) (_root_.UpperTheory.LiteratureTheorems.poincare_lelong_inv_of_literature O) PositivityTheory.Pf1.HilbertSamuelMoriwaki.hsUse_outright PositivityTheory.Pf1.HilbertSamuelMoriwaki.moriwakiBig_outright (_root_.UpperTheory.LiteratureTheorems.fargues_exact_of_literature O) (_root_.UpperTheory.LiteratureTheorems.zarhin_statement O) (_root_.UpperTheory.LiteratureTheorems.nef_rr_of_literature O) (_root_.UpperTheory.LiteratureTheorems.siegel_toroidal_integral_of_literature O) (_root_.UpperTheory.LiteratureTheorems.toroidal_for_fan_ks_of_literature O) (_root_.UpperTheory.LiteratureTheorems.semi_abelian_lie_seminegative_of_literature O) (_root_.UpperTheory.LiteratureTheorems.point_separation_pair_of_literature O) (_root_.UpperTheory.LiteratureTheorems.ar_degree_of_literature O) (_root_.UpperTheory.LiteratureTheorems.published_results_arithmetic O) (_root_.UpperTheory.LiteratureTheorems.grothendieck_deformation_of_literature O))
    (_root_.UpperTheory.LiteratureTheorems.local_langlands_gl_recT_exists_of_literature O) hV

The row is a statement about Galois representations attached to polarized, regular algebraic, cuspidal automorphic representations of a CM field, with local-global compatibility at every place. Its proof, through theta lifts, is the deepest part of the archive.

UpperTheory.GalStar.Row0bdefTypeConditions/WeightsConjBis.lean:69For every CM field, prime ℓ\ell, and polarized cuspidal pair, a continuous semisimple ℓ\ell-adic representation with the right local behaviour away from ℓ\ell, the right Hodge–Tate weights, and the right behaviour above ℓ\ell.
def Row0b : Prop

For every CM field, prime ℓ\ell, and polarized cuspidal pair, a continuous semisimple ℓ\ell-adic representation with the right local behaviour away from ℓ\ell, the right Hodge–Tate weights, and the right behaviour above ℓ\ell.

Full declaration with proof
def Row0b : Prop :=
  ∀ (E Ω : Type) [Field E] [NumberField E] [IsCMField E] [Field Ω] [Algebra E Ω] [IsAlgClosure E Ω]
    (l : ℕ) [Fact l.Prime] (ι : Qbar l ≃+* ℂ) (a : ℕ), 1 ≤ a →
    ∀ (π : CuspSub E a) (χ : HChar (maximalRealSubfield E)), (CG.mk π).IsRegAlg → GlobalTheory.ContraPair.PolarizedPair π χ →
      ∃ (r : G E Ω →* GL (Fin a) (Qbar l)) (wt : ℤ) (HT : (E →+* Qbar l) → Multiset ℤ), PropsB Rc π ι r wt HT
UpperTheory.Zero.LLC.recTExiststheoremLocalCentralUnits/RecTExists.lean:20Local Langlands parameters exist for the local components, with the depth, twisting and duality properties the construction needs.
theorem UpperTheory.Zero.LLC.recTExists :
    UpperTheory.Zero.LLC.RecTExists

Local Langlands parameters exist for the local components, with the depth, twisting and duality properties the construction needs.

Full declaration with proof
theorem UpperTheory.Zero.LLC.recTExists :
    UpperTheory.Zero.LLC.RecTExists := by
  intro E Ω _ _ _ _ _ A w h
  obtain ⟨a, ha, -⟩ := UpperTheory.Zero.LLC.artEx E Ω A w h
  obtain ⟨r, hr⟩ := UpperTheory.Zero.LLC.cuspEx E Ω A w h a ha
  obtain ⟨⟨rc, hrc⟩, hcu⟩ :=
    GlobalTheory.LocLanglands.exists_isLExt UpperTheory.Zero.LLC.Pr.exh UpperTheory.Zero.LLC.Pr.multi E Ω A w h r
  have hcusp : ∀ x : IrrGL (HeightOneSpectrum.adicCompletion E w), x.IsCusp → rc x = r x :=
    hcu rc hrc
  have hD := UpperTheory.Zero.LLC.extDim E Ω A w h a ha r rc hr hrc
  have hT := UpperTheory.Zero.LLC.extTw E Ω A w h a ha r rc hr hrc
  refine ⟨rc, a, ha, ?_⟩
  refine
    { dim := fun x => (hD x).1.1
      one := fun χ hχ => (hcusp _ (IrrGL.isCusp_ofChar χ hχ)).trans (hr.one χ hχ)
      langlands := ?_
      cusp := ?_
      nu := hT.1
      absCentral := fun x ω hω σ => ((hD x).2 ω hω σ).1
      twist := ?_
      central := fun x ω hg hω σ => ((hD x).2 ω hω σ).2 hg
      dual := UpperTheory.Zero.LLC.extDual E Ω A w h a ha r rc hr hrc
      inj := UpperTheory.Zero.LLC.extInj E Ω A w h a ha r rc hr hrc
      depth := fun x hg hx => UpperTheory.Zero.LLC.extDepth E Ω A w h a ha r rc hr hrc x hg hx
      type := ?_ }
  · intro l x hl
    rw [hrc l x hl]
    unfold GlobalTheory.LocLanglands.segSum
    congr 1
    refine List.map_congr_left ?_
    intro Δ _
    rw [hcusp _ Δ.isCusp_first]
  · intro x hx
    rw [hcusp x hx]
    exact hr.irr x hx
  · intro x χ hχ hg
    rw [hcusp _ (IrrGL.isCusp_ofChar χ hχ), hr.one χ hχ]
    exact hT.2 x χ hχ hg
  · refine (UpperTheory.Zero.LLC.typeIff E Ω A w h rc).2 ?_
    intro x
    unfold UpperTheory.Zero.LLC.TypeAt
    intro g _ i hi n hn D R hR θ hθ τ hτ hN σ hσ hinf
    have hx : x.IsCusp := by
      subst hσ
      exact IrrGL.isCusp_of.2 ⟨hn, DiscreteGroups.sglob.DzLc.isCuspidal_of_inflates i hi τ hτ σ hinf⟩
    rw [hcusp x hx]
    exact hr.type x hx g i hi n hn D R hR θ hθ τ hτ hN σ hσ hinf

The window is the bound on denominators that the main inequality needs: on windows [Y,Y2][Y, Y^2] beyond every X0X_0, for auxiliary primes in the right residue classes, the weighted sum of lengths of the Galois-cohomology groups attached to the host field is at most exp⁡(xε)\sqrt{\exp(x^{\varepsilon})}.

UpperTheory.One.vwin_of_rowtheoremDenseThresholdCases/VwinOfRow.lean:4Theorem G: the cohomological window follows from the Galois row.
theorem UpperTheory.One.vwin_of_row (h : UpperTheory.GalStar.Row0b fun h rc => UpperTheory.Zero.LLC.IsRecT h rc) : UpperTheory.Top.VWin

Theorem G: the cohomological window follows from the Galois row.

Full declaration with proof
theorem UpperTheory.One.vwin_of_row (h : UpperTheory.GalStar.Row0b fun h rc => UpperTheory.Zero.LLC.IsRecT h rc) : UpperTheory.Top.VWin :=
  UpperTheory.One.Join.automorphic_window_of_inputs (UpperTheory.LiteratureTheorems.OpenImageCondition.mk h) UpperTheory.BaseChangeIdentities.baseChangeN h
UpperTheory.Top.VWindefCharacterBoxes/ExistsPageN.lean:49For every primitive character, the window with constant 401401.
def VWin : Prop

For every primitive character, the window with constant 401401.

UpperTheory.Top.VWinAtdefCharacterBoxes/ExistsPageN.lean:44The window at one character: for every ε<1/52\varepsilon < 1/52 and every page size, windows [Y,Y2][Y, Y^{2}] with auxiliary primes q≡3 (8)q \equiv 3\ (8), d≡7 (16)d \equiv 7\ (16), q∣d+1q \mid d+1, on which the length bound holds.
def VWinAt (ψ : PChar) (Ct : ℝ) : Prop

The window at one character: for every ε<1/52\varepsilon < 1/52 and every page size, windows [Y,Y2][Y, Y^{2}] with auxiliary primes q≡3 (8)q \equiv 3\ (8), d≡7 (16)d \equiv 7\ (16), q∣d+1q \mid d+1, on which the length bound holds.

Full declaration with proof
def VWinAt (ψ : PChar) (Ct : ℝ) : Prop :=
  ∀ eps : ℝ, 0 < eps → eps < 1 / 52 → ∀ e : ℝ → ℕ, (∀ x ≥ (1 : ℝ), PageN eps x (e x)) →
    ∃ J : ℝ, 1 ≤ J ∧ ∃ X0 : ℝ, ∀ X ≥ X0, ∀ q d : ℕ, WinPair eps (X ^ (1 / J)) q d →
      ∃ Y : ℝ, X ^ (1 / J) ≤ Y ∧ Y ^ (2 : ℝ) ≤ X ∧ ∀ x : ℝ, Y ≤ x → x ≤ Y ^ (2 : ℝ) → VAt ψ eps Ct q d (e x) x
What comes next on this site

Part II opens the heart: Chebyshev’s binomial coefficient and where it stalls (chapter 7), the lemniscate numbers and their inert primes (8), theta series as the thing that gets differentiated and the chain of lifts (9), how a derivative gains a prime (10), the table of cells and the inequality (M) itself (11), the averaging that turns it into a bound on G(x)G(x) (12), size against divisibility (13), slopes of lattices and the denominators (14), and why the balance lands at one half (15). The third milestone is the atlas of foundations: which classical theorems were formalised, where, and how big each is. The map of the archive already shows where these live.

Where this is in the exposition

The family statistic and the positive weights are §I.10 of the exposition, which describes them “from the statements of the Lean development”. The reduction to one prime sum, Estimates B and C and the order of choices are Part II §3 and §I.6. The Lean lives in CharacterBoxes/ (EveryCharacter, ZeroFreeAllOfTopG, SupplyChi, ExistsPageN, MainConclusion) and in the single assembly file under ThetaCorrespondence/ThetaPairLifts/ThirdPlaceSeries/.