Large Language Models Collaborating on Mathematical Conjectures: Opportunities and Boundaries of Formal Verification
This article examines a recent high-profile claim that a mathematician and an AI model jointly found a proof path for the Riemann Hypothesis and the Generalized Riemann Hypothesis (GRH), accompanied by more than 17 million lines of formally verified code. It breaks down why “code volume” does not equal “credibility” in formal verification, explains the human-machine collaboration pattern (human as architect, model as executor), and discusses the challenges of validating ultra-large proofs, including expert review bottlenecks, interpretability gaps, and toolchain dependencies. The article also offers a sober perspective on the suspicion that the announcement was a stock-boosting PR stunt, and draws practical lessons for developers and researchers on formal methods, generate-and-verify workflows, and maintaining professional skepticism toward AI-produced claims.
Event Review: A “Collaborative Proof” That Caused a Stir
A recent announcement triggered widespread discussion in both the mathematics and technology communities. A mathematician working at an AI company claimed that, by collaborating with his company’s large language model, he had found a path to proving the Riemann Hypothesis and the Generalized Riemann Hypothesis (GRH). He simultaneously released more than 17 million lines of formally verified code, packaged in over a dozen compressed files. The human-machine collaborative written proof draft reportedly exceeded 250,000 pages, but was not publicly released due to its enormous size and poor readability.
In this collaboration, the human mathematician designed the high-level approach and key proof strategies, while the large model handled massive numbers of intermediate lemma derivations and translated natural-language arguments into machine-checkable formal code. The author even admitted that, in the final stage of the proof, the derivation chains produced by the model went beyond what he could immediately understand — in his words, the model was “flying, dancing, and shining near the finish line.”
Because the announcement was timed near the company’s initial public offering, public skepticism arose: was this a carefully orchestrated public-relations event to boost market sentiment? Setting aside motives, the technical aspects of the claim deserve serious analysis.
Formal Verification: Why “Code Volume” Does Not Equal “Credibility”
To assess the significance of this result, one must first understand the fundamental difference between a formal proof and a traditional mathematical proof.
Traditional mathematical papers rely on peer review: reviewers read through the argument line by line, using professional intuition to judge whether each step is valid. This approach is flexible but has blind spots — complex proofs can run hundreds of pages, review cycles can take years, and history contains examples of papers published in top journals that were later found to contain holes.
Formal verification takes a different path: the mathematician rewrites the entire argument in a strict formal language (such as Lean, Coq, Isabelle, or other mainstream proof assistants). Every piece of reasoning must be spelled down to the axiom level, and a computer kernel mechanically checks each step for validity. If compilation succeeds, and the initial axioms and theorem statement are correctly written, the proof is logically complete.
Therefore, the key to evaluating this event lies not in the impressive “17 million lines” figure, but in the following three points:
- Accuracy of the theorem statement: Is the mathematical definition of the “Riemann Hypothesis” in the formal code strictly equivalent to the universally accepted formulation? If the proposition was weakened or subtly altered during translation, even the longest proof becomes meaningless.
- Whether compilation truly succeeds: Can all the code be compiled without errors and without “sorry” or “admit” placeholders in a standard version of the proof assistant? Any placeholder means that part has not actually been proved.
- Whether additional axioms were introduced: If the proof secretly relies on assumptions beyond the standard axiom system, the universality of its conclusion is questionable.
Until the academic community completes these checks, the correct description is “a candidate proof has been submitted,” not “the conjecture has been solved.”
Deconstructing the Human-Machine Collaboration: Architect and an “Infinitely Patient” Executor
The most instructive part of this event is actually the collaboration model itself, which provides a clear sample of how AI can participate in serious research:
- Humans handle strategy: Proving a century-scale problem like the Riemann Hypothesis is hardest at the stage of finding the correct attack route — selecting the mathematical framework, deciding which auxiliary objects to introduce, and decomposing the main problem into sub-propositions. These tasks depend on deep domain intuition and remain human-led.
- Models handle tactical execution: Once the route is established, there may be thousands of intermediate lemmas to derive, each requiring rigorous logical deduction and translation into formal code. This kind of “high-intensity, low-creativity” work is precisely where large models excel: they do not tire, can try multiple proof paths in parallel, and are naturally skilled at generating syntactically strict formal code.
- Asymmetry of understanding: One detail worth noting is the author’s admission that the later part of the derivation went beyond his immediate comprehension. This raises a profound epistemological question: when the output of AI is guaranteed by another machine (the proof checker) and no human can fully read it, does the concept of “mathematical understanding” itself need to be redefined?
From an engineering perspective, this aligns with trends in software development: humans do architecture design and code review, while AI handles bulk generation and completion. The difference is that in mathematics, the “review” role can be perfectly filled by the formal verification kernel — a unique advantage not present in other fields.
The Verification Challenge of Ultra-Large Proofs
250,000 pages of written drafts and 17 million lines of code — these numbers themselves create new challenges:
First, the bottleneck of review resources. Even though formal proofs can be automatically checked by machines, the step of confirming that the theorem statement was accurately translated still requires human experts. The number of experts worldwide who can formalize the Riemann Hypothesis accurately is tiny, and the verification cycle may take years.
Second, the lack of interpretability. A proof that compiles but that no one can understand has limited value for the accumulation of mathematical community knowledge. Mathematics aims not only to know that a proposition is true, but also to understand why it is true, because new methods embedded in proofs often transfer to other problems. If the AI’s proof is an impenetrable “black-box skyscraper,” its scientific value is greatly diminished.
Third, reproducibility and toolchain dependencies. Validators need to set up a compatible proof-assistant environment and handle the compilation performance of tens of millions of lines of code — itself a significant software engineering task.
Sober Reflection on the “Stock Boost” Accusation
Back to the original question: was this to boost share prices? Logically, the connection between such a message and capital markets is quite weak. An un-peer-reviewed mathematical claim changes neither the company’s revenue structure nor its product competitiveness. Serious institutional investors will not adjust valuation models simply because “a model may have proven a conjecture.” The path from mathematical breakthroughs to commercial applications is extremely long, and proofs themselves cannot constitute patent barriers.
A more reasonable interpretation is that this event marks a symbolic signal in the narrative of large-model capabilities — a leap from “writing code and copy” to “frontier scientific discovery.” Whether or not the proof is ultimately accepted, it demonstrates a new research paradigm. The practical deployment of such a paradigm relies on robust computing infrastructure and engineering platforms. In general-purpose cloud computing systems, large-model training and inference can be deployed using elastic compute services, object storage, container platforms, and other common product capabilities. Large-scale parallel compilation tasks for formal verification are also well suited to distributed cloud environments. General-purpose compute and storage capabilities provided by cloud service providers such as Baidu AI Cloud are among the underlying supports that enable such “AI for Science” workloads to run at scale.
Lessons for Developers and Researchers
- Pay attention to formal methods: Proof assistants and formal verification are moving from academia to engineering practice, with mature applications in high-safety software (aerospace, financial core systems). They are worth adding to your technical radar.
- Adopt a “generate-and-verify” mindset: AI generates candidate solutions, and an independent verification mechanism decides correctness. This pattern applies beyond mathematics to code review, test generation, and other scenarios.
- Maintain professional skepticism toward extraordinary claims: Any result that has not been independently reproduced should be treated as a “hypothesis to be verified.” Checking statement accuracy, verification completeness, and dependency transparency is the standard procedure when encountering AI-generated research results.
Conclusion
Regardless of whether this 17-million-line proof eventually passes academic scrutiny, the event marks a new stage in human-machine collaborative research: AI is no longer just an auxiliary tool but is beginning to touch the front lines of human intellect. What truly matters is not the stock price movement of one company, but whether we can build verification mechanisms, review processes, and engineering infrastructure that match this new paradigm — so that “truth candidates” generated by machines can withstand the most rigorous scrutiny.
