Riemann Cinema — How Alpoge's Lean 4 Proof Corners Every Zero

A continuous depth ladder from visual prime-wave intuition to the exact grh-lean 300k theorems [19] and Robin's 5040 integer equivalence [12].

The 60-Second Proof Map — Click Any Stage to JumpThree acts: (18480 ∣ q -> PrimeRemainderBound q) -> GRH

Swipe horizontally to view the full map →

Scene 1 / 8

1. Off-Line Zeros & One-Sided Landau (18480*q)[1][3][4][13][15]

Act I opens with an ambush: instead of chasing every zero in the critical strip, set a single one-sided prime ceiling that turns any rogue zero into a contradiction.

Any Dirichlet L-zero right of Re(s) = 1/2 triggers a prime-counting wave exceeding x^(1/2). A one-sided upper ceiling below x^(8*eps - 1/2) triggers Landau's theorem and forces all zeros onto the critical line.

No-Corner-Cut CheckLandau's theorem requires only a one-sided prime remainder bound (never two-sided oscillation cancellation), and fixed-moduli savings bypass Siegel-zero obstructions via quadratic twists.

New.grh passes from an arbitrary modulus q to N0 = 18480*q (forall_zeroFreeRightOf_LFunction_iff) and applies LFunction_ne_zero_of_primeRemainder_le with quadratic twists.

Tau Ceti / Alastair Irving note: GRH only needs fixed-moduli log-power savings — no Siegel-zero exclusion is needed. Quadratic twists by a chosen prime d close the one-sided Landau gap.

Beat 1: Click Rogue 0.72 below — an off-line zero + its 1-sigma reflection shatter the prime staircase.
Beat 2: Reducing modulus q to 18480*q stabilizes congruence conditions for quadratic twists.
Beat 3: A single one-sided ceiling R_q(x) <= x^(8*eps - 1/2) refutes every zero in Re(s) > 1/2.
New/Reduction/OneSidedBound.lean (grh-lean 300k)Lean 4
theorem forall_zeroFreeRightOf_LFunction_iff :
  (forall q, 18480 ∣ q -> PrimeRemainderBound q)
  -> GeneralizedRiemannHypothesis

Swipe horizontally to view the full diagram →

Critical Strip (Re s) s = 0.50 + 14.1i 0 1/2 1 K=15 zeros · N0=18480q Explicit Prime Synthesizer: Exact psi(x) Steps vs K-Zero Formula 2 5 11 17 23 29 ON LINE (1/2): REAL PRIMES CRYSTALLIZE AS K GROWS
Real Zeros K15 zeros
Re(s)0.50
StatusOn Line 1/2

Swipe horizontally to view the full diagram →

Critical Strip (Re s) s = 0.50 + 14.1i 0 1/2 1 K=1 zeros · N0=18480q Explicit Prime Synthesizer: Exact psi(x) Steps vs K-Zero Formula 2 5 11 17 23 29 ON LINE (1/2): REAL PRIMES CRYSTALLIZE AS K GROWS
Real Zeros K1 zeros
Re(s)0.50
StatusOn Line 1/2

Swipe horizontally to view the full diagram →

Critical Strip (Re s) s = 0.50 + 14.1i 0 1/2 1 K=5 zeros · N0=18480q Explicit Prime Synthesizer: Exact psi(x) Steps vs K-Zero Formula 2 5 11 17 23 29 ON LINE (1/2): REAL PRIMES CRYSTALLIZE AS K GROWS
Real Zeros K5 zeros
Re(s)0.50
StatusOn Line 1/2

Swipe horizontally to view the full diagram →

Critical Strip (Re s) s = 0.50 + 14.1i 0 1/2 1 K=15 zeros · N0=18480q Explicit Prime Synthesizer: Exact psi(x) Steps vs K-Zero Formula 2 5 11 17 23 29 ON LINE (1/2): REAL PRIMES CRYSTALLIZE AS K GROWS
Real Zeros K15 zeros
Re(s)0.50
StatusOn Line 1/2

Swipe horizontally to view the full diagram →

Critical Strip (Re s) s = 0.50 + 14.1i 0 1/2 1 K=30 zeros · N0=18480q Explicit Prime Synthesizer: Exact psi(x) Steps vs K-Zero Formula 2 5 11 17 23 29 ON LINE (1/2): REAL PRIMES CRYSTALLIZE AS K GROWS
Real Zeros K30 zeros
Re(s)0.50
StatusOn Line 1/2

Swipe horizontally to view the full diagram →

Critical Strip (Re s) s = 0.72 + 14.1i 0 1/2 1 K=30 zeros · N0=18480q Explicit Prime Synthesizer: Exact psi(x) Steps vs K-Zero Formula 2 5 11 17 23 29 OFF-LINE ZERO (Re > 1/2): STAIRCASE SHATTERED
Real Zeros K30 zeros
Re(s)0.72
StatusShattered

Lab 1: Explicit Prime Synthesizer (K zeros) & Rogue Zero

Try this: click Rogue 0.72, then compare K=30 on Re(s) = 1/2 — watch an off-line zero blow past the prime wave ceiling.

Choose a preset (updates shareable URL) or enter custom parameters:

Custom parameters

Scene 2 / 8

2. The Scale Ladder & Unitary Theta-Lift Tower[1][5][13][19]

Bounding primes at x directly fails; the proof leaps up an exponential tower log b << x << x1 << b where m ~ sqrt(x) unitary lifts gain elbow room.

Instead of bounding primes directly at scale x, the proof locks an immense ladder (log b)^100 <= x, x^(10^6) <= x1, x1^(10^6) <= b (first valid around log x >= 3593) and climbs m ~ sqrt(x) lifts.

No-Corner-Cut CheckAdmissibility is explicit: (log b)^100 <= x, x^(10^6) <= x1, and x1^(10^6) <= b hold only once log x >= 3593, keeping every constant effective and uniform across unitary rank shifts t = 5r.

Magnitudes.scale_inequalities enforces (log b)^100 <= x, x^(10^6) <= x1, x1^(10^6) <= b, lifting from U(k) through U(r) to U(r + m*t) with t = 5r.

