AI and the Riemann Hypothesis: Verifying Claims Behind the Controversy

    This article examines a recent controversy over claims that an AI-assisted effort produced a formal proof of the Riemann Hypothesis. It explains why these claims remain unverified, separates communication errors from mathematical validity, and outlines a rigorous review framework covering statement accuracy, dependency transparency, trusted verification kernels, reproducibility, and independent mathematical review of large-scale proof code. Readers will gain a practical checklist for evaluating major proof announcements and a clear view of AI's appropriate role in the proof process.

    1. From Communication Controversy Back to Technical Facts

    AI-assisted mathematical research is enabling a new way of working: researchers pose problems and organize proof ideas, intelligent systems help generate intermediate derivations and formalized code, and proof assistants check whether the reasoning conforms to logical rules. But when such a workflow is applied to a major open problem like the Riemann Hypothesis, any ambiguous statement can be amplified into a definitive claim that “the problem has been solved.”

    The incident in question involved a researcher announcing that, together with an intelligent system, they had completed a formal proof of the Riemann Hypothesis and its generalized variants. The researcher later clarified that the “more than 250,000 pages” mentioned in public communication was a joke, and that the submitted code contained substantial redundancy.

    The first thing to make clear is this: based solely on the available material, we cannot confirm whether the result announcement, community statements, independent verification, or proof validity are real. The timelines, code sizes, and verification conclusions appearing in the material should be treated as information pending verification, not as established mathematical facts. This article therefore does not proceed from the premise that the Riemann Hypothesis has been proven. Instead, it analyzes how such claims should be verified.

    Moreover, “not denying the proof is valid” does not mean “the proof is valid.” A researcher retracting a number, admitting a poor choice of words, or acknowledging low code quality does not determine the truth or falsity of a mathematical result. The controversy must be separated into three independent questions:

    • First, whether the information publicly communicated was accurate;
    • Second, whether the formal proof actually holds;
    • Third, whether the submitted proof corresponds to the mathematical statement the public understands.

    Only by answering these questions separately can we avoid mistaking a correction in communication for confirmation of a result, or mistaking an engineering defect for a mathematical error.

    1. The Difficulty of the Riemann Hypothesis Is Not About Code Volume

    The Riemann Hypothesis concerns the location of the non-trivial zeros of the Riemann zeta function. In its classical formulation, it states that the real part of all these zeros is equal to one-half. It has deep connections to error estimates in the distribution of prime numbers, which is why it carries such theoretical significance.

    The Generalized Riemann Hypothesis concerns broader families of related functions. In any concrete discussion, one must specify which definition is used, which objects are covered, and what the quantifier scope of the statement is. Simply writing “generalized to the generalized case” is not enough for readers to judge what the result actually contains.

    For problems of this kind, the number of lines of proof code, pages of documentation, or days of research duration is not direct evidence of validity. Large volumes of code can come from expanding foundational definitions, automatically generated intermediate steps, repeated lemmas, compatibility handling, or unnecessary branches.

    Conversely, a very short explanatory document does not by itself indicate that the result is unreliable. It might simply be a guide to the complete formalized artifact. However, if key ideas, dependency structure, and reproduction instructions are missing, external researchers cannot judge whether the artifact actually solves the target problem.

    Therefore, the focus of evaluation should shift from “how impressive is the scale” to “what exactly is the statement, what does it depend on, and how can it be checked.”

    1. What Formal Verification Actually Guarantees

    A formal proof assistant typically allows users to define mathematical objects, state propositions, and submit proof objects that are checked by a trusted kernel. Its fundamental goal is to ensure that every step of reasoning conforms to established logical rules, rather than relying on readers’ intuitive judgment of natural-language arguments.

    But “check passed” is a conditional conclusion. The more accurate formulation is: under a specified logical system, definitions, axioms, dependency libraries, and verification environment, the submitted proof object entails the formal proposition stated in the code.

    There are at least four layers of checking involved.

    Layer 1: Is the statement accurately formulated?

    The computer checks the proposition in the code; it does not automatically determine whether that proposition is the same as the Riemann Hypothesis familiar to the public.

    For example, the formal statement might omit a class of zeros, narrow the scope of applicability, change the function definition, or include an additional premise that has not itself been proven. Even if the proof is entirely correct, it may only prove a weaker proposition.

    During an audit, the natural-language statement and the formal definition must be compared item by item, especially quantifiers, domains, exclusion conditions, and boundary cases.

    Layer 2: Are the assumptions transparent?

    A mathematical proof may rely on explicitly declared axioms and proven theorems, but it must not quietly introduce the target conclusion as an assumption and then claim to have proven it.

    One must also be wary of conclusions being smuggled in through stronger unproven propositions, unverified external results, or placeholder claims. Such mechanisms may have legitimate uses during development, but they must be explicitly disclosed and handled in the final result.

    Reviewers need a complete dependency list, not just the name of the final theorem.

    Layer 3: Is the verification chain trustworthy?

    Proof search and proof checking are not the same thing. An intelligent system or automated tool may be responsible for finding a proof, but the final result should be verified by a small, clearly-scoped, trusted kernel.

    If a step directly accepts the judgment of an external program, it should be publicly stated whether that program produces a verifiable certificate, how the certificate is checked, and which components must be trusted.

    Formal verification does not eliminate all trust; rather, it concentrates trust within a clearer, usually much smaller boundary.

    Layer 4: Can the environment be reproduced?

    Verification results can be affected by dependency versions, compiler options, caches, and generated files. Only by submitting complete source files and environment descriptions, and re-checking in an independent environment, can the risk of “it only works on the author’s machine” be reduced.

    1. Engineering Challenges of Large-Scale Proof Code

    If a result genuinely involves code at the scale of tens of millions of lines, the engineering issues cannot be brushed aside with a remark like “there’s some redundancy.” Code size does not directly negate correctness, but it increases review cost and maintenance difficulty.

    First, dependencies become hard to understand. The final theorem may reach the foundational definitions only after numerous intermediate lemmas. If the structure is chaotic, reviewers have difficulty locating the truly critical mathematical steps, and it also becomes harder to detect an unjustified assumption hidden somewhere along a dependency path.

    Second, checking resources are hard to plan for. Source lines of code are not a reliable performance metric. A small number of highly complex proof expressions can consume substantial checking time and memory, while a large number of simple declarations may not be correspondingly expensive. Resource assessments should record actual checking time, peak memory, failure locations, and inter-module dependencies, rather than just reporting file sizes.

    Third, the risk of modification increases. Redundant proofs may express the same fact in multiple places; when a foundational definition changes, large amounts of code must be updated in sync. AI-generated repetitive structures particularly need subsequent cleanup, otherwise maintenance costs keep accumulating.

    Fourth, knowledge transfer is insufficient. A machine can check a long chain of inference, but mathematicians still need to know why the proof works, where the core innovations are, and which methods generalize to other problems.

    Therefore, code governance should at minimum include modular decomposition, merging of duplicate lemmas, annotation of key dependencies, and supplementary explanatory documentation. Compressing code is not about chasing an impressive number, but about making the proof easier to understand and continuously verify.

    1. How Major Proof Claims Should Be Independently Reviewed

    A reliable review process should not begin with “trusting the author” or “trusting the tool,” but with freezing the target and the artifacts.

    Step 1: Define the target proposition.

    Publish the complete mathematical statement, including the function definitions used, the scope of applicability, and exception conditions. For generalized propositions, explain the relationship to the classical formulation, so that conclusions of different strengths are not hidden behind the same name.

    Step 2: Freeze the version to be reviewed.

    Record source files, dependency versions, build instructions, and content checksums, so that later modifications cannot result in different reviewers checking different artifacts.

    Step 3: Audit assumptions and dependencies.

    Trace dependencies from the final theorem and identify additional axioms, unproven claims, external results, and computation steps requiring special trust. The key question is not “were axioms used at all,” but which ones were used, and whether those premises alter the usual understanding of the result.

    Step 4: Perform independent reproduction.

    In a fresh environment, install the declared dependencies and rebuild and re-check from the public materials. If special resources are required, state the resource needs and failure-handling procedures; the inability to reproduce must not simply be attributed to reviewer error.

    Step 5: Conduct mathematical semantic review.

    Researchers familiar with the field should verify that the formal proposition matches the natural-language proposition, and analyze the key structure of the proof. Logical checking can eliminate reasoning errors, but it cannot replace expert judgment about “what exactly has been proven.”

    Step 6: Release conclusions in layers.

    “Build succeeded,” “kernel check passed,” “assumptions audited,” “statement correspondence confirmed,” and “mathematical content independently peer-reviewed” should each be reported separately. The completion of any one item must not automatically be upgraded to the completion of the entire process.

    1. The Proper Role of AI in the Proof Process

    AI is well suited to tasks such as organizing definitions, generating candidate lemmas, exploring proof strategies, analyzing errors, and assisting with documentation. Its strengths lie in rapidly trying different approaches and handling highly repetitive formalization work.

    But text or code generated by an intelligent system is still only a candidate artifact. It may propose false lemmas, or it may change assumptions or narrow the conclusion scope just to make the current goal pass. Without human review, such changes may even be mistaken for legitimate fixes.

    A more robust process is:

    • Researchers determine the proposition and the permitted premises;
    • The intelligent system proposes candidate proofs;
    • The formal checker verifies the reasoning;
    • Reviewers audit the assumptions, definitions, and mathematical meaning;
    • An independent team reproduces and evaluates the result.

    This separation of concerns applies equally to program verification, protocol analysis, and security-property proofs. For example, verifying that a program “does not access out of bounds” does not mean it meets business requirements; if the input model omits situations that occur in actual operation, the proof may still be disconnected from the production environment. The statement-correspondence problem in mathematical formalization is essentially similar to the specification-correctness problem in software engineering.

    1. What Expression Principles Should a Result Release Follow?

    The release of major results should avoid mixing humor, promotional numbers, and formal conclusions. Especially in short abstracts and social media, readers cannot see the original context, and exaggerated statements are easily cited as fact.

    A responsible release note should at minimum include: what is currently confirmed, what is not yet confirmed, where the public artifacts are, how to reproduce them, which assumptions they depend on, and the plan for the next phase of review. If an error is discovered, the affected content should be explicitly corrected, rather than ending the discussion with a remark like “that was just a joke.”

    Formal verification, peer review, and endorsement by relevant institutions are different procedures with different purposes and standards. None of them should be described as an automatic substitute for the other two, and one researcher’s verification opinion must not be generalized into a consensus of the entire field.

    Ultimately, the value of AI-assisted proof lies not in manufacturing narratives like “a centuries-old problem solved in weeks,” but in making mathematical reasoning more checkable, more reproducible, and easier to trace through its dependencies. Faced with any major proof claim, the most technically meaningful questions remain: what exactly did it prove, under what premises does it hold, and can others independently obtain the same verification results?