Imagine being handed a proof of the most famous open problem in math, and it arrives as 17 million lines of code with no paper attached. That was last week. The Lean library Levent Alpöge released on November 20 isn’t something you read so much as something you run.
Five days later, a rewrite appeared on GitHub. The repository is called grh-lean, opened at 20:42 UTC on November 25 (05:42 KST on November 26), described as “A short Lean 4 proof of the Generalized Riemann Hypothesis.” Its README says it builds on Alpöge’s proof and was “produced in collaboration with my colleagues at Anthropic.” It carries the same five theorems in two editions: a readable one at about 300,000 lines and a compact one at about 76,000. Assuming both sides count lines the same way, that’s roughly 1/57 and 1/224 of the original (my arithmetic).
The shrinkage is the interesting part, because it moves the argument. Whether the proof is correct was settled a week ago. Whether a human can follow it is still open, and these two editions are an attempt at an answer.
What the community actually certified
The Lean FRO and the Mathlib Initiative published a joint statement on November 21. They checked four things: that Mathlib’s RiemannHypothesis statement is the right statement of the conjecture, vetted by experts; that the library compiles without errors (dozens of people reproduced the same export); that two tools (comparator and con-leche --compare) confirm the proved theorem is exactly that statement; and that the exported proof passed Lean’s kernel plus the con-leche and con-ron checkers and other independent checkers.
Their conclusion was not hedged: “We hereby certify that both the statement and the proof of the Riemann Hypothesis are correct.”
Then read the status section of the new repository and you hit what sounds like the opposite: “The proof has passed machine checks only … No mathematician has read it through, and no paper comes with it.”
Both statements are true because they certify different things. The community checked that this code proves this theorem. Reading and understanding it is still ahead. Alpöge said as much in the note he published with the proof: the argument is “incredibly long at the moment,” and he intends to write it up properly.
Two editions, two different jobs
| Edition | Lines of code | All lines (incl. comments and blanks) | Files under src |
|---|---|---|---|
| Original library | about 17 million | not published | not published |
| Readable, grh/ | about 300,000 | 477,000 | 495 in Lib + 306 in New |
| Compact, grh-compact/ | about 76,000 | 113,000 | 573 in Lib + 219 in New |
The readable edition separates background from argument. Results Mathlib doesn’t have, proved here, sit in src/Lib; the steps of the new argument sit in src/New. There’s a GUIDE.md that gives a reading order, plus a CONTENTS.md listing every file with a title. The compact edition’s README, describing its layout, adds a warning worth taking literally: “The proofs are written to be short, not to be easy to read.”
Checks are documented per edition. All five theorems compile against Lean v4.35.0 with a pinned Mathlib commit, without sorry, and depend only on the axioms propext, Classical.choice and Quot.sound. A build takes one to two hours on 12 cores with 24 GB of memory. The readable edition’s export was accepted by three independent checkers (nanoda, con-leche, con-ron), and Comparator v4.35.0 accepted the proofs in both editions.
One line in the readable README is worth pausing on: several hundred of the more than 20,000 declarations are not used by the five theorems, because they “state results for their own sake, or serve automation.” It answers the same kind of question as the claim about unused sections in Alpöge’s original, which Scott Aaronson’s November 26 update mentions: the new edition explains its own unused declarations in the README.
OpenAI is stacking a catalogue, not a proof
OpenAI’s side of the story is a catalogue, not a single proof. Its openai/math repository, opened October 6, holds 730 manuscripts in 375 families according to its README, the vast majority produced with an unnamed internal model. On November 24 it added nine manuscripts, including a lower bound showing the matrix multiplication exponent is 9/4 over every field (111 pages) and a matching bound for the linear-gate count of the Fourier transform at N(log N)^(1/2+o(1)) (41 pages).
The README puts numbers on the pipeline. The model was posed about 4,000 problems, and on average each result used three hours of ChatGPT Pro thinking compute. After grouping output into families and requiring significance, 730 manuscripts survived. The README doesn’t say how many results there were, so the total compute can’t be worked out.
Verification is the part to watch. The same README says the repository has roughly 42% of its “top-line results” formalized. The Riemann proof came out of a different repository, not this catalogue. The README’s own exceptions are a zero-free region for the zeta function and the Hodge Conjecture for CM abelian varieties, and a zero-free region is a partial result toward the Riemann Hypothesis, not the thing itself.
Scott Aaronson put the week in one line on November 25: “I now feel in my bones, for the first time ever, that a proof of P ≠ NP is not far.” He also noted that the labs “don’t even bother to issue press releases anymore, they just upload papers.” His post passed 1,900 points and 1,700 comments on Hacker News when I checked.
What to check before the next headline
The statement’s four criteria make a checklist you can reuse: is the theorem statement the right one, does the code compile, does it prove that statement, and did the checkers accept the proof. The original passes all four. The OpenAI catalogue is a different case: by its own count, about 42% of its top-line results are formalized. Two headlines can both say “AI proved it” and carry very different weight on this test.
So the thing to watch now is the first mathematician who reads the new edition and writes down what the argument actually does. Alpöge has promised a proper write-up, and the readable edition ships with a reading order for exactly that purpose. That’s the moment 17 million lines of code turns into mathematics other people can use, and it hasn’t happened yet.