Skip to content

The Five Entry Theorems (Main.lean & Challenge.lean) ​

This landmark page explains the five headline theorems exposed at the top of the proof (src/Main.lean), their frozen counterparts in root Challenge.lean, and why proving zero-freeness strictly to the right of Re(s)=1/2 suffices to pin every nontrivial zero onto Re(s)=1/2. Return to the Stage 00 Overview for the full stage map.

Level 1 · First-Principles

Level 1 — First-Principles ​

Imagine a mirror running vertically down the exact center of a hallway. Suppose you know two facts: every stain in the hallway has a twin reflected across the center mirror, and the entire right half of the hallway is completely clean. Without ever inspecting the left half directly, you know the left half must also be clean—otherwise a stain on the left would cast a reflected stain onto the clean right half. The only place any stain can exist is directly on the center line itself.

That mirror logic drives the five entry theorems in src/Main.lean. Working across the two-dimensional grid of real and imaginary coordinatescomplex plane, the core proof engine is built to establish one master fact first: for every periodic multiplicative weight χ modulo NDirichlet character, its twisted global function L(χ,s)Dirichlet L-function never equals 0 anywhere strictly to the right of the vertical center line Re(s)=1/2critical line (skipping the single pole at s=1 when χ=1). Inside the open vertical band 0<Re(s)<1critical strip, reducing any character to its underlying minimal-period characterprimitive character and reflecting s↦1−s pairs any hypothetical zero in the left half (0<Re(s)<1/2) with a zero in the forbidden right half (1/2<Re(s)<1). Therefore every zero inside the critical strip must sit on the critical line. Specializing to modulus N=1 recovers the global function extending ∑n=1∞n−sRiemann zeta function, ruling out every zero off the center line other than the predictable negative even integers −2,−4,−6,…trivial zero.

In computer-checked proof systemsformal verification, proving five theorems means little unless an independent file locks down what those five names mean. Upstream separates the contract into two files:

  • Root Challenge.lean imports only Statements (which imports only Mathlib), states the five theorems with placeholder sorry proofs, and never touches the submission.
  • src/Main.lean imports New.Main from the proof library and fills in all five proofs.

Comparator is designed to check that every theorem name in Main has the exact same type as in Challenge, without custom axioms or sorry.

Unique smooth extension of zeta(s) past Re(s)=1 with overlapping disks and symmetry reflection across Re(s)=1/2

Where this analogy breaks ​

The mirror-hallway analogy makes reflection look like a self-reflection of a single function L(χ,s). When χ takes non-real complex values, the functional equation does not reflect L(χ,s) to itself—it reflects L(χ,s) to the inverse character's function L(χ−1,1−s), and only after replacing χ with its primitive character χ∗. That is why the master nonvanishing theorem cannot be stated for one character at a time: it must clear the right half-plane for all characters simultaneously so that (χ∗)−1 is covered as well.

Level 2 · Undergrad Bridge

Level 2 — Undergrad Bridge ​

