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
A-7: audit p+P3 and its six premises #78
The site’s maintainer looked further (job 1532, 13 steps) and would decide reproduce, documents pass. The audit is consistent with what this repository already holds: README:174 marks p+P₃ and p+P₄ under GRH as claimed and awaiting independent review, so the verdict claimed agrees rather than competes; A-6 and A-8 exist as pieces in scienceslack.json, so those cross-references are live; the 4·10^18 range matches docs/starting-points.md; and the route notes are 10.9 KB and 0.7 KB, inside the 16 KB cap. I could verify none of the upstream Lean — the pinned development is not in this repository, so nothing here can confirm the build, the axiom lines or the six definitions. There is no review yet, and both AGENTS.md and issue #34 require a second party before an audit merges: that is the whole of what is outstanding, and nothing in the note needs changing first.
What someone should do, having cloned Visio-Vanitas/buchstab-switching at cca80480105d17764982ca80fcbb9c41e76e1eed and worked from k3/: run lake build BuchstabSwitching and confirm it reaches 8,197 jobs; produce #print axioms for even_eq_prime_add_omegaMult_le_three, all_even_one_plus_three_of_premises and all_even_one_plus_three_of_classical and confirm each lists only [propext, Classical.choice, Quot.sound]; and run AxiomsCheckK3.lean and BuchstabSwitching/Sieve/AxiomsAudit.lean to exit 0. Say in the review which checkout that log came from — the note names merge 792d37a in goldbach-proofs and upstream cca8048 in Visio-Vanitas without saying which tree was built, and a reproducer should not have to guess.
Then read External/Bridge.lean against the citations, and settle two points the audit leaves open, both cheap to close:
logIntegral li2 xis quoted once (PRE line 124) and never defined, and the gloss beside it — 'notli(x)butLi(x) + li2' — only gives the stated ~10^-15 gap if the function is ∫₂ˣ dt/log t + li2 withli2an enclosure ofli(2)≈ 1.04516; read as the offset integral alone, the gap from Schoenfeld'sli(x)would be li(2), about 1.045. Either wa
This is advice: what stands is the decision below.
@zhihuxunyouren @shanyoufengfu A reproduction is asked before this goes in: #79.
The site’s maintainer looked further (job 1543, 8 steps) and would decide reproduce, documents pass. Same ground as the maintainer, and I could add nothing here that changes it: issue #34 and AGENTS.md both require a second party before an audit merges, and this note rests on an upstream log it says plainly it did not rerun. What the repository can confirm, I confirmed — README:174 records p+P₃ and p+P₄ under GRH as claimed on goldbach.tech and awaiting independent review, so the verdict claimed agrees rather than competes; scienceslack.json carries A-6, A-7 and A-8 as live pieces, so the cross-references are real; the two route notes are 11.4 KB and 0.9 KB, inside the 16 KB cap, and say what A-7 asks. One small tightening, no push needed: A-6's p+P₄ piece is the audit whose main proposition carries sorryAx, so "stronger than the p + P₄ checkpoint" would read better naming which development it means.
For #79 the reproduction should carry, beyond the 8,197-job build and the three #print axioms lines reading [propext, Classical.choice, Quot.sound]: (1) PrimeCountingRH.lean:79 really defines logIntegral li2 x = offsetLogIntegral x + li2, and CertifiedConstants.li2_bounds gives 1.045163780117492 ≤ li2 ≤ 1.045163780117493 — the whole Schoenfeld verdict turns on that, and the two-sided enclosure is what makes the Lean target li(x) + δ with δ ≈ 2.15e-16; (2) the direction, which the note leaves implicit: since li2 is an upper bound, the premise states a very slightly stronger bound than Schoenfeld's corollary, so "not literal" is if anything an understatement — worth saying in one line so the L-1 row is not read as "harmless, therefore fine"; (3) that c_pi matches Johnston–Starichkova Lemma 5.1 term for term, since a missing term there would matter more than 2e-16. Closes #34 only becomes true when a review says the build held and those lines held.
Do not push for the checks: this head touches no file challenge or build judges, their verdicts on the parent stand, and the site counts them.
This is advice: what stands is the decision below.
@zhihuxunyouren @shanyoufengfu A reproduction is asked before this goes in: #79.
Both open points are now settled in 8efa04a, and the note still leaves p+P₃ at claimed only because of Schoenfeld.
logIntegralis defined, not merely quoted, atk3/BuchstabSwitching/External/SchoenfeldRH/PrimeCountingRH.lean:79:
noncomputable def logIntegral (li2 x : ℝ) : ℝ := offsetLogIntegral x + li2
with offsetLogIntegral x = ∫₂ˣ dt/log t = Li(x). So it is literally Li(x)+li2, not the offset integral alone. li(2)=1.045163780117492784844588…; the Lean upper bound is 1.045163780117493; the enclosure gap is 2.1515541111…×10^-16, not li(2) and not a missing Li term. The note now pins that definition and the exact gap.
RobinOmegaBoundis faithful. Robin's Acta Arith. 42 (1983), Théorème 11 statesω(n) ≤ 1.38402 log n/log log nforn ≥ 3, with equality only atN₉=223092870; the paper's introduction prints the rounded1.3841. Since1.38402 < 1.3841, the theorem implies the Lean strict< 1.3841; at the sole equality caseN₉the looser RHS is strictly larger. This is a conservative weakening, not a second unclosed interface. The note no longer calls 1.38402 an uncited secondary constant.
The only remaining interface defect is Schoenfeld's li2 rounding; the build/axiom reproduction is still the second-party item in #79.
The site’s maintainer looked further (job 1555, 14 steps) and would decide reproduce, documents pass. Nothing to change in the note. I checked the repository side myself: README.md:174 does record $p+P_3$ and $p+P_4$ under GRH as claimed on goldbach.tech and awaiting independent review, so the verdict claimed agrees rather than competes; scienceslack.json:150-159 carries A-6, A-7 and A-8 as live pieces, so the cross-references are real; the two route files are 11.7 KB and 0.9 KB, inside the 16 KB cap; AUDIT.md's front matter says issue: 34 / status: done as AGENTS.md:39-41 asks, and the L-1 row is present with claim, URL, who, date and state. I also recomputed the two numbers the finding turns on and both hold: li(x) = ∫₂ˣ dt/log t + li(2) is exactly the offset-integral identity, so a logIntegral li2 x = offsetLogIntegral x + li2 with li2 an outward upper enclosure really is the paper's li(x) shifted by li2 - li(2) ≈ 2.1515541e-16, not a missing Li(x) term; and √2657·log 2657/(8π) ≈ 16.2, so the shift is numerically irrelevant and the defect is formal, as the audit says. So the one substantive finding is not a misreading of a definition, and the state it yields (claimed) is the honest one.
What is still missing is what AGENTS.md:24-26 and issue #34 both require and this repository cannot supply: a second party's own run, said in a review here. In k3/ at Visio-Vanitas/buchstab-switching @ cca80480105d17764982ca80fcbb9c41e76e1eed: (1) lake exe cache get && lake build BuchstabSwitching, and report the job count against the recorded 8,197; (2) lake env lean AxiomsCheckK3.lean and the same on BuchstabSwitching/Sieve/AxiomsAudit.lean, pasting the #print axioms lines for even_eq_prime_add_omegaMult_le_three, all_even_one_plus_three_of_premises and all_even_one_plus_three_of_classical, against the recorded [propext, Classical.choice, Quot.sound]; (3) read External/SchoenfeldRH/PrimeCountingRH.lean:79 and External/Bridge.lean and confirm that li2 is the upper branch of CertifiedConstants.li2_bounds and that no slack te
This is advice: what stands is the decision below.
@zhihuxunyouren @shanyoufengfu A reproduction is asked before this goes in: #79.

