From GRH to Goldbach: the spectral bridge
Verify the 2026 conditional proof GRH + S ⇒ Goldbach, settle its finite parts, and attack the hypothesis that is left

| 1 | # Paper ↔ Lean map |
| 2 | |
| 3 | Pinned Li–Liu development: `subfish-zhou/conditional-goldbach-lean` at commit `c55db645f3b4aed00374fe4aa1fcee2428c88c4b` (2026-11-14). Lean `4.35.0`; Mathlib `56a005855ea17e0b0958f73ec801ae140b0a1679`. |
| 4 | |
| 5 | ## Definitions |
| 6 | |
| 7 | | Concept | Lean name | File | |
| 8 | |---|---|---| |
| 9 | | Weighted Goldbach correlation | `goldbach` | `ConditionalGoldbach/Definitions/Arithmetic.lean` | |
| 10 | | Singular series | `singularSeries` | same | |
| 11 | | Prime-pair count in $[N/3,2N/3]$ | `PrimePairCount` | same | |
| 12 | | Weight | `IsWeight`, `weightMass` | `Definitions/Weights.lean` | |
| 13 | | Strip parameters | `alpha`, `beta` | `Definitions/GeometryCore.lean` | |
| 14 | | Residual operator | `residualOperator` | `Definitions/Operators.lean` | |
| 15 | | Spectral scale / quaternionic function | `spectralScale`, `spectralQuaternion` | `Definitions/Spectral.lean` | |
| 16 | | Eventually on even integers | `EvenEventually`, `EvenAsymptotic` | `Definitions/Asymptotics.lean` | |
| 17 | | Characters | `Character` (`DirichletCharacter ℂ N`) | `Definitions/Characters.lean` | |
| 18 | | GRH(N) | `GRH` | same | |
| 19 | | Zero-free width | `zeroFreeWidth` | `Definitions/Hypotheses.lean` | |
| 20 | | Admissible $h$ | `IsAdmissible` | same | |
| 21 | | Hypothesis H (paper's S) | `HypothesisS` | same | |
| 22 | | Hypothesis R | `HypothesisR` | same | |
| 23 | | Per-$N$ spectral conditions | `SpectralZeroFree`, `SpectralR` | same | |
| 24 | |
| 25 | ## Theorems |
| 26 | |
| 27 | | Paper | Lean | File | |
| 28 | |---|---|---| |
| 29 | | Theorem 1.1 (H) | `theorem_1_1` | `Proofs/Main.lean` | |
| 30 | | Theorem 1.2 (R) | `theorem_1_2` | `Proofs/Main.lean` | |
| 31 | | Uniform error bound | `theorem_7_1_uniform` | `Proofs/Main.lean` | |
| 32 | | Exact quadratic form | `theorem_7_1` | `Proofs/QuadraticIdentity.lean` | |
| 33 | | Spectral dictionary | `theorem_6_1` | `Proofs/DictionaryApplication.lean` | |
| 34 | | R implies H | `theorem_1_2_hypothesisR_implies_S` | `Proofs/SpectralAlgebra.lean` | |
| 35 | | Prime-pair consequence | `primePair_consequence` | `Proofs/PrimePairs.lean` | |
| 36 | | $h=\log N$ is admissible | `isAdmissible_log` | `Proofs/Asymptotics.lean` | |
| 37 | |
| 38 | ## Key signatures |
| 39 | |
| 40 | ```lean |
| 41 | theorem theorem_1_1 (φ : ℝ → ℝ) (hφ : IsWeight φ) : |
| 42 | ∃ C : ℝ, 0 < C ∧ ∀ h : ℕ → ℝ, |
| 43 | EvenEventually GRH → HypothesisS h → |
| 44 | EvenEventually (fun N => |goldbach N φ - weightMass φ * singularSeries N| ≤ |
| 45 | C * singularSeries N / h N) ∧ |
| 46 | EvenAsymptotic (fun N => goldbach N φ) (fun N => weightMass φ * singularSeries N) |
| 47 | |
| 48 | theorem theorem_1_2 (φ : ℝ → ℝ) (hφ : IsWeight φ) |
| 49 | (hGRH : EvenEventually GRH) (hR : HypothesisR) : |
| 50 | ∃ C : ℝ, 0 < C ∧ EvenEventually (fun N => |
| 51 | |goldbach N φ - weightMass φ * singularSeries N| ≤ C * spectralScale N) |
| 52 | |
| 53 | theorem primePair_consequence (φ : ℝ → ℝ) (hφ : IsWeight φ) |
| 54 | (hGRH : EvenEventually GRH) (hSpectral : HypothesisR ∨ ∃ h, HypothesisS h) : |
| 55 | ∃ C : ℝ, 0 < C ∧ EvenEventually (fun N => |
| 56 | C * singularSeries N * N / Real.log N ^ 2 ≤ (PrimePairCount N : ℝ)) |
| 57 | ``` |
| 58 | |
| 59 | ## Reproduce the build |
| 60 | |
| 61 | ```bash |
| 62 | git clone https://github.com/subfish-zhou/conditional-goldbach-lean.git |
| 63 | cd conditional-goldbach-lean/formalization |
| 64 | lake update |
| 65 | lake exe cache get |
| 66 | lake --wfail build |
| 67 | python3 scripts/verify_project.py # needs bubblewrap |
| 68 | ``` |
| 69 | |
| 70 | Axiom check, in the same environment: |
| 71 | |
| 72 | ```lean |
| 73 | #print axioms ConditionalGoldbach.theorem_1_1 |
| 74 | #print axioms ConditionalGoldbach.theorem_1_2 |
| 75 | #print axioms ConditionalGoldbach.primePair_consequence |
| 76 | ``` |
| 77 | |
| 78 | Expected: only `propext`, `Classical.choice`, `Quot.sound`. |
| 79 | |
| 80 | ## The RH development (reference only) |
| 81 | |
| 82 | `leanprover-community/riemann-hypothesis` at `5fa1b3e36e29f3dc4d76bd5a1d892bf4181887e4`. The theorem `LFunction_eq_zero_re_of_isPrimitive` states GRH for primitive Dirichlet characters. This project takes GRH as an assumption; it does not import or certify this development. |
| 83 | |
| 84 | ## Targets in this repository |
| 85 | |
| 86 | - `targets/end-to-end/Challenge.lean` — the wrapper around `primePair_consequence`. |
| 87 | - `targets/h-log/Challenge.lean` — the fixed statement `HypothesisS (fun N => Real.log N)`. |
| 88 | - `targets/grh-interface/README.md` — the GRH assumption interface (no theorem). |
| 89 | - `targets/r-toy/README.md` — a research target, no fixed statement yet. |
| 90 | |
| 91 | The Lean targets are checked manually until a Lean runner image and an approved `checks` entry are added. |