# Paper ↔ Lean map Pinned Li–Liu development: `subfish-zhou/conditional-goldbach-lean` at commit `c55db645f3b4aed00374fe4aa1fcee2428c88c4b` (2026-11-14). Lean `4.35.0`; Mathlib `56a005855ea17e0b0958f73ec801ae140b0a1679`. ## Definitions | Concept | Lean name | File | |---|---|---| | Weighted Goldbach correlation | `goldbach` | `ConditionalGoldbach/Definitions/Arithmetic.lean` | | Singular series | `singularSeries` | same | | Prime-pair count in $[N/3,2N/3]$ | `PrimePairCount` | same | | Weight | `IsWeight`, `weightMass` | `Definitions/Weights.lean` | | Strip parameters | `alpha`, `beta` | `Definitions/GeometryCore.lean` | | Residual operator | `residualOperator` | `Definitions/Operators.lean` | | Spectral scale / quaternionic function | `spectralScale`, `spectralQuaternion` | `Definitions/Spectral.lean` | | Eventually on even integers | `EvenEventually`, `EvenAsymptotic` | `Definitions/Asymptotics.lean` | | Characters | `Character` (`DirichletCharacter ℂ N`) | `Definitions/Characters.lean` | | GRH(N) | `GRH` | same | | Zero-free width | `zeroFreeWidth` | `Definitions/Hypotheses.lean` | | Admissible $h$ | `IsAdmissible` | same | | Hypothesis H (paper's S) | `HypothesisS` | same | | Hypothesis R | `HypothesisR` | same | | Per-$N$ spectral conditions | `SpectralZeroFree`, `SpectralR` | same | ## Theorems | Paper | Lean | File | |---|---|---| | Theorem 1.1 (H) | `theorem_1_1` | `Proofs/Main.lean` | | Theorem 1.2 (R) | `theorem_1_2` | `Proofs/Main.lean` | | Uniform error bound | `theorem_7_1_uniform` | `Proofs/Main.lean` | | Exact quadratic form | `theorem_7_1` | `Proofs/QuadraticIdentity.lean` | | Spectral dictionary | `theorem_6_1` | `Proofs/DictionaryApplication.lean` | | R implies H | `theorem_1_2_hypothesisR_implies_S` | `Proofs/SpectralAlgebra.lean` | | Prime-pair consequence | `primePair_consequence` | `Proofs/PrimePairs.lean` | | $h=\log N$ is admissible | `isAdmissible_log` | `Proofs/Asymptotics.lean` | ## Key signatures ```lean theorem theorem_1_1 (φ : ℝ → ℝ) (hφ : IsWeight φ) : ∃ C : ℝ, 0 < C ∧ ∀ h : ℕ → ℝ, EvenEventually GRH → HypothesisS h → EvenEventually (fun N => |goldbach N φ - weightMass φ * singularSeries N| ≤ C * singularSeries N / h N) ∧ EvenAsymptotic (fun N => goldbach N φ) (fun N => weightMass φ * singularSeries N) theorem theorem_1_2 (φ : ℝ → ℝ) (hφ : IsWeight φ) (hGRH : EvenEventually GRH) (hR : HypothesisR) : ∃ C : ℝ, 0 < C ∧ EvenEventually (fun N => |goldbach N φ - weightMass φ * singularSeries N| ≤ C * spectralScale N) theorem primePair_consequence (φ : ℝ → ℝ) (hφ : IsWeight φ) (hGRH : EvenEventually GRH) (hSpectral : HypothesisR ∨ ∃ h, HypothesisS h) : ∃ C : ℝ, 0 < C ∧ EvenEventually (fun N => C * singularSeries N * N / Real.log N ^ 2 ≤ (PrimePairCount N : ℝ)) ``` ## Reproduce the build ```bash git clone https://github.com/subfish-zhou/conditional-goldbach-lean.git cd conditional-goldbach-lean/formalization lake update lake exe cache get lake --wfail build python3 scripts/verify_project.py # needs bubblewrap ``` Axiom check, in the same environment: ```lean #print axioms ConditionalGoldbach.theorem_1_1 #print axioms ConditionalGoldbach.theorem_1_2 #print axioms ConditionalGoldbach.primePair_consequence ``` Expected: only `propext`, `Classical.choice`, `Quot.sound`. ## The RH development (reference only) `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. ## Targets in this repository - `targets/end-to-end/Challenge.lean` — the wrapper around `primePair_consequence`. - `targets/h-log/Challenge.lean` — the fixed statement `HypothesisS (fun N => Real.log N)`. - `targets/grh-interface/README.md` — the GRH assumption interface (no theorem). - `targets/r-toy/README.md` — a research target, no fixed statement yet. The Lean targets are checked manually until a Lean runner image and an approved `checks` entry are added.