How Formal Verification Checks Major Mathematical Conjectures
This article explains what formal verification can and cannot do for major mathematical conjectures such as the Riemann Hypothesis. It separates conjecture, proof, and machine checking; shows why large formalization efforts inevitably become engineering work; defines a practical division of labor between humans and AI coding tools; and argues that neither elapsed time nor compute counts as mathematical evidence. It closes with concrete practices for teams and a five-question checklist readers can use to judge any "the conjecture is solved" claim.
The value of a major mathematical conjecture does not lie in the phrase “it has been proven,” but in whether the proof can be checked step by step by an unrelated third party within a clearly defined logical system. The Riemann Hypothesis concerns the deep connection between the distribution of prime numbers and the location of the zeros of a certain complex function. It has long sat at the core of number theory, which makes it especially prone to exaggerated narratives: some treat an auxiliary tool as the sole author, some present an unreviewed code repository as a historical verdict, and some escalate academic disagreement into personal attacks. Responsible technical writing should strip away this noise and keep only the operational questions: what is the claim, to what layer has it been formalized, which lemmas still depend on external results, whether the checker actually ran to completion, and how objections are located in specific proof steps.
First, Distinguish Conjecture, Proof, and Machine Checking
A conjecture is a mathematical statement that has been widely tested but is not yet universally accepted as a theorem. A proof is an argument that starts from accepted axioms and established theorems and reaches a conclusion through a finite number of inference steps. Machine checking is not “writing a longer explanation”; it means expressing the reasoning as terms that a proof assistant can reduce according to rules, with the kernel deciding whether each step is valid. The three cannot substitute for one another. Observing numerically that many zeros lie on the critical line can strengthen belief, but it cannot replace an argument covering all nontrivial zeros; a model-generated proof draft can offer leads, but it cannot replace a passing record from the kernel.
So when you encounter any news that “a conjecture has been cracked,” the first reaction should not be to forward its scale, but to check the wiring:
- Is the formalized statement of the final theorem equivalent to the classical formulation, or has it quietly strengthened the assumptions or narrowed the scope?
- Does the proof close within a single trusted kernel, or does it leave key steps in natural language, external computation, or unverified scripts?
- Are the versions of the dependency libraries, the axiom set, and the classical results traceable?
- Is there a reproduction experiment independent of the original author’s environment: a clean build, pinned dependencies, complete logs?
- Has the community wired in counterexample searches, boundary conditions, and special cases of known theorems?
Until these conditions are met, the work can only be called a “formalization attempt pending review,” not a theorem.
Why Large Proofs Inevitably Become Engineering
Handwritten papers are good for expressing ideas but unsuited to carrying routine reasoning across a million steps. Moving arguments from analytic number theory, algebraic geometry, or automorphic forms into a proof assistant usually runs into three kinds of bloat.
The first is gaps in the base library. A single line on paper such as “by a standard estimate” may, in the machine, require first building out an entire stretch of infrastructure for limits, measure, complex analysis, finite fields, or scheme-theoretic language. Such gaps do not mean the original proof is wrong, but they show that the bulk of the formalization work lies in the foundation, not in the last line.
The second is implicit choices. Mathematicians understand from context what “take a sufficiently large prime” or “up to a set of measure zero” means. Formalization must fix the order of quantifiers, the computable bounds, and the exceptional sets. This step often reveals gaps in the original text in reverse: a bound that is not explicit enough, a construction that is not executable, or two “natural isomorphisms” that actually still differ by a coherence condition.
The third is scale management. When the object of proof becomes a large code base, correctness no longer depends only on mathematical inspiration but also on module boundaries, naming conventions, the maintainability of proof terms, and regression checks. Compressing lines of code, splitting lemmas, and collapsing repeated tangent estimates into general lemmas are all engineering behaviors; they improve readability but do not automatically increase mathematical strength. Advertising “fewer lines” as “a stronger proof” is a category error.
A maintainable formalization repository is usually organized in four layers. The bottom layer is the kernel’s trusted base: axioms, induction principles, and type-checking rules, which should be as small as possible. The second layer is a general mathematics library: numbers, groups, rings, topology, complex analysis. The third layer is domain lemmas: propositions directly related to the conjecture but stated independently. Only the fourth layer is the main theorem file, which should be short, readable, and such that every step can be clicked through to its dependencies. If the main file is huge and its dependencies cannot be audited, reviewers cannot work.
How Humans and AI Coding Tools Divide Labor
AI coding tools are suited to retrieving literature leads, drafting lemmas, spotting notation inconsistencies, turning repeated proof patterns into tactics, and rewriting intermediate goals based on failure messages. They should not be given the name of “final correctness.” Correctness comes only from the checker, together with a human’s review of statement equivalence.
A workable collaboration flow is as follows.
- Freeze the statement. First write the theorem once in natural language and once in formal language, and have at least one mathematical worker who did not generate the draft verify that the two are the same thing. Do not count progress before the statement is frozen.
- Decompose dependencies. Split the main theorem into independent lemmas, each labeled with its input assumptions, the classical results it uses, and whether computational certificates are allowed.
- Constrained generation. Let the tool propose proof scripts only within the local context of a single lemma; forbid it from changing theorem signatures or quietly adding axioms.
- Machine adjudication. Only scripts accepted by the checker may enter the repository. Model self-assessment, conversation logs, and “looks correct” do not count as evidence.
- Failure is data. Record counterexamples, timeouts, tactic failures, and the reasons for human corrections in a log, to improve the decomposition rather than to re-prompt until something passes by chance.
- Independent review. Another group replays the build in an isolated environment and spot-checks whether high-level lemmas have been wrongly set as axioms.
An illustrative checklist can be expressed in an ordinary script, without binding to any vendor interface:
check:freeze_statement(theorem, human_review=required)forbid_signature_change(scope=generated_patch)build(kernel=pinned, libraries=pinned, network=off)assert(no_extra_axioms(path=main_theorem))replay(log=build_log, by=independent_worker)report(status, unproved_lemmas, trusted_computing_base)
This pseudocode only describes discipline: pin the environment, forbid swapping the proposition, disable untraceable external dependencies, and make the trusted base explicit. It is not a call example for some cloud product, nor does it imply the existence of a “prove any conjecture in one click” interface.
The irreplaceable human work concentrates in three places: choosing the correct mathematical statement, judging whether theorems in the classical literature are faithfully cited, and restructuring the problem when the tool is stuck in a local tactic. The value of tools is to lower the cost of mechanical labor so that experts can focus their attention on the reasoning that is genuinely fragile. Crediting the entire result to the tool, or completely erasing the tool’s assisting role, both hurt reproducibility. Reasonable attribution is a contribution statement: who defined the statement, who designed the decomposition, who wrote or generated which modules, and who completed the independent review.
Time and Compute Are Not Proof Strength
“Completed within weeks” or “running without sleep” cannot serve as mathematical evidence. A short cycle only shows that if the base library is mature and the decomposition is well done, mechanical steps can be parallelized; it does not show that the hard part has been solved conceptually. Conversely, being unsolved for a long time does not mean formalization is pointless. For a target at the level of a Millennium Prize Problem, no path exists in the public literature that is generally accepted as one that can be laid down mechanically in a short time. The responsible expectation is that formalization can amplify existing proof ideas, expose hidden gaps, and precipitate reusable analysis tools, but it cannot replace mathematical ideas with a schedule narrative.
The same holds for compute. Search strategies, parallel checking, and caching can speed up proof obligations of known types, but they cannot conjure a missing key estimate out of nothing. If a step depends on a large-scale computational certificate, the certificate itself must also be verifiable: input and output formats, the algorithm, the source of randomness, and the checksums must all enter the discussion of the trusted base. An unreviewable private computation result amounts to nothing more than “please trust that I computed it.”
Release, Controversy, and Safety Boundaries
The release order for a major claim should be: reproducible artifacts, a statement-comparison note, known gaps, and only then public dissemination. Spreading the conclusion first and adding checks later forces the community to take sides on incomplete information. Praise or blame in the comments does not change the proof terms. A valid objection must point to a concrete object: a lemma whose assumption is stronger than in the paper, an equivalence used in reverse, a computational certificate with no verification, or an axiom in the trusted base that is equivalent to the conclusion. Maintainers should be able to map objections to files and line-level proof obligations, and publicly accept or rebut them.
When public discussion turns into harassment or personal threats, the problem has left mathematics and entered the domain of safety and law. A research team should preserve evidence, use the platform’s reporting mechanisms, reduce public exposure of personal whereabouts, and seek protection from their institution and law enforcement when necessary. Academic criticism can be sharp, but it must not contain threats of harm. At the same time, authors should not use controversy to raise the credibility of an unreviewed claim. Attention is not peer review.
For readers, the practical criteria can be compressed into five questions: is the statement equivalent, did the kernel pass, are the extra axioms empty, did independent reproduction succeed, and were counterexamples and boundaries seriously handled. If any one of the five is a “no,” the work should not be treated as the end of the conjecture.
Practical Approaches for Enterprises and Research Organizations
If a team wants to apply AI to serious reasoning rather than to manufacturing long, uncheckable text, it is advisable to productize the process, but to productize only general capabilities: version-pinned builds, isolated dependency mirrors, proof-log archiving, access-controlled code review, monitoring and alerting, and artifact retention. These capabilities can be implemented with private build nodes, object storage, and continuous integration, without binding to exaggerated promises of “automatically cracking conjectures.” General cloud infrastructure such as Baidu AI Cloud, if used to store artifacts and logs, should also serve only as a reproducible environment and access control, and must not be described as endorsing a particular mathematical conclusion.
At the organizational level, teams should also stipulate that models may propose patches but may not approve them; that merge requests involving extra axioms, an expanded trusted base, or changes to theorem signatures must undergo repeated human review; and that external statements use falsifiable phrasing such as “checked,” “partially formalized,” or “still depends on assumption X,” while forbidding unverifiable sentences such as “has overturned the discipline” or “proven solely by the model.”
The conclusion is simple. Formalization and AI assistance can improve the checkability of large arguments and make contribution records more transparent; they cannot lower the difficulty of the mathematical statement itself, still less replace independent review. Whether the Riemann Hypothesis is solved depends only on whether a correctly stated proof holds up to checking, not on lines of code, market news, or the volume in the comments. Staying restrained until the checking is complete is a form of protection for mathematics, for the tools, and for the researchers themselves.
