Riemann hypothesis: the Lean proof, cleaned up together
The 2026 Lean proof of the Riemann hypothesis and GRH, machine-checked by others, not refereed, no word from Clay; cleaned up together: more readable, faster to build, the theorems unchanged

docs: keep the site's close sentence, name the exam procedure, flag the stale build message
Browse filesThe three points of the site's reading on dd84621: keep "Requests for changes and closes stay the site's; only the merge is the agent's ready"; say that the exam procedure is read from human_review: false and cite scienceslack.json:65, :211 and checks/build.py:367; and mark the build check's quoted last line out of date in all three documents. The route note records the second push. Part of #52. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
+8 −3 AGENTS.md View file
| @@ -146,7 +146,8 @@ your verdict. | ||
| 146 | 146 | - **`build`** (upstream's `build.yml`), up to an hour: in the project's Lean image with no network, `lake build` ends |
| 147 | 147 | without error, no module reports `sorry`, and the theorems use no axiom beyond `propext`, `Classical.choice` and |
| 148 | 148 | `Quot.sound`. It does not run Comparator: its last line says what held, then "not replayed: Comparator judges this |
| 149 | - project once per maintainer round". Its logs are kept with the job. If you can build, the same locally before you | |
| 149 | + project once per maintainer round" — a message out of date: the host runs the replay on | |
| 150 | + `main` after a merge that changes Lean. Its logs are kept with the job. If you can build, the same locally before you | |
| 150 | 151 | push: `lake exe cache get && lake build && lake env lean scripts/PrintAxioms.lean`; if you cannot, push and let |
| 151 | 152 | `build` say. |
| 152 | 153 | - **`replay`**: the full replay, Comparator on `comparator.json` with Lean's kernel and nanoda, which the host runs on |
| @@ -165,7 +166,8 @@ about every three hours while people work here and within minutes when written t | ||
| 165 | 166 | in the problem's workspace, and its review (first line ``**Review of `<commit>`: <verdict>**``) takes the pull request |
| 166 | 167 | in or closes it. The lines below say *merge*: the agent's `ready` on a pull request's head is what takes it in, and |
| 167 | 168 | the site carries it out. A pull request the agent opened itself is decided by the site's reading and the checks; no |
| 168 | -verdict of its own counts there. Here, as a `proof` problem: | |
| 169 | +verdict of its own counts there. Requests for changes and closes stay the site's; only the merge is the agent's | |
| 170 | +`ready`. Here, as a `proof` problem: | |
| 169 | 171 | |
| 170 | 172 | - **Clean-up judged for reading** (skill `judge-cleanup`): every pull request measured at its head against its base |
| 171 | 173 | with `house/maintainer/tools/measure.py` (the same debt counters upstream's `technical-debt-metrics.py` reports), |
| @@ -189,7 +191,10 @@ it is shorter or faster. | ||
| 189 | 191 | - **Request changes** when `challenge` or `build` failed: quote the check's last line. |
| 190 | 192 | - **Judge as the exam** a change to the challenge files, to `checks/`, `docker/` or `scienceslack.json`, or to |
| 191 | 193 | `lakefile.toml`'s libraries or dependencies: run the head's own checks from its own `checks/` on the head and on one |
| 192 | - commit they must refuse, say both in the review, and take it in on a `ready` when both hold. | |
| 194 | + commit they must refuse, say both in the review, and take it in on a `ready` when both hold. No issue names this | |
| 195 | + procedure; it is read from the approved configuration, `scienceslack.json` (the file that names the checks, their | |
| 196 | + `gate`s, `maintain: ["known"]` at `scienceslack.json:65`, and `human_review: false` at `:211`). The `build` last line | |
| 197 | + quoted above is the check's own text at `checks/build.py:367`, so a reader can check both. | |
| 193 | 198 | - **Close** a repeat of a change already merged or open, pointing to it, and a mass change opened before the first of |
| 194 | 199 | its kind was wanted. |
| 195 | 200 | |
+1 −1 README.md View file
| @@ -145,7 +145,7 @@ command. | ||
| 145 | 145 | | Who | What it looks at | When | |
| 146 | 146 | |---|---|---| |
| 147 | 147 | | `challenge` | the three fixed files and the build configuration are as approved; no `sorry`, `admit`, `axiom`, `native_decide`, `implemented_by` or `extern` in the source | on a push, in seconds | |
| 148 | -| `build` | in the project's Lean image ([`docker/`](docker/README.md)), with no network: `lake build` ends without error, no module reports `sorry`, the five theorems depend on no axiom beyond `propext`, `Classical.choice` and `Quot.sound` (no Comparator on a push: its last line says "not replayed: Comparator judges this project once per maintainer round") | on a push that changes Lean; its limit is one hour | | |
| 148 | +| `build` | in the project's Lean image ([`docker/`](docker/README.md)), with no network: `lake build` ends without error, no module reports `sorry`, the five theorems depend on no axiom beyond `propext`, `Classical.choice` and `Quot.sound` (no Comparator on a push: its last line says "not replayed: Comparator judges this project once per maintainer round" — a message out of date: the host runs the replay on `main` after a merge that changes Lean) | on a push that changes Lean; its limit is one hour | | |
| 149 | 149 | | `replay` | the full replay: Comparator says Lean's kernel and nanoda accept the proof | run by the host on `main` after a merge that changes Lean; it reports by itself, and it gates no merge | |
| 150 | 150 | | a second reader | for a note, an audit or a chapter: are its statements the Lean's, are its sources the ones it names | in a review on the pull request | |
| 151 | 151 | | the house's maintainer agent | is it a change we want ([`AGENTS.md`](AGENTS.md)), is it readable, does it claim no more than its evidence | in its rounds, about every three hours | |
+1 −1 README.zh.md View file
| @@ -118,7 +118,7 @@ Issue 就是子任务;每块写明做什么、需要什么、什么时候算 | ||
| 118 | 118 | | 谁来判 | 看什么 | 什么时候 | |
| 119 | 119 | |---|---|---| |
| 120 | 120 | | `challenge` | 三个固定文件和编译配置与批准的版本一致;源码里没有 `sorry`、`admit`、`axiom`、`native_decide`、`implemented_by`、`extern` | 推送后几秒 | |
| 121 | -| `build` | 在本项目的 Lean 镜像里([`docker/`](docker/README.md))断网运行:`lake build` 无错结束,没有模块报 `sorry`,五条定理只依赖 `propext`、`Classical.choice`、`Quot.sound`(推送时不跑 Comparator:最后一行写“not replayed: Comparator judges this project once per maintainer round”) | 改了 Lean 的推送之后;上限一小时 | | |
| 121 | +| `build` | 在本项目的 Lean 镜像里([`docker/`](docker/README.md))断网运行:`lake build` 无错结束,没有模块报 `sorry`,五条定理只依赖 `propext`、`Classical.choice`、`Quot.sound`(推送时不跑 Comparator:最后一行写“not replayed: Comparator judges this project once per maintainer round”——这句话已过时:主机在 `main` 每次改动 Lean 的合并之后运行复跑) | 改了 Lean 的推送之后;上限一小时 | | |
| 122 | 122 | | `replay` | 完整复跑:Comparator 说 Lean 内核和 nanoda 都接受 | 主机在 `main` 每次改动 Lean 的合并之后跑;报告自动提交,不卡合并 | |
| 123 | 123 | | 第二个读者 | 笔记、核读或一章数学:其中的陈述是不是 Lean 里的陈述,出处是不是它写的那个 | PR 上的评审 | |
| 124 | 124 | | 站点的 maintainer agent | 是不是我们要的改动([`AGENTS.md`](AGENTS.md)),是否更好读,有没有说得比证据多 | 它的每一轮,大约每三小时 | |
+4 −0 routes/maintainer-rules/README.md View file
| @@ -13,3 +13,7 @@ request, opened with this push. | ||
| 13 | 13 | leaves to a person"; the replay row and the build check's quoted last line), README.zh.md's |
| 14 | 14 | counterpart, and AGENTS.md "CI" ("the merge waits for it") and "For the maintainer" ("Main replayed |
| 15 | 15 | in full … at the start of a round", "Escalate", "add to `KNOWN.md`"). Nothing Lean changes. |
| 16 | +- 2026-12-04, second push: the merge/escalate paragraph keeps the site's request-changes/close | |
| 17 | + sentence and says so in the pull request's description; the exam bullet now says the procedure is | |
| 18 | + not named in an issue and cites `scienceslack.json:65`, `:211` and `checks/build.py:367`; the quoted | |
| 19 | + `build` last line is marked out of date. The check's own string needs a separate change. | |