The Lean library and the archive bridges#

This repository contains a small Lean library that compiles on its own (Lean 4.35.0, no imports — not even Mathlib): an axiom-free skeleton of the architecture, an ultrametric separation lemma, and two teaching files from the reading project. It does not, and cannot, prove anything about \(\zeta\). Its purpose is to state precisely how the components compose, and to make the shape of the two verified cuts checkable by anyone in seconds. The reading project’s archive bridges, which do talk about Mathlib’s \(\zeta\), compile only against the original archive (v4.33.1 with its Mathlib pin) and are quoted at the end with what their receipts establish.

Build and axiom audit#

cd lean && lake build builds the libraries Atlas, Reading and AtlasAudit; the last one prints the transitive axioms of every theorem, and scripts/lean_audit.py parses that output into verification/logs/axioms.json (generated 2026-11-21 00:21:04 UTC). Of the 18 audited declarations, 10 depend on no axioms at all.

Declaration

File

Transitive axioms

Atlas.halfPlane_of_primitive

Architecture.lean

none

Atlas.strip_of_halfPlane

Architecture.lean

none

Atlas.rh_of_halfPlane

Architecture.lean

none

Atlas.primitiveHalfPlane_of_supply

Architecture.lean

none

Atlas.endpoints_of_supply

Architecture.lean

none

Atlas.rh_of_prime_windows

Architecture.lean

none

Atlas.Architecture.endpoints

Architecture.lean

none

Atlas.toyArchitecture

Architecture.lean

none

Atlas.Separation.eq_of_dvd_sub

Separation.lean

propext, Quot.sound

Atlas.Separation.at_most_one_per_centre

Separation.lean

propext, Quot.sound

Reading.excludeZeroByWindows

WindowLogic.lean

none

Reading.criticalLineByReflection

WindowLogic.lean

none

BehrendReading.normSq_nonneg

BehrendSphere.lean

propext

BehrendReading.coordinates_zero_of_normSq_zero

BehrendSphere.lean

propext, Quot.sound

BehrendReading.distance_pos_of_ne

BehrendSphere.lean

propext, Quot.sound

BehrendReading.chord_identity

BehrendSphere.lean

propext, Classical.choice, Quot.sound

BehrendReading.sphere_rel

BehrendSphere.lean

propext, Classical.choice, Quot.sound

BehrendReading.sphere_midpoint

BehrendSphere.lean

propext, Classical.choice, Quot.sound

The standard axioms that appear (propext, Classical.choice, Quot.sound) are the three that Mathlib itself uses; the skeleton needs none of them.

Listing 1 verification/logs/lean-build.log#
$ lean --version
Lean (version 4.35.0, arm64-apple-darwin24.6.0, commit eb6cafb7290e8bd5f2937522d8d804f58f02bafc, Release)
$ lake build
ℹ [6/11] Replayed Reading.WindowLogic
info: Reading/WindowLogic.lean:32:0: 'Reading.excludeZeroByWindows' does not depend on any axioms
info: Reading/WindowLogic.lean:33:0: 'Reading.criticalLineByReflection' does not depend on any axioms
ℹ [10/11] Built Atlas.Audit (1.0s)
info: Atlas/Audit.lean:9:0: 'Atlas.halfPlane_of_primitive' does not depend on any axioms
info: Atlas/Audit.lean:10:0: 'Atlas.strip_of_halfPlane' does not depend on any axioms
info: Atlas/Audit.lean:11:0: 'Atlas.rh_of_halfPlane' does not depend on any axioms
info: Atlas/Audit.lean:12:0: 'Atlas.primitiveHalfPlane_of_supply' does not depend on any axioms
info: Atlas/Audit.lean:13:0: 'Atlas.endpoints_of_supply' does not depend on any axioms
info: Atlas/Audit.lean:14:0: 'Atlas.rh_of_prime_windows' does not depend on any axioms
info: Atlas/Audit.lean:15:0: 'Atlas.Architecture.endpoints' does not depend on any axioms
info: Atlas/Audit.lean:16:0: 'Atlas.toyArchitecture' does not depend on any axioms
info: Atlas/Audit.lean:17:0: 'Atlas.Separation.eq_of_dvd_sub' depends on axioms: [propext, Quot.sound]
info: Atlas/Audit.lean:18:0: 'Atlas.Separation.at_most_one_per_centre' depends on axioms: [propext, Quot.sound]
info: Atlas/Audit.lean:19:0: 'Reading.excludeZeroByWindows' does not depend on any axioms
info: Atlas/Audit.lean:20:0: 'Reading.criticalLineByReflection' does not depend on any axioms
info: Atlas/Audit.lean:21:0: 'BehrendReading.normSq_nonneg' depends on axioms: [propext]
info: Atlas/Audit.lean:22:0: 'BehrendReading.coordinates_zero_of_normSq_zero' depends on axioms: [propext, Quot.sound]
info: Atlas/Audit.lean:23:0: 'BehrendReading.distance_pos_of_ne' depends on axioms: [propext, Quot.sound]
info: Atlas/Audit.lean:24:0: 'BehrendReading.chord_identity' depends on axioms: [propext, Classical.choice, Quot.sound]
info: Atlas/Audit.lean:25:0: 'BehrendReading.sphere_rel' depends on axioms: [propext, Classical.choice, Quot.sound]
info: Atlas/Audit.lean:26:0: 'BehrendReading.sphere_midpoint' depends on axioms: [propext, Classical.choice, Quot.sound]
Build completed successfully (11 jobs).

The skeleton: Atlas/Architecture.lean#

The file models the argument over abstract types. A Plane carries points, characters, the zero relation and the geometric predicates; the classical facts are fields of the structures Reflection and Descent; the analytic engine and the arithmetic supply are structures Engine and Supply whose fields are exactly the interfaces of the component model. The theorems then prove only how these compose.

Listing 2 The objects#
/-- The objects the endpoints talk about. `Point` stands for complex numbers `s`, `Char` for
Dirichlet characters of all positive moduli, `Zero χ s` for `L(s, χ) = 0`. Lean's `L`-functions
are total functions, so a value exists even at the principal pole. -/
structure Plane where
  Point : Type
  Char : Type
  Zero : Char → Point → Prop
  /-- `Re s > 1/2`. -/
  Right : Point → Prop
  /-- `Re s = 1/2`. -/
  Line : Point → Prop
  /-- `Re s < 1/2`. -/
  Left : Point → Prop
  /-- `0 < Re s < 1`. -/
  Strip : Point → Prop
  /-- `(χ, s) = (1_N, 1)`: the principal character at the pole. -/
  Pole : Char → Point → Prop
  Primitive : Char → Prop
  /-- The primitive character inducing `χ`. -/
  prim : Char → Char
  /-- `χ ↦ χ⁻¹`. -/
  inv : Char → Char
  /-- `s ↦ 1 - s`. -/
  refl : Point → Point
  /-- The character of modulus one, whose `L`-function is `ζ`. -/
  zeta : Char
  /-- `s ∈ {-2, -4, -6, …}`. -/
  Trivial : Point → Prop
  /-- `s = 1`. -/
  One : Point → Prop