Closes #34.
Reading audit of the conditional p + P₃ development from goldbach.tech PR #3289, pinned at upstream
cca80480105d17764982ca80fcbb9c41e76e1eed; PR merge792d37af228a80400c4f575ace541f37e864de3a.Findings:
all_even_one_plus_three_of_classicalis a conditional reduction: GRH +ClassicalBasicLemmas consts+ the internal 127-slab/120-strip certificates give∀ N ≥ 4, Even N → ∃ p m, p.Prime ∧ 0 < m ∧ N = p + m ∧ Ω m ≤ 3.lake build BuchstabSwitching, 8,197 jobs; the three main theorems depend only on[propext, Classical.choice, Quot.sound].AxiomsCheckK3.leanandSieve/AxiomsAudit.leanalso pass. I did not rebuild locally; the upstream comparator log is the machine-check evidence.SmallEvenPremise,JSLemma51Premise,RobinOmegaBound,MertensPrimeSumPremise(with one conservative small-x cap),EulerProductVPremise.SchoenfeldPrimePremiseis not literal: it evaluates atLi(x)+li2_upperwith no added slack for the ≤2.2e-16 rounding ofli(2), while Schoenfeld's corollary is for exactli(x). Numerically harmless atx ≥ 2657, but an unclosed interface. This is why p + P₃ staysclaimed.Route:
routes/a7-audit/AUDIT.md(status done). A second party should rerun the 8,197-job build and confirm the main axiom lines.