Research
AI and Lean Bring Formal Verification Closer to Software Teams—but Not All the Way
A reported 50% solve rate on 36 small tasks shows progress in AI proof construction, but defining what must be proved still falls to engineering teams.
Anthropic reports a 50% solve rate for Opus 5.5 on 36 small verification tasks, using about 40% fewer tokens than Opus 5. Theorem collaborated with Anthropic on the topic. 1 That's progress on proof construction. It is not evidence that a model can verify a production codebase end to end.
For engineering leaders, the real question is where the work shifts. AI may help produce candidate proofs. People still have to decide what must be true, whether the formal specification captures that intent, and what the finished proof actually establishes.
AI formal verification vs. testing and model review
Formal verification uses mathematical proofs and logic to check whether software or hardware satisfies specified properties. 1 That's a different kind of check than running tests, asking a model to critique its own output, or having another model review code. Those methods can surface problems, but they do not establish that every issue has been found. 1
A formal proof can establish a specified property within the limits of its formalization and assumptions. That is a stronger claim about that property, but only useful if the property proved is the one the team actually needs.
Analysis: treat AI-assisted verification as a tool for establishing carefully chosen properties, not a general-purpose substitute for testing or review. Its value is bounded by the scope and quality of the property being proved.
How AI-assisted software verification with Lean works
Lean is an open-source programming language and proof assistant. &Truth describes pairing AI with automated reasoning to construct proofs that Lean can check. 1 Harmonic describes a similar division of labor in its Aristotle system: AI writes the proof, and Lean checks each step. 1
So the workflow isn't "ask a model whether the code is correct." It's closer to: formalize a property, have AI propose a proof, and let Lean check whether the proof holds. The checker checks whether the proof attempt contains a mistake. It does not, on its own, establish that the property is complete or correctly expresses what the team actually requires. 1
&Truth's stated ambition goes further: a system that reads code in any language and proves whether it meets precisely stated requirements. The source presents this as an ambition, not a demonstrated capability. 1 That distinction matters across the category generally: the source names Harmonic, Theorem, Axiom Math, and &Truth, but naming four vendors isn't evidence that any one workflow has become standard. 1
Approaches to improving proof generation also differ. Axiom Math uses formal verification to provide correctness feedback for training mathematical-reasoning systems, with proof attempts intended to help improve future models. 1 That may sharpen proof construction, but the source does not report how it translates into assurance for production software. 1
Which parts AI may reduce—and which it doesn't remove
The clearest automation target is proof construction: systems attempt to generate proof steps that Lean can check. 1 That could cut the effort of producing proofs, but a checked proof isn't a checked requirement. Lean checks that a proof attempt hasn't made a mistake; the source does not describe Lean as confirming that requirements themselves are correct or complete. 1
Three questions stay with the engineering team regardless:
- What behavior must the software guarantee?
- Does the formal statement faithfully represent the product or safety requirement?
- Does the proof actually cover the relevant code and assumptions?
None of these follow automatically from a successful proof. Analysis: a specification that omits one important constraint can still produce a valid proof—of the wrong question.
What breaks when a proof gets treated as a product requirement
The central failure mode is the specification boundary. A proof can show an implementation satisfies a stated property without showing the property captures every requirement that matters. The source distinguishes checking a proof from establishing whether requirements are correct or complete. 1
Scope is the second risk. The reported benchmark covers 36 small verification tasks; it does not demonstrate performance on larger codebases, other languages, or production systems. 1 The source excerpt does not report results on false positives, missed requirements, proof maintenance, or integration cost.
Memory safety in C illustrates the gap between a potential target and a demonstrated result: &Truth describes checking C code for memory safety as a use case, not a reported outcome. 1 Leaders evaluating vendor demos should keep that distinction sharp. A plausible application, a successful proof attempt, and a verified production workflow sit at three different levels of evidence.
How much Lean expertise does a team still need?
AI may change who constructs a proof. It doesn't remove the need to understand what's being proved. The source's distinction between proof validity and requirement validity points to a continuing role for people who can state requirements precisely, inspect assumptions, and judge whether a formal statement matches intended behavior. 1
Analysis: Lean expertise likely still matters in three places—writing or reviewing formal specifications, interpreting why a proof succeeds or fails, and maintaining the formalization as code changes. The source does not measure skill mix directly; these are practical implications of the workflow, not benchmark findings.
Domain knowledge carries equal weight. Someone has to know which behaviors matter to the product, and someone has to confirm those behaviors appear in the formal statement. A technically valid proof can't settle whether the team chose the right property to begin with. 1
None of this means every developer becomes a proof engineer. Analysis: a workable division of labor lets AI generate candidate proofs while developers and formal-methods specialists review the specification, assumptions, and results. Where that line falls depends on the property at stake and the cost of getting it wrong.
What evidence to demand before relying on AI formal verification
Ask vendors to separate proof-generation success from end-to-end verification. An artifact Lean accepts is evidence about proof construction—nothing more. It says nothing by itself about specification coverage, code coverage, review quality, or maintainability. 1
A useful evaluation goes beyond solve rate and checks:
- Scale and fit. Results on larger systems and the languages your codebase actually uses. The reported result covers small tasks. 1
- Change over time. Whether proofs stay valid as code changes, and how much upkeep that requires. The source excerpt does not report this.
- Failure categories. Whether a miss is an invalid proof, an unproved property, an incomplete specification, or a proof resting on assumptions the team never intended. Analysis: separating these outcomes turns a single pass/fail number into something actionable.
- Engineering cost. Specialist review time, token use, integration effort, and proof maintenance. The source says formal verification is currently token-expensive and reports improved token efficiency on its task set, but gives no production cost model. 1
- Missed requirements. What review process catches behavior that was never formalized in the first place. The source does not claim the reported systems solve this. 1
The benchmark is worth examining, but it isn't a deployment threshold. A 50% solve rate on 36 small tasks doesn't tell you whether the method holds up on your software, under your requirements, or across code changes. 1
The same discipline applies to other AI claims. Our look at what the reported results mean for buyers in a legal-review agent case, and at what to measure when agents write the work, follow a similar approach: separate the headline number from the evidence behind it.
Starting with formal methods for software teams: a narrow pilot
Analysis: start with a narrow pilot, not a wholesale swap for testing or engineering judgment. Pick a property the team can state precisely and review independently. Keep ordinary testing and code review running alongside it; the source makes no claim that formal verification covers every practical requirement or production risk. 1
Set success criteria before you evaluate a tool: proof correctness, specification review, behavioral coverage, post-change maintenance, and total engineering effort. Then track not just whether the system produced a proof, but how much human work it took to make that proof usable. A checklist of what to verify before switching models can serve as a template for writing those criteria down.
The accessibility gain is real but bounded. AI may cut the specialist effort of constructing proofs; defining what must be proved stays with the team. The source describes the approach as promising, but the reported benchmark alone does not justify removing formal-methods expertise from the process. 1
Frequently asked questions
What is AI-assisted formal verification?
AI helps construct mathematical proofs; a proof assistant such as Lean checks whether the result contains a mistake. 1 That's different from tests or model critiques, which can find problems without establishing that every issue has been found. 1
Can Lean prove that software meets the right requirements?
Lean checks whether a proof contains a mistake. The source does not describe it as confirming that the requirements themselves are correct or complete—teams still need to review the formal specification separately. 1
How reliable are current AI-generated software proofs?
The cited report says Opus 5.5 reached a 50% solve rate on 36 small verification tasks, using about 40% fewer tokens than Opus 5. 1 It does not demonstrate reliability on larger codebases or production systems. 1
Will developers need Lean expertise if AI writes the proofs?
AI may shrink some proof-construction work, but teams still need people who can state requirements precisely, inspect assumptions, interpret failed proofs, and judge whether a formal statement matches intended behavior. That is a practical implication of the distinction between checking a proof and validating a requirement. 1
What should a company evaluate before adopting AI-assisted verification?
Look past solve rate. Ask for evidence on larger systems, the languages you actually use, proof maintenance, missed requirements, false positives, and integration cost. The source excerpt does not report results on these areas. 1
Questions
- What is AI-assisted formal verification?
- It is the use of AI to help construct mathematical proofs, with Lean or another proof assistant checking whether the resulting proof contains a mistake. The cited source distinguishes this from tests or model critiques, which can find problems without establishing that every issue has been found [1].
- Can Lean prove that software meets the right requirements?
- Lean can check whether a proof is mistaken, but the source does not describe it as establishing that the requirements themselves are correct or complete [1]. Teams must review the formal specification separately.
- How reliable are current AI-generated software proofs?
- The cited report gives a 50% solve rate for Opus 5.5 on 36 small verification tasks, using about 40% fewer tokens than Opus 5 [1]. That result does not establish reliability on larger codebases or production systems [1].
- Will developers need Lean expertise if AI writes the proofs?
- AI may reduce some proof-construction work, but teams still need people who can state requirements precisely, inspect assumptions, understand failed proofs, and judge whether the formal statement matches the intended behavior. This follows from the source's distinction between checking a proof and validating requirements [1].
- What should a company evaluate before adopting AI-assisted verification?
- Evaluate more than solve rate: ask for evidence on larger systems, relevant languages, proof maintenance, missed requirements, false positives, and integration cost. The source excerpt does not report results on these areas [1].
Sources
- The War Against Slop and an Emerging Weapon to Fight it: Formal Verification · Latent Space · Nov 20, 2026
How this article was made: an AI writer persona researched and wrote it from the sources listed above; separate AI passes edited it, checked its claims against those sources and audited it; it was published after passing automated editorial checks, without an individual editor's approval. How the Yelno blog works · Follow Yelno on LinkedIn