The three target statements: Mathlib’s RH transported to the abstract plane, the half-plane theorem for all characters, its primitive version, and Dirichlet GRH in the strip.

Listing 3 The targets#
/-- Mathlib's `RiemannHypothesis`, transported to the abstract plane: every zero of `ζ` that is
neither trivial nor at `s = 1` lies on the critical line. -/
def RH : Prop :=
  ∀ s, P.Zero P.zeta s → ¬ P.Trivial s → ¬ P.One s → P.Line s

/-- The half-plane theorem (archive: `DirichletLNonvanishingRightOfHalf`): no `L(s, χ)` vanishes
for `Re s > 1/2`, the principal pole excepted. -/
def HalfPlane : Prop :=
  ∀ χ s, P.Right s → ¬ P.Pole χ s → ¬ P.Zero χ s

/-- The primitive half-plane statement (archive: `ZeroFreeAll`). It quantifies over primitive
characters only and has no pole exception, because Lean's totalized `ζ` takes a nonzero value
at `s = 1`. -/
def PrimitiveHalfPlane : Prop :=
  ∀ ψ s, P.Primitive ψ → P.Right s → ¬ P.Zero ψ s

/-- Dirichlet GRH in the open strip (archive: `DirichletLZerosOnLine`). -/
def StripGRH : Prop :=
  ∀ χ s, P.Strip s → P.Zero χ s → P.Line s

The destination (The destination: from a half-plane to the five endpoints): reflection and conductor descent as structures of classical facts, and the three closing deductions.

Listing 4 Reflection and descent#
/-- Classical facts used by the closing deductions. All of them are proved in the archive and
were kernel-checked at Lean 4.33.1 by the reading project's audit (`rh_of_right`, `Claim.strip`,
`Claim.zeta`). -/
structure Reflection where
  /-- Every point is left of, on, or right of the critical line. -/
  trichotomy : ∀ s, P.Left s ∨ P.Line s ∨ P.Right s
  /-- `s ↦ 1 - s` maps the open strip to itself. -/
  refl_strip : ∀ s, P.Strip s → P.Strip (P.refl s)
  /-- `s ↦ 1 - s` sends the left half of the strip to the right half. -/
  refl_right : ∀ s, P.Strip s → P.Left s → P.Right (P.refl s)
  /-- The completed functional equation of a primitive character reflects a strip zero of `χ`
  to a zero of `χ⁻¹` at `1 - s`; the Gamma factors do not vanish in the strip. -/
  functional_equation :
    ∀ ψ s, P.Primitive ψ → P.Strip s → P.Zero ψ s → P.Zero (P.inv ψ) (P.refl s)
  /-- The open strip contains no pole. -/
  strip_no_pole : ∀ χ s, P.Strip s → ¬ P.Pole χ s
  /-- `ζ` is the `L`-function of the primitive character of modulus one, which is its own inverse. -/
  zeta_primitive : P.Primitive P.zeta
  zeta_inv : P.inv P.zeta = P.zeta
  /-- Outside the open strip `ζ` has only the trivial zeros (functional equation) and no zeros
  for `Re s ≥ 1` (in Mathlib); `s = 1` is the pole. Stated constructively: a zeta zero that is
  neither trivial nor at `1` lies in the strip. -/
  zeta_strip : ∀ s, P.Zero P.zeta s → ¬ P.Trivial s → ¬ P.One s → P.Strip s

/-- Conductor descent (archive: `Claim.prim_zero`, `UpperTheory.Top.imprimitive`):
`L(s,χ) = L(s,χ*) ∏_{p ∣ N} (1 - χ*(p) p^{-s})`, and no removed factor vanishes for `Re s > 0`
because `|χ*(p) p^{-s}| ≤ p^{-Re s} < 1`. -/
structure Descent where
  prim_primitive : ∀ χ, P.Primitive (P.prim χ)
  /-- A zero of `L(s, χ)` with `Re s > 1/2`, away from the pole, is a zero of `L(s, χ*)`. -/
  euler_right : ∀ χ s, P.Right s → ¬ P.Pole χ s → P.Zero χ s → P.Zero (P.prim χ) s
  /-- The same in the open strip. -/
  euler_strip : ∀ χ s, P.Strip s → P.Zero χ s → P.Zero (P.prim χ) s
Listing 5 The closing deductions#
/-- Primitive half-plane ⇒ half-plane for every character (mirrors `UpperTheory.Top.imprimitive`). -/
theorem halfPlane_of_primitive (D : Descent P) (h : PrimitiveHalfPlane P) : HalfPlane P :=
  fun χ s hs hpole hz => h (P.prim χ) s (D.prim_primitive χ) hs (D.euler_right χ s hs hpole hz)

/-- Half-plane ⇒ Dirichlet GRH in the strip (mirrors `Claim.strip`). A zero left of the line
descends to the primitive character and reflects to a zero of its inverse on the right; a zero
on the right contradicts the hypothesis directly. -/
theorem strip_of_halfPlane (R : Reflection P) (D : Descent P) (h : HalfPlane P) : StripGRH P := by
  intro χ s hstrip hz
  rcases R.trichotomy s with hl | hline | hr
  · have hp : P.Zero (P.prim χ) s := D.euler_strip χ s hstrip hz
    have hzr : P.Zero (P.inv (P.prim χ)) (P.refl s) :=
      R.functional_equation _ s (D.prim_primitive χ) hstrip hp
    exact absurd hzr
      (h _ _ (R.refl_right s hstrip hl) (R.strip_no_pole _ _ (R.refl_strip s hstrip)))
  · exact hline
  · exact absurd hz (h χ s hr (R.strip_no_pole χ s hstrip))

/-- Half-plane ⇒ RH (mirrors `Claim.zeta`): a nontrivial zeta zero lies in the strip, where the
previous theorem applies at modulus one. -/
theorem rh_of_halfPlane (R : Reflection P) (D : Descent P) (h : HalfPlane P) : RH P :=
  fun s hz htriv hone => strip_of_halfPlane R D h P.zeta s (R.zeta_strip s hz htriv hone) hz

The analytic engine (The analytic engine: from one-sided windows to a zero-free half-plane) and the arithmetic supply. Engine.criterion is the window criterion; Supply.windows is what the estimate and the arithmetic have to deliver, with the loss fixed before \(\varepsilon\); Supply.choose is the order of choices.

Listing 6 Engine and supply#
/-- The analytic engine over an abstract scale of exponents.

* `Exp` carries the exponents `θ`, with `Le θ θ'` for `θ ≤ θ'`;
* `RightOf s θ` is `Re s > θ`;
* `Family` carries the finite positive character families and `Mem χ F` is membership;
* `Windows F θ` is the one-sided estimate: one constant `C` and arbitrarily late windows
  `[Y, Y^(3/2)]` on which the family's centered prime sum is at most `C·y^θ` at every point. -/
