# Interactive Guide: How Zeta Zeros Build the Primes
> Six-step visual intuition with three live browser experiments: Euler product unpacker, complex ζ(σ+it) critical strip mirror, and prime staircase synthesis from 100 real zeta zeros.
> URL: https://riemann.wiki/guide | Updated: 2026-11-24 | Locale: en

## 01. Gauss’s Question: How Far Off Is the Smooth Prime Estimate?
Primes appear erratic—twin primes like 11 and 13 sit side by side, while 33 consecutive composites separate 1327 and 1361 (a prime gap of 34). Yet their overall density thins predictably: 25% up to 100, 16.8% up to 1,000, and 7.8% up to 1,000,000. Gauss proposed a smooth curve Li(x) that tracks the prime staircase π(x) remarkably closely. Riemann asked: what governs the jagged gap between the smooth curve and the true staircase?

Formula: `π(x) = #{p ≤ x : p prime},   Li(x) = ∫₂ˣ dt / ln(t)`

## 02. Euler’s Machine (1737): One Formula Linking All Integers to Only Primes
Sum 1/n² over every integer (1 + 1/4 + 1/9 + …) and you approach π²/6 ≈ 1.6449. Euler discovered you get the exact same number by multiplying terms built solely from prime numbers: (4/3)·(9/8)·(25/24)…. Expand each prime factor as a geometric series and pick one term from each bracket: unique prime factorization guarantees every integer 1/n² appears once and only once. Every prime is encoded inside ζ.

Formula: `ζ(s) = Σ_{n=1}^∞ n⁻ˢ = Π_{p prime} (1 − p⁻ˢ)⁻¹   (Re(s) > 1)`

## 03. Into the Complex Plane: Analytic Continuation & the Mirror at Re(s) = 1/2
Riemann’s 1851 PhD thesis was on complex functions. In 1859 he extended ζ(s) from real numbers to complex inputs s = σ + it (analytic continuation). Plotting |ζ(σ + it)| creates a landscape over the complex plane, and the spots where height hits exactly zero inside the strip 0 < σ < 1 are the nontrivial zeros. Riemann proved these zeros must appear in mirror pairs across the vertical line σ = 1/2: if one sat at 0.3, another would have to sit at 0.7.

Formula: `ξ(s) = ½ s(s − 1) π⁻ˢ/² Γ(s/2) ζ(s)  ⇒  ξ(s) = ξ(1 − s)`

## 04. The Explicit Formula: Each Zero Generates a Wave; Together They Build the Primes
Just as a high-school polynomial f(x) = (x−1)(x−3)(x−4) is fixed by its roots, ζ(s) can be factored by its zeros—while its other face (Euler’s product) encodes the primes. Bridging both faces gives Riemann’s explicit formula: each zero ρ = σ + iγ contributes an oscillating wave whose frequency is set by γ and whose amplitude grows like x^σ. Add enough zero waves onto the smooth curve and the jagged prime staircase literally grows out of thin air.

Formula: `ψ₀(x) = x − Σ_ρ (x^ρ / ρ) − ln(2π) − ½ ln(1 − x⁻²);   J(x) = Li(x) − Σ_ρ Ei(ρ ln x) − ln 2 + ∫`

## 05. Why 1/2 Matters: Fair Coin Flips and von Koch’s √x Ceiling (1901)
Flip a fair coin N = 10,000 times: heads will stray from 5,000 by roughly ±√N = ±100 (about 1%). In 1901 Helge von Koch proved that the Riemann Hypothesis (every zero has σ = 1/2) is logically equivalent to saying the prime-counting error never grows louder than roughly √x—just like fair random noise. If even one rogue zero sat at σ = 0.8, its wave x⁰·⁸ would hit 1,585 at x = 10,000—16 times louder than √x = 100—forcing massive bursts and droughts of primes.

Formula: `RH  ⟺  |π(x) − Li(x)| = O(√x · ln x)   (von Koch, 1901)`

## 06. From 1948 Function Fields to 2026: Stepanov Multiplicity & √X Theta Lifts
For 167 years, mathematicians proved RH in a simplified cousin world (curves over finite fields, Weil 1948) and verified 10 trillion zeros numerically—yet infinity stayed out of reach. In Stepanov’s elementary proof over function fields, one constructs an auxiliary polynomial that vanishes to high multiplicity via differentiation. Over the ordinary integers, you cannot “differentiate a whole number.” In his Nov 20, 2026 remark, Levent Alpöge writes that Claude’s breakthrough was chaining iterated theta lifts of length √X between totally definite unitary groups so each lift mimics multiplicity in a natively automorphic way.

Formula: `U(X₀) → U(X₁) → ··· → U(X_m),   m ~ √X   (Alpöge remark.pdf, step 8)`

## Timeline (1859–2026)
- **1859** (Bernhard Riemann): 6-page manuscript poses the conjecture — Hand-computes initial zeros on σ = 1/2 and remarks it is "sehr wahrscheinlich" (very likely) that all nontrivial zeros lie there.
- **1896** (Hadamard & de la Vallée Poussin): No zeros on strip edges → Prime Number Theorem — Proving ζ(1 + it) ≠ 0 establishes Gauss’s asymptotic prime density.
- **1900–01** (Hilbert & von Koch): Hilbert Problem #8 and √x error equivalence — Anchors RH as the central open problem of 20th-century mathematics.
- **1914–32** (Hardy & Siegel): Infinitely many zeros on line; Göttingen notes found — Hardy proves infinitely many zeros lie on σ = 1/2 (still not all); Siegel unearths Riemann’s unpublished calculations.
- **1948** (André Weil): RH proved for curves over finite fields — Opens the geometric/Stepanov lineage that directly inspired the 2026 automorphic approach.
- **1972–2004** (Montgomery–Dyson, Conrey, Gourdon): Nuclear spectra, 40% on line, 10 trillion checked — Zero spacings match GUE nuclear levels (1972); Conrey raises critical-line proportion to 2/5 (1989); Gourdon verifies 10¹³ zeros (2004).
- **2026-11** (Levent Alpöge & Claude · Lean Community): 17M-line Lean 4 proof released & kernel-certified — Released Nov 20; jointly certified by Lean FRO & Mathlib Nov 21; independent sandbox builds verified at MIT & Waterloo. Human simplification & Clay review remain open.