AI Proof of Riemann Hypothesis: What 'Unreadable' Actually Means
A mathematician's Claude-assisted Lean code for the Riemann Hypothesis sparked a Japanese debate over whether machine-generated proofs are 'unreadable' in the sense of being incomprehensible or merely ugly. The answer changes everything about what proof means in the AI era.
The 250,000-page proof that was a joke
Levent Alpöge wanted to tell a punchline. He was working in Lean, the theorem-prover language, on a path toward the Riemann Hypothesis using Claude, and the code was so long and absurd that he inflated the page count to 250,000 and buried a pedantic statement—“the real numbers form a totally ordered set”—deep in the main theorem. He thought that level of tedium would make the joke obvious. It did not. The number went viral. People quoted it in conference halls and Twitter threads and, crucially, in Japanese academic Slack channels. He is now apologizing, citing Terence Tao’s long-standing advice: do not put jokes in papers.
The apology itself, posted on X on November 24, is the document to read. Alpöge admits the Lean code “compiles” but is “full of garbage,” that he was “yoloing” through large sections, and that his chronic habit of taking a decade to write up proofs meant the human-readable paper is still years away. He says most of the code will “simplify massively” once he actually sits down and clean it up. He says he did not, and he is “mea culpa” about it.
What Japanese math circles are actually arguing about
The Togetter thread that went semi-viral in Japan reframed the whole episode around a single question that English-language coverage largely skipped: does “humans cannot read it” mean “no mathematician can understand the mathematics,” or does it mean “the presentation is machine-generated, ugly, and not yet in the form a human would write”?
That distinction is not academic. If the former, the proof is either wrong or so deep it has passed the horizon of current human comprehension, which would be a genuinely new epistemological category. If the latter, the mathematics is sound but buried under thousands of lines of compiler-generated scaffolding, and the only thing missing is a graduate student with six months and a red pen.
Japanese mathematicians in the thread leaned heavily toward the latter reading. The Lean code is described as “AI-flavored” (AI味がある)—a phrase that in technical Japanese usage means “it works, but it smells like a machine wrote it.” The analogy people drew was to early machine-generated combinatorial proofs: correct, but so opaque that verifying them by hand took longer than generating them. The concern is not that the math is wrong. It is that no one has yet written the 40-page expository paper that would let a human checker follow the argument step by step without trusting the compiler’s word for every intermediate lemma.
The real mathematical content is about definitions, not the hypothesis
This is the part most English-language reporting missed entirely. Alpöge’s own clarification says the point of the work is not a clever proof technique. It is the struggle to define the right objects. Specifically, he wants to construct an “H¹-type object over number fields”—a cohomological or homological object that does not currently exist in the standard toolkit. The Riemann Hypothesis, in his framing, should be easy, the way the Weil conjectures became easy once Grothendieck built the right cohomology. If the RH is hard, the difficulty is not intrinsic; it is a sign that “our setup is just dumb.” The Lean code is raw material for that definitional project, not a finished proof in the usual sense.
That reframing matters. It means the controversy is not “AI proved a famous conjecture.” It is “AI helped a mathematician build new definitions that, once in place, make a famous conjecture tractable.” The proof status is therefore conditional: the Lean code verifies a particular chain of implications, but the broader program—the interpolation of definitions—remains a research project, not a theorem.
Who wins, who loses, what happens next
Alpöge wins the publicity war and loses the rigor war, at least temporarily. His apology is specific and useful; he names Scott Armstrong as the colleague who called out his chronic delay, he admits the code is garbage, and he commits to a responsible write-up. But the 250,000-page headline has already done damage to the credibility of the underlying mathematics. Serious readers will now discount any Lean artifact he posts until the expository paper lands.
Lean’s community wins a cautionary tale. The thread is a textbook case of what happens when a formally verified proof is released without a clean human-readable companion. The code compiles; that is necessary but not sufficient. The Japanese debate crystallizes the gap: in a world where AI can generate thousands of lines of verified code overnight, the bottleneck shifts from “can we check the logic?” to “can a human understand why this particular chain of lemmas was chosen?” Readability becomes the new rigidity test.
The Riemann Hypothesis itself, of course, remains unproven. What Alpöge has is a path, a set of definitions in progress, and a Lean file that his compiler says is valid. Whether that path leads to a clean proof in five years, ten years, or not at all is the open question. The joke was the 250,000 pages. The real work—the writing, the simplification, the defense before the community—has not started.
Why the Japanese framing is the one English readers should care about
The “AI flavor” debate is not a translation problem. It is a philosophical one that the Japanese mathematics community is having more honestly than the Anglo-American one, where the default reaction to any AI-generated proof is either uncritical enthusiasm or flat dismissal. The Togetter thread’s central claim—that “humans can’t read it” is a statement about style, not about comprehension—puts a fence around the question that prevents it from collapsing into either “AI is a god” or “AI is a toy.” The proof is readable. It is just not yet written in the way a mathematician would write it. That gap is where the AI sits, for now: not replacing the mathematician, but producing the first draft that the mathematician then spends a decade polishing.
Terence Tao’s advice about jokes in papers was meant to protect readers from being misled. Alpöge’s 250,000-page gag protected himself from having to write a clear proof for one more month. The apology will help. The code will be cleaned. The definitions will be interpolated. And the Riemann Hypothesis will wait, as it has for 165 years, for someone to write the next 40 pages in a font a human can actually read.