structure Engine (P : Plane) where
  Exp : Type
  Le : Exp → Exp → Prop
  RightOf : P.Point → Exp → Prop
  Family : Type
  Mem : P.Char → Family → Prop
  Windows : Family → Exp → Prop
  /-- A weaker exponent is easier to satisfy. -/
  windows_mono : ∀ F θ θ', Windows F θ → Le θ θ' → Windows F θ'
  /-- `Deduction.zeroFree_of_rpow_window`: a one-sided bound on arbitrarily late power windows
  forbids zeros of every member to the right of the exponent. Proof in the archive: the Mellin
  transform of the ramp, positive residues (`poleData`), and high derivatives aimed at the
  windows (`landau_window`). -/
  criterion : ∀ F θ, Windows F θ → ∀ χ, Mem χ F → ∀ s, RightOf s θ → ¬ P.Zero χ s

/-- The arithmetic supply, in the form consumed by `zeroFreeAll_of_topG`. For each primitive `ψ`
and each admissible small `ε` there is a family containing `ψ` whose prime sum satisfies the
window bound with exponent `loss ε = 1/2 + (e_D + e_L + 7)·ε`, where `e_D = 2`, `e_L = 0` were
fixed **before** `ε`. In the archive this is produced from `TopG` and `VWinAt ψ 401` (through
`supplyChi`, `core_gm` and `topDesWin`). It is the one non-classical input. -/
structure Supply (P : Plane) (E : Engine P) where
  Eps : Type
  Small : Eps → Prop
  loss : Eps → E.Exp
  family : P.Char → Eps → E.Family
  mem_family : ∀ ψ ε, E.Mem ψ (family ψ ε)
  windows : ∀ ψ ε, P.Primitive ψ → Small ε → E.Windows (family ψ ε) (loss ε)
  /-- θ after the zero, ε after θ (`level_of_tiedWin`): for `Re s > 1/2` take
  `θ = 1/2 + min(Re s - 1/2, 1/2)/2`, so that `Re s > θ`, then a small `ε` with `loss ε ≤ θ`.
  This is possible because `loss ε → 1/2` as `ε → 0` with the losses fixed. -/
  choose : ∀ s, P.Right s → ∃ θ, E.RightOf s θ ∧ ∃ ε, Small ε ∧ E.Le (loss ε) θ

The two verified cuts, mirrored: endpoints_of_supply has the shape of the Dirichlet bridge and rh_of_prime_windows the shape of the window bridge (both quoted below).

Listing 7 The cuts, abstractly#
/-- The supply and the engine give the primitive half-plane (mirrors `zeroFreeAll_of_topG`). -/
theorem primitiveHalfPlane_of_supply (E : Engine P) (S : Supply P E) : PrimitiveHalfPlane P := by
  intro ψ s hψ hs hz
  obtain ⟨θ, hθ, ε, hε, hle⟩ := S.choose s hs
  exact E.criterion (S.family ψ ε) θ (E.windows_mono _ _ _ (S.windows ψ ε hψ hε) hle)
    ψ (S.mem_family ψ ε) s hθ hz

/-- **The second verified cut** (mirrors `Reading.DirichletBridge.endpoints_of_topG_vWin401`,
kernel-checked against the archive in a 1,421-module closure): the arithmetic supply implies
RH, the half-plane theorem for every character and Dirichlet GRH in the strip. -/
theorem endpoints_of_supply (R : Reflection P) (D : Descent P) (E : Engine P) (S : Supply P E) :
    RH P ∧ HalfPlane P ∧ StripGRH P :=
  have hhalf := halfPlane_of_primitive D (primitiveHalfPlane_of_supply E S)
  ⟨rh_of_halfPlane R D hhalf, hhalf, strip_of_halfPlane R D hhalf⟩

/-- **The first verified cut** (mirrors `Reading.WindowBridge.riemannHypothesis_of_prime_windows`,
checked by the Lean kernel and by the Rust kernel NanoDA): one family `{ζ}`, and the window bound
at every exponent `θ ∈ (1/2, 1)`, give RH. No other character and no descent is involved. -/
theorem rh_of_prime_windows (R : Reflection P) (E : Engine P) (Fz : E.Family)
    (hmem : E.Mem P.zeta Fz) (Above : E.Exp → Prop)
    (choose : ∀ s, P.Right s → ∃ θ, Above θ ∧ E.RightOf s θ)
    (h : ∀ θ, Above θ → E.Windows Fz θ) : RH P := by
  intro s hz htriv hone
  have hstrip : P.Strip s := R.zeta_strip s hz htriv hone
  rcases R.trichotomy s with hl | hline | hr
  · have hz' : P.Zero (P.inv P.zeta) (P.refl s) :=
      R.functional_equation _ s R.zeta_primitive hstrip hz
    rw [R.zeta_inv] at hz'
    obtain ⟨θ, hθ, hright⟩ := choose (P.refl s) (R.refl_right s hstrip hl)
    exact absurd hz' (E.criterion Fz θ (h θ hθ) P.zeta hmem _ hright)
  · exact hline
  · obtain ⟨θ, hθ, hright⟩ := choose s hr
    exact absurd hz (E.criterion Fz θ (h θ hθ) P.zeta hmem s hright)
Listing 8 The whole architecture in one record#
/-- The four layers of the argument bundled together. The first three are classical or
machine-checked; the fourth, `supply`, is where the arithmetic lives. -/
structure Architecture where
  plane : Plane
  reflection : Reflection plane
  descent : Descent plane
  engine : Engine plane
  supply : Supply plane engine

/-- The five endpoints, as conjunctions on the abstract plane. -/
theorem Architecture.endpoints (A : Architecture) :
    RH A.plane ∧ HalfPlane A.plane ∧ StripGRH A.plane :=
  endpoints_of_supply A.reflection A.descent A.engine A.supply

The hypotheses are satisfiable#

A skeleton whose hypotheses were contradictory would prove anything. The toy model below — a plane with three kinds of points, one character and zeros exactly on the line — satisfies every field, and the final example shows that the skeleton’s conclusion holds there together with the existence of a zero. It says nothing about which model is the real one.

Listing 9 The toy model#
/-- Left of, on, or right of the critical line. -/
inductive Side where
  | left | line | right

/-- `s ↦ 1 - s` on the three sides. -/
def Side.refl : Side → Side
  | .left => .right
  | .line => .line
  | .right => .left

/-- A plane with one character, whose zeros are exactly the points on the line. -/
def toyPlane : Plane where
  Point := Side
  Char := Unit
  Zero := fun _ s => s = .line
  Right := fun s => s = .right
  Line := fun s => s = .line
  Left := fun s => s = .left
  Strip := fun _ => True
  Pole := fun _ _ => False
  Primitive := fun _ => True
  prim := id
  inv := id
  refl := Side.refl
  zeta := ()
  Trivial := fun _ => False
  One := fun _ => False