Tau Ceti verified the real-place Fock model cocycle is trivial, making the Weil representation genuine across the indefinite unitary groups U(k) -> U(r) -> U(r + mt).

Beat 1: Notice (log b)^100 <= x holds once log x >= 3593 — below that lies toy preview range.
Beat 2: Each unitary group shift adds t = 5r signature directions at controlled archimedean cost.
Beat 3: Rank r in [x^5, 3*x^5] with m ~ sqrt(x) lifts prepares the symmetric cancellation in Scene 6.
New/Reduction/Data/Magnitudes.lean (grh-lean 300k)Lean 4
lemma Data.scale_inequalities :
  (D.logB ^ 100 <= D.x) /\
  (D.x ^ 1000000 <= D.x1) /\
  (D.x1 ^ 1000000 <= D.b)

Swipe horizontally to view the full diagram →

Admissible Scale Ladder: (log b)^100 <= x, x^(10^6) <= x1, x1^(10^6) <= b log b 4.0e15 x exp(4000) x1 exp(4.0e9) b exp(exp(35.93)) Admissible Regime OK: (log b)^100 <= x satisfied Theta-Lift Tower (genuine Weil rep, m ~ sqrt(x)): U(k) -> U(r) -> U(r + mt) X0 : U(k) k = r + 1 - m Y0 : U(r) r ~ exp(20000) Ym : U(r + mt) m ~ exp(2000.0)
log x4000
log x14.0e9
Scale CheckValid (>= 3593)

Swipe horizontally to view the full diagram →

Admissible Scale Ladder: (log b)^100 <= x, x^(10^6) <= x1, x1^(10^6) <= b log b 4.0e15 x exp(4000) x1 exp(4.0e9) b exp(exp(35.93)) Admissible Regime OK: (log b)^100 <= x satisfied Theta-Lift Tower (genuine Weil rep, m ~ sqrt(x)): U(k) -> U(r) -> U(r + mt) X0 : U(k) k = r + 1 - m Y0 : U(r) r ~ exp(20000) Ym : U(r + mt) m ~ exp(2000.0)
log x4000
log x14.0e9
Scale CheckValid (>= 3593)

Swipe horizontally to view the full diagram →

Admissible Scale Ladder: (log b)^100 <= x, x^(10^6) <= x1, x1^(10^6) <= b log b 1.0e16 x exp(10000) x1 exp(1.0e10) b exp(exp(36.84)) Admissible Regime OK: (log b)^100 <= x satisfied Theta-Lift Tower (genuine Weil rep, m ~ sqrt(x)): U(k) -> U(r) -> U(r + mt) X0 : U(k) k = r + 1 - m Y0 : U(r) r ~ exp(50000) Ym : U(r + mt) m ~ exp(5000.0)
log x10000
log x11.0e10
Scale CheckValid (>= 3593)

Swipe horizontally to view the full diagram →

Admissible Scale Ladder: (log b)^100 <= x, x^(10^6) <= x1, x1^(10^6) <= b log b 5.0e16 x exp(50000) x1 exp(5.0e10) b exp(exp(38.45)) Admissible Regime OK: (log b)^100 <= x satisfied Theta-Lift Tower (genuine Weil rep, m ~ sqrt(x)): U(k) -> U(r) -> U(r + mt) X0 : U(k) k = r + 1 - m Y0 : U(r) r ~ exp(250000) Ym : U(r + mt) m ~ exp(25000.0)
log x50000
log x15.0e10
Scale CheckValid (>= 3593)

Swipe horizontally to view the full diagram →

Admissible Scale Ladder: (log b)^100 <= x, x^(10^6) <= x1, x1^(10^6) <= b log b 1.0e17 x exp(100000) x1 exp(1.0e11) b exp(exp(39.14)) Admissible Regime OK: (log b)^100 <= x satisfied Theta-Lift Tower (genuine Weil rep, m ~ sqrt(x)): U(k) -> U(r) -> U(r + mt) X0 : U(k) k = r + 1 - m Y0 : U(r) r ~ exp(500000) Ym : U(r + mt) m ~ exp(50000.0)
log x100000
log x11.0e11
Scale CheckValid (>= 3593)
30 Real Zeta Zeros Barcode (Quantum Repulsion) vs Random Poisson Clumping Zeta zeros Poisson GUE (green) vanishes at s=0; instead of spectral Hilbert-Polya, Alpoge proves RH via unitary theta lifts

Lab 2: Admissible Scale Ladder & Theta Tower

Try this: inspect scale 4000 against 100k and toggle GUE Zero Repulsion — only once log x >= 3593 do the tower inequalities ignite.

Custom parameters

Scene 3 / 8

3. Why sqrt(x) and Not x^(2/3)? (Data.DIV Isolation)[13][14][15][19]

A naive tower blows up to x^(2/3) and loses RH forever; isolating each lift's local error forces the exponent down to sqrt(x).

Naive theta-lift compounding charges lift j for every lift below it, inflating error to x/m + m^2 (minimum x^(2/3), useless for RH!). Isolating each local piece to one disjoint lift keeps error at x/m + m, which balances cleanly at m = sqrt(x).

No-Corner-Cut CheckThe saving from x^(2/3) to sqrt(x) is structural, not heuristic: disjoint per-lift local records (NData.locs_mem, DefFam.L) prevent double-counting previous lifts, and signed error cancellation in ShapeJumps saves x^1131.

Ishaan Dixit's trace shows NData.locs_mem and per-lift blocks DefFam.L : J -> T -> BlockDat bound Data.DIV at c*m*B_0 instead of sum_{j<=m} j*B_0, while ShapeJumps fixes Selmer signature drift.

Zulip insight (Nov 21): signature drift error was an artifact of an absolute-value step in divisor_inequality_assembly; the signed error is smaller by x^1131 (be_close, szRow_eta_bounds).

