Skip to content

Stage 01 — The Theorem and Its Reduction ​

Stage 01 is the architectural bridge between the formal statement contracts of Stage 00 and the deep automorphic, p-adic, and Galois-theoretic engines of Stages 02–07. It proves in full how a single upper bound on a smoothed prime-counting remainder implies the Generalized Riemann Hypothesis and the Riemann Hypothesis, and how that upper bound itself follows once a balanced cancellation inequality traps the prime remainder between an upper bound on lifted vectors and an arithmetic lower bound on their determinant.

Level 1 · First-Principles

Level 1 — First-Principles ​

Finding every zero of a function across an entire two-dimensional plane looks hopeless if you try to hunt them one point at a time. Stage 01 trades that hunt for a much sharper target: controlling how far the distribution of whole numbers greater than 1 with no smaller positive divisorsprime number can surge above its expected average.

The bridge runs in four linked steps, reading from the final headline theorems back down to the core inequality:

  1. Mirror reflection to the right half-plane: Across the two-dimensional grid of points s=σ+it combining a real horizontal coordinate and an imaginary vertical coordinatecomplex plane, each periodic multiplicative weight χ modulo NDirichlet character defines a global function L(χ,s) built by extending ∑n=1∞χ(n)n−sDirichlet L-function, with modulus N=1 giving the global function ζ(s)Riemann zeta function. As Stage 00 establishes, ruling out zeros anywhere strictly to the right of the central vertical line Re(s)=1/2critical line automatically forces every zero inside the open vertical band 0<Re(s)<1critical strip onto the critical line by functional-equation symmetry.
  2. One-sided prime bound to zero-free half-plane: Rather than bounding prime fluctuations from both sides, Stage 01 uses a classical analytic principle turning a one-sided ceiling on a weighted prime error into a zero-free vertical stripLandau's lemma. Specifically, Stage 01 weighs prime powers by the logarithmic weight Λ(n) equal to log⁡p on prime powers pk and 0 elsewherevon Mangoldt function multiplied by a sign-flipping factor (1−(n/d)) built from quadratic residues modulo an auxiliary prime dquadratic twist that keeps every weight nonnegative. If the resulting smoothed prime remainder Rq0(y) stays bounded above by a constant times y−1/2+ε for all large y and every prime d in a chosen residue class, then no Dirichlet L-function modulo q0 vanishes with Re(s)>1/2+ε.
  3. Two-cutoff reduction from the main inequality: The core engine does not isolate Rq0(x) directly; it bounds a combination pairing Rq0(x) at a primary cutoff x against remainders at a vastly larger second cutoff x1 (with x106≤x1 and x1106≤b). Because x1 is so huge relative to x, the classical Prime Number Theorem crushes the x1 remainders far below x−2, leaving only the target ceiling on Rq0(x) with a saving of 1/m≈x−1/2 from running a chain of m≈x lifts.
  4. The three-way cancellation balance: Inside the main inequality, Stage 01 builds a vector space equipped with an ordinary inner product for sizes alongside prime-by-prime integrality rules across a family of character twiststwisted lattice. A family of n lifted target vectors has a combined squared volume measured by its squared parallelotope volume computed as the determinant of pairwise inner productsGram determinant, corrected by an index tracking the denominators needed to make those vectors integral. Three theorems then collide:
    • Theorem A (Shortness & Small Index): A spanning set of integral source forms maps into lifted target vectors whose ordinary lengths shrink whenever the prime remainder Rq0(x) is large, while their denominator index stays small.
    • Theorem B (Enough Translates): A small collection of group translates of those source forms spans almost the entire target space, supplying n≥(1−4/b2)dim linearly independent short vectors.
    • Theorem C (Longness): Powered by the global balance law stating that a nonzero algebraic number cannot simultaneously be tiny in ordinary size and divisible by huge prime powersarithmetic height, any spanning integral family has combined volume plus twice its index at least a large baseline called the main amount.

When Theorems A and B supply the upper ceiling and Theorem C supplies the lower floor on the same volume-plus-index quantity, the huge main amount cancels identically from both sides. What remains is an upper bound on m times the total prime remainder.

Balance of the main inequality showing Theorems A and B bounding covolume plus twice the index from above while Theorem C bounds it from below so the main amount cancels