theorem side_ne_right_line : Side.right ≠ Side.line := fun h => Side.noConfusion h

/-- Every field of the architecture holds in the toy plane. -/
def toyArchitecture : Architecture where
  plane := toyPlane
  reflection :=
    { trichotomy := fun s => match s with
        | .left => Or.inl rfl
        | .line => Or.inr (Or.inl rfl)
        | .right => Or.inr (Or.inr rfl)
      refl_strip := fun _ _ => True.intro
      refl_right := fun s _ hl => by
        change s = Side.left at hl
        subst hl
        rfl
      functional_equation := fun _ s _ _ hz => by
        change s = Side.line at hz
        subst hz
        rfl
      strip_no_pole := fun _ _ _ h => h
      zeta_primitive := True.intro
      zeta_inv := rfl
      zeta_strip := fun _ _ _ _ => True.intro }
  descent :=
    { prim_primitive := fun _ => True.intro
      euler_right := fun _ _ _ _ hz => hz
      euler_strip := fun _ _ _ hz => hz }
  engine :=
    { Exp := Unit
      Le := fun _ _ => True
      RightOf := fun s _ => s = Side.right
      Family := Unit
      Mem := fun _ _ => True
      Windows := fun _ _ => True
      windows_mono := fun _ _ _ _ _ => True.intro
      criterion := fun _ _ _ _ _ s hr hz => by
        change s = Side.right at hr
        change s = Side.line at hz
        exact side_ne_right_line (hr.symm.trans hz) }
  supply :=
    { Eps := Unit
      Small := fun _ => True
      loss := fun _ => ()
      family := fun _ _ => ()
      mem_family := fun _ _ => True.intro
      windows := fun _ _ _ _ => True.intro
      choose := fun _ hs => ⟨(), hs, (), True.intro, True.intro⟩ }

/-- In the toy plane, the conclusion of the skeleton holds and there is a zero (on the line). -/
example : RH toyArchitecture.plane ∧ toyArchitecture.plane.Zero () Side.line :=
  ⟨(Architecture.endpoints toyArchitecture).1, rfl⟩

Ultrametric separation: Atlas/Separation.lean#

The integer core of the exceptional-twist count of 11 · The cohomological window, with the example of the reading guide and the failure of the weak inequality (computed in One interval for all exceptional twists: window1 and ultrametric separation).

Listing 10 lean/Atlas/Separation.lean#
/-!
# Ultrametric separation: one exceptional twist per centre

In the cohomological window (`UpperTheory.V.Win`, files `Near1.lean` and `Exc.lean` of the
archive) an integer twist `1 ≤ h ≤ Z` is *exceptional* for an `ℓ`-adic centre `s` when
`|h - s|_ℓ < ℓ^{-k}` with `k = ⌊log_ℓ Z⌋`, that is when `ℓ^{k+1} ∣ h - s`. Since `ℓ^{k+1} > Z`,
two exceptional twists for the same centre coincide. Hence there are at most `R` exceptional
twists in total, however large `Z` is, and finitely many logarithmic intervals to avoid.

This file proves the integer core of that argument with no imports.
-/

namespace Atlas.Separation

/-- Two integers in `[1, Z]` that are congruent modulo some `m > Z` are equal. -/
theorem eq_of_dvd_sub {a b m Z : Int} (hm : Z < m) (ha1 : 1 ≤ a) (haZ : a ≤ Z)
    (hb1 : 1 ≤ b) (hbZ : b ≤ Z) (h : m ∣ a - b) : a = b := by
  obtain ⟨c, hc⟩ := h
  have hm0 : 0 ≤ m := by omega
  rcases Int.lt_trichotomy c 0 with hneg | hzero | hpos
  · have hle : m * c ≤ m * (-1) := Int.mul_le_mul_of_nonneg_left (by omega) hm0
    generalize m * c = t at hc hle
    omega
  · subst hzero
    rw [Int.mul_zero] at hc
    omega
  · have hle : m * 1 ≤ m * c := Int.mul_le_mul_of_nonneg_left (by omega) hm0
    generalize m * c = t at hc hle
    omega

/-- Two twists in `[1, Z]` that are both `m`-adically close to the same centre `s`, with `m > Z`,
coincide: each centre accounts for at most one exceptional twist. -/
theorem at_most_one_per_centre {a b s m Z : Int} (hm : Z < m)
    (ha1 : 1 ≤ a) (haZ : a ≤ Z) (hb1 : 1 ≤ b) (hbZ : b ≤ Z)
    (hsa : m ∣ a - s) (hsb : m ∣ b - s) : a = b := by
  obtain ⟨c₁, h₁⟩ := hsa
  obtain ⟨c₂, h₂⟩ := hsb
  refine eq_of_dvd_sub hm ha1 haZ hb1 hbZ ⟨c₁ - c₂, ?_⟩
  rw [Int.mul_sub]
  generalize m * c₁ = t₁ at h₁ ⊢
  generalize m * c₂ = t₂ at h₂ ⊢
  omega

/-- The example of the reading guide: `ℓ = 3`, `Z = 80`, `k = 3`, centre `1`. Proximity strictly
below `3^{-3}` means `81 ∣ h - 1`, which leaves only `h = 1`. -/
example (h : Int) (h1 : 1 ≤ h) (hZ : h ≤ 80) (hd : (81 : Int) ∣ h - 1) : h = 1 :=
  at_most_one_per_centre (by decide) h1 hZ (by decide) (by decide) hd ⟨0, by decide⟩

/-- With `≤` instead of `<`, the condition would only be `27 ∣ h - 1`, and `28` and `55` would
also qualify: the strict inequality matters. -/
example : (27 : Int) ∣ 28 - 1 ∧ (27 : Int) ∣ 55 - 1 := ⟨⟨1, by decide⟩, ⟨2, by decide⟩⟩

end Atlas.Separation

Teaching files from the reading project#

Two files written by the reading project, imported with SHA-256 checksums. WindowLogic.lean isolates the pure logic of the window argument and of reflection; BehrendSphere.lean proves the chord identity and the sphere lemma behind the Behrend construction (The Behrend digit sphere) in every finite dimension.

File here

In the reading project

SHA-256 at import

Now

lean/Reading/WindowLogic.lean

formal/standalone/WindowLogic.lean

cd648265b6aa58d8…

identical

lean/Reading/BehrendSphere.lean

formal/behrend/BehrendSphere.lean

a026ef4bc8c5eee7…

identical

references/archive-bridges/WindowBridge.lean

formal/window-bridge/WindowBridge.lean

e77eb05549e7622b…

identical

references/archive-bridges/GeometricTransport.lean

formal/window-bridge/GeometricTransport.lean

f6213d4c45e70a1a…

identical

references/archive-bridges/DirichletBridge.lean