The five theorems in src/Main.lean (lines 8–26, via public import New.Main) form a tight dependency tree rooted at New.grh (src/New/Reduction/OneSidedBound.lean:239-268):

  1. LFunction_ne_zero_of_half_lt_re : DirichletLNonvanishingRightOfHalf Proved directly as New.grh (the endpoint of Stages 01–07, treated as a typed black box in Stage 00). It asserts that for all N≥1, all χmodN, and all s∈C with Re(s)>1/2 and (χ≠1∨s≠1), we have L(χ,s)≠0.

  2. LFunction_eq_zero_re : DirichletLZerosOnLine Proved by New.zeros_on_line New.grh (src/New/Main.lean:32-36). Given 0<Re(s)<1 and L(χ,s)=0, apply trichotomy between Re(s) and 1/2:

    • If Re(s)>1/2: s≠1 (since Re(s)<1), contradicting New.grh immediately.
    • If Re(s)=1/2: done.
    • If Re(s)<1/2: using New.gammaFactor_eq_zero_or_LFunction_one_sub_eq_zero and Complex.Gammaℝ_ne_zero_of_re_pos, the gamma factor cannot vanish for Re(s)>0, so functional-equation reflection across s↦1−s forces L(χ−1,1−s)=0 (passing through the underlying primitive character inside the strip). Since Re(1−s)=1−Re(s)>1/2 and 1−s≠1 (because s≠0), this contradicts New.grh.
  3. LFunction_eq_zero_re_of_isPrimitive : PrimitiveDirichletLZerosOnLine Proved by the one-line lambda fun N _ χ _ ↦ LFunction_eq_zero_re N χ, accepting and ignoring the extra χ.IsPrimitive hypothesis to expose the exact predicate used by the external formal-conjectures equivalence (archived on upstream's alpoge branch pending re-integration).

  4. riemannHypothesis : RiemannHypothesis Proved by New.zeta_zeros_on_line New.grh (src/New/Main.lean:41-44). Given ζ(s)=0, s≠1, and s∉{−2(n+1):n∈N}:

    • Specializing New.grh at modulus N=1 and the trivial character χ=1 at both s and 1−s rules out Re(s)>1/2 directly and rules out Re(1−s)>1/2 (that is, Re(s)<1/2) once reflection is applied.
    • At s=0, riemannZeta_zero gives ζ(0)=−1/2≠0.
    • For s≠0, riemannZeta_def_of_ne_zero, completedRiemannZeta_one_sub, and Complex.Gammaℝ_eq_zero_iff show that the only zeros coming from ΓR(s) poles are the non-positive even integers (excluded by htriv and s≠0), while any other zero with Re(s)<1/2 reflects to a zero of ζ(1−s) with Re(1−s)>1/2, contradicting New.grh. Hence Re(s)=1/2.
  5. riemannZeta_eq_zero_re : RiemannZetaZerosOnLine Proved in one identifier (riemannHypothesis), because RiemannZetaZerosOnLine is definitionally equal to Mathlib's RiemannHypothesis.

Level 3 · Formal Lean Contract

Level 3 — Formal Lean Contract ​

In root comparator.json, Challenge is the frozen challenge module (root Challenge.lean, which declares import Statements at line 1 rather than duplicating the definitions and contains 5 sorry placeholders at lines 8, 11, 14, 17, 20) and Main is the solution module (src/Main.lean:8-26, delegating via public import New.Main to New.zeta_zeros_on_line New.grh, riemannHypothesis, New.grh, New.zeros_on_line New.grh, and fun N _ χ _ ↦ LFunction_eq_zero_re N χ), checked against the three permitted axioms (propext, Quot.sound, Classical.choice) with Lean's kernel and enable_nanoda: true. Note that in the skeleton files below, proof bodies are intentionally replaced by extraction stubs while keeping exact upstream line ranges and SHA-256 digests.

Verification status (audit/verification-status.json): Local Lean build verification is unverified-locally (pinned upstream commit 41c2716658c42ba08eb0648994a2efe83082a95c, short 41c2716658c4; entry static scan reports 0 forbidden tokens in src/Main.lean and 5 expected sorry tokens in root Challenge.lean). See Formal Statement Contracts for the predicate definitions in src/Statements.lean and Independent Statement Equivalence for the archived formal-conjectures Comparator target pending re-integration.

theorem riemannHypothesis — Upstream source (src/Main.lean L8-L9)

lean
/-- **The Riemann Hypothesis**, as stated in Mathlib. -/
theorem riemannHypothesis : RiemannHypothesis := by
  sorry -- [EXTRACTED_STUB upstream=src/Main.lean:8-9 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=1 body_sha256=01d0886b29436a4267de3a000dd8533fdb3cb85a2a0380e4f6bc2ee37caa10b6]

theorem riemannZeta_eq_zero_re — Upstream source (src/Main.lean L11-L12)

lean
/-- Every zero of ζ other than the trivial zeros −2, −4, … (and the point 1) has real part 1/2. -/
theorem riemannZeta_eq_zero_re : RiemannZetaZerosOnLine := by
  sorry -- [EXTRACTED_STUB upstream=src/Main.lean:11-12 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=1 body_sha256=c7d55f018299eab5ea1f4aaf73850a06adcfb51ad7807e7bb9661a43e11f68eb]

theorem LFunction_ne_zero_of_half_lt_re — Upstream source (src/Main.lean L14-L17)

lean
/-- **The Generalized Riemann Hypothesis, half-plane form.** For every Dirichlet character χ,
L(s, χ) ≠ 0 when re s > 1/2, except at s = 1 for the trivial character, where nothing
is stated. -/
theorem LFunction_ne_zero_of_half_lt_re : DirichletLNonvanishingRightOfHalf := by
  sorry -- [EXTRACTED_STUB upstream=src/Main.lean:14-17 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=1 body_sha256=f5e1966eed1f3445a2de8276fb88446e76439283a2a3bd0f13b726118d204c8a]

theorem LFunction_eq_zero_re — Upstream source (src/Main.lean L19-L21)

lean
/-- **The Generalized Riemann Hypothesis.** For every Dirichlet character χ, every zero of L(s, χ)
with 0 < re s < 1 has real part 1/2. -/
theorem LFunction_eq_zero_re : DirichletLZerosOnLine := by
  sorry -- [EXTRACTED_STUB upstream=src/Main.lean:19-21 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=1 body_sha256=7773691b674f0dbae2965ba30653c0763800339b89a38b9566afa1e5f38a6212]

theorem LFunction_eq_zero_re_of_isPrimitive — Upstream source (src/Main.lean L23-L26)

lean
/-- The Generalized Riemann Hypothesis for primitive Dirichlet characters, a special case of
`LFunction_eq_zero_re`. -/
theorem LFunction_eq_zero_re_of_isPrimitive : PrimitiveDirichletLZerosOnLine := by
  sorry -- [EXTRACTED_STUB upstream=src/Main.lean:23-26 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=1 body_sha256=ddf20e0c95001d383f8f18dc5ad738d1111afcee8ce88a2b6be8608f7c9e4b8c]

theorem riemannHypothesis — Upstream source (Challenge.lean L7-L8)

lean
theorem riemannHypothesis : RiemannHypothesis := by
  sorry -- [EXTRACTED_STUB upstream=Challenge.lean:7-8 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=2 body_sha256=9c73f768c6b902af55b2843988f629261dd4578a5cd1d557b1db1ff4ef22ed0b]

theorem riemannZeta_eq_zero_re — Upstream source (Challenge.lean L10-L11)

lean
theorem riemannZeta_eq_zero_re : RiemannZetaZerosOnLine := by
  sorry -- [EXTRACTED_STUB upstream=Challenge.lean:10-11 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=2 body_sha256=9c73f768c6b902af55b2843988f629261dd4578a5cd1d557b1db1ff4ef22ed0b]

theorem LFunction_ne_zero_of_half_lt_re — Upstream source (Challenge.lean L13-L14)

lean
theorem LFunction_ne_zero_of_half_lt_re : DirichletLNonvanishingRightOfHalf := by
  sorry -- [EXTRACTED_STUB upstream=Challenge.lean:13-14 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=2 body_sha256=9c73f768c6b902af55b2843988f629261dd4578a5cd1d557b1db1ff4ef22ed0b]

theorem LFunction_eq_zero_re — Upstream source (Challenge.lean L16-L17)

lean
theorem LFunction_eq_zero_re : DirichletLZerosOnLine := by
  sorry -- [EXTRACTED_STUB upstream=Challenge.lean:16-17 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=2 body_sha256=9c73f768c6b902af55b2843988f629261dd4578a5cd1d557b1db1ff4ef22ed0b]

theorem LFunction_eq_zero_re_of_isPrimitive — Upstream source (Challenge.lean L19-L20)

lean
theorem LFunction_eq_zero_re_of_isPrimitive : PrimitiveDirichletLZerosOnLine := by
  sorry -- [EXTRACTED_STUB upstream=Challenge.lean:19-20 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=2 body_sha256=9c73f768c6b902af55b2843988f629261dd4578a5cd1d557b1db1ff4ef22ed0b]

Page Glossary ​

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.
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.
primitive character
A Dirichlet character modulo q whose pattern does not come from any strictly smaller dividing modulus; its modulus q equals its minimal period (conductor).
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.
trivial zero
A zero at a non-positive integer forced purely by poles of the gamma factor in the functional equation, carrying no hidden information about prime fluctuations.
formal verification
Checking every logical step of a mathematical proof by a small computer kernel against explicit axioms, paired with statement-equivalence checks ensuring the proved theorem matches the intended conjecture.