AI-Assisted Proof of the Riemann Hypothesis: A Technical Breakdown of the Approach

    This article breaks down a recent AI-assisted attempt at proving the Riemann Hypothesis, clarifying that it is a human-machine collaboration rather than an independent AI proof. It explains the role of large language models as draft generators, the mathematical background of the hypothesis, a proposed proof route based on theta lifts and a chain length of √X, and the engineering side involving 25万 pages of drafts and roughly 17 million lines of formalized code. Technical readers will find transferable lessons on rewriting undefined local properties into verifiable global processes, justifying decisive parameters, and building machine-checkable pipelines.

    1. First, a Correction: This Is Human-Machine Collaboration, Not an Independent AI Proof

    The most important point to clarify about the rumors of “AI proving the Riemann Hypothesis” is attribution. What actually happened is that a mathematician at a cloud vendor collaborated with an intelligent coding tool and published a short paper of only four pages, claiming to have completed a proof argument for the Riemann Hypothesis and the Generalized Riemann Hypothesis within a collaborative framework. The AI played the role of a “draft generator and idea proposer,” while the human mathematician decided which proposals were worth pursuing and which had to be discarded.

    This distinction is not a matter of wording but a fundamental methodological difference. The output of current large models is essentially probabilistic text sequences; it does not possess the ability to judge mathematical truth, whereas a mathematical proof requires every step to be independently verifiable. The correct way to read this kind of work is therefore: AI compressed the search space, while humans and formal systems jointly bear the responsibility for correctness.

    For background context: before this, the same collaboration model had raised the lower bound on the proportion of zeros on the critical line from about 41.6% to 67.2%. This progress is in the right direction, but it remains separated by an order-of-magnitude gap from “100% of zeros lie on the critical line.” Understanding this is necessary to stay clear-headed about the technical approach discussed below.

    2. The Problem: The Pattern of Primes Hides in a Vertical Line

    Primes can only be divided by 1 and themselves. Listed in order—2, 3, 5, 7, 11—they appear locally to have no pattern at all. The Riemann Hypothesis, proposed in 1859, translated this problem into complex analysis: all non-trivial zeros of the ζ function lie on the line where the real part is 1/2.

    The significance of this line lies in the error term. The deviation between the prime-counting function and its smooth approximation can be written as an oscillatory sum determined by the positions of the zeros; the further left the real part of a zero, the faster the oscillation decays. If all zeros lie on the critical line, the error in the distribution of primes attains the theoretically optimal bound. This is also why it is one of the seven Millennium Prize Problems, with a one-million-dollar reward—it is not an isolated proposition but a shared premise for a large number of conditional results in analytic number theory.

    3. A Viable Proof Route: Adapting Success from Function Fields

    3.1 Starting Point: Auxiliary Functions and “Sufficiently Heavy Zeros”

    In function fields (for example, function fields of curves over finite fields), a classical method has long been effective. Its skeleton has three steps:

    1. Construct an auxiliary function that is not chosen arbitrarily but deliberately designed to have a large number of zeros on a certain object;
    2. Use a counting argument to show that the number of zeros exceeds the upper limit the function “should” be able to support;
    3. A contradiction emerges, and the target conclusion holds.

    Here “heavy” refers to the multiplicity of zeros: a zero counted multiple times carries more information and is therefore more likely to conflict with the upper bound. The technical substance of the whole method concentrates in step 1—how to encode the proposition to be proved into a constructible, estimable auxiliary function.

    3.2 The Obstacle: The Integer Domain Has No “Derivative”

    Transferring this strategy to the integer domain immediately hits a wall. In function fields, multiplicity is defined by whether the derivative also vanishes; but the set of integers has no natural structure corresponding to differentiation, nor any natural “infinitesimal” direction to expand in. As a result, the concept of multiplicity cannot be directly defined on the integer side, and the construction in step 1 has no way to get off the ground.

    This is not a missing technical detail but a structural mismatch between two categories. Any serious proposal must confront it head-on; otherwise the entire route breaks at step 1.

    3.3 The Key Proposal: “Accumulating” Multiplicity via a Lift Chain

    The core suggestion from the collaboration is: do not try to force a derivative on the integer side; instead, move to the framework of automorphic forms and transport objects layer by layer through successive theta lifts. Each completed lift increases the multiplicity of the target object by one unit in the corresponding sense.

    Thus “high multiplicity” no longer needs to be defined via differentiation; it is replaced by “a sufficiently long lift chain.” This is a typical dimensional-reduction substitution: rewriting a local property that cannot be defined into a global process that can be constructed and verified segment by segment. The longer the chain, the higher the accumulated multiplicity, until it is enough to conflict with the counting upper bound.

    From an engineering standpoint, this chain is also naturally suited to splitting: each lift segment is a relatively independent subtask that can be advanced in parallel and verified separately, and on failure one only needs to roll back to the last confirmed node.

    3.4 The Decisive Parameter: Chain Length of √X

    The proposal also specifies a parameter that cannot be changed arbitrarily: for a von Mangoldt prime sum of length X, the lift chain length should be √X.

    This magnitude is not an empirical value tuned by parameter search but the intersection of constraints on both sides. If the chain is too short, the accumulated multiplicity is insufficient to trigger a contradiction; if the chain is too long, the complexity and estimation error of intermediate objects inflate simultaneously and eat up the gains. √X exactly balances the “multiplicity gain” and the “complexity cost” at the same order of magnitude, which is one of the keys that allows the whole construction to close.

    The following pseudocode expresses this “parameter-driven and rollback-capable” mode of progression:

    1. target = vonMangoldtSum(X)
    2. chain_len = floor(sqrt(X)) # decisive parameter, cannot be arbitrarily enlarged
    3. obj = baseAutomorphicForm()
    4. for k in 1..chain_len:
    5. obj = thetaLift(obj) # each lift, multiplicity +1
    6. assert multiplicity(obj) >= k
    7. checkpoint(obj) # persist to disk, supports rollback on failure
    8. contradiction = countingBound(target) < multiplicity(obj)
    9. prove(contradiction implies RH)

    In addition, the full argument invokes several modern number-theory tools, including the relative trace formula, Iwasawa theory, and Bessel periods. They each serve different roles: the trace formula aligns information from the geometric side with the spectral side, Iwasawa theory provides a p-adic interpolation structure, and period integrals give quantities that can be explicitly estimated. If the estimate in any one link loosens, the chain breaks at its most fragile point.

    4. The Real Difficulty Is on the Engineering Side: 250,000 Pages of Drafts and Tens of Millions of Lines of Formalization

    Because the text drafts generated by the model exceeded 250,000 pages and were extremely hard to read, the author did not take the traditional paper route but instead released about 17 million lines of formalized code. The characteristic of a formal theorem prover is that as long as the code fully passes the kernel check, correctness is guaranteed with very high assurance by the machine, and humans do not need to read every line of the derivation.

    This leads to two practical conclusions. First, the review method changes—reviewing shifts from “reading and believing” to “running and checking.” Second, compute and storage become hard constraints: code on the order of tens of millions of lines requires version control, incremental compilation, failed-task isolation, and observability. Such needs typically fall on general cloud capabilities, for example object storage to hold checkpoints and artifacts, container platforms to carry parallel compilation, and logging services with monitoring and alerting to track failure points in long-running tasks.

    A boundary needs to be emphasized: as of now, the proof is still undergoing independent verification by the mathematical community. Passing the machine check is a necessary condition but not a sufficient one—a formal system only guarantees that the derivation is correct from the given axioms; whether the choice of axioms and the statement of the proposition faithfully represent the original conjecture still requires human judgment.

    5. Transferable Lessons for Technical Readers

    • Rewriting an undefinable local property into a constructible global process is the most general pattern in this kind of approach, applicable to any scenario where the original method depends on some missing structure.
    • Decisive parameters need an order-of-magnitude justification, not a magic number found by search; a proposal is credible only if it can explain the “intersection of constraints on both sides.”
    • Very long outputs must be paired with formalization and rollback-capable checkpoints; otherwise, the stronger the generation capability, the less controllable the verification cost.
    • The division of labor between humans and machines must be stated clearly: the model handles candidates and drafts, the formal system handles verification, and humans handle problem formulation and axiom selection.

    The conclusion is simple: the value of this path lies not in “AI replacing mathematicians” but in compressing an almost unsearchable proof attempt into an engineering pipeline with clear parameters, segment-by-segment verifiability, and machine-checkable review.