AI-Generated Proofs and the Riemann Hypothesis: Verification Boundaries and Research Ethics
This article examines claims that AI collaboration produced millions of lines of formal code and solved the Riemann Hypothesis. It explains why such claims cannot be accepted without independently verifiable evidence, clarifies what the Riemann Hypothesis actually states, distinguishes AI-assisted proof generation from machine-checked proof, outlines a practical verification workflow, and discusses research ethics, contribution attribution, and personal safety.
1. First, establish the factual boundary: a proof claim is not a mathematical breakthrough
The source material describes a young mathematical researcher collaborating with AI to generate tens of millions of lines of formalized code within weeks and claiming to have solved the Riemann Hypothesis. The material also mentions personal threats against the researcher, institutional and capital-related events, and breakthroughs on other major mathematical problems.
This kind of narrative is highly attractive for dissemination, but the available material does not provide an independently verifiable complete paper, proof code, inspection report, or expert review opinion. Therefore, the description alone cannot confirm that the Riemann Hypothesis has been proved, nor can the timeline, code scale, personal experience, or threat events be treated as established facts.
For technical readers, the more important question is not “who announced success first,” but:
- Is the proposed theorem actually equivalent to the Riemann Hypothesis?
- Has the code undergone credible checking?
- Do the dependencies contain unproved assumptions?
- Can other researchers reproduce the result?
- Do the generated formal objects correspond to the mathematical proposition that people usually understand?
These questions determine whether a project is a major breakthrough, partial progress, or an unfinished research attempt that has not yet been verified.
2. What the Riemann Hypothesis actually discusses
The Riemann Hypothesis is not simply the claim that “prime numbers follow some pattern.” It concerns the locations of the zeros of a complex function and, through the connection between those zeros and the distribution of prime numbers, constrains the error in prime-counting estimates.
For a complex variable s whose real part is greater than 1, the Riemann ζ function can be written as:
ζ(s) = ∑ n^(-s), where n runs from 1 to infinity.
Through analytic continuation, the function can be extended to a larger domain. Except for the pole at s = 1, it has the corresponding analytic properties. The function has a set of zeros at the negative even integers, usually called the “trivial zeros.”
The central assertion of the Riemann Hypothesis is:
All nontrivial zeros have real part equal to 1/2.
This proposition is important because the ζ function also has a product expression related to prime numbers. The distribution of the zeros affects estimates of the prime-counting function. If the hypothesis holds, it provides stronger error control for many results in number theory.
Therefore, when verifying any claimed proof, the first step must be to check the actual statement of the formalized theorem. Proving that “zeros within a finite range satisfy the condition” is not the same as proving that all nontrivial zeros satisfy the condition. Proving a proposition related to the hypothesis is also not necessarily the same as proving the hypothesis itself.
Numerical computation can provide valuable evidence, but finite-range verification cannot directly replace a mathematical proof covering infinitely many objects.
3. AI-generated proofs and machine-checked proofs are two different things
AI-assisted mathematical research usually involves three distinct levels.
The first level is proposing ideas. A model can recommend intermediate lemmas, organize existing results, explore different derivation paths, or try to break a natural-language argument into finer steps. Such output can help research, but it may contain skipped steps, circular reasoning, or missing conditions.
The second level is generating formalized proofs. The system writes mathematical objects, definitions, and reasoning steps into expressions with explicit syntax and type rules. Compared with ordinary text, these expressions are easier for programs to check step by step, but the formalized code itself may still be incomplete or may describe the wrong target.
The third level is checking proof objects. A checking program follows established logical rules to determine whether the proof can derive the target proposition. This step should not rely on the model “believing the answer is correct,” but on verification rules that can be clearly executed.
This leads to a key distinction:
AI is responsible for searching and generating candidate proofs, while a trusted checker is responsible for determining whether a candidate proof conforms to logical rules.
However, even if the check passes, its meaning still needs to be clarified. A check result usually states that, given the definitions, axioms, dependency libraries, and assuming the checking mechanism is correct, the target proposition can be derived. It does not automatically guarantee that the target definition accurately expresses the mathematical problem the researcher originally intended to prove.
4. What millions of lines of code mean, and what they do not mean
Large-scale formalization projects may require substantial infrastructure, including complex-number theory, series convergence, analytic continuation, integration theory, and related number-theoretic results. Even if the core idea is relatively concise, a large number of foundational lemmas may need to be filled in so that every step can pass checking.
Therefore, a large code volume does not necessarily mean the project is untrustworthy. But the number of code lines also cannot serve as evidence that a breakthrough has been established.
First, line count is affected by formatting, automatic generation methods, and module division. Large amounts of repeated expansion can significantly increase code size without increasing mathematical content.
Second, the size of the entire repository is not the same as the size of the core proof. Base libraries, auxiliary programs, test files, and generated artifacts may account for a large proportion.
Third, a large volume may obscure the truly critical reasoning steps. External reviewers need to identify: which lemmas carry the core breakthrough? What do they depend on? Are there assumptions substantially equivalent to the target proposition?
More valuable indicators than total line count include:
- The precise statement of the core theorem and its mathematical interpretation.
- The dependency relationship between key lemmas and existing theory.
- A list of unproved claims, external assumptions, and additional axioms.
- Whether the full build passes and whether the build environment can be reproduced.
- Independent reviewers’ opinions on the definitions and key reasoning.
Scale can reflect engineering burden, but it cannot replace an argument for correctness.
5. How major proofs should establish a verification process
For formalization projects claiming to solve important unsolved problems, review can be divided into five stages.
Stage 1: Confirm proposition consistency
Researchers familiar with the relevant field should map the formalized statement to the standard mathematical formulation item by item. The focus should be on quantifier scope, domains, exclusion conditions, and object definitions.
For example, “for all nontrivial zeros” is fundamentally different from “for all computed nontrivial zeros.” A change in the position of a condition may weaken the theorem, turn it into a conditional result, or even cause it to lose its original meaning.
Stage 2: Audit assumptions and dependencies
Reviewers should check which axioms, proved results, or unfinished claims the target theorem ultimately depends on. In particular, it is important to prevent the conclusion to be proved from being used as an assumption, and then proving a seemingly complete result under that assumption.
Using additional axioms is not necessarily worthless, but it must be disclosed. If the conclusion depends on a strong assumption that has not yet been established, the article should clearly describe it as a conditional result.
Stage 3: Full reconstruction
Review should not rely only on screenshots of “successful checking” provided by the author. It should start from a public and fixed source-code version and rerun the check in a clearly documented environment.
The following should be recorded: source-code version, dependency versions, checker version, build steps, and final logs. It should also be clear which caches merely accelerate the build and which pre-generated artifacts are inputs that must be verified separately.
Stage 4: Independent mathematical review
Machine checking focuses on formal rules, while mathematical experts focus on whether the definitions are appropriate, whether the key ideas hold, and whether the conclusion actually solves the target problem. The two are complementary and cannot replace each other.
A readable natural-language explanation is especially important. It should explain the core route, main lemmas, key difficulties, and the correspondence between the formalization project and traditional mathematical argumentation.
Stage 5: Continuous reproduction and issue response
After a large project is made public, it should provide a stable channel for issue feedback. If errors are found, the scope of the impact should be explained: whether the documentation is inaccurate, whether an auxiliary module fails, or whether the core theorem cannot pass checking. Revised versions should also be re-verified, not merely accompanied by verbal explanations.
6. What engineering architecture developers can adopt
AI-assisted proof systems can use a layered design to avoid mixing generation, verification, and release into an unreviewable process.
The candidate-generation layer is responsible for proposing proof steps and auxiliary lemmas. It can try multiple routes, but it cannot declare success on its own.
The build-verification layer is responsible for syntax checking, type checking, dependency resolution, and proof verification, while preserving failure reasons and build logs.
The research-review layer is responsible for checking proposition meaning, mathematical assumptions, and core reasoning. Tasks requiring domain judgment should not simply be handed to automated scoring.
The result-release layer organizes reproducible source code, environment descriptions, audit records, and natural-language documentation.
The whole process can be summarized as:
Research goal → candidate proof → automated checking → human review → independent reproduction → result release.
For untrusted automatically generated code, isolated execution, resource quotas, and access-control measures should also be configured. Proof builds may consume substantial computing resources, and accompanying scripts may perform operations unrelated to verification. Mathematical correctness review and runtime security review should be conducted separately.
7. How to evaluate human and AI contributions
The question of “whether a human proved it or AI proved it” is not suitable for a one-slogan answer.
A project may include problem selection, theoretical route design, discovery of key lemmas, code generation, error fixing, dependency-library maintenance, and final review. Different participants perform different work, and contributions should be recorded according to the actual process rather than assigned according to promotional narratives.
If the key mathematical idea was proposed by the researcher and the system mainly completed formalization translation, all innovation should not be attributed to the automatic generation system. Conversely, if the system produced a previously unknown and ultimately valid key derivation, its role in the discovery process should not be denied.
A more feasible approach is to preserve research logs, version history, and records of key decisions, and to explain the scope of automation when publishing. This helps both contribution attribution and understanding whether the result can be reproduced.
In addition, extreme all-nighters should not be packaged as a necessary condition for technical success. Long-term fatigue reduces judgment quality and increases review omissions. Major projects need clear handoffs, independent review, and stable collaboration, rather than relying on sustained personal exhaustion.
8. Academic criticism cannot cross the boundary of personal safety
Raising sharp criticism of a proof is normal academic activity. Questioning definitions, pointing out dependency problems, and demanding the release of complete code are all reasonable forms of review.
But personal threats, harassment, and public disclosure of private information are not academic criticism. Even if a result involves exaggeration, errors, or contribution disputes, this cannot justify violent threats.
If a researcher reports credible threats, evidence should be preserved, reports should be made through relevant channels, and law enforcement or professional security personnel should be consulted when necessary. In public discussion, unverified details should not be spread, and threat events should not be used as evidence that a proof result is true or false.
9. Conclusion: breakthroughs should be confirmed by evidence, not defined by hype
AI can expand proof search, assist formalization work, and reduce the cost of some mechanical derivations. But there is still an evidence chain that must be completed step by step between “generating a large amount of code” and “solving a major mathematical problem.”
This evidence chain includes an accurate proposition, transparent assumptions, trusted checking, reproducible builds, and independent mathematical review.
For any breakthrough claim, the most professional attitude is neither to accept it based on hype nor to reject it based on intuition, but to keep asking: what is the proof object, what was checked, what does it depend on, and can others repeat the verification? Only when these questions receive clear answers can a technical narrative be transformed into reliable mathematical knowledge.
