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
Comparing changes
Choose two branches to see what changed, then open a pull request to bring the work across.
Able to merge. These branches can be merged automatically.
A pull request is already open: #82 A-5: audit the post-GRH spectral enclosure and its Lean boundary
4 commits
+182 −0 routes/a5-audit/AUDIT.md added View file
| @@ -0,0 +1,182 @@ | ||
| 1 | +# A-5 — Reading audit: the post-GRH spectral barrier preprint | |
| 2 | + | |
| 3 | +**Route:** `a5-audit` | |
| 4 | +**Repository:** `catalystberry842-alt/goldbach-post-grh-research` | |
| 5 | +**Pin:** `06a63ce4` | |
| 6 | +**Paper:** `paper/goldbach_post_grh_barriers.pdf`, 28 pages, 915,691 bytes | |
| 7 | +**SHA-256:** `EB199EB5EDF353C0136BBC40E673023141900687B71C909DF0C5F295A6001B2B` | |
| 8 | +**Claim issue:** #32 | |
| 9 | +**Verdict:** **claimed** — the paper's arithmetic and the Lean library are real; the | |
| 10 | +headline spectral enclosure in Theorem 2.3 is not the theorem that Lean proves. | |
| 11 | + | |
| 12 | +## 1. What the paper claims | |
| 13 | + | |
| 14 | +The relevant claim is Theorems 2.2–2.3 in | |
| 15 | +`paper/goldbach_post_grh_barriers.tex`: | |
| 16 | + | |
| 17 | +- Theorem 2.2: unconditionally, | |
| 18 | + `‖D_N‖_op, ‖K_N‖_op ≪ log N` and | |
| 19 | + `‖D_N‖_HS, ‖K_N‖_HS ≪ (log N)^{3/2}`. | |
| 20 | +- Theorem 2.3(1): under `GRH(N)`, | |
| 21 | + `λ_min(T_N) ≥ -‖D_N + K_N‖_op ≥ -C₁ log N`. | |
| 22 | +- Theorem 2.3(2): `tr(P_N^{(β,β)}) = O(1)`. | |
| 23 | +- Theorem 2.3(3): the explicit enclosure | |
| 24 | + `-C₁ log N ≤ T_N ≤ 19.42(log N)² + O((log N)^{3/2})`. | |
| 25 | + | |
| 26 | +**The upper inequality is one-sided, not a norm bound by itself.** The upper line | |
| 27 | +`T_N ≤ 19.42(log N)² + O((log N)^{3/2})` is a bound on the positive side | |
| 28 | +(`λ_max(T_N)`); the lower side is the separate bound | |
| 29 | +`λ_min(T_N) ≥ -‖D_N + K_N‖_op ≥ -C₁ log N`. Only after combining the two | |
| 30 | +one-sided bounds does one get the norm statement | |
| 31 | +`‖T_N‖_op ≤ 19.42(log N)² + O((log N)^{3/2})` for large `N`. The single | |
| 32 | +upper inequality must not be quoted as `‖T_N‖ ≤ ...` without the lower side. | |
| 33 | + | |
| 34 | +The paper says this is a `>50×` constant reduction over Li–Liu's Theorem 6.2. | |
| 35 | +It does **not** claim that these analytic inequalities are formalized in Lean; | |
| 36 | +Section 7 says the library formalizes finite algebraic reductions, candidate-law | |
| 37 | +bridges, and structural obstructions, and passes open analytic/spectral | |
| 38 | +hypotheses as explicit `Prop` parameters. That wording is narrower than the | |
| 39 | +abstract, and the distinction matters. | |
| 40 | + | |
| 41 | +## 2. What Lean actually proves | |
| 42 | + | |
| 43 | +I built the pinned library locally (`lean/`, Lean 4.36.0, no Mathlib): | |
| 44 | + | |
| 45 | +```text | |
| 46 | +lake build | |
| 47 | +Build completed successfully (26 jobs). | |
| 48 | +``` | |
| 49 | + | |
| 50 | +I then ran the repository's own audit: | |
| 51 | + | |
| 52 | +```text | |
| 53 | +lake env lean GoldbachResearch/Audit.lean | |
| 54 | +exit 0 | |
| 55 | +200 distinct #print axioms lines | |
| 56 | +0 occurrences of sorryAx / sorry | |
| 57 | +``` | |
| 58 | + | |
| 59 | +Every axiom line uses only `propext`, `Classical.choice`, and `Quot.sound`; no | |
| 60 | +custom axiom and no `sorryAx`. The 200-theorem count and the zero-`sorry` | |
| 61 | +claim are genuine at this pin. The library is not fake. | |
| 62 | + | |
| 63 | +But it does **not** contain the spectral enclosure. The only Lean theorem that | |
| 64 | +resembles Theorem 2.3 is the abstract order-theoretic statement in | |
| 65 | +`lean/GoldbachResearch/ObstructionsAndSymmetries.lean:1324`: | |
| 66 | + | |
| 67 | +```lean | |
| 68 | +theorem psd_two_sided_spectral_enclosure {V : Type} (P S T Q : V → ℝ) | |
| 69 | + (C_P C_S : ℝ) | |
| 70 | + (hdecomp : ∀ v, T v = sub (P v) (S v)) | |
| 71 | + (hpsd : ∀ v, le zero (P v)) | |
| 72 | + (hP_up : ∀ v, le (P v) (mul C_P (Q v))) | |
| 73 | + (hS_abs : ∀ v, AbsLe (S v) (mul C_S (Q v))) : | |
| 74 | + ∀ v, le (neg (mul C_S (Q v))) (T v) ∧ | |
| 75 | + le (T v) (mul (add C_P C_S) (Q v)) | |
| 76 | +``` | |
| 77 | + | |
| 78 | +This says: if a quadratic form `T` is written as `P - S`, `P ≥ 0`, | |
| 79 | +`P ≤ C_P Q`, and `|S| ≤ C_S Q`, then `-C_S Q ≤ T ≤ (C_P + C_S)Q`. | |
| 80 | +It is a valid abstract inequality, but `C_P`, `C_S`, `P`, `S`, `T`, `Q` are | |
| 81 | +arbitrary. There is no `T_N`, no `D_N`, no `K_N`, no `tr(P_N)`, no | |
| 82 | +instantiation with `C_P = 19.42` or `C_S = C₁`. The repository has no Lean | |
| 83 | +definition of `T_N` at all. Consequently: | |
| 84 | + | |
| 85 | +- The `200` Lean theorems are real, but they are not a formal proof of | |
| 86 | + Theorems 2.2–2.3. | |
| 87 | +- The paper's statement that open spectral hypotheses are explicit parameters | |
| 88 | + is honest; a formal proof of the analytic bounds is simply not present. | |
| 89 | +- The `19.42` enclosure is a paper-level result, not a kernel-checked theorem. | |
| 90 | + | |
| 91 | +## 3. The `19.42` constant is not an arithmetic error | |
| 92 | + | |
| 93 | +The paper's displayed formula | |
| 94 | +(`paper/goldbach_post_grh_barriers.tex:246`) is | |
| 95 | + | |
| 96 | +\[ | |
| 97 | +\operatorname{tr}(P_N) | |
| 98 | + \le 2\pi\left[ | |
| 99 | + \frac{c^2}{(1-\epsilon(c,\delta))^2} | |
| 100 | + \left(\frac14+\frac12 D_w(c,\delta)\right) | |
| 101 | + -\frac14 | |
| 102 | + \right](\log N)^2 | |
| 103 | + +O((\log N)^{3/2}), | |
| 104 | +\] | |
| 105 | + | |
| 106 | +with | |
| 107 | + | |
| 108 | +\[ | |
| 109 | +\epsilon(c,\delta)=\frac{e^{-c}+e^{-(1-\delta)c}}{\delta c}, | |
| 110 | +\qquad | |
| 111 | +D_w(c,\delta)=\int_0^{1-\delta}\xi e^{-2c\xi}\,d\xi | |
| 112 | ++\int_{1-\delta}^{1}\xi\left(\frac{1-\xi}{\delta}\right)^2e^{-2c\xi}\,d\xi . | |
| 113 | +\] | |
| 114 | + | |
| 115 | +At `(c, δ) = (2.60, 0.50)` I get | |
| 116 | + | |
| 117 | +```text | |
| 118 | +epsilon = 0.2667733625 | |
| 119 | +Dw = 0.0313187587 | |
| 120 | +2π[...] = 19.4174063657 | |
| 121 | +``` | |
| 122 | + | |
| 123 | +So the printed `19.4174` is reproducible from the paper's own formula. This is | |
| 124 | +an arithmetic check, not a proof of the surrounding trace transfer. The | |
| 125 | +`19.42` number itself is not fabricated. | |
| 126 | + | |
| 127 | +## 4. Where the proof is not closed | |
| 128 | + | |
| 129 | +The gap is not “the constant is wrong”. It is the step from the bound on | |
| 130 | +`tr(P_N^{(β,β)})` to the bound on `tr(P_N)`, and then to the operator | |
| 131 | +enclosure. | |
| 132 | + | |
| 133 | +- Theorem 2.3(2) controls `tr(P_N^{(β,β)}) = O(1)`. | |
| 134 | +- Theorem 2.3(3) and the displayed formula control `tr(P_N)`, not | |
| 135 | + `tr(P_N^{(β,β)})`. | |
| 136 | +- The text says “Cayley-disk Parseval” and `tr(P_N^{(β,β)}) = O(1)` yield the | |
| 137 | + displayed `tr(P_N)` bound, but it never defines `tr(P_N)` (trace class? | |
| 138 | + boundary trace? sum of eigenvalues?) or proves the transfer from the | |
| 139 | + right-strip block to the full operator. | |
| 140 | +- The derivation also uses the variance subtraction | |
| 141 | + `∫|Re gχ(α_N+it)|² dt/(π(1+t²)) = ∫Qχ(α_N,t)² dt/(π(1+t²)) - λχ² + O(...)`. | |
| 142 | + The individual identities are plausible from Li–Liu's setup, but the paper | |
| 143 | + gives no lemma-level statement that the error terms can be combined | |
| 144 | + uniformly in `N` and `χ` and then inserted into the trace bound. | |
| 145 | + | |
| 146 | +This is a **proof-level gap**: the paper has not supplied enough detail for a | |
| 147 | +reader to verify the trace-to-operator transfer, and Lean does not check it. | |
| 148 | +I did not find a counterexample, and I am not claiming the inequality is false. | |
| 149 | +I am claiming it is not yet an audited proof of the stated enclosure. | |
| 150 | + | |
| 151 | +The lower bound in Theorem 2.3(1) is on firmer ground: it is the elementary | |
| 152 | +consequence of `P_N ≥ 0` and `T_N = P_N - D_N - K_N`, with `C₁` supplied by | |
| 153 | +Theorem 2.2. That argument is valid as a paper proof; it is also not | |
| 154 | +formalized. It gives no numerical Goldbach lower bound, which the paper itself | |
| 155 | +notes. | |
| 156 | + | |
| 157 | +## 5. Counts and small documentation discrepancies | |
| 158 | + | |
| 159 | +- The paper/README calls the library `9,435` lines. At this pin the 13 `.lean` | |
| 160 | + files total **9,461** lines by direct line count (difference 26, likely | |
| 161 | + table rounding/combined-file accounting). This is documentation drift, not a | |
| 162 | + proof defect. | |
| 163 | +- `Audit.lean` produces **200** distinct `#print axioms` lines; the 200-theorem | |
| 164 | + headline is accurate. | |
| 165 | +- The build completed in **26 jobs**. The README's `32.7 s` is a wall-clock | |
| 166 | + timing figure, not a job count; the two are not directly comparable, and | |
| 167 | + neither is part of the mathematical claim. | |
| 168 | + | |
| 169 | +## Verdict | |
| 170 | + | |
| 171 | +**`claimed`.** The paper's `19.42` arithmetic is reproducible, and the Lean | |
| 172 | +library genuinely builds with 200 zero-`sorry` theorems using only standard | |
| 173 | +axioms. But the headline spectral enclosure is a paper-level analytic argument | |
| 174 | +with an unresolved trace-transfer step, and it is not present in Lean. It | |
| 175 | +should not be cited as “machine-checked” or as an accepted proof of the | |
| 176 | +enclosure until the `tr(P_N)` transfer is written down or formalized. | |
| 177 | + | |
| 178 | +## L-1 row | |
| 179 | + | |
| 180 | +| Claim | URL | Who | Date | State | | |
| 181 | +|---|---|---|---|---| | |
| 182 | +| Under `GRH(N)`, `λ_min(T_N) ≥ -C₁ log N` and the one-sided upper bound `T_N ≤ 19.42(log N)² + O((log N)^{3/2})`, with `P_N^{CC}` the only `(log N)²` block; the norm bound follows only after combining both sides | <https://github.com/catalystberry842-alt/goldbach-post-grh-research> at `06a63ce4` | catalystberry842-alt | 2026-11-28 | claimed (`tr(P_N)` transfer unwritten; enclosure not in Lean) | | |
+40 −0 routes/a5-audit/README.md added View file
| @@ -0,0 +1,40 @@ | ||
| 1 | +--- | |
| 2 | +issue: 32 | |
| 3 | +status: done | |
| 4 | +--- | |
| 5 | + | |
| 6 | +# A-5 — route note | |
| 7 | + | |
| 8 | +**Status:** claimed | |
| 9 | +**Pin:** `catalystberry842-alt/goldbach-post-grh-research@06a63ce4` | |
| 10 | +**Paper SHA-256:** `EB199EB5EDF353C0136BBC40E673023141900687B71C909DF0C5F295A6001B2B` | |
| 11 | +**Issue:** #32 | |
| 12 | +**Audit:** `AUDIT.md` | |
| 13 | + | |
| 14 | +## What was checked | |
| 15 | + | |
| 16 | +Read the 28-page PDF, its LaTeX source, the `round2_cand2_vaughan_operator` | |
| 17 | +report, and the pinned Lean library. Built the library (26 jobs, exit 0) and ran | |
| 18 | +`lake env lean GoldbachResearch/Audit.lean`: 200 distinct `#print axioms` | |
| 19 | +lines, zero `sorryAx`, only `propext`/`Classical.choice`/`Quot.sound`. | |
| 20 | + | |
| 21 | +Recomputed the `19.4174` coefficient from the paper's own formula with | |
| 22 | +`(c,δ)=(2.60,0.50)`: `ε=0.2667733625`, `Dw=0.0313187587`, | |
| 23 | +`2π[...]=19.4174063657`. The arithmetic is consistent. | |
| 24 | + | |
| 25 | +## Main finding | |
| 26 | + | |
| 27 | +The `200` Lean theorems are real, but the headline Theorems 2.2–2.3 are not | |
| 28 | +formalized. The closest Lean statement is the abstract | |
| 29 | +`psd_two_sided_spectral_enclosure`, with arbitrary `P,S,T,Q,C_P,C_S`; it contains | |
| 30 | +no `T_N`, no `tr(P_N)`, no `C₁`, and no `19.42` instantiation. The paper proves | |
| 31 | +the enclosure at the text level, but the transfer from | |
| 32 | +`tr(P_N^{(β,β)})=O(1)` to `tr(P_N)` and then to `T_N` is not written down | |
| 33 | +sharply enough to audit. | |
| 34 | + | |
| 35 | +The `19.42(log N)²` line is a **one-sided upper bound** on the positive side; | |
| 36 | +the lower side is `-C₁ log N`. The norm bound follows only after combining both | |
| 37 | +sides, so the single inequality cannot be quoted as `‖T_N‖ ≤ 19.42(log N)²`. | |
| 38 | + | |
| 39 | +Verdict remains **claimed**: not refuted, not machine-checked. The library is | |
| 40 | +genuine and zero-`sorry`; the headline spectral enclosure is not in it. | |
