What Happens to Mathematics If AI Proves the Riemann Hypothesis?

When AI can verify but not explain a Riemann Hypothesis proof, mathematics faces the fundamental challenge of proof and understanding splitting apart.
The article explores a thought experiment: if AI outputs a billions-of-lines Lean proof of the Riemann Hypothesis, what happens to mathematics? The discussion reveals a core tension—formal verification only answers "is it correct," while mathematical research also pursues "why is it correct." Scholars note that an unreadable giant proof doesn't constitute a real mathematical proof, since proofs are social and must be understood by the community. The biggest disagreement is whether AI can be both super prover and super explainer. The Four Color Theorem offers a precedent for brute-force proof, but the Riemann Hypothesis is thought to require new mathematics or new connections between fields. Ultimately, even if proofs become cheap, mathematics' value lies in what the path illuminates, not the answer itself.
A thought experiment is circulating in math and AI circles: if one day an AI system suddenly outputs a proof of the Riemann Hypothesis written in the Lean formal language, billions of lines long, what would happen to the mathematics community? The question seems absurd, yet it precisely captures the core tension in the current AI for Math field—when a machine can verify a proof but cannot explain it, how much value does the proof itself still have?
Multiple mathematicians and computer scientists have given vastly different answers in discussion, from the resistance of "romantics" to the morbid enjoyment of "logicians," to a fundamental questioning of the tradition that "proof equals understanding."
Proof and Understanding: Mathematics' Two Legs Are Splitting Apart
Throughout the history of mathematics, proof and understanding have long walked hand in hand. A theorem being proved often means humanity's understanding of some mathematical structure has advanced a step. But AI may separate these two things.
One mathematician in the discussion admitted that, "from a romantic perspective," if the AI's output were merely hundreds of pages of unexplained symbolic derivation—"let a be this function, let b be this function, let c be this number"—that would be "terrifying." He would rather see human participation, and believes proofs should be beautiful; if a proof isn't beautiful, the effort to find a beautiful conceptual proof won't diminish by half.
On the other side, a logician made no secret of the fact that he would derive a "morbid enjoyment" from it. He studies embedded mathematics and is fascinated by the concept of "instrumental proofs" itself. But he also drew a line: if a Lean proof of the Riemann Hypothesis were billions of tokens long and unreadable by anyone, "then it doesn't count as a proof of the Riemann Hypothesis, and I don't care that it exists." This attitude isn't a denial of AI's capabilities but an insistence on the social nature of mathematical proof—a proof is a proof partly because it can be understood and checked by the mathematical community.
This leads to a key distinction: formal verification answers "is it correct," while mathematical research also pursues "why is it correct." The former can be completed by machines at speeds far exceeding humans, while the latter depends on concepts, intuition, and narrative.

Lean is an interactive theorem prover based on dependent type theory, and also a programming language. Its core mechanism is the "Curry-Howard correspondence": propositions are represented as types, proofs as terms of that type, and the type checker's process of verifying a proof is checking whether a program has that type. This means that once a Lean proof passes the kernel check, it is logically confirmed correct—provided the axioms and definitions it relies on are sound. Lean's mathematical library mathlib already contains extensive formalized content of modern mathematics, making it possible for AI systems to generate new proofs on top of existing foundations. However, the "readability" of a Lean proof is completely decoupled from its "correctness": a proof can be entirely correct while consisting of millions of lines of machine-generated tactic scripts, from which humans can hardly extract mathematical insight. This is precisely the technical basis for the "verified but incomprehensible" scenario in the article.
A Two-Billion-Token Proof: Don't Rush to Celebrate
Suppose verification really passes—using curated statement assumptions, first running a comparator to check for holes in the proof, then cross-verifying with two or three different kernels, all agreeing. What happens next?
One researcher offered a relatively optimistic path: proofs are not static. People will start breaking it into pieces, isolating fragments, and investing substantial time in understanding the objects that appear. As long as there is high confidence in the proof's correctness, mathematicians will be willing to spend time understanding it. "That would be a great day for mathematics."
But there lurks a less optimistic possibility. Someone in the discussion raised: perhaps the AI's Lean proof comes with an explanation, but that explanation is so complex that humans simply cannot digest it—possibly even so long that reading it would take more than a person's lifetime. In that case, the value is quite limited. After all, confidence that the Riemann Hypothesis is true is already high; pushing it up a bit more won't change mathematicians' lives.
The truly valuable scenario is another: the proof itself is not inherently incomprehensible, just poorly written or lacking exposition. Then the mathematics community would "drop everything" to translate it into a human-readable form. And an AI superhuman at mathematical research would have no reason not to help with this explanatory work as well.
Kernel in the context of theorem provers refers to the minimal trusted codebase responsible for final type checking. A Lean proof, no matter how many tools assisted in its generation, must ultimately pass the kernel's step-by-step checking to be accepted. Different provers (such as Lean, Coq, Isabelle) each have independent kernels, so "cross-verifying with two or three different kernels" means translating the proof into different systems and checking it separately, to reduce the risk of bugs in a single kernel implementation. This approach has precedent in the formal mathematics community—for example, the Flyspeck project's formal verification of the Kepler conjecture used multiple verification pathways. Cross-verification can greatly increase confidence in correctness, but it provides no explanation of the proof's structure or mathematical meaning—it only answers "whether it passes," not "why."
The Precedent of the Four Color Theorem: Brute-Force Proofs Are Not Unheard Of
Those worried about AI producing "ugly proofs" might find some comfort—or warning—in the history of mathematics.
The Four Color Theorem is a famous example. It was essentially solved by pure brute force: breaking the problem into an enormous number of cases and analyzing each by computer. To this day, mathematicians have not found a conceptually elegant proof, and may never find one. One scholar in the discussion noted that some problems may only be solvable by splitting into a large number of cases and doing insightful computer analysis for each.
But the Riemann Hypothesis seems not to belong to this category. People are quite certain that solving it requires creating new types of mathematics or discovering new connections between two previously unrelated mathematical fields. In other words, we don't even know the "shape" of the solution; it doesn't look like a problem that can be solved by exhaustive case analysis.
Of course, there is also a less likely but not impossible scenario: the Riemann Hypothesis is false. Some computer, in massive computation, finds a zero not on the critical line, verifying a counterexample. "That would be very disappointing."