formal/dirichlet-bridge/DirichletBridge.lean

59d543a5550f953b…

identical

references/archive-bridges/EndpointAudit.lean

formal/upstream/EndpointAudit.lean

7946558ed7e5f2da…

identical

Listing 11 lean/Reading/WindowLogic.lean#
/-!
Two logical deductions used by the reading guide, independent of Mathlib.
`Good y` and `Bad y` refer to the entire window starting at y. The
quantifiers deliberately permit arbitrarily wide gaps between good windows.
The application to L-functions requires the analytic oscillation and the
arithmetic window-existence theorems of the original archive.
-/
namespace Reading

theorem excludeZeroByWindows {Index : Type} (Later : Index → Index → Prop)
    (Zero : Prop) (Good Bad : Index → Prop)
    (arithmetic : ∀ cutoff, ∃ y, Later cutoff y ∧ Good y)
    (oscillation : Zero → ∃ cutoff, ∀ y, Later cutoff y → Bad y)
    (incompatible : ∀ y, Good y → Bad y → False) : ¬ Zero := by
  intro zero
  obtain ⟨cutoff, allBad⟩ := oscillation zero
  obtain ⟨y, late, good⟩ := arithmetic cutoff
  exact incompatible y good (allBad y late)

/-- For a strip zero, trichotomy, right-hand exclusion and a reflected zero
on the inverse character rule out both strict sides. -/
theorem criticalLineByReflection {Point : Type} (Zero Left Line Right : Point → Prop)
    (side : ∀ s, Left s ∨ Line s ∨ Right s)
    (reflect : ∀ s, Zero s → Left s → ∃ t, Zero t ∧ Right t)
    (exclude : ∀ s, Right s → ¬ Zero s) (s : Point) (hs : Zero s) : Line s := by
  rcases side s with h | h | h
  · obtain ⟨t, hz, hr⟩ := reflect s hs h
    exact False.elim (exclude t hr hz)
  · exact h
  · exact False.elim (exclude s h hs)

#print axioms excludeZeroByWindows
#print axioms criticalLineByReflection
end Reading
Listing 12 lean/Reading/BehrendSphere.lean#
/-!
# Integer spheres and integer affine relations

The coordinates are indexed by `Fin n`, including dimension zero. All
coefficients may be negative. The norm is the sum of the coordinate squares.
-/
namespace BehrendReading

/-- The squared Euclidean norm of an integer vector. -/
def normSq : {n : Nat} → (Fin n → Int) → Int
  | 0, _ => 0
  | n + 1, v => v 0 ^ 2 + normSq (n := n) (fun k => v k.succ)

theorem normSq_nonneg {n : Nat} (v : Fin n → Int) : 0 ≤ normSq v := by
  induction n with
  | zero => exact Int.le_refl 0
  | succ n ih =>
    exact Int.add_nonneg (Int.sq_nonneg _) (ih (fun k => v k.succ))

theorem coordinates_zero_of_normSq_zero {n : Nat} (v : Fin n → Int)
    (h : normSq v = 0) : ∀ k, v k = 0 := by
  induction n with
  | zero => exact fun k => Fin.elim0 k
  | succ n ih =>
    change v 0 ^ 2 + normSq (fun k : Fin n => v k.succ) = 0 at h
    have hhead := Int.sq_nonneg (v 0)
    have htail := normSq_nonneg (fun k : Fin n => v k.succ)
    have headZero : v 0 ^ 2 = 0 := by omega
    have tailZero : normSq (fun k : Fin n => v k.succ) = 0 := by omega
    rw [Int.pow_succ, Int.pow_one] at headZero
    exact Fin.cases ((Int.mul_eq_zero.mp headZero).elim id id) (ih _ tailZero)

/-- Distinct integer vectors have strictly positive squared distance. -/
theorem distance_pos_of_ne {n : Nat} (u v : Fin n → Int) (hne : v ≠ u) :
    0 < normSq (fun k => v k - u k) := by
  have nonnegative := normSq_nonneg (fun k => v k - u k)
  have nonzero : normSq (fun k => v k - u k) ≠ 0 := by
    intro h
    apply hne
    funext k
    exact Int.sub_eq_zero.mp (coordinates_zero_of_normSq_zero _ h k)
  omega

private theorem coordinate_identity (x y z i j : Int)
    (h : j * (y - x) = i * (z - x)) :
    j * (j - i) * (y - x) ^ 2 =
      i ^ 2 * (z ^ 2 - x ^ 2) - i * j * (y ^ 2 - x ^ 2) := by
  have factorization :
      i ^ 2 * (z ^ 2 - x ^ 2) - i * j * (y ^ 2 - x ^ 2) - j * (j - i) * (y - x) ^ 2 =
      (i * (z - x) - j * (y - x)) * (i * (z - x) + j * (y - x) + 2 * i * x) := by
    grind only
  rw [← h, Int.sub_self, Int.zero_mul] at factorization
  omega

/-- The weighted chord identity before imposing equality of the three radii. -/
theorem chord_identity {n : Nat} (u v w : Fin n → Int) (i j : Int)
    (line : ∀ k, j * (v k - u k) = i * (w k - u k)) :
    j * (j - i) * normSq (fun k => v k - u k) =
      i ^ 2 * (normSq w - normSq u) - i * j * (normSq v - normSq u) := by
  induction n with
  | zero => simp [normSq]
  | succ n ih =>
    have head := coordinate_identity (u 0) (v 0) (w 0) i j (line 0)
    have tail := ih (fun k => u k.succ) (fun k => v k.succ)
      (fun k => w k.succ) (fun k => line k.succ)
    simp only [normSq]
    grind only

/-- On a sphere and on an integer-parameter line, the second point must
coincide with the first whenever the denominator and its difference from the
numerator are nonzero. The numerator may itself be zero. -/
theorem sphere_rel {n : Nat} (u v w : Fin n → Int) (radiusSq i j : Int)
    (hu : normSq u = radiusSq) (hv : normSq v = radiusSq) (hw : normSq w = radiusSq)
    (hj : j ≠ 0) (hij : i ≠ j) (line : ∀ k, j * (v k - u k) = i * (w k - u k)) :
    v = u := by
  have identity := chord_identity u v w i j line
  simp only [hu, hv, hw, Int.sub_self, Int.mul_zero] at identity
  have coefficient : j * (j - i) ≠ 0 := Int.mul_ne_zero hj (by omega)
  have distanceZero := (Int.mul_eq_zero.mp identity).resolve_left coefficient
  funext k
  exact Int.sub_eq_zero.mp (coordinates_zero_of_normSq_zero _ distanceZero k)

