AI Formal Verification Boundaries: Lessons from the Riemann Hypothesis Proof Rumor
Exploring the boundaries of AI-driven formal verification through the lens of the Riemann Hypothesis proof rumor. This article analyzes the gap between proof claims, mathematical semantics, and formalized code, highlighting risks like axiom dependency, definition shifts, and reproducibility workflows to provide a practical framework for evaluating AI-generated mathematical proofs.
I. Clarifying the Facts: Claims Are Not Solved Problems
When discussing artificial intelligence’s role in major mathematical research, it is crucial to avoid conflating “researchers announcing a breakthrough,” “publishing large-scale formalized code,” “verifiers accepting the code,” and “the mathematical problem being recognized as solved.”
The original material describes a rumor from November 2025 regarding the proof of the Riemann Hypothesis, involving human-AI collaboration, public large-scale formalized code, and claims of confirmation by relevant technical communities. However, the material lacked independently verifiable original announcements, complete proof documents, precise propositions, and reproduction records. Therefore, it is insufficient to confirm that the Riemann Hypothesis has been proven, nor to verify the described joint certification.
Rigorous technical analysis should treat these contents as research claims pending verification rather than established mathematical facts. Code scale, participant credentials, and announcement wording cannot replace a checkable proof chain.
Additionally, the timeline calculation in the original material needs correction: the Riemann Hypothesis was proposed in 1859, making it approximately 166 years old by 2025, not 167. While this detail does not affect the mathematical proposition itself, it highlights that technical articles must distinguish between verifiable facts, calculated results, and unverified narratives.
The real question worth discussing is: If AI participates in generating a formalized proof of a major mathematical conjecture, how should developers, researchers, and reviewers determine what was actually proven?
II. What the Riemann Hypothesis Actually Proposes
The Riemann Hypothesis concerns the location of the zeros of the Riemann zeta function, whose importance stems from the profound connection between these zeros and the distribution of prime numbers.
In the region where the real part of the complex variable is greater than 1, the zeta function can be expressed as:
ζ(s) = Σ n^(-s), where n ranges from 1 to infinity.
Through analytic continuation, it can be extended to a meromorphic function on the complex plane, with a pole at s = 1. When discussing the Riemann Hypothesis, one must not confuse the convergence region of the initial series expression with the domain after continuation.
The zeta function has a class of known zeros at negative even integers, typically called trivial zeros. The Riemann Hypothesis focuses on non-trivial zeros, with its core assertion being:
Every non-trivial zero has a real part equal to 1/2.
This brief statement encompasses multiple objects that must be precisely defined: complex numbers, analytic continuation of functions, zeros, real parts, and the meaning of “non-trivial.”
There is an explicit connection between the prime counting function and the zeros of the zeta function. The location of the zeros is significant for controlling the error term in prime distribution. However, the Riemann Hypothesis does not mean one can directly and simply predict the position of every prime, nor should it be generalized to “all problems related to prime numbers will be solved as a result.”
The Generalized Riemann Hypothesis involves a broader class of functions. In different contexts, the specific function family, parameter ranges, and additional conditions must be clarified. Proving that a certain function satisfies the corresponding zero properties does not automatically prove that the entire function family satisfies them.
Therefore, “it can also be extended to a generalized version” is not a passing remark but a stronger claim requiring separate precise definition and a complete proof.
III. The Value of Formal Proofs: Turning Reasoning into Checkable Objects
Traditional mathematical papers typically use natural language, formulas, and conventional reasoning. Experts can fill in omitted steps based on background knowledge, but this also means papers may contain imperceptible logical leaps.
Formal proofs require expressing definitions, theorems, and derivation relationships as rigorous formal objects, verified by a proof-checking system.
This can be abstracted as:
Mathematical definitions and foundational axioms
→ Verified lemmas
→ Intermediate theorems
→ Target proposition
→ Proof kernel check
In systems based on type theory, propositions usually correspond to a certain type, and proofs correspond to a term of that type. The checker’s task is to confirm whether the submitted object actually has the target type.
This makes proof review more mechanically repeatable, but its conclusions must be understood accurately:
The system accepting a proof primarily means that the proof derives a formal proposition under specific logical foundations, definitions, and dependency conditions.
It does not automatically guarantee that the formal proposition is the mathematical conclusion originally intended, nor does it prove that the construction process did not bypass critical checks.
IV. The Crucial Risk: Correct Code, Incorrect Proposition
The most common misunderstanding in formal verification is equating “the proof object is valid” directly with “the real-world mathematical problem has been solved.”
There is a layer of semantic correspondence between the two.
1. Quantifier Scope May Be Reduced
The Riemann Hypothesis discusses all non-trivial zeros. If the formal proposition only covers zeros within a finite height, or only covers a countable subset, then even if the proof is entirely correct, it is merely a restricted conclusion.
Similarly, “holds for every object” and “there exists an object for which it holds” differ by only one quantifier, yet they are entirely different propositions.
2. Premises May Already Contain the Conclusion
Suppose the goal is to prove proposition R, but the actual code proves:
Assuming R holds, R holds.
This derivation is logically flawless but adds no knowledge about R.
A more covert scenario involves introducing an auxiliary hypothesis that appears ordinary but is actually equivalent to, or stronger than, the target. Detecting such issues requires examining the complete premises and dependency graph of the final theorem, not just reading the theorem’s name.
3. Definitions May Shift
If the “zeta function” used in the code is not the object in the standard mathematical sense, or if the definition of “non-trivial zero” excludes genuinely difficult cases, then passing the proof cannot support the original claim.
Local symbol redefinition, name shadowing, and omitted parameter constraints are especially dangerous in large-scale engineering.
Therefore, review should be divided into at least two independent work streams:
- Mathematical experts confirm that the formal proposition faithfully expresses the original problem.
- Formalization experts confirm that the proposition is indeed derived from the allowed logical foundation.
Both work streams are indispensable.
V. Trusted Kernels and Axiom Dependencies: Verification Needs Boundary Explanations
Automated strategies can handle finding proofs, but the final result should usually be checked by a smaller, easily auditable proof kernel. This design separates the complex search process from the final correctness judgment, helping to shrink the Trusted Computing Base (TCB).
However, a complete trusted chain may also involve:
- Foundational logic and axiom systems;
- Standard mathematical libraries and their import relationships;
- Kernel implementation;
- Compilers and runtime environments;
- Integration of external computational results;
- Consistency between proof files and actual executed files.
The focus of the review is not to demand a system with zero dependencies, but to keep dependencies clear, stable, and explainable.
For example, classical logic and the axiom of choice are common foundations in many mathematical practices. Their presence does not invalidate a proof. What truly requires vigilance is introducing unspecified new axioms, directly using the target conclusion as a hypothesis, or leaving unfinished proofs in critical locations.
If external programs are used to complete calculations, it must be explained how the results enter the trusted chain. Directly trusting an external program’s “correct” conclusion is different from generating a certificate checkable by the kernel; they have different trust boundaries and should not be conflated.
VI. Why Lines of Code Cannot Measure Proof Credibility
“Large-scale formalized code” has viral appeal but is not a reliable quality metric.
The same amount of code might contain a vast amount of auto-generated content, repetitive expansions, and base library copies, or it might contain genuinely difficult mathematical arguments. Merely comparing line counts cannot distinguish between these situations.
Scale growth also brings new engineering problems: increased build times, complex dependencies, magnified impact of local modifications, and difficulty for reviewers to quickly locate key arguments.
Information more worth reporting than total code volume includes:
- The complete formalized statement of the final theorem;
- The core innovation’s corresponding lemmas and their dependencies;
- New definitions and new axioms added;
- Unfinished proofs and the排查 results of bypassed check mechanisms;
- Complete reproduction records in an independent environment;
- Proof structure explanations comprehensible to humans.
The value of a mathematical breakthrough depends on whether the key arguments hold, not on whether the engineering files are sufficiently massive.
VII. What AI is Suited For in This Context
The potential value of AI in mathematical formalization lies primarily in accelerating exploration and reducing expression costs, not replacing proofs with natural language confidence levels.
1. Decomposing Proofs into Verifiable Tasks
After researchers provide the overall approach, models can assist in identifying intermediate lemmas, filling in local derivations, and proposing different decomposition methods. The more explicit the task, the easier it is to obtain results verifiable by the checker.
2. Assisting in Locating Existing Knowledge
Large mathematical libraries contain many reusable conclusions. Models can help map natural language requirements to potential theorem structures, but the premises, conclusions, and applicability scopes must still be checked.
3. Fixing Expressions Based on Error Feedback
Type mismatches, missing parameters, and insufficient implicit conditions are common in formalization development. Models can use checker feedback to iteratively modify expressions, but the original goal must be preserved to prevent “solving” errors by weakening propositions or adding unreasonable premises.
4. Generating Explanatory Materials
Models can help write proof guides, dependency explanations, and review checklists. However, these explanations must still correspond item-by-item with the proof code; fluent text does not equate to accurate interpretation.
A reasonable division of labor should be: humans responsible for research direction and semantic review, models assisting in proposing candidate content, and checkers responsible for verifying formal derivations.
VIII. A Reproducible Verification Workflow for R&D Teams
To implement the above principles, a phased acceptance method can be adopted.
Phase 1: Fix the Target.
Before generating the proof, save the target proposition, definition versions, and allowed foundational assumptions. Any subsequent modifications should enter a change log and undergo review.
Phase 2: Isolate Generation and Verification.
The generation environment can run complex searches and automation strategies; the verification environment should be as streamlined as possible, only responsible for loading dependencies and checking the proof, avoiding shared opaque states.
Phase 3: Lock Dependencies.
Record source file hashes, dependency versions, build configurations, and necessary environment information. For projects that can be built entirely offline, disabling network access during verification helps reduce uncertainties from runtime dependency changes.
Phase 4: Perform Static Audits.
Check for newly added axioms, placeholder proofs, abnormal build rules, shadowed definitions of the same name, and “demo code” not in the final dependency chain.
Phase 5: Execute Independent Reproduction.
Have personnel not involved in the generation process rebuild in a clean environment. Reproduction should not only yield a “success” status but also verify that the final proposition, dependencies, and artifacts are consistent.
Phase 6: Conduct Semantic and Mathematical Review.
Independent reproduction proves that the engineering process is repeatable, but it cannot replace understanding the proposition’s meaning and the mathematical argument structure.
In terms of system construction, object storage can be used to save immutable proof artifacts, task queues can schedule verification jobs, isolated compute environments can restrict execution permissions, and logging and monitoring mechanisms can retain check records. These general capabilities serve the audit process but cannot replace the proof kernel itself.
IX. Conclusion: Matching Every Claim with Corresponding Evidence
Evaluating the results of AI participating in major mathematical research should answer three questions layer by layer:
First, what is the stated result, and is there a precise, verifiable proposition?
Second, did the public proof pass a complete check on a clear logical foundation and can it be independently reproduced?
Third, does the formal proposition actually correspond to the original mathematical problem, and has its argument undergone sufficient professional review?
Formal verification and review by the mathematical community are not mutually exclusive paths. The former excels at checking vast fine-grained derivations, while the latter helps clarify problem formulation, argument significance, and research boundaries; major achievements require a corresponding public review process.
For developers, the most valuable principle to adopt is: do not directly upgrade model-generated conclusions into trusted facts. Instead, separate generation, checking, semantic confirmation, and independent reproduction in the design. AI can expand the exploration space, but what truly establishes credibility remains clear propositions, transparent dependencies, and a reproducible chain of evidence.
