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
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
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.leanimports onlyStatements(which imports only Mathlib), states the five theorems with placeholdersorryproofs, and never touches the submission. src/Main.leanimportsNew.Mainfrom 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.
Where this analogy breaks
The mirror-hallway analogy makes reflection look like a self-reflection of a single function
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):
LFunction_ne_zero_of_half_lt_re : DirichletLNonvanishingRightOfHalfProved directly asNew.grh(the endpoint of Stages 01–07, treated as a typed black box in Stage 00). It asserts that for all, all , and all with and , we have . LFunction_eq_zero_re : DirichletLZerosOnLineProved byNew.zeros_on_line New.grh(src/New/Main.lean:32-36). Givenand , apply trichotomy between and : - If
: (since ), contradicting New.grhimmediately. - If
: done. - If
: using New.gammaFactor_eq_zero_or_LFunction_one_sub_eq_zeroandComplex.Gammaℝ_ne_zero_of_re_pos, the gamma factor cannot vanish for, so functional-equation reflection across forces (passing through the underlying primitive character inside the strip). Since and (because ), this contradicts New.grh.
- If
LFunction_eq_zero_re_of_isPrimitive : PrimitiveDirichletLZerosOnLineProved by the one-line lambdafun N _ χ _ ↦ LFunction_eq_zero_re N χ, accepting and ignoring the extraχ.IsPrimitivehypothesis to expose the exact predicate used by the externalformal-conjecturesequivalence (archived on upstream'salpogebranch pending re-integration).riemannHypothesis : RiemannHypothesisProved byNew.zeta_zeros_on_line New.grh(src/New/Main.lean:41-44). Given, , and : - Specializing
New.grhat modulusand the trivial character at both and rules out directly and rules out (that is, ) once reflection is applied. - At
, riemannZeta_zerogives. - For
, riemannZeta_def_of_ne_zero,completedRiemannZeta_one_sub, andComplex.Gammaℝ_eq_zero_iffshow that the only zeros coming frompoles are the non-positive even integers (excluded by htrivand), while any other zero with reflects to a zero of with , contradicting New.grh. Hence.
- Specializing
riemannZeta_eq_zero_re : RiemannZetaZerosOnLineProved in one identifier (riemannHypothesis), becauseRiemannZetaZerosOnLineis definitionally equal to Mathlib'sRiemannHypothesis.
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)
/-- **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)
/-- 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)
/-- **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)
/-- **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)
/-- 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)
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)
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)
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)
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)
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.