What Stage 01 proves in full versus what Stages 02–07 supply: Stage 01 proves the entire reduction shell end to end — the twisted lattice height and product formula, the assembly of Theorems A and B from their automorphic inputs, the cancellation in the main inequality, the two-cutoff passage via the Prime Number Theorem to the one-sided bound, the quadratic-twist zero-free half-plane criterion, and the final reflection to the critical line. Four deeper engines are taken here as typed black-box inputs and unpacked in later stages:

  • Stage 02 (02_derivatives): Taylor-coefficient ("jet") p-adic divisibility and integral vacuum bounds for theta functions on cyclotomic CM fields.
  • Stage 03 (03_upper_bound): Prime-by-prime composite-lift divisibility, the iterated seesaw identity, and archimedean size estimates feeding Theorem A.
  • Stage 04 (04_spanning): Second-moment Petersson unfolding and sieve estimates proving that few translates of the Poincaré map spread across almost all of the target space (feeding Theorem B).
  • Stage 05 (05_determinant), Stage 06 (06_one_lift), and Stage 07 (07_congruences): Chain determinant factorization, single-lift volume height ratios, and existence of regular m-fold twist families proving Theorem C (D.integral_forms_long).

Explore Stage 01 across its three landmark essays, or zoom out to the Full Proof Journey & Alpöge's 20-Step Map:

Where this analogy breaks ​

Describing the main inequality as a single balance scale where a large baseline cancels out cleanly captures the exact cancellation structure of New.star_inequality. The picture breaks on uniformity of scales and spaces: the cancellation does not take place on one fixed Euclidean space, nor at a single prime cutoff. The number of lifts m∈[x,2x], the cyclotomic tower degree q1/q0, the Behrend-sparse set of b-places Φb, and the prime level N all grow together as functions of x, while the twisted lattice simultaneously couples complex conjugates across every embedding σ:C≃C with local rings at every prime embedding ι∣ℓ.

Level 2 · Undergrad Bridge

Level 2 — Undergrad Bridge ​

Stage 01 organizes the top-down reduction into six landmark modules inside src/New/Main.lean and src/New/Reduction/, forming a direct chain of implications:

TwistedLattice+Stages 02–07⟹Theorems A, B, C⟹star_inequality⟹Rq0(y)≤Cy−1/2+ε⟹New.grh⟹RH & GRH.

Reading each layer in mathematical detail:

  1. Twisted lattices (New/Reduction/Lattices/TwistedLattice.lean): Given a complex vector space V with linear lifts Θξ:V→Wξ indexed by twists ξ, integral lattices at every prime-place isomorphism ι:C≃Q―ℓ, and a rational inner product on W1, TwistedLattice.covolume_add_index_nonneg proves a Bost–Laurent type height inequality: the untwisted squared Gram covolume plus twice the twist-independent index of a family y is bounded below by completing y to a basis and comparing the resulting determinant against the twisted volume ratio Z(1)/Z(ξι) via the product formula. This single lemma underpins Theorem C (D.integral_forms_long in Stage 05) and supplies Hadamard's upper bound (TwistedLattice.covolumeLe_of_normSqAt_le) for Theorem A.

  2. Theorems A and B (New/Reduction/ShortAndEnough.lean): For admissible data D:Data P (fixing q0 a multiple of 18480, prime d≡q0/2−1(modq0), scales (log⁡b)100≤x, x106≤x1, x1106≤b, m∈[x,2x], a=xb, and f=φ(q0)#Φa infinite places of the CM field E=K(ζq1)):

    • Theorem A combines 03_upper_bound/local_divisibility, 03_upper_bound/seesaw_identity, and 03_upper_bound/archimedean_size with 05_determinant/norm_of_chain to define the normalized Poincaré translates D.normalizedPoincare g (rescaled by the rational inverse gain factor cB=∏ℓ−gℓ) and prove:
      • D.span_short_integralRamified_eq_top: integral ramified source forms whose lifts Θ1(gpφ) satisfy ∥Θ1(gpφ)∥σ2≤exp⁡(mainAmount−m⋅rem+falog4⁡b) for all g∈G¯ and σ∈Aut(C) span the entire ramified source space;
      • D.indexLe_normalizedPoincare: any family selected from t translates has twisted-lattice index at most 2#t⋅dim⁡(source)⋅errorUnit, where errorUnit=falog3⁡b.
    • Theorem B (D.enough_forms) invokes 04_spanning/spanning_theorem to produce a finite subset t⊆G¯ with #t⋅dim⁡(source)≤5dTlog⁡(1+2b2) whose translates span a subspace of dimension at least (1−4/b2)dT in the target space of dimension dT=D.targetDim.
  3. The Main Inequality (New/Reduction/MainInequality.lean):New.star_inequality selects a linearly independent family y1,…,yn of short images from t with (1−4/b2)dT≤n≤dT. Hadamard's inequality gives a covolume bound V=n(mainAmount−m⋅rem+falog4⁡b), Theorem A(b) + Theorem B give an index bound δ=10dTlog⁡(1+2b2)falog3⁡b, and Theorem C (D.integral_forms_long from 05_determinant/long_forms) gives the lower bound:

    dT⋅mainAmount−3dTfalog4⁡b≤V+2δ.

    Dividing by dT, canceling D.mainAmount using mainAmount_nonneg and n≤dT, and using n≥dT/2 yields:

    D.m⋅D.totalRemainder≤D.f⋅D.a⋅D.logB5.
  4. Two-cutoff prime-remainder bound (New/Reduction/OneSidedBound.lean): Expanding D.totalRemainder over the a-places and b-places isolates Rq0(x) up to |Rq0(x1)| and (log⁡b)|R1(x1)| (New.Data.primeRemainder_le). Choosing scales with log⁡b≤2xε, x≤m, and xε/12≤log⁡x1 (New.eventually_exists_data_scales, relying on admissible-data existence and the theta vacuum input 02_derivatives/integral_vacuum), and applying the classical Prime Number Theorem at x1 with exponent B≥24/ε (New.eventually_abs_primeRemainder_exp_le) suppresses both x1 terms below x−2. Passing from integer x to all real y yields New.eventually_primeRemainder_le_mul_rpow:

    Rq0(y)≤(128φ(q0)+32)y−1/2+ε(y→∞).
  5. One-sided criterion and half-plane GRH (New/Reduction/Zeros/Criterion.lean, New/Reduction/OneSidedBound.lean, New/Main.lean): For any χmodq and ρ with Reρ>1/2, New.grh handles ρ=1 by Dirichlet's theorem, induces χ to q0=18480q with d0=9240q−1, applies New.LFunction_ne_zero_of_primeRemainder_le (which uses quadratic-twist zero avoidance to remove twisted poles and Landau's lemma to rule out poles at ρ), and peels off the finite Euler factor by LFunction_changeLevel. Finally, New.zeros_on_line and New.zeta_zeros_on_line in src/New/Main.lean reflect Res>1/2 across s↦1−s to complete all five entry theorems of Stage 00.

