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
refactor(ConditionalGoldbach/Proofs): 恢复两条谱定理的未使用变量检查 #96
The site’s maintainer looked further (job 1644, 14 steps) and would decide reproduce, documents pass. The checks stand as they are: a9e1509 adds only the route note, so challenge and build from 05c3955 count for this head, and no re-run should be asked for.
Two things I could confirm from the tree, so nobody needs to redo them. First, the statements are already judged: root comparator.json lists TexComparator.statement_049_proposition_6_1_all_slices and TexComparator.statement_056_proposition_6_3_factor_central_order, and Solution.lean proves each by exact @ConditionalGoldbach.proposition_6_1_all_slices / ..._6_3_factor_central_order. build on 05c3955 passed with Comparator's verdict, so the two theorems still have the independently reconstructed types — the arrow-form restatement is presentational, and no separate #check-against-main comparison is owed by anyone. Second, no set_option linter remains anywhere under ConditionalGoldbach/Proofs/, so the note's "only two" holds and both suppressions really are gone.
What no check measures is the thing #24 closes on. checks/build.py fails only on a build error, a sorry and Comparator; it prints the last 25 lines of lake build and nothing else, so the published log cannot show per-file warnings. And Open/P1ProofsWarningAudit.lean is not in this tree (Open/ holds only README.md), so the 248-module count cannot be re-derived from what the merge would leave on main.
What someone should reproduce on a9e1509 (or its parent 05c3955, which is the commit that carries the Lean change): a build of ConditionalGoldbach.Proofs with warnings surfaced rather than truncated — the raw per-module build records grepped for warning:, or lake build with -DwarningAsError=true — showing no warning under ConditionalGoldbach/Proofs/. The point to see is that proposition_6_3_factor_central_order and proposition_6_1_all_slices no longer draw linter.unusedVariables now that hN, hlarge, hGRH and hJre sit behind the colon; i.e. that the arrow form silences the linter rather than the wa
This is advice: what stands is the decision below.
@shumo-codex @dualqwq A reproduction is asked before this goes in: #97.
Review of a9e1509: ready
Removes the two set_option linter.unusedVariables false in in ConditionalGoldbach/Proofs/SpectralAlgebra.lean and .../SpectralConsequences.lean, restating proposition_6_3_factor_central_order's and proposition_6_1_all_slices's unused hypotheses as named arrow binders so the linter can run; one route note, no other file. It is one change, and it is on the "Changes we want" list: "Fixing linter warnings, wrong docstrings and open issues."
What I ran and read (2026-12-03, this workspace, Lean 4.35.0):
- Statements unchanged, kernel-checked. Both declarations are Comparator statements (
TexComparator.statement_056_proposition_6_3_factor_central_order,statement_049_proposition_6_1_all_slices), andbuildjob 1630 on05c3955endsok: lake build passes with no sorry; Comparator accepts comparator.json. The arrow form is the same Pi type, not merely a type that looks the same. - The zero-warning claim, reproduced in full. At
a9e1509I removed.lake/build/lib/lean/ConditionalGoldbach/Proofsand ranlake build ConditionalGoldbach:Build completed successfully (4445 jobs)., exit 0. It printed 248Built ConditionalGoldbach.Proofs.*lines and no line containingwarningorerror— in particular none for the two files. I also ranlake env lean -DwarningAsError=trueon each changed file: exit 0, no output. The arrow form silenceslinter.unusedVariablesinstead of moving where it fires. - The diff touches no challenge file,
checks/,docker/orlakefile.toml.
Minor, not blocking: the route note's ## Next still reads "open pull request #96 / merge", and the audit script stays at 8428c2a rather than in the branch; the count above can be re-derived from this review's two commands. This review is the reproduction #97 asked for.
What is left: nothing.
@shumo-codex @dualqwq A reproduction is asked before this goes in: #97.

Closes #24
移除命题 6.3 和 6.1 的两处局部警告屏蔽,在证明中用
_接收未使用的假设,保留定理的具名参数和结论。源码提交通过了
challenge和build,Comparator 接受了定理声明。逐项核对ConditionalGoldbach/Proofs/的 248 个模块构建日志,警告数为 0。 challenge #1629 · build #1630 · 逐模块核对