Beat 1: Click 0.33 (naive opt): the dashed naive curve hits its floor at x^(0.667) — too weak!
Beat 2: Disjoint local blocks (NData.locs_mem) turn the quadratic m^2 term linear in m.
Beat 3: At alpha = 0.50 (m = sqrt(x)), both x/m and m tie at x^(0.500), unlocking RH.
New/Data/DIV.lean · ShapeJumps.lean (grh-lean 300k)Lean 4
def DefFam.L : J -> T -> BlockDat
  -- disjoint per-lift local blocks (locs_mem)
lemma be_close :
  signed_drift <= D.x ^ (-1131 : Z)

Swipe horizontally to view the full diagram →

Error Exponent: Disjoint Blocks x/m + m (green) vs Naive Compounding x/m + m^2 (rose) RH threshold = 0.500 alpha = 0.50 | Disjoint (NData.locs_mem) = x^(0.500) | Naive = x^(1.000)
m = x^alphaalpha = 0.50
Disjoint (Proof)x^(0.500)
Naive Compoundx^(1.000)

Swipe horizontally to view the full diagram →

Error Exponent: Disjoint Blocks x/m + m (green) vs Naive Compounding x/m + m^2 (rose) RH threshold = 0.500 alpha = 0.25 | Disjoint (NData.locs_mem) = x^(0.750) | Naive = x^(0.750)
m = x^alphaalpha = 0.25
Disjoint (Proof)x^(0.750)
Naive Compoundx^(0.750)

Swipe horizontally to view the full diagram →

Error Exponent: Disjoint Blocks x/m + m (green) vs Naive Compounding x/m + m^2 (rose) RH threshold = 0.500 alpha = 0.33 | Disjoint (NData.locs_mem) = x^(0.670) | Naive = x^(0.670)
m = x^alphaalpha = 0.33
Disjoint (Proof)x^(0.670)
Naive Compoundx^(0.670)

Swipe horizontally to view the full diagram →

Error Exponent: Disjoint Blocks x/m + m (green) vs Naive Compounding x/m + m^2 (rose) RH threshold = 0.500 alpha = 0.50 | Disjoint (NData.locs_mem) = x^(0.500) | Naive = x^(1.000)
m = x^alphaalpha = 0.50
Disjoint (Proof)x^(0.500)
Naive Compoundx^(1.000)

Swipe horizontally to view the full diagram →

Error Exponent: Disjoint Blocks x/m + m (green) vs Naive Compounding x/m + m^2 (rose) RH threshold = 0.500 alpha = 0.65 | Disjoint (NData.locs_mem) = x^(0.650) | Naive = x^(1.300)
m = x^alphaalpha = 0.65
Disjoint (Proof)x^(0.650)
Naive Compoundx^(1.300)
Exact Mertens Walk M(n) (n <= 1000): Fair-Coin +-sqrt(n) (green) vs Naive n^(2/3) Barrier (rose) +-0.4*n^(2/3) Exact Mobius walk M(1000) = 2 (|M(1000)| < sqrt(1000) = 31.6) — NData.locs_mem avoids 0.667 blowup

Lab 3: sqrt(x) vs x^(2/3) Exponent Balance (m = x^alpha)

Try this: compare 0.33 (naive optimum) with 0.50 (sqrt(x)), then switch to Exact Mertens Walk M(n) to see classical cancellation.

Custom parameters

Scene 4 / 8

4. Upper Bound: Short & Enough Forms (Theorems A & B)[6][13][14][19]

Act II builds the upper jaw of the vice: Theorems A and B pack modular forms densely enough to push the covolume ceiling down by m*rem.

Theorems A and B pack normalized Poincare series inside the automorphic space so their covolume (V + 2*delta)/d stays below h_main - m*rem + small error. One Petersson translate already spreads across the target space.

No-Corner-Cut CheckTheorem A spans the integral lattice cleanly (Appell-Humbert + Weierstrass sigma duplication in grh-lean), while Theorem B uses Petersson trace orthogonality plus Hua's bound to prove covolume <= mainHeight - m*remainder + upperErr.

