AI-Assisted Formal Proofs: Verification Standards and Evaluation Methods
How should machine-checked mathematical proofs be evaluated? This article explains what formal verification actually guarantees, why a proof passing a proof assistant's kernel is not the same as a trustworthy result, and provides a practical checklist and audit workflow for assessing AI-generated proofs—including how to interpret news claiming that major open problems like the Riemann Hypothesis have been solved.
1. What Is a Machine-Checkable Proof
Traditional mathematical proofs rely on human review. Referees check the reasoning step by step, but subtle flaws in long arguments may go undetected for years. A formal proof, by contrast, writes every step of the reasoning as text that a program can check one by one. A theorem prover verifies that each step conforms to the rules of a formal system. As long as the core checking program (usually called the kernel) is itself sound, a proof that passes checking can be considered correct within that formal system.
The value of this approach is that it replaces “did a human understand it” with “did the program pass it.” But it does not eliminate all risk. The following sections explain where the risks lie.
2. Machine Acceptance Is Not the Same as Trustworthy Conclusions
The credibility of a proof accepted by a machine depends on three links in the chain:
- Is the formal statement accurate? This is the most easily overlooked link. If the original problem is mistranslated into formal language, the proof may pass while only establishing a weaker or entirely different proposition. This type of error is usually called “misformalization,” and it requires human experts to check the formal statement line by line against the original definitions.
- Are the axioms and assumptions reasonable? An audit should list all axioms the proof depends on. If the dependencies include assumptions that were never discussed, or axioms that conflict with established systems, the conclusion cannot be taken at face value.
- Is the verification environment reliable? This includes the kernel implementation, dependency versions, and whether the build process is reproducible. Having another team rebuild the result in an independent environment and obtain the same outcome is strong evidence.
Scale is no substitute for auditing either. Even if a formal codebase of millions of lines passes all checks, you still need to confirm that its top-level statement actually corresponds to the proposition being claimed.
3. A Checklist for Evaluating AI-Generated Proofs
AI can propose proof strategies, fill in intermediate lemmas, and retrieve existing results. These outputs can be valuable, but they are not a source of trust. To judge whether an AI-generated proof is reliable, verify the following items one by one:
- The formal statement of the main theorem has been confirmed line by line by human experts.
- The code contains no unfinished placeholders, statements that skip checking, or mechanisms that bypass the kernel.
- Axiom dependencies are limited to a recognized standard set.
- The result can be rebuilt and reproduced by others in an independent environment.
- The work has undergone public peer review, and the review comments are accessible.
Each item has a clear pass/fail criterion. If even one item cannot be confirmed, the conclusion should be marked as unverified.
4. A Reproducible Audit Workflow
The following pseudocode outlines the basic structure of the audit process. It is for illustration only; a concrete implementation needs to be adapted to the toolchain of the formal system in use.
def audit_proof(project_dir, main_theorem, standard_axioms):# 1. Rebuild from a locked dependency version, avoiding cached resultsbuild_from_clean_checkout(project_dir, pinned_versions=True)# 2. Scan for unfinished placeholders and statements that bypass checkingflagged = scan_sources(project_dir, patterns=["placeholder", "bypass"])# 3. Export the axioms actually used by the main theoremused_axioms = list_axioms_used(project_dir, theorem=main_theorem)# 4. Compare against the standard axiom set to find unusual dependenciesunexpected = set(used_axioms) - set(standard_axioms)return {"flagged_locations": flagged,"unexpected_axioms": sorted(unexpected),}
Interpreting the audit results matters just as much. Unexpected axioms do not necessarily mean the proof is wrong, but they mean the scope of the conclusion needs to be redefined. An empty list of anomalies does not prove the proof is correct either—it only means this particular check passed.
5. How to Read “Major Problem Solved” Announcements
When faced with such news, check the following questions in order:
- What stage is the claim at? Has it been published, submitted for review, or merely announced unilaterally by the authors? The credibility of these three situations differs greatly.
- Is the source material public? This includes the formal code, proof documentation, and review comments. Claims whose source material cannot be examined should not be accepted for now.
- Has there been independent expert evaluation? The evaluation should come from scholars in the field with no direct stake in the outcome.
- Is media coverage consistent with the source material? Common problems include reporting “under review” as “confirmed,” or inflating progress on a subproblem into a complete solution.
Take the Riemann Hypothesis as an example. It is widely recognized as one of the most important unsolved problems in mathematics. As of this writing, based on available information, no proof has been broadly accepted. Of the seven Millennium Prize Problems, only the Poincaré Conjecture is generally considered to have been proven; the rest remain open. Therefore, any claim of a completed proof needs to pass each of the checks above and await independent expert review.
6. The Proper Role of AI in Formal Mathematics
AI’s role in formal mathematics is best understood as an efficient assistant. It can accelerate exploration, reduce repetitive work, and help researchers discover existing results. But its output must undergo the same scrutiny as proofs written by humans.
In practice, a sound approach is: run AI-generated content through automated checking; have human experts confirm the formal statements; publish the original code and dependency versions; and accept community review. Only when all of these steps are complete is a conclusion worth treating as confirmed knowledge.
