← Back to essays
Knowledge & verification

What Does Formal Verification Prove in AI Research?

A practical checklist for Lean-checked AI proofs: theorem statements, axioms, reproducibility, and independent mathematical review.

Hanyong Lee8 min read
English original한국어로 읽기 ↗

When an AI system is said to have formally verified a mathematical result, what is established? The answer is narrower than “the AI must be right,” but more substantive than “the system produced a plausible proof.”

A successful Lean kernel check supports a formal derivation of a precise theorem under declared foundations and assumptions. It does not, by itself, show that the theorem expresses the mathematical problem researchers intended to solve, or that independent researchers accept the result.

The related essay, Is AI Turning Science Back into Alchemy?, considers what automated discovery means for science. This guide focuses on what a reader should check before citing a result as a machine-checked proof.

Four distinct claims hidden behind “verified”

A research announcement can compress several different achievements:

ClaimThe audit question
The project buildsCan an independent reader reproduce a successful check with the stated Lean version and exact dependencies?
The theorem is provedWhich formal proposition was checked, and which axioms does it rely on?
The intended problem is answeredDoes that proposition correspond to the informal question, including relevant hypotheses and boundary conditions?
The result is acceptedHas the formalization and argument received independent mathematical scrutiny?

The first two are mainly technical. The third requires domain expertise, and the fourth goes beyond any one research team’s announcement. Keeping them separate gives formal methods credit for what they genuinely guarantee.

What a Lean proof checker checks

In Lean, surface notation and tactics are elaborated into expressions in a core type theory. A relatively small kernel checks that these expressions obey its typing rules. A search algorithm, tactic, or AI agent may help find a proof without itself becoming part of the kernel’s proof-checking rules.

If the kernel accepts a proof of a proposition T, the conclusion is conditional but powerful: T has a derivation in the chosen formal system, using the definitions and assumptions on which it depends.

There is still a boundary between the formal statement and an informal research claim. The checker is not a judge of whether T was the right theorem to formulate. It checks what was written, not what an abstract intended to say.

This is one reason that an explicit theorem declaration and explanatory mapping to the original problem matter as much as a green build indicator.

The axiom audit is not optional

In Lean, a declaration can depend on axioms, including through other theorems or imported declarations. A successful project build is not equivalent to “there are no extra assumptions.”

For a theorem named theoremName, the command #print axioms theoremName shows its transitive axiom dependencies. Lean’s official validation guide explains that the standard axioms propext, Classical.choice, and Quot.sound are expected in conventional developments, while sorryAx indicates an admitted or incomplete dependency.

Additional axioms are not automatically fraudulent or useless: they make the conclusion relative to those assumptions. Native computation can also expand the trusted implementation surface, and its dependencies warrant careful interpretation. Lean documents these cases in its axioms reference.

Thus an honest report distinguishes a reproducible build, the exact theorem, the assumption inventory, and any trusted computational steps. None of those should be collapsed into a single badge.

From formal theorem to the original problem

Imagine an AI proves existence for a model of fluid flow under a given set of formal conditions. The proof checks, but a condition in the theorem permits an external intervention not allowed by the informal statement being discussed.

The formal result may still be mathematically correct. Yet the two propositions differ. This is not an error that a kernel can necessarily detect: the formal proposition was validly proved; its interpretation was too broad.

The same mismatch occurs in software verification. A program may satisfy a specification, even when that specification omits a user requirement. It also appears in AI evaluation: a benchmark result may be correct according to its scoring contract without supporting every claim about general ability.

A rigorous audit therefore compares each formal definition and hypothesis with the original problem and explains any differences. This mapping deserves expert review in its own right.

A contemporary example: AI-generated mathematical proofs

The 2026 discussion surrounding AI-assisted mathematics, including OpenAI’s Navier–Stokes announcement, illustrates why distinct forms of evidence matter. An announcement, a public formal artifact, an independent reproduction, and the broader mathematical community’s acceptance are not interchangeable milestones.

For the separate Millennium Prize process, the Clay Mathematics Institute’s published rules require publication in a qualifying outlet, at least two years after that publication, and general acceptance in the mathematical community before consideration. These are institutional conditions, not automatic consequences of a proof checker reporting success.

Readers should examine the actual formalized claim rather than importing a broader conclusion from headlines. This paragraph does not assert an independent audit of any particular Lean repository.

A practical seven-point checklist

Before treating an AI-assisted formal proof as a solved scientific problem, ask:

  1. Artifact: Is there a permanent repository, release, or commit containing the proof?
  2. Environment: Is the exact Lean version documented, and do dependencies have reproducible versions?
  3. Statement: Can readers inspect the final theorem declaration in its formal syntax?
  4. Assumptions: Are the full transitive axiom dependencies and admitted claims disclosed?
  5. Correspondence: Is there a precise argument matching the theorem’s hypotheses and conclusion to the original problem?
  6. Independent review: Has someone outside the originating team checked the build and the mathematical meaning?
  7. Scope: Does the public summary separate kernel-checked facts, expert interpretation, and still-open questions?

These checks require different skills. Rebuilding is an engineering task. An axiom audit requires understanding the formal language. Assessing the statement-to-problem mapping can demand serious mathematical expertise.

A useful verification report might say: “The theorem was rebuilt under environment X; its assumption set was Y; independent reviewers examined the correspondence to formulation Z.” That conveys far more than the unqualified assertion “AI proved it.”

Verified artifacts are only part of reliable knowledge

Formal methods can make rejecting invalid candidate proofs cheaper. They do not automatically settle what to formalize, which failures to preserve, or how much evidence a broader conclusion requires.

The companion essay on the economics of verification explains why rapid hypothesis generation can increase the importance of selecting and documenting independent tests.

The operating rule is simple: publish exactly what the checker validated, then separately substantiate how far that result extends.

References

Continue the inquiry

When Hypotheses Become Cheap: The Economics of Verification

What Does It Mean for AI to Assist Science?

All research notes

AI tools assisted with drafting and editing. Editorial approach