Level 3 · Formal Lean Contract

Level 3 — Formal Lean Contract ​

Stage 01 covers 18 upstream files (src/New/Main.lean plus 17 files under src/New/Reduction/), represented in the condensed 41-landmark DAG (dag/dag.json) by 6 extracted landmark skeletons derived from pinned upstream commit 41c2716658c42ba08eb0648994a2efe83082a95c (41c2716658c4, leanprover/lean4:v4.37.0-rc1, Mathlib rev 31ce06eaadf4a200c0e1407c5f10953cf606b8f8):

Skeleton FileUpstream PathDirect Landmark Dependencies (dag/dag.json)Key Declarations
01_reduction/new_main.leansrc/New/Main.lean01_reduction/one_sided_boundNew.zeros_on_line, New.zeta_zeros_on_line
01_reduction/one_sided_bound.leansrc/New/Reduction/OneSidedBound.lean00_statement/statements, 01_reduction/criterion, 01_reduction/main_inequality, 02_derivatives/integral_vacuumNew.Data.primeRemainder_le, New.eventually_primeRemainder_le_mul_rpow, New.grh
01_reduction/criterion.leansrc/New/Reduction/Zeros/Criterion.lean(none — imports src/Lib/ and PrimeError)New.LFunction_ne_zero_of_primeRemainder_le
01_reduction/main_inequality.leansrc/New/Reduction/MainInequality.lean01_reduction/short_and_enough, 05_determinant/long_formsNew.star_inequality
01_reduction/short_and_enough.leansrc/New/Reduction/ShortAndEnough.lean01_reduction/twisted_lattice, 03_upper_bound/{archimedean_size,local_divisibility,seesaw_identity}, 04_spanning/spanning_theorem, 05_determinant/norm_of_chainNew.Data.span_short_integralRamified_eq_top, New.Data.indexLe_normalizedPoincare, New.Data.enough_forms
01_reduction/twisted_lattice.leansrc/New/Reduction/Lattices/TwistedLattice.lean(none — imports src/Lib/ and Lattices/{Colength,Heights})New.TwistedLattice, New.TwistedLattice.IndexLe, New.TwistedLattice.CovolumeLe, New.TwistedLattice.covolume_add_index_nonneg

Typed black-box boundary into Stages 02–07: Every external proof dependency entering Stage 01 in dag/dag.json lands on an explicit landmark node from downstream stages:

  • 02_derivatives/integral_vacuum → 01_reduction/one_sided_bound (via New.Reduction.Data.Existence),
  • 03_upper_bound/local_divisibility, 03_upper_bound/seesaw_identity, 03_upper_bound/archimedean_size → 01_reduction/short_and_enough,
  • 04_spanning/spanning_theorem → 01_reduction/short_and_enough,
  • 05_determinant/norm_of_chain → 01_reduction/short_and_enough and 05_determinant/long_forms (Theorem C, backed by 06_one_lift and 07_congruences) → 01_reduction/main_inequality.

