LLMs Take On the Riemann Hypothesis: What Formal Verification Can Actually Guarantee

    A researcher claims to have explored a possible proof path for the Riemann Hypothesis with the help of a large language model, with the argument reportedly formalized in a theorem prover. This article examines what the LLM actually contributed, what formal verification can and cannot guarantee, how to verify such claims, and why machine-checked proofs still need human understanding.

    1. What Happened — and What Remains Unconfirmed

    According to the researcher’s own public statements, he collaborated with a large language model to explore a possible proof path for the Riemann Hypothesis, and believes the approach might extend to the Generalized Riemann Hypothesis. He also claims the argument has been fully formalized in a theorem prover, with the code publicly released.

    All of these claims currently come from the researcher himself. As of the original report, no independent team had publicly completed a review, and the mathematical community has not formally recognized the result. Readers may see the word “formalized” and interpret it as “proven.” That interpretation needs correction.

    2. What the LLM Actually Did in the Proof

    According to reports, the model-generated proof draft reached 250,000 pages. The methodology behind this figure was not disclosed: it may refer to natural-language drafts or formalized code, and the page-count method is unclear. sheer volume says nothing about whether the proof is valid.

    LLMs are good at generating candidate derivations across a large search space, which humans can use to narrow down possibilities. But whether those candidate derivations hold up must be checked by other means.

    3. What Formal Verification Can Check

    A formal proof means writing mathematical statements and reasoning in a strict language that a proof assistant can read, then having a computer verify it step by step. Common proof assistants include Lean, Rocq (formerly Coq), and Isabelle. Their syntax, libraries, and community maturity differ, so vague phrasing like “a certain theorem prover” carries little information.

    In AI-assisted proving workflows, formal checking serves to intercept invalid derivations. Logical gaps, undefined symbols, or incorrect references in a derivation will cause compilation to fail.

    However, passing compilation only means the derivation chain holds under the given formal statements — it does not mean the mathematical conclusion is correct. The verifier itself may have defects, and the libraries and axioms it relies on also need scrutiny.

    4. Key Points to Check During Verification

    Readers or peers verifying this kind of work can go through the following checklist:

    1. Does the formal statement faithfully represent the original proposition? The Riemann Hypothesis involves complex analysis and the distribution of primes; a single mistyped condition changes what is actually being proven.
    2. Does the code contain sorry or unproven axioms? In Lean 4, sorry produces a compiler warning but still passes, so the code must be scanned for sorry, and #print axioms should be used to check which axioms the result depends on.
    3. Are the dependent libraries and versions pinned? A proof that compiles under one version may fail under another.
    4. Are the verifier, toolchain versions, code repository, and commit hashes publicly available?
    5. Can the compilation be reproduced from scratch in an independent environment?
    6. Have mathematicians reviewed the core ideas and described the proof’s main structure?

    5. The Comprehension Problem Posed by Massive Code

    Formalized code can be machine-checked, but not necessarily understood by humans. A good mathematical paper is typically tens to a hundred-odd pages, aiming for concision. Machine-generated proofs often contain huge amounts of redundant branches and mechanical expansion, and extracting the underlying mathematical ideas takes considerable human effort.

    Reportedly, the researcher himself has said he has not yet fully understood the entire argument. If the proof’s core logic exists only in machine code, it has not yet entered the body of human mathematical knowledge. The challenge of this cleanup work lies in dimensionality reduction, abstraction, and simplification — distilling the key lemmas.

    One practical approach is to split a long proof into multiple independently verifiable lemmas and release them in batches, allowing reviewers to check them one by one. Some mathematicians have said they will not invest effort in reviewing until a core version condensed to a reasonable length is available — a cautious attitude that is understandable.

    6. How to View AI-Assisted Research Hype

    Timing and framing of announcements influence public judgment of results. This article evaluates only the technical evidence and makes no claims about the announcer’s motives. To judge a result, look at whether there is inspectable code, whether it has been independently reproduced, and whether it has received peer recognition.

    AI-assisted mathematical research has real value. LLMs can propose conjectures, attempt proof paths, and generate auxiliary lemmas, while formalization tools can check these outputs. Human researchers still need to grasp the proof’s overall structure and take responsibility for judging the significance of the conclusion.

    Conclusion

    This episode shows that combining LLMs with formalization tools can produce candidate proofs at very large scale, and can provide mechanical means to check them. But the guarantees of formal verification are limited. It can confirm that a derivation holds under the given statements, yet it cannot guarantee those statements correctly express the original problem, nor can it replace human understanding. When facing any claim of conquering a major open problem, readers should first examine the code and reproduction results before evaluating the conclusion.