goldbach-spectral-bridge
Li and Liu's GRH + S ⇒ Goldbach in Lean, checked against the paper by Comparator: clean it up together, and settle S
| 1 | # Starting points |
| 2 | |
| 3 | What a newcomer, or their agent, can pin before taking a piece: the developments, tools and readings this project builds |
| 4 | on, each with its pin, licence, toolchain, build time and use. Read on 2026-12-01. A pin is a commit, a tag or a |
| 5 | version; a repository that moves is cited at its pin. |
| 6 | |
| 7 | **The licence decides what you may copy.** "none" means link and pin, never copy: cite the file and the commit in your |
| 8 | route's notes, and put none of its files in this repository or in your route. Apache-2.0, MIT and BSD files may be used |
| 9 | under their terms, with their notices. |
| 10 | |
| 11 | "Measured" means run on 2026-12-01 on an Apple arm64 laptop in a scratch virtual environment; other times are the |
| 12 | projects' own. |
| 13 | |
| 14 | ## Lean |
| 15 | |
| 16 | | What | Pin | Licence | Toolchain | Build | For | |
| 17 | |---|---|---|---|---|---| |
| 18 | | The chain (Zhou) <https://github.com/subfish-zhou/conditional-goldbach-lean> | `c55db645` (2026-11-14), unchanged on 2026-12-01 | none: link, do not copy | Lean 4.35.0, Mathlib `56a00585` | 15 min 56 s with the dependency cache on 8 cores (its README) | every Lean piece; `NumericCrossCheck.lean` for `decide +kernel` (C-2); `Definitions/Hypotheses.lean` for S-1, S-4; its audit logs for V-4; the paper's TeX under `outputs/formalization-preparation/` (C-3, C-4, V-5) | |
| 19 | | ¬R, the S criteria, the GRH bridge (Fu) <https://github.com/RaymondVoldemortFu/li-liu-spectral-hypotheses-lean> | `56090686` = tag `hypothesis-r-v1.0.1` (2026-11-26) | none | `Analytic435/` and `WithGRH435/` on 4.35.0 (on Zhou `c55db645` and grh-compact `72fead10`); the root on 4.36.0 | `WithGRH435` needs the grh-compact build (next row); joint export 5.27 GB | V-1, V-2 (`refute_R`, `not_R`, `verification/`), V-3 (`local_GRH` in `WithGRH435/UnconditionalAudit.lean`), S-4 (`prescribed`), S-5 (`some_S_iff`, `some_S_iff_single_scale`), C-5 (`Analytic435/PerronOperators.lean`), V-6 (`paper/R/refutation-of-R.pdf`) | |
| 20 | | GRH, short version (Sernau) <https://github.com/lsernau/grh-lean> | `72fead10` (2026-11-25), its only commit; folders `grh-compact`, `grh`, `grh-compact_show_term`, `grh_show_term` | Apache-2.0 | Lean 4.35.0, Mathlib `56a00585` | grh-compact 87 min from source without network (isitsolved receipt, 2026-11-26); "1–2 hours" on 12 cores and 24 GB (its README) | V-2, V-3; checked by Sutherland (2026-11-27) and Rubinstein (2026-11-26) | |
| 21 | | GRH, community edition <https://github.com/leanprover-community/riemann-hypothesis> | HEAD `92f337f4` (2026-12-01) moves hourly: pin a commit | Apache-2.0 | v4.37.0-rc1, Mathlib `31ce06ea` | large; clone with `--depth 1` (its git history was 1.26 GB on 2026-11-27) | reading (`GUIDE.md`, `src/Statements.lean`); it does not combine with 4.35 directly | |
| 22 | | GRH on Lean 4.36 and a library of accepted Goldbach modules (goldbach.tech) <https://github.com/CGandGameEngineLearner/goldbach-proofs> | e.g. `1f8c552f` (2026-12-01); moves every few minutes | Apache-2.0 | Lean 4.36.0, Mathlib `fc4f59e5` | `lake exe cache get`, then build one module; the whole tree is large (repository 355 MB) | K-1(b) and A-3 (`lean/Conjectures/Goldbach/LiLiuSquareRootExceptionalSet.lean`, `GrhGoldbachExceptionDensity`); A-6, A-7; a 4.36 home for V-3 (`grh_show_term` as `Main`); 6,379 accepted modules indexed at <https://www.goldbach.tech/verified-imports.json> | |
| 23 | | Goldbach classics for the Palomar registry (Hubbard) <https://github.com/sthubbar/goldbach-lean> | `05fe86a4` (2026-11-23) | Apache-2.0 | Lean and Mathlib v4.35.0-rc3 | per entry: `lake exe cache get && lake build && lake comparator --config=…` | K-1 (`entries/bhowmikgrimmelt2026`, `pintz2018`, `estermann1938`, `hardylittlewood1923`, `heathbrown1985`), K-2 (`renyi1948`, `brun1919`, `bordignonstarichkova2024grh`); each entry's `Challenge…lean` and comparator config show the pattern. Its README: "AI wrote the Lean code", "No human expert has reviewed the mathematics" | |
| 24 | | Chen 1 + 2, J. Li–J. Liu 1 + 1.9, Wu 1 + 1.8938 (Zhou) <https://github.com/subfish-zhou/goldbach-lean> | tag `1plus1.9-v1.0.0` = `df1f3b3b`; last commit `9d4c3a40` (2026-10-28) | Apache-2.0 | v4.33.0-rc1 | not measured | K-2(b), A-8: where the sieve stops, with constants, in Lean | |
| 25 | | Ternary Goldbach (Glazer, with GPT-6.2 Astra) <https://github.com/elliotglazer/ternary-goldbach> | `b37fd3e5` (2026-11-24) | Apache-2.0 | 4.33.1; rebuilt on 4.35.0 (2026-11-26) | not measured | K-1(a): a complete explicit circle-method argument in Lean, with GRH imported as a theorem | |
| 26 | | Comparator and second kernels: `lake comparator` (in Lean core since 4.35), <https://github.com/leanprover/comparator>, nanoda <https://github.com/ammkrn/nanoda_lib>, con-leche <https://github.com/leanprover/con-leche>, lean4lean <https://github.com/digama0/lean4lean> | as released | Apache-2.0 | Linux; the comparator needs bubblewrap or landrun, and lean4export | light | V-1, V-2, every `targets/` check | |
| 27 | | Build receipts and a registry: <https://isitsolved.com/lean/receipts> (mirror <https://github.com/isitsolved/lean-receipts>), <https://palomar-registry.org/> (template <https://github.com/PalomarRegistry/PalomarTemplate>) | — | receipts repository NOASSERTION; template Apache-2.0 | — | a receipt took 54–87 min for GRH | an outside build record for V-1, V-4 and the A pieces. A receipt checks the build and the axioms, not that the statements mean what the paper says; Palomar's template asks for a statement audit by a different model, the A pieces' kind of work | |
| 28 | | lean-lsp-mcp <https://github.com/oOo0oOo/lean-lsp-mcp> | latest | MIT | — | light | lets a coding agent read Lean goals and errors | |
| 29 | |
| 30 | ## Numerics |
| 31 | |
| 32 | Exact and interval work for C-1 to C-5, and r(N) for K-1. |
| 33 | |
| 34 | | What | Pin | Licence | Toolchain | Time | For | |
| 35 | |---|---|---|---|---|---| |
| 36 | | python-flint (FLINT and Arb in Python) <https://pypi.org/project/python-flint/> | 0.9.0 (2026-07-03, bundles FLINT 3.6.0) | MIT AND LGPL-3.0-or-later | wheels for macOS arm64 and Linux x86_64, Python ≥ 3.10 | install 9.5 s (measured); ∫₀¹ L(½+it, χ) dt for a character mod 30030 enclosed to ±2·10⁻¹³ in 1.1 s (measured), so about 1.8 h for 5,760 integrals on one core | C-3 (`acb.integral`, `dirichlet_char(q, n).l(s)`); C-4 through `acb_mat.eig(algorithm="rump")`, which is rigorous but takes about 1.5 h at n = 2,562 by extrapolation, fails on clustered eigenvalues and has no Cholesky | |
| 37 | | FLINT 3 <https://github.com/flintlib/flint> | v3.6.0 (2026-06-29) | LGPL-3.0 | C, GMP, MPFR | packages | C-4's cheaper certificate: `arb_mat_cho` or `spd_solve` of μI ∓ A proves ‖A‖ < μ; `acb_calc_integrate`, `acb_dirichlet_l` | |
| 38 | | Arblib.jl <https://github.com/kalmarek/Arblib.jl> | v1.8.1 (2026-08-24) | MIT | Julia ≥ 1.10 | — | C-4 in Julia (wraps `cho`, `spd_solve`, `bound_inf_norm`, `eig_simple_rump`); no `acb_dirichlet_l` | |
| 39 | | mpmath | 1.4.1 (2026-03-15) | BSD-3-Clause | pure Python | seconds | cross-checks only: its quadrature error estimate is heuristic | |
| 40 | | primesieve and primecount <https://github.com/kimwalisch/primesieve>, <https://github.com/kimwalisch/primecount> | v12.18 (2026-11-15), v9.1 (2026-11-27) | BSD-2-Clause | C++, brew or apt | π(10¹²) in 0.01 s, π(10¹³) in 0.12 s (measured) | primes and counts for K-1 and C-5; in Python, `primecountpy` 0.2.1 (GPL-2.0, wheels) and `primesieve` 2.3.4 (MIT, builds from source) | |
| 41 | | r(N) exact counts <https://github.com/zhaoshijian2023-hash/goldbach-partition-counter> | v1.1.0 (2026-10-23) | MIT | Python, NumPy, Numba | about 20 min per 10⁵ values of N near 10¹¹ (stated); 16–64 GB RAM | unordered r(N) for all N ≤ 10⁸ and blocks up to 10¹⁴; K-1 tables | |
| 42 | | r(N) against Hardy–Littlewood, by FFT <https://github.com/akashdeshmukh-git/goldbach-prime-squares> | `3a8c425b` (2026-10-07) | MIT | NumPy, SciPy, mpmath | about 2 h on 2 cores (stated) | ordered R(n) for n ≤ 10⁸ and windows to 10¹⁰, against 𝔖(n)I(n) | |
| 43 | | Check values | — | — | — | r(10¹⁰) in 11.5 s and r(10¹¹) in 452 s with a NumPy segmented sieve (measured) | r(10¹⁰) = 18,200,488 and r(10¹¹) = 149,091,160 (both match OEIS A065577); r(10¹²) = 1,243,722,370 | |
| 44 | | The verified range: Oliveira e Silva, Herzog and Pardi, Math. Comp. 83 (2014) 2033–2060, <https://doi.org/10.1090/S0025-5718-2013-02787-1> | — | — | — | — | the only peer-reviewed record: every even n ≤ 4·10¹⁸. Self-reported beyond it: GoldbachGPU (<https://github.com/isaac-6/goldbach-gpu>, v3.2.0, MIT; the window [4·10¹⁸, 4·10¹⁸ + 10¹⁵] in two runs of about 3 h on an RTX 5090) and Gridbach (<https://github.com/nakatahr/gridbach-core>, MIT, archived; claims 4·10¹⁸ + 7·10¹³, volunteer results unchecked). Preprints.org 202503.0949 ("to 6·10¹⁸") is sampling, not verification | |
| 45 | | Interval arithmetic in Lean: girving/interval, LeanCert <https://github.com/alerad/leancert>, FloatLib <https://github.com/lean-dojo/FloatLib> | `2562d37b` (2026-11-29, Lean 4.35.0); v4.36.0 (2026-11-26); v4.2.0 (2026-11-27, Lean 4.36.0) | Apache-2.0; Apache-2.0; MIT | Lean | not timed | kernel certificates in the style of C-2: FloatLib's `float_decide` and LeanCert's `(trust := kernel)` use `decide +kernel`; girving's `interval` tactic closes goals with `native_decide`, which this project forbids | |
| 46 | | LMFDB API <https://www.lmfdb.org/api/> | probed 2026-12-01 | data CC BY-SA 4.0 | HTTP JSON | a reCAPTCHA after about 5 scripted calls | Dirichlet L zeros (`lfunc_lfunctions.positive_zeros`); 30030 has no primitive characters (it is 2 × odd), so use its odd divisors | |
| 47 | | Platt's GRH-check code <https://github.com/djplatt/code> | `1f19fcbe` (2026-11-11) | none | C/C++, MPFI, Arb, CUDA | — | a reference for rigorous L-function evaluation: cite it, do not copy it | |
| 48 | |
| 49 | ### Who computes ‖T_N‖, and how far that is from C-4 and C-5 |
| 50 | |
| 51 | Read on 2026-12-01: nobody certifies an upper bound on ‖T_N‖ or bounds the truncation error, and the float norms move |
| 52 | with the grid. Fu's finite Gram approximation is implemented in Lean only (`PerronOperators.lean`); no numerical |
| 53 | implementation was found. All four are unreviewed. |
| 54 | |
| 55 | | Repository | Pin | Licence | What it computes | |
| 56 | |---|---|---|---| |
| 57 | | <https://github.com/whenpoem/li-liu-spectral-hypotheses> | `30856f7e` (2026-11-24) | MIT | **certified lower bounds** in Arb: Rayleigh quotients of rounded test vectors give ‖T_N‖ ≥ 0.2534 at N = 2^15 down to 0.1031 at 2^18, that is 1.19 to 1.04 δ_N; python-flint 0.9.0, a 477 MB row cache; Lean on 4.37.0-rc1 | |
| 58 | | <https://github.com/tokg-venv/goldbach-liu-structural> | `ae296be3` (2026-12-01) | the file CC BY 4.0 (GitHub: NOASSERTION) | `mpmath.iv` enclosures of ⟨T_N v_f, v_g⟩ for explicit test pairs: ‖T_N‖ > δ_N at N = 90014, 90026, 40022 (306 s at 90014) | |
| 59 | | <https://github.com/catalystberry842-alt/goldbach-post-grh-research> | `06a63ce4` (2026-11-28) | MIT | a float64 rebuild of Appendix B.4 (N = 30030, T = 40, h = 1/16, **2,562 nodes**), compared with the paper's extreme eigenvalues −0.353421 and +0.357462; float operator and Hilbert–Schmidt norms for N = 30 … 10⁵ | |
| 60 | | <https://github.com/ecthelion2061-sys/li-liu-goldbach-spectral-audit> | v1.0.0 (2026-11-28) | MIT | float NumPy: a trapezoid grid on Re s = 1/log N and 1/8, \|t\| ≤ 30, dt = 0.25 (482 nodes), P − D − K then `eigvalsh`; calibrated at N = 30030; under 15 s | |
| 61 | |
| 62 | For C-4 the cheapest rigorous route on these numbers: a float `eigh` for a candidate μ, then a rigorous Cholesky of |
| 63 | μI ∓ A in FLINT's C library or Arblib.jl, which proves ‖A‖ < μ; or rigorous residual bounds with `arb_mat` products |
| 64 | (about 10 s at n = 2,562, by extrapolation from 0.58 s at n = 1,000). Gershgorin is instant but too loose. |
| 65 | |
| 66 | ## Reading |
| 67 | |
| 68 | Cite these; copy only what the licence allows. |
| 69 | |
| 70 | | What | Pin | Licence | For | |
| 71 | |---|---|---|---| |
| 72 | | The official PDF <https://mrc.sdu.edu.cn/info/1018/2193.htm> | sha256 `998f35a787a2f568113fac12caf5a9a799f537e83a5e649be25f3a76ac81bc58`, 2,943,320 bytes, unchanged on 2026-12-01 | none stated | V-5 and everything else | |
| 73 | | Yilin Liu, hexagon:2611.00788v1 <https://hexagonmath.org/2611.00788v1> | v1, 2026-11-21, still v1 on 2026-12-01 | CC BY 4.0 | V-6 | |
| 74 | | wentao Meng, hexagon:2611.00966v1 <https://hexagonmath.org/2611.00966v1>: R fails at 2^15 … 2^18 with interval bounds; S ⇒ Hardy–Littlewood for (p, p + N) | v1, public 2026-11-29 | see the page | V-6, C-4, S-5, A-4 | |
| 75 | | Zeng Chunping, hexagon:2611.00803v1 <https://hexagonmath.org/2611.00803v1>: hypothesis D | v1, public 2026-11-29 | see the page | the S pieces, as an alternative to S; A-10 | |
| 76 | | Fu's R and S manuscripts, `paper/R/` and `paper/S/` in his repository | `56090686` | none | V-6, S-4, S-5 | |
| 77 | | J. Pintz, arXiv:1804.09084 <https://arxiv.org/abs/1804.09084> | 2018 | see the page | K-1: the unconditional E(X) ≪ X^{0.72} to beat; it calls Goldston's GRH bound "even today the best conditional result" | |
| 78 | | A graded reading of the paper <https://github.com/LaPingvino/goldbach-overlay> | `68feb338` | Apache-2.0 | V-5, L-1 | |
| 79 | | Notes on a "weak S", in Chinese <https://github.com/h1n4k0/goldbach-spectral-research> | `704b7eb7` | none | S-3, S-5, V-6 | |
| 80 | | A numerical audit of T_N, and claims about it <https://github.com/catalystberry842-alt/goldbach-post-grh-research> | `06a63ce4` | MIT | C-4, C-5, S-2, A-5 | |
| 81 | |
| 82 | ## Another platform: goldbach.tech |
| 83 | |
| 84 | goldbach.tech (<https://www.goldbach.tech/>, mirror <https://www.movan.tech/goldbach/>, repository |
| 85 | <https://github.com/CGandGameEngineLearner/goldbach-proofs>, Apache-2.0, created 2026-11-23) is the other public effort |
| 86 | on Goldbach this fortnight; it is not this project. Every task there is a frozen Lean statement (Lean 4.36.0, Mathlib |
| 87 | `fc4f59e5`): a user's agent claims one with `tools/goldbach.py`, proves it privately and submits it, a checker builds |
| 88 | it in a sandbox, and the first accepted proof earns the points. On 2026-12-01 its page counted 762 agents at work and |
| 89 | its registry listed 1,178 published gaps in 56 tracks. The statements it freezes are audited there by its checker |
| 90 | only. Its own tracker records what that misses: a frozen statement refuted as mis-encoded (`7af95f56`, 2026-12-01), a |
| 91 | volunteer audit that found 33 decompositions with an empty branch and constants off by 4–15× (Discussion #6447, |
| 92 | 2026-11-29), and new decompositions frozen on 2026-11-29 after they reached 74% of all tasks (#6407). Link its accepted |
| 93 | proofs as its own; do not present them as this project's results, or as reviewed. |
