AI-Assisted Proof of the Riemann Hypothesis: How to Verify a Formal Proof
A young mathematician has released formal proof code, reportedly written with AI tools, that claims to prove the Riemann hypothesis. This article explains why such claims must be treated as unverified until independent review is complete. It sets out five checks for assessing a formal proof, describes what a proof checker can and cannot guarantee, and notes what engineering teams can take from this approach.
Background
According to reports, a young mathematician has released proof materials completed with the help of AI tools. Instead of a conventional paper, the author provided 14 archives containing the full proof written in a formal language. Reports state that converted into a standard document, the material would exceed 250,000 pages. The author also said that, in the later stages of the work, the ideas proposed by AI had moved ahead of the human researchers.
Until independent review is complete, claims like this should be treated as conclusions to be verified. The Riemann hypothesis remains an open problem, so any claimed proof must pass rigorous checking before the mathematical community accepts it.
Why the Riemann Hypothesis Matters
In 1859, Riemann proposed a conjecture about the distribution of the nontrivial zeros of the Riemann zeta function: the real part of every nontrivial zero equals 1/2. The conjecture is closely tied to the distribution of prime numbers. Mathematicians later proposed the generalized Riemann hypothesis, which extends similar claims to a broader class of L-functions. In the 167 years since 1859, much of number theory has been built on this conjecture or related to it. A confirmed proof would therefore have wide consequences for the field.
Because the impact is so large, the standards for reviewing such a proof are especially strict.
How Formal Proofs Work
A formal proof writes each reasoning step as a statement a machine can read. A small, carefully audited core checker then verifies every statement. If the core checker accepts all the steps, the proof is logically consistent under the axioms and definitions it relies on.
This method can catch errors that often slip past human reading, such as hidden skipped steps, circular reasoning, and overlooked edge cases. Its guarantee has clear limits, however. The checker only confirms that the statements in the code hold. It cannot confirm that those statements are the ones people actually want to prove. Reviewers therefore need to focus most on whether the top-level statement matches the target proposition.
Five Steps for Assessing a Proof Claim
Check the top-level statement. Locate the formal statement of the final theorem and compare it word by word with the standard definitions. Common problems include weakened conditions, a missing qualifier, or a nearby but different proposition presented as the target.
Review axioms and assumptions. List every axiom, unproven premise, and external reference the proof depends on. The foundational assumptions should be the standard systems accepted in mathematics. If a proof quietly introduces a new assumption that is equivalent to or stronger than the original problem, the proof loses its meaning.
Scan for placeholders. A formal file may contain placeholder proofs marked as unfinished, or directives that bypass the checker. Every file should be scanned to confirm that no such content exists.
Reproduce independently. A team unconnected to the author should recompile all the code in its own environment and record the versions used. Matching results are needed to rule out false alarms caused by environment differences.
Wait for peer review. After the formal check passes, mathematicians still need to understand the proof’s ideas, judge whether the methods are new, and assess whether they extend to other problems. Passing a machine check and passing academic review are separate steps.
Pseudocode for this process:
Review process (pseudocode)1. Read all proof files2. Parse the top-level theorem and compare each item with the standard definitions3. List all axioms, assumptions, and external dependencies, and check each one4. Scan files for unfinished markers and instructions that bypass the checker5. Recompile in an independent environment, and record versions and results6. Compare the results with the author's claims and write a review record
Challenges of Reviewing at Scale
A 250,000-page proof is far beyond what any human researcher can read, so reading every line is practically impossible. Reviews will therefore focus on a few areas that can be examined: the top-level statement, key lemmas, the foundational libraries the proof depends on, and the reliability of the checker itself. The credibility of a large proof depends heavily on whether these areas can be confirmed independently.
Reflections on AI in Research
First, reasoning generated by AI should meet the same review standards as human reasoning. The source of the output is not a reason to lower the bar.
Second, a machine can check a proof that its author does not fully understand, but the mathematical community needs understanding to absorb the result and extend the methods. Formal correctness and full understanding are different things, and both are required.
Third, an author’s own statement about how well they understand the work cannot replace independent verification. The report that the author had not yet mastered surrounding knowledge is itself a reason for an independent team to carry out the review.
Lessons for Engineering Teams
The same approach applies to formal verification of software and systems. Teams can take these steps:
- Write the specification first, before writing the proof or implementation, and define the boundaries of the target statement.
- Record where each artifact came from, including which steps were generated by AI, the tool versions used, and the conditions of generation.
- Have an independent verification step rerun all checks rather than relying on the conclusions of the party that produced the work.
- Keep scripts and environment notes for reproduction so that others can obtain the same results.
The core of these practices is turning “claimed to pass” into “can be independently confirmed by others.”
