AI Today

🧮 Proofs instead of tests: &Truth, Theorem, Harmonic and Axiom sell formal verification against AI code slop

· 5 min

In brief


🧮 The AI industry's word of the year, according to the newsletter Latent Space, is "slop": low-quality output from language models, now also in the flood of AI-written code. One answer is formal verification. It uses mathematical proofs to show that software or hardware meets a precisely worded requirement in all cases, not just in the cases a test happens to run. Four companies now sell this with AI doing the proof work: Harmonic, Theorem, Axiom Math and the newcomer &Truth, which came out of stealth at the end of October with $70 million in seed funding. Most build on Lean, an open-source system for such proofs. Clark Barrett, &Truth's co-CEO and a Stanford professor, told Latent Space that the difference to testing is knowing when you are done: tests and scanners find many bugs but never show that none is left. Developers are meant to spend more time writing and reviewing specifications and less time reviewing code. 🛠️


🧮 **What a proof adds to testing.** In formal verification, code is translated into a mathematical model, and a proof shows that it always obeys a defined set of rules. A separate proof checker confirms every step by machine, so the AI that writes the proof does not have to be trusted: Lean, Barrett says, just checks that you did not make a mistake. If a proof fails, the failure points to a possible bug. Until now this was mostly reserved for safety-critical code because it was so slow: Anthropic cites the seL4 operating-system kernel, which took two person-years to build and twenty to verify, and Airbus's avionics software as an example of the mission-critical code where it has so far been practical.

🔐 **Barrett's pitch.** Barrett co-created cvc5, an automated reasoning engine (a solver for satisfiability modulo theories, or SMT) that, in Barrett's words, is now called billions of times a day in production pipelines at Amazon; Latent Space names specification analysis and test generation in Amazon's agent-based development environment Kiro as an example. &Truth wants to go further with what it calls a verification machine: software that reads code in any language, proves whether it meets precisely stated requirements and lets people trust it without understanding every line. Its first example is memory safety: working through the world's open and closed-source C code and pointing to the exact place where it is not safe. For developers Barrett describes a workflow the company calls "veri-coding", as opposed to vibe coding: you still tell the agent what to build, some effort goes into pinning down the specification, and the agent then works with the formal tool under the hood. Barrett expects the code to work the first time. Pulse 2.0, reporting on &Truth's announcement, adds that the company was founded in early 2026 as a public benefit corporation in Palo Alto and Singapore, plans to publish foundational libraries as open source and claims that AI speeds up proof generation more than a hundredfold and its own automation by another hundredfold, which would turn months into hours.

🤖 **The other three.** Axiom Math uses verification as a training signal: proof attempts tell its mathematical reasoning models whether they were right. Its system AxiomProver writes Lean proofs and its toolkit AXLE explores and checks them; CEO Carina Hong told Latent Space in June that verified AI is not only about weeding out hallucinations but about scaling brilliance. Harmonic's Aristotle is an automated theorem prover in which the AI writes proofs and Lean checks every step. Theorem puts the emphasis on security and argues on its homepage that verification is the only defence that keeps holding as attackers scale up.

📄 **What Anthropic and Theorem have shown so far.** The most concrete evidence is a post Anthropic published on 22 October together with Theorem. Over a few weeks Claude proved, for 239 entry points in 123 libraries from Google's OSS-Fuzz programme, that the compiled program never crashes on any input below 64 MB. The proofs work on compiled RISC-V machine code and comprise about 180 million lines in the Rocq proof assistant; a typical proof runs to roughly 600,000 lines for a program of a median 18,000 instructions. Only the formal models of the processor and of Linux processes and the exact theorem statements need to be trusted, not the proof lines themselves. While trying to prove things Claude patched bugs it found, among them a counter underflow in a decompressor that led to an out-of-bounds write only for inputs of about 20 MB with a rare layout, and it rediscovered CVE-2026-56132 in libexpat. Cost is the main obstacle: proofs can take hundreds of millions of tokens. On 36 small tasks Opus 5.5 proved half of them with about 40 percent fewer tokens than Opus 5, and agents that were allowed to copy one another's proofs needed 17 percent fewer. Theorem offers to run the same pipeline for other open-source projects and publishes a Claude skill for developers who want to try it.

⚖️ **Limits.** "Formally verified" does not mean "bug-free", as Anthropic itself stresses. Its proofs assume single-threaded, statically linked RISC-V programs on Linux with a fixed memory budget, while most people run these libraries on x86 or ARM chips with a different C library; the crash checks used do not catch every kind of memory error; and not every entry point of every library was covered. Everything the Latent Space report says about &Truth, Harmonic, Axiom Math and Theorem rests on the companies' own statements and an interview with one founder; no independent measurement of any product is reported. The newsletter places the topic in a week in which Lean also made headlines in mathematics, through the Riemann-hypothesis proof that Anthropic mathematician Levent Alpöge says he built with Claude and posted in Lean.

Sources

Open in the interactive reader →

This post was selected, researched, written and rated by AI. The AI can be wrong: check the sources. Imprint, privacy policy and terms of service