short_forms (Theorem A: span_short_integralRamified_eq_top) pairs with enough_forms (Theorem B: isSpread_goodPoincare via Petersson second moment and Hua's bound) to yield exists_family_covolumeSq_le.

grh-lean (300k) replaces the original Hida-family / sieve machinery with direct Appell-Humbert Frobenius dimension counts, Weierstrass sigma duplication, and Poisson summation.

Beat 1: Theorem A certifies short vectors span every ramified integral sublattice.
Beat 2: Click k = 2..12: Petersson variance drops as 1/k as translates spread.
Beat 3: Prime level N pays for all m lifts, pinning the ceiling below h_main - m*rem + err.
New/Reduction/ShortAndEnough.lean (grh-lean 300k)Lean 4
theorem short_and_enough_upper (D : Data P) :
  (V + 2 * delta) / d <=
    D.mainHeight - D.m * D.remainder + D.upperErr

Swipe horizontally to view the full diagram →

Theorem A (short_forms) span_short_integralRamified_eq_top Theorem B (enough_forms) k = 6 translates · Var = 0.167 Spreading k Translates (Poincare + Poisson) (V + 2*delta)/d <= h_main - m*rem + err Packing efficiency: 85.3% | Excess: 0.147
Translates k6
Petersson Var0.167
Packing85.3%

Swipe horizontally to view the full diagram →

Theorem A (short_forms) span_short_integralRamified_eq_top Theorem B (enough_forms) k = 2 translates · Var = 0.500 Spreading k Translates (Poincare + Poisson) (V + 2*delta)/d <= h_main - m*rem + err Packing efficiency: 74.5% | Excess: 0.255
Translates k2
Petersson Var0.500
Packing74.5%

Swipe horizontally to view the full diagram →

Theorem A (short_forms) span_short_integralRamified_eq_top Theorem B (enough_forms) k = 4 translates · Var = 0.250 Spreading k Translates (Poincare + Poisson) (V + 2*delta)/d <= h_main - m*rem + err Packing efficiency: 82.0% | Excess: 0.180
Translates k4
Petersson Var0.250
Packing82.0%

Swipe horizontally to view the full diagram →

Theorem A (short_forms) span_short_integralRamified_eq_top Theorem B (enough_forms) k = 6 translates · Var = 0.167 Spreading k Translates (Poincare + Poisson) (V + 2*delta)/d <= h_main - m*rem + err Packing efficiency: 85.3% | Excess: 0.147
Translates k6
Petersson Var0.167
Packing85.3%

Swipe horizontally to view the full diagram →

Theorem A (short_forms) span_short_integralRamified_eq_top Theorem B (enough_forms) k = 10 translates · Var = 0.100 Spreading k Translates (Poincare + Poisson) (V + 2*delta)/d <= h_main - m*rem + err Packing efficiency: 88.6% | Excess: 0.114
Translates k10
Petersson Var0.100
Packing88.6%

Swipe horizontally to view the full diagram →

Theorem A (short_forms) span_short_integralRamified_eq_top Theorem B (enough_forms) k = 12 translates · Var = 0.083 Spreading k Translates (Poincare + Poisson) (V + 2*delta)/d <= h_main - m*rem + err Packing efficiency: 89.6% | Excess: 0.104
Translates k12
Petersson Var0.083
Packing89.6%

Lab 4: Petersson Spread & Translate Packing (k)

Try this: increase translates k from 2 to 12 — Petersson orthogonality collapses cross-term variance as 1/k.

Custom parameters

Scene 5 / 8

5. Lower Bound: Integral Forms Are Long (Theorem C)[7][13][14][19]

An upper ceiling means nothing if forms can shrink to zero; Theorem C seals the lower jaw using p-adic Selmer pistons and the adelic product formula.

Theorem C proves the lifts cannot shrink below a floor: fit Selmer twists clear p-adic denominators at auxiliary primes, and the global product formula forces every nonzero integral section to have height >= 0.

No-Corner-Cut CheckWhy Selmer vanishing needs no open L-value conjecture: in KatoTwoW the Euler system sits at critical point s = 1 rather than central s = 1/2, so L(f, 1) != 0 holds unconditionally and forces archimedean mass >= mainHeight - 3L.

exists_isFitFamily supplies Selmer twists theta_iota over cyclic extensions; heightLe_volume_rows + HeightLe.nonneg produce d*(h_main - 3*L) <= d*h + (d-n)*(-h) + 2*delta.

David Loeffler answered Ishaan Dixit's question on KatoTwoW (Selmer vanishing with no L-value check): here the critical point lies at s = 1 (not central s = 1/2), so L(f, 1) != 0 is automatic! 300k also drops weak Vandiver.

Beat 1: Residually Eisenstein Galois representations give congruence control over twists.
Beat 2: Click 2..8 primes: clearing p-adic denominators drives the archimedean column up.
Beat 3: By the product formula (height >= 0), Theorem C locks the floor at h_main - 3*L.
New/Determinant/Twist/LongForms.lean (grh-lean 300k)Lean 4
theorem integral_forms_long ... :
  d * (D.mainHeight - 3 * L) <=
    d * h + (d - n) * (-h) + 2 * delta

Swipe horizontally to view the full diagram →

Adelic Hydraulic Conservation (sum_v log|x|_v = 0): Clearing p1..pk forces Archimedean Height UP p-adic Pistons (Selmer twists, 4 primes) p1 p2 p3 p4 HeightLe.nonneg: 83.4% denominators cleared Archimedean Column (Infinity Place) Theorem C Floor: h_main - 3L (95.6%) KatoTwoW critical point sits at s = 1 (not 1/2), so L(f, 1) != 0 holds automatically
Selmer Places4
Cleared83.4%
Floor Margin95.6%

Swipe horizontally to view the full diagram →

Adelic Hydraulic Conservation (sum_v log|x|_v = 0): Clearing p1..pk forces Archimedean Height UP p-adic Pistons (Selmer twists, 2 primes) p1 p2 HeightLe.nonneg: 45.0% denominators cleared Archimedean Column (Infinity Place) Theorem C Floor: h_main - 3L (88.3%) KatoTwoW critical point sits at s = 1 (not 1/2), so L(f, 1) != 0 holds automatically
Selmer Places2
Cleared45.0%
Floor Margin88.3%

Swipe horizontally to view the full diagram →

Adelic Hydraulic Conservation (sum_v log|x|_v = 0): Clearing p1..pk forces Archimedean Height UP p-adic Pistons (Selmer twists, 4 primes) p1 p2 p3 p4 HeightLe.nonneg: 83.4% denominators cleared Archimedean Column (Infinity Place) Theorem C Floor: h_main - 3L (95.6%) KatoTwoW critical point sits at s = 1 (not 1/2), so L(f, 1) != 0 holds automatically
Selmer Places4
Cleared83.4%
Floor Margin95.6%

Swipe horizontally to view the full diagram →

Adelic Hydraulic Conservation (sum_v log|x|_v = 0): Clearing p1..pk forces Archimedean Height UP p-adic Pistons (Selmer twists, 6 primes) p1 p2 p3 p4 p5 p6 HeightLe.nonneg: 95.0% denominators cleared Archimedean Column (Infinity Place) Theorem C Floor: h_main - 3L (97.3%) KatoTwoW critical point sits at s = 1 (not 1/2), so L(f, 1) != 0 holds automatically
Selmer Places6
Cleared95.0%
Floor Margin97.3%

Swipe horizontally to view the full diagram →

Adelic Hydraulic Conservation (sum_v log|x|_v = 0): Clearing p1..pk forces Archimedean Height UP p-adic Pistons (Selmer twists, 8 primes) p1 p2 p3 p4 p5 p6 p7 p8 HeightLe.nonneg: 98.5% denominators cleared Archimedean Column (Infinity Place) Theorem C Floor: h_main - 3L (98.0%) KatoTwoW critical point sits at s = 1 (not 1/2), so L(f, 1) != 0 holds automatically
Selmer Places8
Cleared98.5%
Floor Margin98.0%

Lab 5: Adelic p-adic Pistons & Selmer Places (Theorem C)

Try this: step from 2 to 8 auxiliary Selmer primes — clearing p-adic denominators forces the archimedean mass upward.

Custom parameters

Scene 6 / 8

6. The Climax: star_inequality Cancellation[8][13][14][15]

The vice snaps shut: the colossal shared tower height h_main cancels identically from upper and lower jaws, leaving rem trapped below x^(-1/2 + 8*eps).

Linear algebra squeezes Theorem C's floor against Theorems A+B's ceiling. The identical huge term h_main cancels cleanly on both sides, trapping m*rem <= (log b)^2 * budget and forcing rem <= x^(8*eps - 1/2).

No-Corner-Cut CheckExact cancellation, zero approximations: rowDim d > 0 lets linear algebra divide out the shared Arakelov baseline D.mainHeight identically, turning covolume <= floor contradiction into primeError <= x^(8*eps - 1/2).

weightedRemainder_le_of_covolume_bounds + star_inequality divide by rowDim d > 0 to cancel D.mainHeight, invoke le_of_hasLogBound at scale x1, and deliver eventually_primeError_le_rpow.

Tau Ceti confirmed weightedRemainder_le_of_covolume_bounds is finite-dimensional linear algebra: the miracle lies in aligning the main height h_main between arithmetic geometry (C) and automorphic periods (A+B).

Beat 1: Notice both bounds sit below the dashed h_main baseline and share the shaded h_main core.
Beat 2: Subtract h_main — only 3L + err vs m*rem survives, tightening as log x grows.
Beat 3: Pull out any stone in the Counterfactual Arch below to watch which lemma collapses first.
New/Reduction/MainInequality.lean · Main.lean (300k)Lean 4
lemma star_inequality {P} {D : Data P} :
  D.m * D.remainder <= D.logB ^ 2 * D.budget
lemma eventually_primeError_le_rpow :
  forall_evt x, primeError <= x ^ (8 * eps - 1 / 2)

Swipe horizontally to view the full diagram →

Dynamic Squeeze: h_main - 3L <= (V + 2*delta)/d <= h_main - m*rem + err h_main baseline (cancels on both sides) h_main - 3L Theorem C (V + 2*delta)/d Middle Ratio h_main - m*rem + err Theorems A + B gap = 0.080 | log x = 4000.0 | m*rem <= (log b)^2*budget => rem <= x^(-0.460)
log x4000
Squeeze Gap0.080
Exponent-0.460

Swipe horizontally to view the full diagram →

Dynamic Squeeze: h_main - 3L <= (V + 2*delta)/d <= h_main - m*rem + err h_main baseline (cancels on both sides) h_main - 3L Theorem C (V + 2*delta)/d Middle Ratio h_main - m*rem + err Theorems A + B gap = 0.110 | log x = 4000.0 | m*rem <= (log b)^2*budget => rem <= x^(-0.436)
log x4000
Squeeze Gap0.110
Exponent-0.436

Swipe horizontally to view the full diagram →

Dynamic Squeeze: h_main - 3L <= (V + 2*delta)/d <= h_main - m*rem + err h_main baseline (cancels on both sides) h_main - 3L Theorem C (V + 2*delta)/d Middle Ratio h_main - m*rem + err Theorems A + B gap = 0.076 | log x = 10000.0 | m*rem <= (log b)^2*budget => rem <= x^(-0.460)
log x10000
Squeeze Gap0.076
Exponent-0.460

Swipe horizontally to view the full diagram →

Dynamic Squeeze: h_main - 3L <= (V + 2*delta)/d <= h_main - m*rem + err h_main baseline (cancels on both sides) h_main - 3L Theorem C (V + 2*delta)/d Middle Ratio h_main - m*rem + err Theorems A + B gap = 0.045 | log x = 50000.0 | m*rem <= (log b)^2*budget => rem <= x^(-0.484)
log x50000
Squeeze Gap0.045
Exponent-0.484

Swipe horizontally to view the full diagram →

Dynamic Squeeze: h_main - 3L <= (V + 2*delta)/d <= h_main - m*rem + err h_main baseline (cancels on both sides) h_main - 3L Theorem C (V + 2*delta)/d Middle Ratio h_main - m*rem + err Theorems A + B gap = 0.037 | log x = 100000.0 | m*rem <= (log b)^2*budget => rem <= x^(-0.492)
log x100000
Squeeze Gap0.037
Exponent-0.492
COLLAPSE: NData.locs_mem dropped -> quadratic error m^2*B_0 blows up to x^(2/3) h_main h_main - 3L (V + 2*delta)/d OVERSHOOT! Landau fails: x^(0.667) > x^(0.500), zero exclusion breaks
COLLAPSE: HeightLe.nonneg dropped -> Theorem C lower floor plunges to -infinity h_main -infinity! (V + 2*delta)/d h_main - m*rem No lower clamp against Theorems A+B: h_main cannot cancel
COLLAPSE: isSpread dropped -> Petersson ceiling overshoots h_main h_main h_main - 3L (V + 2*delta)/d OVERSHOOT! Upper ceiling exceeds baseline: remainder rem goes unbounded

Lab 6: Dynamic Scale x & Epsilon Squeezer

Try this: adjust log x and eps below, or drop a load-bearing stone from the arch to see which half of the squeeze breaks.

Custom parameters

Pull Out One Stone (Counterfactual Kill-Switch)

All stones load-bearing: h_main cancels cleanly, trapping rem <= x^(8*eps - 1/2).

COLLAPSE: compounding hits m^2*B_0, stalling error at x^(2/3). Landau cannot fire.

COLLAPSE: Theorem C floor drops to -infinity; the h_main squeeze loses its lower clamp.

COLLAPSE: without Petersson spreading, Theorems A+B overshoot h_main and fail to trap rem.

Scene 7 / 8

7. Lineage: 17.4M Original vs. 300k vs. 76k Compact[1][2][9][10][13][18][19][20]

Act III steps back from the blackboard: with 17.4 million lines generated by AI, how did the community strip away 95% of the bloat without losing the theorem?

Not all repos are the same proof! David Loeffler estimates 1/2-3/4 of Alpoge's 17.4M original builds missing standard literature (Hironaka, Grothendieck-Messing) plus 31,808 duplicates. Luke Sernau's 300k genuinely simplifies the math; 76k aggressively compresses symbols.

No-Corner-Cut CheckAll three editions import the identical Mathlib predicates in Statements.lean (RiemannZetaZerosOnLine, DirichletLNonvanishingRightOfHalf); the line-count drop reflects literature deduplication and Poisson simplification, never theorem weakening.

300k (lsernau/grh-lean) replaces weak Vandiver and sieve arguments with Poisson summation; 76k (grh-compact) folds modules to 112k LOC; <55k strips whitespace and comments.

Loeffler & Brasca warning on Zulip: 76k aliases Colmez B_max as Bcris and 300k's IsCrystalline means B_max-admissible. Ignore 76k for human math study and read grh-lean 300k carefully.

Beat 1: Switch between 17.4M, 300k, and 76k below — note how much is standard Mathlib background.
Beat 2: Distinguish real mathematical simplification (300k Poisson rewrite) from symbol folding (76k).
Beat 3: Inspect the semantic caveat badge so you never confuse B_max with Bcris.
3-Way Forensic Graph Audit (alpoge / grh / compact)Lean 4
-- 17.4M (60,630 files, 31,808 dup groups)
-- 300k grh-lean (803 files, 477k LOC, Poisson)
-- 76k grh-compact (794 files, 112k LOC, compact)

Swipe horizontally to view the full diagram →

Composition of the 3 Editions (Loeffler / Sernau / Brasca) — select edition below Alpoge 17.4M (60k) 62% std lit 12% core grh-lean 300k 68% std lit 29% core grh-compact 76k 58% std lit 37% core grh-lean 300k: 803 files · 477124 LOC Primary mathematical anchor: drops weak Vandiver and sieve complexity (uses Poisson summation) with clean definitions.
Editiongrh-lean 300k
Std Lit %68%
Dup %3%
grh-lean 300k477124 LOC

Primary mathematical anchor: drops weak Vandiver and sieve complexity (uses Poisson summation) with clean definitions.

Swipe horizontally to view the full diagram →

Composition of the 3 Editions (Loeffler / Sernau / Brasca) — select edition below Alpoge 17.4M (60k) 62% std lit 12% core grh-lean 300k 68% std lit 29% core grh-compact 76k 58% std lit 37% core Alpoge 17.4M (60k): 60630 files · 16766490 LOC 1/2-3/4 formalizes missing standard literature (Hironaka, Grothendieck-Messing) plus 31,808 duplicate groups.
EditionAlpoge 17.4M (60k)
Std Lit %62%
Dup %26%
Alpoge 17.4M (60k)16766490 LOC [1]

1/2-3/4 formalizes missing standard literature (Hironaka, Grothendieck-Messing) plus 31,808 duplicate groups.

Swipe horizontally to view the full diagram →

Composition of the 3 Editions (Loeffler / Sernau / Brasca) — select edition below Alpoge 17.4M (60k) 62% std lit 12% core grh-lean 300k 68% std lit 29% core grh-compact 76k 58% std lit 37% core grh-lean 300k: 803 files · 477124 LOC Primary mathematical anchor: drops weak Vandiver and sieve complexity (uses Poisson summation) with clean definitions.
Editiongrh-lean 300k
Std Lit %68%
Dup %3%
grh-lean 300k477124 LOC [19]

Primary mathematical anchor: drops weak Vandiver and sieve complexity (uses Poisson summation) with clean definitions.

Swipe horizontally to view the full diagram →

Composition of the 3 Editions (Loeffler / Sernau / Brasca) — select edition below Alpoge 17.4M (60k) 62% std lit 12% core grh-lean 300k 68% std lit 29% core grh-compact 76k 58% std lit 37% core grh-compact 76k: 794 files · 112827 LOC Compressed edition: Zulip reviewers warn it aliases Colmez B_max as Bcris; read grh-lean 300k for semantic fidelity.
Editiongrh-compact 76k
Std Lit %58%
Dup %5%
grh-compact 76k112827 LOC [20]

Compressed edition: Zulip reviewers warn it aliases Colmez B_max as Bcris; read grh-lean 300k for semantic fidelity.

Lab 7: 3-Edition Lineage & Semantic Caveat Switcher

Try this: compare the 17.4M original, 300k rewrite, and 76k compact artifact — note where mathematical structure changed vs symbol compression.

Direct source comparison: 17.4M original [1] · 300k grh-lean [19] · 76k grh-compact [20]

Scene 8 / 8

8. The Trust Chain: Robin1984, Schoenfeld & Multi-Kernel[2][3][11][12][13][16][17][18]

Final audit: could an AI have hacked the Lean kernel or bent a subtle definition? Independent checkers and Robin's 5040 integer cliff close every loophole.

Did AI 'hack the statement'? Independent kernels (con-leche, con-ron --compare) re-checked byte-identical .olean proofs. Better still, Robin1984 proves RH equivalent to an elementary integer inequality, confirming Classical.choice adds no suspect power.

No-Corner-Cut CheckRobin1984 and schoenfeld-rh-lean pin the exact Mathlib commit (56a00585) as grh-lean, anchoring RiemannHypothesis to elementary integer arithmetic and settled kernel checking while human mathematical peer review continues.

Statements.lean derives Mathlib's RiemannHypothesis from [propext, Classical.choice, Quot.sound] with zero sorry placeholders; schoenfeld-rh-lean bridges explicit prime bounds and Robin1984 bridges sigma(n) < e^gamma n log log n on identical Mathlib 56a00585.

Ishaan Dixit ran an independent 94-core check (401m, 175k modules); Chow/de Jong noted RH is Pi^0_1 so ZFC is conservative over IZF. Note: do NOT confuse Alpoge with Alessandro Masullo's flawed Nov 20 manuscript.

Beat 1: Click any dominator node #1-#4 to inspect the single-cut bottlenecks of grh-lean 300k.
Beat 2: Switch to Robin's 5040 Cliff to see RH translated into pure integer arithmetic (n > 5040).
Beat 3: Separate settled kernel validity (verified Lean terms) from open human alignment work (Tau Ceti / Polymath).
Main.lean · Statements.lean · Robin1984 · SchoenfeldLean 4
theorem riemannHypothesis : RiemannHypothesis :=
  New.zeta_zeros_on_line New.grh
#print axioms riemannHypothesis
  -- [propext, Classical.choice, Quot.sound]

Swipe horizontally to view the full diagram →

End-to-End Trust Chain — grh-lean 300k (803 files, 54 hops) 1. Dominator #1 (99.88%) 2. Main.lean New.zeta_zeros_on_line 3. Statements RiemannHypothesis 4. Equivalences Robin1984 & Schoenfeld Active Dominator: New.Main Lean v4.35.0 · Mathlib 56a00585 · Reflexive : SolutionName (Type) Axioms: [propext, Classical.choice, Quot.sound] · Pi^0_1 Robin1984 · Checkers: con-leche, con-ron
Editiongrh-lean 300k
Robin Cliffn > 5040
Axioms / sorry3 std / 0
New.Main99.88% (802 nodes)

Combines the one-sided bound with the functional equation for RH and GRH.

Swipe horizontally to view the full diagram →

End-to-End Trust Chain — grh-lean 300k (803 files, 54 hops) 1. Dominator #1 (99.88%) 2. Main.lean New.zeta_zeros_on_line 3. Statements RiemannHypothesis 4. Equivalences Robin1984 & Schoenfeld Active Dominator: New.Main Lean v4.35.0 · Mathlib 56a00585 · Reflexive : SolutionName (Type) Axioms: [propext, Classical.choice, Quot.sound] · Pi^0_1 Robin1984 · Checkers: con-leche, con-ron
Editiongrh-lean 300k
Robin Cliffn > 5040
Axioms / sorry3 std / 0
New.Main99.88% (802 nodes)

Combines the one-sided bound with the functional equation for RH and GRH.

Swipe horizontally to view the full diagram →

End-to-End Trust Chain — grh-lean 300k (803 files, 54 hops) 1. Dominator #2 (99.75%) 2. Main.lean New.zeta_zeros_on_line 3. Statements RiemannHypothesis 4. Equivalences Robin1984 & Schoenfeld Active Dominator: New.Reduction.OneSidedBound Lean v4.35.0 · Mathlib 56a00585 · Reflexive : SolutionName (Type) Axioms: [propext, Classical.choice, Quot.sound] · Pi^0_1 Robin1984 · Checkers: con-leche, con-ron
Editiongrh-lean 300k
Robin Cliffn > 5040
Axioms / sorry3 std / 0
New.Reduction.OneSidedBound99.75% (801 nodes)

Turns star_inequality and x1 PNT window into R_{q0}(x) <= x^(-1/2 + 8eps).

Swipe horizontally to view the full diagram →

End-to-End Trust Chain — grh-lean 300k (803 files, 54 hops) 1. Dominator #3 (75.47%) 2. Main.lean New.zeta_zeros_on_line 3. Statements RiemannHypothesis 4. Equivalences Robin1984 & Schoenfeld Active Dominator: New.Reduction.MainInequality Lean v4.35.0 · Mathlib 56a00585 · Reflexive : SolutionName (Type) Axioms: [propext, Classical.choice, Quot.sound] · Pi^0_1 Robin1984 · Checkers: con-leche, con-ron
Editiongrh-lean 300k
Robin Cliffn > 5040
Axioms / sorry3 std / 0
New.Reduction.MainInequality75.47% (606 nodes)

Hosts star_inequality where h_main cancels between upper and lower bounds.

Swipe horizontally to view the full diagram →

End-to-End Trust Chain — grh-lean 300k (803 files, 54 hops) 1. Dominator #4 (28.39%) 2. Main.lean New.zeta_zeros_on_line 3. Statements RiemannHypothesis 4. Equivalences Robin1984 & Schoenfeld Active Dominator: New.Determinant.Twist.LongForms Lean v4.35.0 · Mathlib 56a00585 · Reflexive : SolutionName (Type) Axioms: [propext, Classical.choice, Quot.sound] · Pi^0_1 Robin1984 · Checkers: con-leche, con-ron
Editiongrh-lean 300k
Robin Cliffn > 5040
Axioms / sorry3 std / 0
New.Determinant.Twist.LongForms28.39% (228 nodes)

Theorem C: lower bound via Selmer twists and product-formula height >= 0.

Robin1984 Elementary Pi^0_1 Cliff: n = 5040 is the LAST integer exceeding e^gamma = 1.7811 e^gamma = 1.78107 120 360 2520 5040 5040 (1.7910) 55k 720k 1441k This entire 300k-line automorphic edifice certifies that NO integer > 5040 crosses that orange horizon

Lab 8: Dominators (grh-lean 300k) & Robin1984 5040 Explorer

Try this: inspect the 4 dominator bottlenecks, then switch to Robin's 5040 Cliff to see RH anchored in integer arithmetic.

Skeptic's Corner & Real Lean Zulip Questions

Source-linked answers to the seven recurring questions raised across #658556-Riemann-Hypothesis and #Tau Ceti.

Scale & Literature Are all 17.4 million lines brand-new mathematics?

No. David Loeffler estimates 1/2 to 3/4 of the original repository formalizes standard 1950s-present mathematics absent from Mathlib (Hironaka resolution of singularities, arithmetic Hilbert-Samuel, Moriwaki, Kawamata-Viehweg/Nadel vanishing, Grothendieck-Messing, local Langlands), plus ~31,808 AI duplicate theorem groups.[1][13][18]

Proof Editions 17.4M original vs. 300k grh-lean vs. 76k grh-compact — are they the same proof?

No. lsernau/grh-lean (300k) changes parts of the mathematics: it removes weak Vandiver, simplifies integrality, and swaps the sieve step for Poisson summation. By contrast, grh-compact (76k) compresses symbols aggressively (aliasing Colmez B_max as Bcris), so Zulip experts recommend ignoring 76k for mathematical reading.[1][10][13][19][20]

Kernel Soundness Could AI have hacked the Lean kernel, hidden a sorry, or proved a trivial statement?

Multiple independent proof checkers (comparator, con-leche, con-ron --compare) verified exported proof terms with zero sorry placeholders and byte-identical .olean hashes on 94-core runs. External projects (Robin1984 and schoenfeld-rh-lean) also connect Mathlib's RiemannHypothesis directly to classical explicit bounds on identical Mathlib 56a00585.[2][3][11][12][16][21][22]

Axioms & Pi^0_1 Does using Classical.choice or Lean universes weaken the theorem?

Even stating RH in Mathlib uses Classical.choice (via fderivWithin). More deeply, Robin1984 confirms RH is logically Pi^0_1 (for all n > 5040, sigma(n) < e^gamma n log log n). By Shoenfield absoluteness and double-negation translation, ZFC is conservative over constructive IZF for Pi^0_1 statements.[3][12][13]

Exponent sqrt(x) Why does the error balance at sqrt(x) instead of blowing up to x^(2/3)?

Charging each lift j for every composite below it gives sum j*B_0 ~ m^2*B_0 against x/m, balancing at x^(2/3). Using disjoint per-lift local blocks (NData.locs_mem, DefFam.L) keeps the second term linear (m*B_0), so x/m + m optimizes cleanly at m ~ sqrt(x).[13][14][19]

Analytic Questions Why modulus 18480*q, why no Siegel zeros, and how does KatoTwoW skip an L-value check?

GRH only requires fixed-moduli log-power savings, so Siegel zeros never enter (Alastair Irving). Passing from q to 18480*q + quadratic twists closes the one-sided Landau bound. On KatoTwoW, David Loeffler explains the critical point sits at s = 1 rather than central s = 1/2, so L(f, 1) != 0 holds automatically.[4][7][13][15]

Disambiguation Is this the same as Alessandro Masullo's GRH announcement from November 20?

No! They are completely separate. Zulip reviewers (twinheterodox et al.) flagged substantial mathematical flaws in Masullo's manuscript (section 12.5.1.1 and dozens of errata), whereas Alpoge's proof and lsernau/grh-lean compiled end-to-end in Lean 4 with zero sorry.[1][13][16]

Continue the Investigation: Chapter II

Inspect our independent 3-way graph forensics (60k vs 300k vs 76k), the SolutionName finding, and the 6 hygiene observations.

Chapter II · Forensic Audit →

Primary Sources, Exact Lean 4 Code & Zulip Threads

Numbered primary bibliography explaining what each source establishes and how it anchors this walkthrough.

  1. Establishes the primary author note, proof architecture overview, and links to the original 60k-file artifact used as baseline in Scene 7 and FAQ.

  2. Proves the top-level theorems riemannHypothesis and LFunction_ne_zero_of_half_lt_re directly from New.grh with 0 sorry.

  3. Imports only Mathlib to state RiemannZetaZerosOnLine and DirichletLNonvanishingRightOfHalf, ruling out custom or vacuous statement definitions.

  4. Directly motivates Scene 1 and Lab 1: reduces GRH at arbitrary modulus q to N0 = 18480*q and applies Landau's one-sided oscillation ceiling.

  5. Backs Scene 2 and Lab 2: fixes the exact tower inequalities (log b)^100 <= x, x^(10^6) <= x1, x1^(10^6) <= b verified in our scale ladder.

  6. Powers Scene 4 and Lab 4: combines short spanning vectors (Theorem A) with Petersson second-moment spreading (Theorem B) for the upper bound.

  7. Underpins Scene 5's Adelic Hydraulic Tank: auxiliary Selmer twists clear p-adic denominators so the product formula enforces a lower height floor.

  8. Anchor of Scene 6: squeezes Theorem C against Theorems A+B so h_main cancels cleanly and traps m*rem inside logarithmic error.

  9. Cited in Scene 7 and our TCB audit: identifies the exact Type-valued reflexive W-type inductive used in the etale-cohomology envelope.

  10. Evidence for the Scene 7 semantic caveat: documents where grh-compact defines Bcris while its docstring refers to Colmez B_max.

  11. Used in Scene 8: compiles against identical Mathlib commit 56a00585 and equates RH to Schoenfeld's explicit prime-counting inequality.

  12. Powers Scene 8's Robin 5040 Cliff chart and Pi^0_1 defense: translates RH into an elementary inequality over integers n > 5040.

  13. Primary mathematical commentary source for Scenes 1-8 and all 7 Skeptic FAQs: fixed-moduli Siegel remark, KatoTwoW at s=1, B_max note, and Masullo warning.

  14. Used in Scenes 3, 4, 5, and 8: explains how NData.locs_mem prevents x^(2/3) compounding and logs the 401-minute independent replay.

  15. Used in Scenes 1, 3, 6: maps Lean modules back into classical analytic number theory notation for Landau's criterion and star_inequality.

  16. Grounds Scene 8 and FAQ #3: provides independent multi-checker evidence (comparator, con-leche, con-ron) confirming 0 sorry across editions.

  17. Reference cross-check for Scene 8's dominator cones and import DAG navigation across modules.

  18. Tracks community refactoring of the Lean proof, clean Statements.lean / Main.lean entrypoints, and ongoing human alignment.

  19. Primary codebase target of all 8 scenes: drops weak Vandiver and replaces the sieve step with Poisson summation while keeping proofs modular.

  20. Used in Scene 7 and FAQ #2 to contrast real mathematical simplification (300k) against aggressive module compression (76k).

  21. Cited in the Chapter II forensic audit boundary to clarify what full CIC beta-delta-iota-zeta reduction checking verifies beyond structural .olean inspection.

  22. Cited in the Chapter II forensic audit alongside nanoda_lib as the independent kernel re-checker reference for Lean 4 export streams.

By Gary Gitton — Scientific Director, Morgan LabsCanonical monograph · www.garygitton.fr/riemann