Can Machines Become "Super Explainers"?
The biggest disagreement in the discussion arose over whether AI can also be good at explaining proofs.
One participant, a physicist by training, is optimistic. He points out that large language models are already quite good at explaining known facts—things written in textbooks that one "should know" but is embarrassed to ask colleagues about can be patiently explained by the model without any psychological burden. If this ability extends from explaining textbook knowledge to explaining entirely new proofs, the model might be able to break down and clarify super-complex proofs.
Another scholar pins his hopes on this: since models may be superhuman at generating proofs, they may equally be superhuman at explaining them. "These models will be both super provers and super explainers."
But others remain cautious. One mathematician's attitude is representative: if a colleague came running to say he had proved the Riemann Hypothesis, he wouldn't just say "congratulations" but would press "what's the answer, how did you do it, tell me." His only reason for doing mathematics is to understand. So if an AI system tossed out a million-token proof saying "I've done it," he wouldn't be satisfied—though he believes other LLMs would take up this "terrible proof" and synthesize the real key points.
There is a subtle philosophical distinction here. Proof is humanity's epistemological mechanism, the way to reach truth, because intuition, though powerful, is highly error-prone—people have seen too many false proofs of "1=0" and errors in Euclid's Elements. So humans choose rigorous proof within axiomatic systems as a means of testing understanding. But proof itself is not understanding. Understanding happens elsewhere: you might clearly see what's happening through a picture and be able to translate what you see into a verbal argument—that is the gold standard.

The ability of large language models to explain mathematical proofs is mechanistically asymmetric with their ability to generate proofs. Generating proofs requires the model to perform long-range reasoning and search within a formal system, while explaining proofs is closer to a translation and reconstruction task: mapping formal symbol sequences back to natural-language conceptual narratives. Research has shown that LLMs perform well at explaining textbook-level mathematical reasoning because such content abounds in training data. But faced with an entirely new proof structure never seen in training, the model must discover on its own the implicit conceptual hierarchy and the role of key lemmas, which requires a degree of creative mathematical understanding, not just pattern matching. Therefore the optimistic inference that "a super prover must also be a super explainer" is not self-evident in terms of cognitive mechanism—the two abilities may share underlying representations, or they may develop independently.
When Proofs Become Cheap, What Will Mathematicians Pursue?
Someone in the discussion introduced an economic perspective: when something becomes cheap and commodified in society, what we value repositions itself along an orthogonal direction.
The question is what will be commodified and what won't. Certain types of problem-solving will indeed become cheaper, and people will value them less. But those iconic hard problems may still survive—the combination of tools needed to solve them remains astonishing.
Another dimension worth watching is the behavioral reliability of AI. The discussion mentioned that some highly capable models have historically shown a "notorious tendency to lie," raising doubts about whether "these models will consistently act in humanity's best interest." However, some choose to "wait and see"—give models more time while welcoming the development.
As for that iconic moment—like AlphaGo's Move 37, a machine surpassing the top humans in some domain—the discussants' judgment is: that is not yet mathematics' Move 37. The real moment might be a machine producing a proof of the Riemann Hypothesis or some Millennium Prize problem, or even proposing a profound theory synthesizing multiple fields in one stroke.
But even when that day comes, mathematics will not end. Throughout history, every time a theorem or open problem is solved, the solution itself is rarely the endpoint. What is learned from solved problems is used to generate new problems and conjectures. The resolution of the Riemann Hypothesis might be the end of many things, but the exploration of knowledge about integers and primes will continue.
This returns to the more fundamental question: the value of mathematics lies not only in answers but in what the path to the answer illuminates. AI may be able to reach the destination for us, but the scenery along the way still needs to be understood by humans themselves.
Related articles

From 0 to 1: Vibe Coding an AI Knowledge Base — A Practical Retrospective and Tech Stack Breakdown
A retrospective on building the AI knowledge base OilBook from scratch with Vibe Coding: Next.js+Neon stack, Oil Dev Skill workflow, Stripe paywall security, interview-style writing, AI-flavor control, and Vercel deployment.

GLM-5.4 Hands-On: Native Vision Meets a New Vibe Coding Workflow
Hands-on with Zhipu GLM-5.4: native vision tested across a 3D product demo, pure-code video generation, and remote-control Vibe Coding, compared with GPT-6.2 and Gemini Neon.

AI and Humans Claim to Prove the Riemann Hypothesis: Machine-Verified, Yet Nobody Can Understand It
Anthropic mathematician and AI Claude claim to prove the Riemann Hypothesis with 17 million lines of Lean code, machine-verified but unreadable by humans. This article analyzes the event, the zero proportion record from 41.6% to 67.2%, and the gap between machine verification and human understanding.