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
V-9: second reading of the six A-7 premises #118
Open
+36 −0 routes/v9-reading-115/README.md added View file
| @@ -0,0 +1,36 @@ | ||
| 1 | +--- | |
| 2 | +issue: 115 | |
| 3 | +status: done | |
| 4 | +--- | |
| 5 | +# v9-reading-115 | |
| 6 | + | |
| 7 | +Second reading of A-7's six classical premises against the published theorems. | |
| 8 | +No Lean file changes, no Lean build. | |
| 9 | + | |
| 10 | +Full note: [V9-READING.md](V9-READING.md). Read at | |
| 11 | +`Visio-Vanitas/buchstab-switching@cca80480105d17764982ca80fcbb9c41e76e1eed`. | |
| 12 | + | |
| 13 | +## Verdict | |
| 14 | + | |
| 15 | +- `SmallEvenPremise`: conservative weakening (paper includes `4 * 10^18`; | |
| 16 | + Lean requires `< 4 * 10^18`). | |
| 17 | +- `JSLemma51Premise`: **different statement** — Lean bounds the | |
| 18 | + `Li`-centered difference; Johnston–Starichkova Lemma 5.1 bounds the | |
| 19 | + `li`-centered difference. | |
| 20 | +- `SchoenfeldPrimePremise`: **different at the rounding interface** — Lean | |
| 21 | + uses an upper bound for `li(2)` with no slack term. | |
| 22 | +- `RobinOmegaBound`: conservative weakening (`1.3841` vs `1.38402`). | |
| 23 | +- `MertensPrimeSumPremise`: conservative weakening, but the `1` cap on | |
| 24 | + `2 ≤ x ≤ exp 8.9` is not in the cited papers. | |
| 25 | +- `EulerProductVPremise`: conservative weakening by the symmetric envelope. | |
| 26 | + | |
| 27 | +The two rows that keep this from being a statement-level transcription are | |
| 28 | +`JSLemma51Premise` and `SchoenfeldPrimePremise`. | |
| 29 | + | |
| 30 | +## Next | |
| 31 | + | |
| 32 | +A reviewer who has read Lemma 5.1 and Schoenfeld Cor. 1 should decide whether | |
| 33 | +`JSLemma51Premise` is intended to be `Li`-centered (use the smaller | |
| 34 | +Grenié–Molteni constant) or `li`-centered (use `logIntegral li2`), and whether | |
| 35 | +Schoenfeld should state the exact `li(2)` with a proved rounding slack or add | |
| 36 | +the missing error term. | |
+259 −0 routes/v9-reading-115/V9-READING.md added View file
| @@ -0,0 +1,259 @@ | ||
| 1 | +# V-9: second reading of A-7's six premises | |
| 2 | + | |
| 3 | +Read at `cca80480105d17764982ca80fcbb9c41e76e1eed`; no Lean file changes, | |
| 4 | +no Lean build. The first reading is `routes/a7-audit/AUDIT.md` (PR #78). | |
| 5 | + | |
| 6 | +The six premises are bundled in `k3/BuchstabSwitching/External/Bridge.lean` | |
| 7 | +lines 43-49. I read `External/Bridge.lean` and the six modules it imports, | |
| 8 | +then each cited source. Line numbers below are from the pinned commit. | |
| 9 | + | |
| 10 | +## Verdict | |
| 11 | + | |
| 12 | +| Premise | Lean source | Published source | Verdict | | |
| 13 | +|---|---|---|---| | |
| 14 | +| `SmallEvenPremise` | `External/FiniteVerification/SmallEven.lean:14,17-19` | Oliveira e Silva–Herzog–Pardi, Math. Comp. 83 (2014), abstract | **conservative weakening** | | |
| 15 | +| `JSLemma51Premise` | `External/CharacterSums/DirichletGRH.lean:43-44,53-57,63-66,71-73` | Johnston–Starichkova, arXiv:2208.01229v3, Lemma 5.1 | **different statement** | | |
| 16 | +| `SchoenfeldPrimePremise` | `External/SchoenfeldRH/PrimeCountingRH.lean:79-80,124-126,136-137` | Schoenfeld, Math. Comp. 30 (1976), Corollary 1 | **different at the rounding interface** | | |
| 17 | +| `RobinOmegaBound` | `External/RobinOmega/PrimeFactorCount.lean:23-25` | G. Robin, *Acta Arith.* 42(4):367–389, 1983, Théorème 11 | **conservative weakening** | | |
| 18 | +| `MertensPrimeSumPremise` | `External/MertensSums/ReciprocalPrimeSums.lean:34-47,170-172`; `Sieve/MertensTwoVar.lean:499-504` | Johnston–Starichkova Lemma 3.2; Bordignon–Johnston–Starichkova Lemma 16 | **conservative weakening, with one non-paper cap** | | |
| 19 | +| `EulerProductVPremise` | `External/EulerProductV/ProductAsymptotic.lean:30-32,38-44,61-62,67-70` | Bordignon–Johnston–Starichkova, arXiv:2207.09452v6, Lemma 38 | **conservative weakening** | | |
| 20 | + | |
| 21 | +Two rows are not literal: `JSLemma51Premise` and `SchoenfeldPrimePremise`. | |
| 22 | +The first is the more substantive one. The first reading called | |
| 23 | +`JSLemma51Premise` "faithful"; reading the definitions side by side, it is not | |
| 24 | +the same statement as Lemma 5.1. | |
| 25 | + | |
| 26 | +## 1. `SmallEvenPremise` — conservative weakening | |
| 27 | + | |
| 28 | +Lean (`SmallEven.lean:17-19`): | |
| 29 | + | |
| 30 | +```lean | |
| 31 | +def SmallEvenPremise : Prop := | |
| 32 | + ∀ N : ℕ, Even N → 4 ≤ N → N < finiteCutoff → | |
| 33 | + ∃ p q : ℕ, Nat.Prime p ∧ Nat.Prime q ∧ p + q = N | |
| 34 | +``` | |
| 35 | + | |
| 36 | +with `finiteCutoff : ℕ := 4 * 10 ^ 18` (`:14`). | |
| 37 | + | |
| 38 | +Published: Oliveira e Silva, Herzog and Pardi, *Math. Comp.* **83** (2014), | |
| 39 | +2033–2060, abstract: the even Goldbach conjecture "was confirmed to be true | |
| 40 | +for all even numbers not larger than `4 · 10^18`". | |
| 41 | +DOI: <https://doi.org/10.1090/S0025-5718-2013-02787-1>. | |
| 42 | + | |
| 43 | +The paper includes `N = 4 * 10^18`; Lean stops strictly below it. That is a | |
| 44 | +subset of the verified range, with no change to the existential statement. | |
| 45 | +Conservative weakening. | |
| 46 | + | |
| 47 | +## 2. `JSLemma51Premise` — different statement | |
| 48 | + | |
| 49 | +Lean (`DirichletGRH.lean:63-66`): | |
| 50 | + | |
| 51 | +```lean | |
| 52 | +def GrenieMolteniAPBound (X₂ c : ℝ) : Prop := | |
| 53 | + ∀ x : ℝ, X₂ ≤ x → ∀ d a : ℕ, 3 ≤ d → (d : ℝ) ≤ Real.sqrt x → | |
| 54 | + Nat.Coprime a d → | |
| 55 | + |(primeCountingAP x d a : ℝ) - offsetLogIntegral x / (Nat.totient d : ℝ)| | |
| 56 | + ≤ c * Real.sqrt x * Real.log x | |
| 57 | +``` | |
| 58 | + | |
| 59 | +and `:71-73`: | |
| 60 | + | |
| 61 | +```lean | |
| 62 | +def JSLemma51Premise (li2 : ℝ) : Prop := | |
| 63 | + DirichletLNonvanishingRightOfHalf → | |
| 64 | + ∀ X₂ : ℝ, 4 * 10 ^ 18 ≤ X₂ → GrenieMolteniAPBound X₂ (c_pi X₂ li2) | |
| 65 | +``` | |
| 66 | + | |
| 67 | +`offsetLogIntegral` is defined at `:43-44` as `∫ t in (2)..x, 1 / log t`, | |
| 68 | +i.e. `Li(x)`. The paper's Lemma 5.1 states the bound with `li(x)`, not `Li(x)`: | |
| 69 | + | |
| 70 | +> `|π(x;q,a) − li(x)/φ(q)| ≤ cπ(X₂) √x log x`, | |
| 71 | +> `x ≥ X₂ ≥ 4 · 10^18`, `3 ≤ q ≤ √x`, `(a,q)=1`, assuming GRH. | |
| 72 | + | |
| 73 | +Here `li(x) = ∫_0^x dt/log t = Li(x) + li(2)`; the paper says so explicitly | |
| 74 | +when it writes `(li(x) − li(2))/φ(q)` in the proof. Its `cπ` includes | |
| 75 | +`li(2)/(√X₂ log X₂)`, which is exactly the allowance used to pass from the | |
| 76 | +`Li`-centered Grenié–Molteni estimate to the `li`-centered Lemma 5.1. | |
| 77 | + | |
| 78 | +The Lean premise instead puts the **`Li`-centered** difference on the left and | |
| 79 | +uses the full `cπ` on the right. That is a conservative weakening of the | |
| 80 | +`Li`-centered Grenié–Molteni estimate (whose constant lacks the `li(2)` term), | |
| 81 | +but it is **not** Lemma 5.1: the paper's `li`-centered bound is neither | |
| 82 | +equivalent to nor directly implied by the Lean `Li`-centered bound. The | |
| 83 | +`li(2)` term in `cπ` cannot simultaneously be spent on changing `Li` to `li` | |
| 84 | +and left in the constant for the `Li` statement. | |
| 85 | + | |
| 86 | +So: **different statement**. It does not invalidate the downstream | |
| 87 | +conditional theorem by itself, but it does mean this interface is not a | |
| 88 | +transcription of the cited theorem. A reviewer should decide whether the | |
| 89 | +intended statement is the `Li`-centered Grenié–Molteni estimate (then use its | |
| 90 | +smaller constant) or Lemma 5.1 (then use `logIntegral li2` on the left). | |
| 91 | + | |
| 92 | +## 3. `SchoenfeldPrimePremise` — different at the rounding interface | |
| 93 | + | |
| 94 | +Lean (`PrimeCountingRH.lean:79-80`): | |
| 95 | + | |
| 96 | +```lean | |
| 97 | +noncomputable def logIntegral (li2 x : ℝ) : ℝ := | |
| 98 | + offsetLogIntegral x + li2 | |
| 99 | +``` | |
| 100 | + | |
| 101 | +and `:124-126`: | |
| 102 | + | |
| 103 | +```lean | |
| 104 | +def SchoenfeldRHBound (li2 : ℝ) : Prop := | |
| 105 | + ∀ x : ℝ, 2657 ≤ x → | |
| 106 | + |(primeCounting x : ℝ) - logIntegral li2 x| | |
| 107 | + ≤ Real.sqrt x * Real.log x / (8 * Real.pi) | |
| 108 | +``` | |
| 109 | + | |
| 110 | +and `:136-137`: | |
| 111 | + | |
| 112 | +```lean | |
| 113 | +def SchoenfeldPrimePremise (li2 : ℝ) : Prop := | |
| 114 | + DirichletLNonvanishingRightOfHalf → SchoenfeldRHBound li2 | |
| 115 | +``` | |
| 116 | + | |
| 117 | +Published: Schoenfeld, *Math. Comp.* **30** (1976), Corollary 1, under RH: | |
| 118 | + | |
| 119 | +> `|π(x) − li(x)| < √x log x / (8π)`, for `x ≥ 2657`. | |
| 120 | + | |
| 121 | +Lean's `li2` is an **upper** rational enclosure of `li(2)`: | |
| 122 | +`1.045163780117492 ≤ li2 ≤ 1.045163780117493` | |
| 123 | +(`External/NumericalConstants/ExplicitConstants.lean:75`). The true value is | |
| 124 | +`1.0451637801174927848…`, so the upper endpoint is larger by | |
| 125 | +`2.1515541111… × 10^-16`. Lean does not add a slack term to absorb that | |
| 126 | +difference; it simply centers the bound at `Li(x) + li2`, not at `li(x)`. | |
| 127 | +The `≤` in Lean is weaker than the paper's `<`, and the antecedent is full | |
| 128 | +Dirichlet GRH rather than RH, but those are not the issue: the `li2` shift is | |
| 129 | +an unclosed rounding interface. **Different statement**, not literal. | |
| 130 | + | |
| 131 | +This is numerically tiny at `x ≥ 2657`, and this note does not claim it is a | |
| 132 | +counterexample. It is a statement-level mismatch, which is what V-9 asks about. | |
| 133 | + | |
| 134 | +## 4. `RobinOmegaBound` — conservative weakening | |
| 135 | + | |
| 136 | +Lean (`PrimeFactorCount.lean:23-25`): | |
| 137 | + | |
| 138 | +```lean | |
| 139 | +def RobinOmegaBound : Prop := | |
| 140 | + ∀ N : ℕ, 3 ≤ N → | |
| 141 | + (N.primeFactors.card : ℝ) < | |
| 142 | + (1.3841 : ℝ) * Real.log N / Real.log (Real.log N) | |
| 143 | +``` | |
| 144 | + | |
| 145 | +Published: G. Robin, *Acta Arith.* **42**(4):367–389, 1983, Théorème 11: for | |
| 146 | +`n ≥ 3`, | |
| 147 | + | |
| 148 | +> `ω(n) ≤ 1.38402 log n / log log n`. | |
| 149 | + | |
| 150 | +The exact constant is `1.38402…`; the larger rounded constant `1.3841` is the | |
| 151 | +one Lean uses. Since `1.38402 < 1.3841`, the paper's `≤ 1.38402` implies | |
| 152 | +Lean's `< 1.3841`; `N.primeFactors.card` is `ω(N)`. Conservative weakening. | |
| 153 | + | |
| 154 | +## 5. `MertensPrimeSumPremise` — conservative weakening, with one non-paper cap | |
| 155 | + | |
| 156 | +Lean errors (`ReciprocalPrimeSums.lean:34-47`): | |
| 157 | + | |
| 158 | +```lean | |
| 159 | +jsMertensLoErr x = 2.964e-6 / log x | |
| 160 | + | |
| 161 | +jsMertensHiErr x = | |
| 162 | + if x > 10^12 then 6.836e-6 / log x | |
| 163 | + else if log x > 10 then 2 / (sqrt x * log x) | |
| 164 | + else if log x > 8.9 then 1.614e-3 | |
| 165 | + else 1 | |
| 166 | +``` | |
| 167 | + | |
| 168 | +Premise at `:170-172`: | |
| 169 | + | |
| 170 | +```lean | |
| 171 | +def MertensPrimeSumPremise (M0 : ℝ) : Prop := | |
| 172 | + (0.261497 ≤ M0 ∧ M0 ≤ 0.261498) ∧ | |
| 173 | + BuchstabSwitching.MertensSumBounds M0 jsMertensLoErr jsMertensHiErr | |
| 174 | +``` | |
| 175 | + | |
| 176 | +`MertensSumBounds` is `Sieve/MertensTwoVar.lean:499-504`: for all `x ≥ 2`, | |
| 177 | +`log(log x) + M0 - E_lo x ≤ ∑_{p < ceil x} 1/p ≤ log(log x) + M0 + E_hi x`. | |
| 178 | + | |
| 179 | +Published: Johnston–Starichkova, arXiv:2208.01229v3, Lemma 3.2: | |
| 180 | + | |
| 181 | +- `∑_{p<x} 1/p ≥ log log x + M0 − 2.964e-6/log x`, `x ≥ 2`; | |
| 182 | +- `∑_{p<x} 1/p ≤ log log x + M0 + 1.614e-3`, `x > exp 8.9`; | |
| 183 | +- `∑_{p<x} 1/p ≤ log log x + M0 + 6.836e-6/log x`, `x > 10^12`; | |
| 184 | + | |
| 185 | +and Bordignon–Johnston–Starichkova, arXiv:2207.09452v6, Lemma 16: | |
| 186 | + | |
| 187 | +- `∑_{p≤x} 1/p ≤ log log x + M0 + 2/(√x log x)`, `2 ≤ x ≤ 10^12`. | |
| 188 | + | |
| 189 | +The published bounds match the non-cap Lean branches. The `1` on | |
| 190 | +`2 ≤ x ≤ exp 8.9` is **not** in the papers; it is an added allowance. If it | |
| 191 | +holds, it is conservative, but it is an obligation to prove or compute, not a | |
| 192 | +published theorem. Also, the `M0` interval is a rational enclosure, not the | |
| 193 | +paper's exact constant; `CertifiedConstants.M0_bounds` is | |
| 194 | +`0.261496246734501 ≤ M0 ≤ 0.261497246735500`, whose lower end is below the | |
| 195 | +premise's `0.261497`, so the record's bounds alone do not establish the | |
| 196 | +premise's lower endpoint. This is a separate interface note, not a claim that | |
| 197 | +the bound is false. | |
| 198 | + | |
| 199 | +## 6. `EulerProductVPremise` — conservative weakening | |
| 200 | + | |
| 201 | +Lean (`ProductAsymptotic.lean:30-32`): | |
| 202 | + | |
| 203 | +```lean | |
| 204 | +noncomputable def VN (N z : ℕ) : ℝ := | |
| 205 | + ∏ p ∈ (Finset.range z).filter (fun p => p.Prime ∧ ¬ p ∣ N), | |
| 206 | + (1 - 1 / ((p : ℝ) - 1)) | |
| 207 | +``` | |
| 208 | + | |
| 209 | +`deltaV_bjs` (`:38-44`) is the max of the all-negative and all-positive | |
| 210 | +products of the three factors | |
| 211 | + | |
| 212 | +```lean | |
| 213 | +f1 = 1.45 * (log N / (x - 1)) * (1 + 10 * log(log N) / log N) | |
| 214 | +f2 = 1.002 / (x - 3) | |
| 215 | +f3 = 1 / (2 * (log x)^2) | |
| 216 | +``` | |
| 217 | + | |
| 218 | +and `EulerProductVPremise` (`:67-70`) states, for even `N ≥ 3` and `x ≥ 285`, | |
| 219 | + | |
| 220 | +```lean | |
| 221 | +(1 - deltaV_bjs N x) * (eNegGamma * UN_ratio U_c N) / log x | |
| 222 | + ≤ VN N (Nat.ceil x) | |
| 223 | +∧ VN N (Nat.ceil x) | |
| 224 | + ≤ (1 + deltaV_bjs N x) * (eNegGamma * UN_ratio U_c N) / log x | |
| 225 | +``` | |
| 226 | + | |
| 227 | +Published: BJS Lemma 38 (arXiv:2207.09452v6, p.36), for `x ≥ 285`, | |
| 228 | + | |
| 229 | +```text | |
| 230 | +V(x) = U_N/log x * (1 + 1.45 θ1 log N/(x-1)(1 + 10 log log N/log N)) | |
| 231 | + * (1 + 1.002 θ2/(x-3)) * (1 + θ3/(2 log^2 x)) | |
| 232 | +``` | |
| 233 | + | |
| 234 | +with `|θ_i| ≤ 1`. Lean's `deltaV_bjs` takes the maximum of the two endpoint | |
| 235 | +products, so the `(1 ± delta)` envelope contains every admissible `θ` choice. | |
| 236 | +`U_c = 2 C2`, `eNegGamma = e^{-γ}`, and `UN_ratio` supplies the | |
| 237 | +`∏_{p>2,p|N}(p-1)/(p-2)` adjustment; `VN` filters `p ∤ N` and uses | |
| 238 | +`p < ceil x`, matching the integer-prime product `p < x`. The `Even N` | |
| 239 | +hypothesis removes the `p = 2` zero factor. Conservative weakening by the | |
| 240 | +symmetric envelope; the formula and constants are faithful. | |
| 241 | + | |
| 242 | +## What this reading does not show | |
| 243 | + | |
| 244 | +It does not rerun the 8,197-job build, and it does not prove any premise. It | |
| 245 | +also does not show that the downstream `p + P₃` theorem is false. It shows | |
| 246 | +which interfaces are literal, which are conservative, and which are different. | |
| 247 | + | |
| 248 | +The two rows to resolve before calling the six premises a statement-level | |
| 249 | +transcription are `JSLemma51Premise` and `SchoenfeldPrimePremise`. The Mertens | |
| 250 | +small-`x` cap and the `M0` lower endpoint are secondary obligations. | |
| 251 | + | |
| 252 | +## Next | |
| 253 | + | |
| 254 | +Ask a reviewer to read Lemma 5.1 and the Lean `GrenieMolteniAPBound` side by | |
| 255 | +side, then decide whether `JSLemma51Premise` should be `Li`-centered (with the | |
| 256 | +smaller Grenié–Molteni constant) or `li`-centered (with `logIntegral li2`). | |
| 257 | +For Schoenfeld, either state the premise with the exact `li(2)` and prove the | |
| 258 | +rounding slack, or add the missing error term to the bound. | |
| 259 | + | |