Verification status (audit/verification-status.json): Local Lean compilation and kernel replay remain unverified-locally at pinned commit 41c2716658c42ba08eb0648994a2efe83082a95c (41c2716658c4). Static token scanning in this repository currently has scan_scope: entry, covering only the three Stage 00 entry files (Challenge.lean, src/Main.lean, src/Statements.lean), where it records 0 forbidden tokens in solution files and 5 expected sorry tokens in Challenge.lean. Stage 01 proof files under src/New/Main.lean and src/New/Reduction/ have not been locally compiled, kernel-checked, or statically scanned here; every theorem signature and proof outline above reflects direct source inspection of the pinned upstream files.

The Theorem and Its Reduction dependency mini-mapProof graph for stage 01_reduction.Main [landmark]src/New/Main.leanOneSidedBound [landmark]src/New/Reduction/OneSidedBound.leanMainInequality [landmark]src/New/Reduction/MainInequality.leanShortAndEnough [landmark]src/New/Reduction/ShortAndEnough.leanTwistedLattice [landmark]src/New/Reduction/Lattices/TwistedLattice.leanCriterion [landmark]src/New/Reduction/Zeros/Criterion.lean
The Theorem and Its Reduction: solid blue border marks landmark theorem modules; arrows trace Lean import dependencies.
  1. Main (landmark) — src/New/Main.lean (depends on: 01_reduction/one_sided_bound)
  2. OneSidedBound (landmark) — src/New/Reduction/OneSidedBound.lean (depends on: 00_statement/statements, 01_reduction/criterion, 01_reduction/main_inequality, 02_derivatives/integral_vacuum)
  3. MainInequality (landmark) — src/New/Reduction/MainInequality.lean (depends on: 01_reduction/short_and_enough, 05_determinant/long_forms)
  4. ShortAndEnough (landmark) — src/New/Reduction/ShortAndEnough.lean (depends on: 01_reduction/twisted_lattice, 03_upper_bound/archimedean_size, 03_upper_bound/local_divisibility, 03_upper_bound/seesaw_identity, 04_spanning/spanning_theorem, 05_determinant/norm_of_chain)
  5. TwistedLattice (landmark) — src/New/Reduction/Lattices/TwistedLattice.lean (depends on: none)
  6. Criterion (landmark) — src/New/Reduction/Zeros/Criterion.lean (depends on: none)

Page Glossary ​

prime number
A whole number greater than 1 whose only positive whole-number divisors are 1 and itself; every integer above 1 factors uniquely into a product of them.
complex plane
The two-dimensional coordinate plane of numbers s = σ + it, where the horizontal coordinate σ = Re(s) sets decay rate and the vertical coordinate t = Im(s) sets oscillation frequency.
Dirichlet character
A periodic multiplicative label χ : ℤ → ℂ modulo N that equals 0 when gcd(n, N) > 1, takes roots of unity when gcd(n, N) = 1, and satisfies χ(ab) = χ(a)χ(b).
Dirichlet L-function
The meromorphic continuation of ∑ χ(n) n⁻ˢ associated to a Dirichlet character χ, generalizing ζ(s) to track primes across residue classes modulo N.
Riemann zeta function
The meromorphic function ζ(s) extending ∑ n⁻ˢ to all of ℂ ∖ {1}, linking prime numbers via its Euler product to zeros in the complex plane.
critical line
The vertical line Re(s) = 1/2 bisecting the critical strip—the axis of mirror symmetry s ↦ 1 − s where the Riemann Hypothesis asserts all nontrivial zeros lie.
critical strip
The open vertical band 0 < Re(s) < 1 in the complex plane that contains every nontrivial zero of ζ(s) and of every Dirichlet L-function.
Landau's lemma
A complex-analytic theorem stating that the Laplace or Dirichlet transform of a nonnegative function must have a singularity on the real axis at its abscissa of convergence, turning one-sided error bounds into zero-free half-planes.
von Mangoldt function
The arithmetic weight Λ(n) equal to log p when n is a prime power pᵏ (k ≥ 1) and 0 otherwise, converting multiplicative prime factorizations into additive logarithms.
quadratic twist
Multiplying a Dirichlet character χ modulo N by the Legendre symbol (·/d) of an odd prime d coprime to N, yielding a non-principal character modulo N·d whose L-function family admits zero-density control.
twisted lattice
A family of linear lifts from one complex vector space into inner-product spaces—one per twist—equipped with prime-by-prime integrality lattices so each prime can pick its own allowed twist.
Gram determinant
The determinant of the matrix of pairwise inner products of a family of vectors, measuring the squared volume of the parallelotope they span and controlled by Hadamard's and Fischer's inequalities.
arithmetic height
A logarithmic measure combining ordinary archimedean size with prime-by-prime p-adic divisibility, locked together by the product formula so a nonzero algebraic quantity cannot be simultaneously small at every place.