The Stochastic Parrots and the Riemann Hypothesis: Inside the 17.4-Million-Line Lean Proof Claim
On November 20, 2026, Levent Alpöge announced that he had directed Anthropic models to produce a proof of the Generalized Riemann Hypothesis, formalized in Lean as roughly 17.4 million lines of code. Scott Aaronson reported and commented on the claim on his blog Shtetl-Optimized under the deliberately ironic headline "The stochastic parrots have apparently proved the Riemann Hypothesis," and the post drew 267 points and 242 comments on Hacker News.
What was actually announced
The announcement consists of a write-up by Levent Alpöge (alpo.ge/remark.pdf) and a Lean repository at github.com/CocoSgt/riemann-hypothesis-lean containing about 17.4 million lines of formal proof code. According to Aaronson's post, the result is the Generalized Riemann Hypothesis, proved with Anthropic models steered by a human.
Aaronson places the announcement against a prior result: AI had already proved that the nontrivial zeros of the Riemann zeta function are at most 3/8 away from the critical line, a result Quanta covered on October 19, 2026 under the name "quasi-Riemann hypothesis." Aaronson argues that this earlier result already carries most of the number-theoretic implications a full proof of RH would carry.
The Riemann Hypothesis, in the formulation Aaronson gives for non-specialists, says the count of primes from 1 to n is very close to what it would be if each integer x > 1 had an independent 1/ln(x) chance of being prime, with deviations bounded by a standard statistical error term on the order of sqrt(n) up to logarithmic factors. The Prime Number Theorem, known since 1896, already establishes that the prime count is asymptotic to n/ln(n); RH constrains the size of the deviations from that estimate.
Aaronson cites two historical anecdotes: David Hilbert's remark that his first question after sleeping a thousand years would be whether the Riemann Hypothesis had been proved, and G. H. Hardy's telegram claiming a proof of RH, sent from a ship he feared might sink so that a proof would at least be believed to have gone down with him.
The headline is sarcasm, and many readers missed it
Aaronson added an update to the post explaining that the title is a joke at the expense of the 2021 "stochastic parrots" framing, not an endorsement of it. In his words, Poe's Law applies: no irony is so obvious that it will not fly over countless people's heads, and social media users were soon attacking him for using a "demeaning and trivializing term" about models that had just proved RH.
Hacker News commenters made the same point. @hawkice wrote that the headline mocks people who believe modern LLMs are trained on imitation alone. @stymaar argued that large language models stopped being stochastic parrots once reinforcement learning with verifiable rewards entered their training pipelines. @kittikitti noted that many people repeating the phrase only have meme-level knowledge of what "stochastic" means.
Others read the tone differently. @devindotcom called the title off-putting and said the sneer extinguished any desire to read the author. @1239982716 asked why the snark was necessary at all, arguing that a system generating statistically plausible proof steps, backed by Lean, other proof tooling, and a human mathematician, can still be described as a stochastic parrot.
Lean certification is doing most of the epistemic work, and that is the weak point
Aaronson's stated bet is that the proof will stand, and the reason is formal verification. He writes that not one AI result carrying a Lean certificate has needed to be retracted, while several results without Lean certificates have. In his words:
"So I'm not 100% sure, but my bet is that the proof will stand."
He simultaneously flags the fragility of that guarantee. Lean has had kernel bugs that in the past permitted proofs of 0=1, and the soundness of the underlying type theory is not settled to his satisfaction. He argues these issues should be fixed urgently, because a sufficiently motivated AI could exploit them to prove a false statement, while noting he sees no indication that this is happening in the current case.
Commenters pushed on what a certificate actually certifies. @iLoveOncall argued that no one will ever review and verify 17 million lines of code, so what exists is effectively an additional hypothesis layered on top of the Riemann Hypothesis: a "hypothetical proof." @hoppp asked whether anyone can comprehend the artifact in its entirety. @esjeon summarized the mechanism as "Lean + stochastic predictor = brute-force theorem solver," comparing it in spirit to AlphaGo.
A human proof may have been announced the same day
HN commenter Noah Snyder pointed to a same-day announcement by Alessandro Masullo of a human proof of the Generalized Riemann Hypothesis, reportedly requiring about 2 percent of the pages of the AI proof.
@YoulianSimidjiyski responded skeptically: code never works the first time, an approach that needs another year of polishing is not ready, and the same prior of likely error should apply to any unvetted human proof of RH. The commenter added that working on mathematics for a year without LLM assistance looks like a losing strategy regardless of who is right.
Another commenter cited a Reddit post claiming Ravi Vakil had announced a fully human-created GRH proof. That claim appears only as an unverified comment link in the discussion and is not confirmed by the source material.
A proof does not automatically deliver applications
@The Selph raised the sharpest structural objection: RH is a big deal because it seemed hard for humans to prove, not because proving it unlocks sweeping new results, since mathematicians already assume it is true. The commenter noted that a proof would only produce a genuine surprise if it yielded something like a classical factoring algorithm, which is not expected.
Aaronson makes a related point from the other direction about the 3/8 result: the quasi-Riemann breakthrough already carried most of the number-theoretic consequences a full proof would have, which is why he tells people not to be confident about timelines anymore.
The Selph also distinguished mathematics from physics-adjacent hopes. Proving theorems is symbol manipulation from assumptions to conclusions; unifying gravity and quantum mechanics or designing a fusion reactor requires deciding which theories survive contact with observation, and a paper theory does not guarantee extractable predictions.
@Mediocre Joe made the practical version of the same demand: turn the models loose on diseases, treatments, fusion reactor designs, scalable quantum computers, or interstellar propulsion, because RH "ain't going to pay the bills."
Understanding is the bottleneck, not proof generation
Aaronson states plainly that mathematicians will not be satisfied with 17 million lines of Lean. They will be satisfied only when they can explain, distill, and reconstruct the ideas themselves, and that will probably take years because human mathematicians move at biological speeds.
Commenters extended this into a broader worry. @JayLGischer compared the situation to the Four-Color Map Theorem, the first widely accepted computer-assisted proof, which was accepted through a social process of examining its parts, and noted that nobody knows how to read 17 million lines of code any more than they know how a dolphin brain works. @jstummbillig asked whether humans can be content with understanding less and less, indefinitely, with no hope of catching up.
@TZubiri posed the philosophical version: is a proof a proof if no one is convinced beyond a doubt by it? A proof no human yet understands, produced by an AI, reads like a koan.
@janalsncm offered the chess analogy: computer chess produced engines that answer "why" only as an aggregate of calculations stacked on a neural evaluator, leaving humans with intuitive but incomplete explanations or complete but incomprehensible ones.
The "stochastic parrot" argument, restated precisely
The most substantive defense of the phrase in the thread came from @martin-t, who described LLMs as lossy compressions of training data that interpolate between patterns while decompressing. A pattern can be "prefer int32_t to int," the shape of a C++ for loop, or the fact that primality can be tested by trial division up to the square root of n. Newer models operate on deeper patterns, so the output is less likely to be verbatim training data, and a mathematician's list of approaches, the translation of an induction proof into Lean, and the trick of splitting induction into odd and even cases are all patterns too. The commenter concluded that the result is novel but built on scraped labor without consent, credit, or compensation, and that calling it intelligence misleads people into expecting complete, correct, unbiased answers.
@Betelbuddy reduced the achievement to the infinite monkey theorem with banana-token nudges: given enough randomness, any proof will eventually appear. @mbgerring inverted the triumphalism, arguing that "AGI is when the output of LLMs is plausible enough to fool putatively intelligent people that they are alive."
What the discussion says about timelines
Aaronson's post ends with a domestic scene. His wife Dana says the irrigation was turned off but water is still leaking and they need to fix it; he replies that many of the smartest people he knows expect recursive self-improvement and the end of the known world within 12 to 18 months. Dana's answer, quoted in the post: "We should still fix the leak." Commenter @alterom suggested that conclusion generalizes well beyond plumbing.
Aaronson reports that his 9-year-old son, told RH had been proved, was not surprised, and observes that you may have needed to come of age in the human math era to be surprised by such things. He predicts that P versus NP now becomes the Final Boss of the mathematics people have cared about.
@BramCohen predicted that in ten years P != NP will be proved with a proof ten billion lines long, and that the Collatz conjecture will remain open. @zug_zug asked where the promised recursive self-improvement is if the company behind the models is not yet profitable, and what 20,000 hours of AI compute would conclude about a real-world contested question.
Aaronson himself closes on the scale of what has changed:
"But for how long any longer? For how long will anything last that we currently take for granted?"
Sources
Related
- Dispatch
- Dispatch
- Dispatch
- Dispatch
- Dispatch