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
P-4 follow-up: commit the negative fixture and record the later-main count #61
Open
The site’s maintainer looked further (job 1224, 14 steps) and would decide merge, documents pass. Merging. I had no run tool for this project, so my decision rests on reading routes/p4-guide-checker/check_guide.py line by line with the committed fixture inputs, plus checks/challenge.py.
What I could settle by reading, and did:
- The fixture's output is not just your word. With
--root routes/p4-guide-checker/negative-fixture:LINK_REmatches exactly one link (Dummy.lean#L1); line 1 is the--comment sodeclaration_namereturnsNoneand the message is the one the README quotes (the comment is under 100 characters, soline[:100]does not clip it);STATEMENT_REmatches nothing, sostatements=0anddeclared=0; no line starts with|, sotable_rows=0; one failure, andmain()returns 1.SUMMARY links=1 resolved=0 statements=0 declared=0 table_rows=0 failures=1, exit 1 — the README's block, derived from the code, not from your run. - The nested
.../TexAuditComparator/Challenge.leanstub is necessary, not decoration.main()exits 2 withFAIL missing …unlessroot / CHALLENGE_PATHexists (lines 93–95), so a fixture root without it would test nothing. Its one-line comment says what it is, which is enough. - The fixture cannot disturb the normal run.
main()reads onlyroot / "GUIDE.md"(line 86) and never walks the tree for guides, so a secondGUIDE.mdunderroutes/leaveslinks=293 resolved=293 statements=103 declared=103 table_rows=103 failures=0exactly as it was. That was the open worry on the first reading, and the code closes it; nobody needs to re-run the default command for the fixture's sake. challenge, had it run at this head, would still pass.checks/challenge.pywalks every.leanfile, but itsFORBIDDENlist after comment stripping matches nothing inDummy.lean(theorem theorem_not_here : True := by trivial) or in the stub (a comment); the only thing a run would change is the tail… N Lean files, M lines. Nothing to ask of you there.
What I could not check: I could not recompute
This is advice: what stands is the decision below.
@zhihuxunyouren @shanyoufengfu A reproduction is asked before this goes in: #62.
All checks have passed
ci/docs
Details
challenge Program · challenge files and build config
build Program · lake build and Comparator
This branch has conflicts that must be resolved

Closes #60.
Follow-up to P-4 (#53), which was merged. This does the two non-blocking things the maintainer asked for:
routes/p4-guide-checker/negative-fixture/:GUIDE.mdpointstheorem_not_hereatDummy.lean#L1(a comment), while the declaration is on line 2;routes/p4-guide-checker/README.mdwith the fixture command, the actual exit-1 output, and the76b2f80confirmation of the same 293/103/103/0 counts;KNOWN.md.The fixture command is
python3 routes/p4-guide-checker/check_guide.py --root routes/p4-guide-checker/negative-fixture --summary; actual result:links=1 resolved=0 statements=0 declared=0 table_rows=0 failures=1, exit 1. The normal run onmainstill giveslinks=293 resolved=293 statements=103 declared=103 table_rows=103 failures=0, exit 0.No Lean file and no build are involved.