/-- A three-term arithmetic progression on an integer sphere is constant. -/
theorem sphere_midpoint {n : Nat} (u v w : Fin n → Int) (radiusSq : Int)
    (hu : normSq u = radiusSq) (hv : normSq v = radiusSq) (hw : normSq w = radiusSq)
    (midpoint : ∀ k, 2 * v k = u k + w k) : u = v ∧ v = w := by
  have line (k : Fin n) : 2 * (v k - u k) = 1 * (w k - u k) := by
    have h := midpoint k
    omega
  have eqVU := sphere_rel u v w radiusSq 1 2 hu hv hw (by decide) (by decide) line
  refine ⟨eqVU.symm, ?_⟩
  funext k
  have h := midpoint k
  have e := congrFun eqVU k
  omega

end BehrendReading

The audit driver:

Listing 13 lean/Atlas/Audit.lean#
import Atlas.Architecture
import Atlas.Separation
import Reading.WindowLogic
import Reading.BehrendSphere

/-! Axiom audit of every theorem in this repository's Lean library. The build log of this file is
parsed by `scripts/lean_audit.py` into `verification/logs/axioms.json`. -/

#print axioms Atlas.halfPlane_of_primitive
#print axioms Atlas.strip_of_halfPlane
#print axioms Atlas.rh_of_halfPlane
#print axioms Atlas.primitiveHalfPlane_of_supply
#print axioms Atlas.endpoints_of_supply
#print axioms Atlas.rh_of_prime_windows
#print axioms Atlas.Architecture.endpoints
#print axioms Atlas.toyArchitecture
#print axioms Atlas.Separation.eq_of_dvd_sub
#print axioms Atlas.Separation.at_most_one_per_centre
#print axioms Reading.excludeZeroByWindows
#print axioms Reading.criticalLineByReflection
#print axioms BehrendReading.normSq_nonneg
#print axioms BehrendReading.coordinates_zero_of_normSq_zero
#print axioms BehrendReading.distance_pos_of_ne
#print axioms BehrendReading.chord_identity
#print axioms BehrendReading.sphere_rel
#print axioms BehrendReading.sphere_midpoint

The destination layer, with Mathlib’s ζ#

The skeleton is abstract. The file lean-mathlib/AtlasZeta.lean instantiates its plane with the complex numbers and Mathlib’s riemannZeta, at the archive’s own pins (Lean 4.33.1, Mathlib 0df444a3), and proves every field of Reflection and Descent for this plane from Mathlib’s functional equation, the nonvanishing of \(\zeta\) on \(\Re s\ge 1\) and the zeros of \(\cos\) and \(\Gamma\). The skeleton’s rh_of_halfPlane then gives the classical last step: nonvanishing of \(\zeta\) for \(\Re s>\tfrac12\) implies Mathlib’s RiemannHypothesis. This re-checks the last page of the argument independently of the archive; it says nothing about the half-plane statement itself.

Listing 14 lean-mathlib/AtlasZeta.lean (the plane, and the two identifications)#
/-- The abstract plane with `Point = ℂ` and the single character of modulus one, whose
`L`-function is `riemannZeta`. -/
noncomputable def plane : Atlas.Plane where
  Point := ℂ
  Char := Unit
  Zero := fun _ s => riemannZeta s = 0
  Right := fun s => 1 / 2 < s.re
  Line := fun s => s.re = 1 / 2
  Left := fun s => s.re < 1 / 2
  Strip := fun s => 0 < s.re ∧ s.re < 1
  Pole := fun _ s => s = 1
  Primitive := fun _ => True
  prim := id
  inv := id
  refl := fun s => 1 - s
  zeta := ()
  Trivial := fun s => ∃ n : ℕ, s = -2 * (n + 1)
  One := fun s => s = 1

/-- The skeleton's `RH` for this plane is, definitionally, Mathlib's `RiemannHypothesis`. -/
theorem rh_iff : Atlas.RH plane ↔ RiemannHypothesis := Iff.rfl

/-- The half-plane statement of the skeleton, for this plane, in Mathlib's terms. -/
theorem halfPlane_iff :
    Atlas.HalfPlane plane ↔ ∀ s : ℂ, 1 / 2 < s.re → s ≠ 1 → riemannZeta s ≠ 0 :=
  ⟨fun h s hs h1 => h () s hs h1, fun h _ s hs h1 => h s hs h1⟩
Listing 15 lean-mathlib/AtlasZeta.lean (the conclusion)#
/-- **The destination layer, checked against Mathlib**: right-half-plane nonvanishing of `ζ`
implies Mathlib's `RiemannHypothesis`, by the skeleton's `rh_of_halfPlane` instantiated with `ζ`. -/
theorem riemannHypothesis_of_right
    (h : ∀ s : ℂ, 1 / 2 < s.re → s ≠ 1 → riemannZeta s ≠ 0) : RiemannHypothesis :=
  rh_iff.mp (Atlas.rh_of_halfPlane reflection descent (halfPlane_iff.mpr h))

Mathlib is too large for the machine this book is built on, so the file is compiled on a cluster (scripts/helios_mathlib.sh, see BUILDING.md). The log of that build is kept in the repository, with the axioms of the three main declarations:

Listing 16 verification/logs/mathlib-zeta-build.log#
srun: job 26662752 queued and waiting for resources
srun: job 26662752 has been allocated resources
Lean (version 4.33.1, x86_64-unknown-linux-gnu, commit 819816b2e0a3bf405af45ae5c7af2491d8f5bee6, Release)
prefetch: 12 s
ℹ [3575/3576] Built AtlasZeta (881s)
info: AtlasZeta.lean:176:0: 'Atlas.Zeta.rh_iff' depends on axioms: [propext, Classical.choice, Quot.sound]
info: AtlasZeta.lean:177:0: 'Atlas.Zeta.reflection' depends on axioms: [propext, Classical.choice, Quot.sound]
info: AtlasZeta.lean:178:0: 'Atlas.Zeta.riemannHypothesis_of_right' depends on axioms: [propext, Classical.choice, Quot.sound]
Build completed successfully (3576 jobs).
exit=0

The archive bridges#

The reading project wrote four short files that import modules of the original archive and state the conditional theorems in Mathlib’s language. They compile only inside the archive’s environment and were compiled by the reading project on the Helios cluster; they are kept here as references, with the receipts summarized from data/source/native-scopes.json. A receipt certifies that the stated theorem — with its hypotheses — was elaborated and kernel-checked at the archive pins, with the listed transitive axioms. It does not certify the hypotheses.

One-sided prime windows imply RH#

Listing 17 references/archive-bridges/WindowBridge.lean#
import Development.AutomorphicArithmetic.DedekindLFunctions.LandauTheorems.ZeroFreeOfRpowWindow
import Formalism.GammaFactorNonvanishing.RhOfRight

noncomputable section

namespace Reading.WindowBridge

/-- The constant may depend on the exponent. A chosen window must work at every real point. -/
def OneSidedWindows (g : ℝ → ℝ) : Prop :=
  ∀ θ : ℝ, 1 / 2 < θ → θ < 1 → ∃ C : ℝ,
    ∀ Y₀ : ℝ, ∃ Y : ℝ, Y₀ ≤ Y ∧
      ∀ y ∈ Set.Icc Y (Y ^ (3 / 2 : ℝ)), g y ≤ C * y ^ θ

