AI Claims Proof of the Riemann Hypothesis: How to Verify an Ultra-Long Proof

    A mathematician working in AI has claimed to have found a proof of the Riemann Hypothesis with the help of an AI model. The proof, if transcribed into human-readable text, would exceed 250,000 pages. This article explains the mathematical background of the conjecture, why ultra-long proofs are hard to evaluate, how formal verification works step by step, and what this event means for engineering and research teams that increasingly rely on machine-generated output.

    1. What Happened

    On November 20, 2026, a mathematician working in the field of artificial intelligence published a statement on a personal website, claiming to have found a proof of the Riemann Hypothesis with the help of an AI model. Unlike traditional mathematical results, this proof came without a formal paper and was not submitted to any academic journal. The accompanying material was a set of machine-readable code generated by AI.

    Scale is the most striking feature of this material. If the proof were transcribed into human-readable mathematical text, it would exceed 250,000 pages. As formal code that a computer can strictly verify, it runs about 17 million lines, compressed into 14 volumes.

    On the day the claim was published, researchers had already compiled the code on their own machines. According to reports, one number theorist confirmed that the entire proof passed the underlying logical checks and relied on only three of the most basic standard axioms. This shows that the reasoning chain inside the code is self-consistent within the formal system. However, one critical check remains unfinished, and the mathematical community has not formally accepted the conclusion.

    2. Mathematical Background of the Riemann Hypothesis

    Understanding the significance of this claim requires understanding the problem itself.

    A prime number is an integer greater than 1 that is divisible only by 1 and itself, such as 2, 3, 5, 7, and 11. The fundamental theorem of arithmetic states that every integer greater than 1 can be uniquely factored into a product of primes, which makes primes the building blocks of the integers. The distribution of primes among the integers appears irregular: sometimes two primes sit side by side, and sometimes hundreds of integers pass without a single prime appearing.

    In 1859, the German mathematician Bernhard Riemann introduced the Riemann zeta function in a paper on the distribution of primes. It is defined as the infinite series ζ(s) = Σ 1/n^s. Riemann extended it from the real numbers to the complex numbers and proved that it can be analytically continued to the entire complex plane. The function vanishes at the negative even integers; these are called the trivial zeros. The remaining zeros, called non-trivial zeros, all lie within the critical strip of the complex plane, where the real part is between 0 and 1.

    The Riemann Hypothesis asserts that all non-trivial zeros have a real part equal to 1/2, meaning they all lie on the line Re(s) = 1/2.

    The conjecture matters because the location of the zeros directly determines the size of the error in the prime counting function. If the hypothesis holds, the deviation of prime distribution from its average behavior is tightly controlled, with an error on the order of roughly √x·log x. As a result, many conclusions about prime distribution and number theory depend on this conjecture or on its generalizations.

    The conjecture is also one of the Millennium Prize Problems, carrying a $1 million award for a proof. Large-scale numerical computations have verified that at least ten trillion non-trivial zeros lie on the critical line. But numerical verification cannot replace a proof: among infinitely many zeros, a counterexample could still exist.

    3. Why Ultra-Long Proofs Are Hard to Evaluate Directly

    Confidence in a mathematical proof is usually established through peer review, independent verification, and subsequent citations. This mechanism works well for papers of manageable length. With a 250,000-page document, it faces three kinds of difficulty.

    First, the time cost of human review. Even if experts read page by page, the process would take a very long time, and subtle flaws hidden deep in a long chain of reasoning are easy to miss.

    Second, the intelligibility of the argument’s structure. A proof can be logically correct yet lack a core idea that humans can grasp, making it hard for peers to judge its significance and scope of applicability.

    Third, whether the formalized statement is faithful. This is the most easily overlooked problem. A piece of code may completely prove some proposition, but that proposition may not be the Riemann Hypothesis itself. Subtle differences in definitions or notation conventions can shift the object of the proof away from the original conjecture. The first step of verification should therefore be to confirm, item by item, whether the formalized statement matches the original conjecture.

    4. The Basic Methods of Formal Verification

    Formal verification means using a computer system to check that every step of a proof follows strictly from axioms and previously established results. At its core is a small, thoroughly reviewed verification kernel. The generation tools, auxiliary tactics, and proof search procedures outside the kernel do not need to be fully trusted, because their output is ultimately checked by the kernel.

    For large proof materials, a typical verification workflow includes the following steps.

    1. Full compilation and kernel checking: confirm that all code passes in the specified version of the verification environment without errors.
    2. Axiom audit: list every axiom the proof depends on, directly or indirectly, and confirm that no undeclared additional assumptions have been introduced.
    3. Scanning for incomplete markers: check whether the code contains placeholder markers, such as keywords used to skip proofs. Such markers often indicate steps that have not yet been proven.
    4. Statement audit: have humans compare the formalized propositions against the original conjecture’s definitions to confirm they match.
    5. Independent reproduction: have different teams recompile the code in different environments and check whether the results agree.

    The example below shows a rough automated screening approach for step 3. The file extensions and keywords in the code are for demonstration only and do not represent the specification of any specific tool.

    1. import hashlib
    2. from pathlib import Path
    3. # These keywords require manual review, but they are only rough clues
    4. # and cannot replace kernel checking.
    5. REVIEW_MARKERS = ("sorry", "admit")
    6. def audit_proof_bundle(volume_dir: str, expected_sha256: dict[str, str]) -> list[str]:
    7. """Check the integrity of proof volumes and flag locations needing manual review."""
    8. issues = []
    9. for path in sorted(Path(volume_dir).glob("*.proof")):
    10. data = path.read_bytes()
    11. digest = hashlib.sha256(data).hexdigest()
    12. if expected_sha256.get(path.name) != digest:
    13. issues.append(f"{path.name}: checksum does not match the published value")
    14. text = data.decode("utf-8", errors="ignore")
    15. for marker in REVIEW_MARKERS:
    16. if marker in text:
    17. issues.append(f"{path.name}: contains marker '{marker}' requiring review")
    18. return issues

    This code serves two purposes. First, checksums confirm that the downloaded volumes are identical to the published versions, avoiding inconsistencies caused by file corruption or tampering. Second, keyword scanning quickly locates sections that deserve priority human attention. Neither can prove that a mathematical conclusion holds; the real judgment still depends on kernel checking and human audit.

    5. How to View This Claim

    Three facts can be confirmed at present: the code has been independently compiled; the number of axioms it relies on is very small; and the proof material has not yet undergone peer review. What remains unconfirmed includes whether the statement audit will pass and whether there are problems in the core reasoning that the kernel cannot detect.

    Based on these facts, there are roughly three possible outcomes.

    First, all checks pass and the community confirms that the formalized statement matches the original conjecture. This would be a landmark event in the history of mathematics.

    Second, the audit uncovers a statement discrepancy, a hidden assumption, or a logical gap. In this case the claim fails, but the code may still provide valuable intermediate results.

    Third, the verification process drags on for months or even years without a conclusion. Auditing an ultra-long proof is itself a large-scale engineering effort, and this situation is not uncommon.

    Whatever the outcome, this event illustrates a trend: as the ability to automatically generate proofs improves, the bottleneck shifts from “writing proofs” to “auditing proofs.” The time, experts, and tools required for auditing will become the new scarce resources.

    6. Implications for Engineering and Research Practice

    The methodological lessons of this event also apply to large-scale software and algorithm work.

    Publish the conclusion separately from the derivation. Release the formalized statement first so the community can review its meaning before reviewing the proof itself. If the statement is wrong, everything that follows misses the target.

    Ensure reproducibility. Published materials should come with checksums, a version-pinned runtime environment, build scripts, and a dependency list. Without this information, others cannot independently verify the results.

    Record the generation process. For content produced with tool assistance, document the tool versions, key parameters, and points of human intervention, so that responsibility can be traced and credibility assessed.

    Treat machine-generated results as hypotheses to be verified. No matter how large the generated output is, it should pass testing, formal specification, or independent review before being accepted.

    Reserve resources for auditing. Once generation speeds up, auditing capacity becomes the limiting factor. Teams should plan audit workflows, tools, and staffing in advance to avoid accumulating large volumes of unverified output.

    The value of an ultra-long proof lies not only in whether it is correct, but also in how it pushes the mathematical community to rethink what makes a proof trustworthy. For engineering teams, the reminder is the same: being able to produce a result does not mean the result is already reliable.