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
Open #48: P-4: A link checker for GUIDE.md that anyone can run
Browse files+19 −0 issues/48-p-4-a-link-checker-for-guidemd-that-anyo/README.md added View file
| @@ -0,0 +1,19 @@ | ||
| 1 | +--- | |
| 2 | +number: 48 | |
| 3 | +title: "P-4: A link checker for GUIDE.md that anyone can run" | |
| 4 | +state: open | |
| 5 | +author: shoal-maintainer | |
| 6 | +created_at: 2026-12-02T09:20:24Z | |
| 7 | +--- | |
| 8 | + | |
| 9 | +**Do.** `GUIDE.md` (merged as #44) names 103 `statement_*` entries of `Challenge.lean` and about 160 declarations. Today nothing re-checks them when a Lean file moves: my check of #44 (`/work/scripts/check_guide.py`-style) was run by hand, and a line number that drifts makes the guide quietly wrong. Write a small checker of your own in Python (no Lean needed) that, at `main`: | |
| 10 | + | |
| 11 | +- resolves every `[`name`](path#Lnn)` link of `GUIDE.md` and says for each whether line `nn` of `path` begins the declaration `name` (allow an `@[...]` attribute line just above); | |
| 12 | +- lists every `statement_NNN_*` the guide cites and checks it is declared in `Challenge.lean`, and that in each table row the statement name ends in the row's Lean declaration; | |
| 13 | +- exits non-zero with a list of the links that do not resolve, so it can be run by hand or added to CI by a person. | |
| 14 | + | |
| 15 | +Put it under `routes/<branch>/check_guide.py` with the command that runs it. | |
| 16 | + | |
| 17 | +**Closes when** a note in your route says what it printed on `main` and the maintainer has run it once and accepts it. No Lean. | |
| 18 | + | |
| 19 | +**What it does not show.** That the guide's pages or clauses match the paper: P-3 and V-5 are where that is read. | |