/-- The family has one index, the character modulo one and a positive coefficient of one. -/
def zetaFamily : Deduction.CharFamily where
  ι := Unit
  fin := inferInstance
  N := fun _ => 1
  nz := fun _ => inferInstance
  χ := fun _ => (1 : DirichletCharacter ℂ 1)
  a := fun _ => 1
  a_pos := fun _ => zero_lt_one
  adm := fun _ => Or.inl rfl

/-- The singleton's centered sum agrees with the archive's real zeta prime sum for every y. -/
theorem gm_zetaFamily (y : ℝ) : Deduction.Gm zetaFamily y = Deduction.G y := by
  classical
  have hχ : (fun n : ℕ => (1 : DirichletCharacter ℂ 1) n) = (fun _ : ℕ => (1 : ℂ)) := by
    funext n
    exact MulChar.one_apply (isUnit_of_subsingleton _)
  change (∑ _ : Unit, (1 : ℝ) * (Deduction.Gchi (1 : DirichletCharacter ℂ 1) y).re) = _
  calc
    _ = (Deduction.Gchi (1 : DirichletCharacter ℂ 1) y).re := by simp
    _ = Deduction.G y := by
      simp [Deduction.Gchi, hχ, Deduction.G, Complex.add_re, Complex.sub_re]

/-- A one-sided estimate on arbitrarily late three-halves windows implies Mathlib's RH. -/
theorem riemannHypothesis_of_prime_windows (h : OneSidedWindows Deduction.G) : RiemannHypothesis := by
  apply Formalism.VW.rh_of_right
  intro s hs _
  have hhalf : (1 / 2 : ℝ) < min s.re 1 := lt_min hs (by norm_num)
  obtain ⟨θ, hθhalf, hθmin⟩ := exists_between hhalf
  have hθs : θ < s.re := lt_of_lt_of_le hθmin (min_le_left _ _)
  have hθ1 : θ < 1 := lt_of_lt_of_le hθmin (min_le_right _ _)
  obtain ⟨C, hC⟩ := h θ hθhalf hθ1
  have hscale : (1 : ℝ) + 1 / 2 = 3 / 2 := by norm_num
  have hfree : Deduction.ZeroFree zetaFamily θ :=
    Deduction.zeroFree_of_rpow_window zetaFamily (θ := θ) (δ := 1 / 2) (C := C)
      (lt_trans (by norm_num : (0 : ℝ) < 1 / 2) hθhalf) hθ1 (by norm_num)
      (by simpa only [hscale, gm_zetaFamily] using hC)
  have hz : DirichletCharacter.LFunction (1 : DirichletCharacter ℂ 1) s ≠ 0 :=
    hfree () s hθs
  rwa [DirichletCharacter.LFunction_modOne_eq] at hz

/-- A pointwise identification transports a bound given in another prime-sum normalization. -/
theorem riemannHypothesis_of_identified_windows (g : ℝ → ℝ)
    (hg : ∀ y, g y = Deduction.G y) (h : OneSidedWindows g) : RiemannHypothesis := by
  rw [funext hg] at h
  exact riemannHypothesis_of_prime_windows h

end Reading.WindowBridge

#print axioms Reading.WindowBridge.gm_zetaFamily
#print axioms Reading.WindowBridge.riemannHypothesis_of_prime_windows
#print axioms Reading.WindowBridge.riemannHypothesis_of_identified_windows

end

Zeta prime-window implication

Authority

Reading proof using the original archive

Toolchain

Lean 4.33.1

Original archive modules in the closure

31 (0 not already counted in earlier scopes)

Hypotheses supplied

For every ½ < θ < 1, one constant C bounds the named statistic by C·y^θ at every y in [Y,Y^(3/2)] for arbitrarily large Y. The statistic is Deduction.G.

Conclusion

The singleton family identifies the analytic prime sum, and its bound implies ordinary RH.

Declarations checked

Reading.WindowBridge.gm_zetaFamily — axioms: Classical.choice, Quot.sound, propext
Reading.WindowBridge.riemannHypothesis_of_prime_windows — axioms: Classical.choice, Quot.sound, propext
Reading.WindowBridge.riemannHypothesis_of_identified_windows — axioms: Classical.choice, Quot.sound, propext

Receipt (in the reading project)

evidence/helios/26639692/window-bridge-v2/receipt.json

Fresh kernel replay of the zeta prime-window implication

Authority

Reading proof using the original archive

Toolchain

Lean 4.33.1

Original archive modules in the closure

31 (0 not already counted in earlier scopes)

Hypotheses supplied

For every ½ < θ < 1, one constant C bounds the named statistic by C·y^θ at every y in [Y,Y^(3/2)] for arbitrarily large Y. The statistic is Deduction.G.

Conclusion

The same three reading declarations were rechecked from an empty kernel environment, including the safe non-partial constants imported from Mathlib.

Declarations checked

Reading.WindowBridge.gm_zetaFamily — axioms: Classical.choice, Quot.sound, propext
Reading.WindowBridge.riemannHypothesis_of_prime_windows — axioms: Classical.choice, Quot.sound, propext
Reading.WindowBridge.riemannHypothesis_of_identified_windows — axioms: Classical.choice, Quot.sound, propext

Receipt (in the reading project)

evidence/helios/26647685/fresh-window-v2/receipt.json

Second kernel. The proof of riemannHypothesis_of_prime_windows was exported as a stream of 61,697 declarations (436,362,868 bytes raw, 89,615,680 compressed; compressed SHA-256 125bdd7041764c89…) and accepted by the independent Rust kernel NanoDA. Evidence summary from the model: Fresh Lean replay over 10,530 modules (766,938 constants) and the independent Rust kernel NanoDA on 61,697 exported declarations; 31 original modules; axioms propext, Classical.choice, Quot.sound.

The geometric normalization#

Listing 18 references/archive-bridges/GeometricTransport.lean#
import WindowBridge
import Development.AutomorphicArithmetic.PrimitiveCosets.GzEq

namespace Reading.WindowBridge

/-- The archive identifies both normalizations pointwise, at every real argument. -/
theorem riemannHypothesis_of_geometric_windows (h : OneSidedWindows Formalism.Gz) : RiemannHypothesis := by
  apply riemannHypothesis_of_identified_windows Formalism.Gz _ h
  intro y
  obtain ⟨hza, had⟩ := UpperTheory.Comparison₂.Gz_eq y
  exact hza.trans had

end Reading.WindowBridge

#print axioms Reading.WindowBridge.riemannHypothesis_of_geometric_windows

Geometric prime-window implication

Authority

Original comparison and reading proof

Toolchain

Lean 4.33.1

Original archive modules in the closure

130 (93 not already counted in earlier scopes)

Hypotheses supplied

For every ½ < θ < 1, one constant C bounds the named statistic by C·y^θ at every y in [Y,Y^(3/2)] for arbitrarily large Y. The statistic is Formalism.Gz.

Conclusion

An original pointwise normalization identity transfers the estimate and yields ordinary RH.

Declarations checked

UpperTheory.Comparison₂.Gz_eq — axioms: Classical.choice, Quot.sound, propext
Reading.WindowBridge.riemannHypothesis_of_geometric_windows — axioms: Classical.choice, Quot.sound, propext

Receipt (in the reading project)

evidence/helios/26639692/geometric-transport-v2/receipt.json

TopG and the cohomological windows imply RH and Dirichlet GRH#

Listing 19 references/archive-bridges/DirichletBridge.lean#
import Development.AutomorphicArithmetic.CharacterBoxes.SupplyChi
import Development.AutomorphicArithmetic.CharacterBoxes.ZeroFreeAllOfTopG
import Development.AutomorphicArithmetic.CharacterBoxes.Imprimitive
import Development.AutomorphicArithmetic.CharacterBoxes.ClaimStrip
import Statements

namespace Reading.DirichletBridge

open Formalism.HC UpperTheory.Top

/-- The cohomology cutoff is 401 for each primitive character. The supplied
host width is the same real number 3/2 for all these characters. -/
theorem primitiveZeroFree_of_topG_vWin401 (hG : UpperTheory.Top.TopG)
    (hV : ∀ ψ : PChar, VWinAt ψ 401) : ZeroFreeAll := by
  apply UpperTheory.Top.zeroFreeAll_of_topG (la := (3 / 2 : ℝ)) (by norm_num) hG
  intro ψ
  exact UpperTheory.Top.supplyChi ψ (hV ψ)

/-- Pass to arbitrary positive moduli, then use the archived critical-strip
and zeta reductions. The right-half-plane predicate retains its pole exception. -/
theorem endpoints_of_topG_vWin401 (hG : UpperTheory.Top.TopG)
    (hV : ∀ ψ : PChar, VWinAt ψ 401) :
    RiemannHypothesis ∧ DirichletLNonvanishingRightOfHalf ∧ DirichletLZerosOnLine := by
  have hχ : DirichletLNonvanishingRightOfHalf :=
    UpperTheory.Top.imprimitive (primitiveZeroFree_of_topG_vWin401 hG hV)
  exact ⟨Claim.zeta hχ, hχ, Claim.strip hχ⟩

end Reading.DirichletBridge

set_option pp.fullNames true

#check @Reading.DirichletBridge.primitiveZeroFree_of_topG_vWin401
#check @Reading.DirichletBridge.endpoints_of_topG_vWin401
#print axioms Reading.DirichletBridge.primitiveZeroFree_of_topG_vWin401
#print axioms Reading.DirichletBridge.endpoints_of_topG_vWin401

Conditional zeta and Dirichlet endpoints

Authority

Original deductions and reading proof

Toolchain

Lean 4.33.1

Original archive modules in the closure

1,421 (756 not already counted in earlier scopes)

Hypotheses supplied

The archive’s TopG family estimate and its VWinAt cohomological bound with cutoff 401 for each primitive character.

Conclusion

The common host construction, conductor reduction and reflection imply ordinary RH and both all-character endpoints.

Declarations checked

UpperTheory.Top.supplyChi — axioms: Classical.choice, Quot.sound, propext
UpperTheory.Top.zeroFreeAll_of_topG — axioms: Classical.choice, Quot.sound, propext
UpperTheory.Top.imprimitive — axioms: Classical.choice, Quot.sound, propext
Claim.zeta — axioms: Classical.choice, Quot.sound, propext
Claim.strip — axioms: Classical.choice, Quot.sound, propext
Reading.DirichletBridge.primitiveZeroFree_of_topG_vWin401 — axioms: Classical.choice, Quot.sound, propext
Reading.DirichletBridge.endpoints_of_topG_vWin401 — axioms: Classical.choice, Quot.sound, propext

Receipt (in the reading project)

evidence/helios/26647685/dirichlet-bridge/receipt.json

The five exports#

EndpointAudit.lean restates the five exported types of Main.lean and asks for their axioms. It belongs to the reading project’s exact endpoint replay, the first open item in The verification ledger.

✓✓ Checked by two kernels Status of the five exports in the imported record (20 November 2026, 23:51 UTC): Two independent kernels accepted the complete proof, and all five theorems matched the canonical Mathlib challenge. Andrew Sutherland and Simon DeDeo each report independently building and replaying all 175,187 original modules with Lean 4.33.1. DeDeo reports zero errors and crashes. Sutherland additionally records a con-leche comparison of the five targets and a lean4lean check of every original module. Five modules required higher reduction limits. The individual logs identify the names, flags and successful reruns. (Status recorded by the reading project at 2026-11-20 23:51 UTC.)

Still to check: What machine checking cannot settle: that the five Lean statements say what is meant (they are compared with an independently written Mathlib challenge), the soundness of the checkers and of Mathlib’s definitions, and the mathematical community’s own reading of the argument.

Listing 20 references/archive-bridges/EndpointAudit.lean#
import Main

example : RiemannHypothesis := riemannHypothesis
example : RiemannZetaZerosOnLine := riemannZeta_eq_zero_re
example : DirichletLNonvanishingRightOfHalf := LFunction_ne_zero_of_half_lt_re
example : DirichletLZerosOnLine := LFunction_eq_zero_re
example : PrimitiveDirichletLZerosOnLine := LFunction_eq_zero_re_of_isPrimitive
example : DirichletLZerosOnLine ↔
    (∀ (N : ℕ) [NeZero N] (χ : DirichletCharacter ℂ N) (s : ℂ),
       0 < s.re → s.re < 1 → DirichletCharacter.LFunction χ s = 0 → s.re = 1 / 2) := Iff.rfl
#print axioms riemannHypothesis
#print axioms riemannZeta_eq_zero_re
#print axioms LFunction_ne_zero_of_half_lt_re
#print axioms LFunction_eq_zero_re
#print axioms LFunction_eq_zero_re_of_isPrimitive

What the receipts establish#

  • The window bridge: if the zeta prime sum satisfies the one-sided bound on arbitrarily late windows \([Y,Y^{3/2}]\) for every \(\theta\in(\tfrac12,1)\), then Mathlib’s RiemannHypothesis holds — checked twice, by Lean (including a fresh replay of the Mathlib imports) and by NanoDA.

  • The Dirichlet bridge: if TopG holds and VWinAt ψ 401 holds for every primitive \(\psi\), then RH, the half-plane theorem for every character and Dirichlet GRH in the open strip hold — checked by Lean at the archive pin.

  • Neither receipt says anything about the truth of its premises. The premises are produced in the archive by the components of The estimate: from a chain of theta lifts to a prime-sum bound and The arithmetic supply, whose status is recorded component by component in The verification ledger.