中
◀ Back to feed
Latent Space

The War Against Slop and an Emerging Weapon to Fight it: Formal Verification

Published 2026-11-20 Collected 2026-11-22 20:00 AI news #ai
Full text

The word of the year in the AI industry over 2026 has been “slop” — meaning low-quality output from a large language model. And with so much code being AI-generated now, avoiding slop has become a daily concern for software engineers. So how to do that? One way is to use formal verification systems, which use mathematical proofs and logic to verify the correctness of software or hardware.

With AI’s growing prowess at solving math problems, there’s now a number of AI companies offering formal verification systems. They include Harmonic, Theorem, Axiom Math, and a new entrant called &Truth (pronounced ‘and truth’). In this article we’ll look at some of the approaches these companies are taking.

How formal verification is used in software and AI today

In order to better understand the landscape of formal verification systems, we spoke to one of its leading proponents: Clark Barrett, &Truth’s co-founder and co-CEO. He’s also Corbel Professor (Research) of Computer Science at Stanford and was the co-creator of cvc5, a popular automated reasoning engine used in formal verification.

Without getting too in the weeds, cvc5 is what’s called a “solver” for satisfiability modulo theories (SMT), which Barrett says is widely used in companies like Amazon. For instance, cvc5 is used for specification analysis and test generation in Kiro, Amazon’s agentic development environment.

“It's been fun to see my tools go from a good idea in the lab to cvc5 is now called billions of times a day in production pipelines at Amazon,” Barrett told us.

When AI coding agent companies talk about “verifying” their work, it typically means agents running tests, critiquing their own output, or having another AI model judge it. So I asked Barrett how far short of real verification does that fall?

“The main difference is really just, how do you know when you're done,” he replied. “So if you're testing, patching, scanning — using all these existing tools — they're quite good. I mean, they find a ton of problems. They raise those issues. But you're never quite sure, did I find all of them [the issues] or is there one more lurking there that my tool can't find?”

Lean’s role in formal verification

&Truth builds on Lean, an open-source programming language and proof assistant. The company combines AI with automated reasoning techniques to construct proofs that Lean can check.

Lean is a language used by frontier models to solve all manner of supremely difficult math problems. For instance, just this week GPT-6.2 Astra produced what Vals believes is “the first Lean proof of Smoktunowicz’s Gap Theorem.” Vals added that Anthropic also used Lean to formalize Fermat’s Last Theorem, a project of 13 million lines.

The latest big math news is a report that Anthropic mathematician Levent Alpöge claims he used Claude to prove the 167-year-old Riemann hypothesis — and he posted the proof in Lean.

&Truth is building what it calls a “verification machine” on top of the Lean framework, with the ambition of reading code “in any language, proving whether it satisfies precisely stated requirements, and enabling humans to trust it without having to understand every line.”

“What Lean does is it just checks that you didn't make a mistake,” explained Barrett. “So you can think of it as a very sophisticated checker for mathematics.”

This has implications for model training too. Axiom Math uses formal verification to provide correctness feedback for training its mathematical reasoning systems, with proof attempts helping improve future models.

In an interview with Latent Space in June, Axiom CEO Carina Hong made the point that formal verification — and what Lean enables — isn’t just a defensive measure.

“Formal verification, or verified AI, to us it's not just about handling or kicking out the lousiness, the hallucinations, the mistakes. It's about scaling brilliance. It's about super-intelligence.”

Axiom develops AxiomProver, an AI system that generates Lean proofs, alongside AXLE, its toolkit for exploring, validating, and manipulating those proofs.

Harmonic’s Aristotle, an “automated theorem prover”, uses Lean heavily in its offering. “Inside Aristotle, AI writes the proofs and Lean checks every step of them, so a result never rests on the AI being right,” states the company on its website.

Cybersecurity and LLM-scaled formal verification

Given the heightened level of paranoia about cybersecurity these days — some might say in the days leading up to AGI — formal verification systems seem like they’re needed more than ever. And Barrett confirmed that cybersecurity is a key focus for &Truth.

“One really powerful use case for our technology is going through all the C code in the world, whether it be open source or closed source, and trying to ensure that it's memory safe. And then if it's not memory safe, we can point to: here's a problem with this piece of code, you need to fix it so that it's safe.”

Security is also a focus of Theorem, one of &Truth’s competitors. “Verification is the only defense that holds while adversaries scale,” Theorem states on its homepage.

Theorem has also collaborated with Anthropic on this topic, resulting in a blog post entitled “LLMs are making formal software verification feasible at a much larger scale.”

One of the more encouraging notes in the post is that formal verification, although currently token-expensive, is starting to get more token-efficient. On a set of 36 small verification tasks, Anthropic reported that Opus 5.5 reached a 50% solve rate using about 40% fewer tokens than Opus 5. This trend is expected to continue as more models are “trained on long verification tasks.”

Theorem and Anthropic describe “LLM-scaled formal verification” as a promising approach to providing security guarantees at a previously impractical scale.

The “veri-coding” experience for developers

Lastly, how does formal verification fit into a developer’s workflow? On its website, &Truth states that developers will move from vibe-coding to “veri-coding” — meaning the verification layer is part of the workflow.

“If you've got your verification machine connected to your agent, you can still say, ‘hey, I want you to build this,’ said Barrett. “Maybe there's a little bit of work to really nail down with the agent what the specification is of what you want to build. But then the agent can go under the hood, collaborate with the formal [verification] tool, and essentially what you'll see is almost no difference except your code will work the first time.”

The idea, then, is that more of the developer’s time will be spent on spec writing and reviewing than on coding or reviewing code.

Verify all the outcomes

Whether the term “outcome engineering” sticks or not, he’s onto something in terms of where we are with coding. When you just tell your team of agents what you want and they go ahead and build it, you (the human developer) need a way to check the correctness of what your agents deliver.

If companies like &Truth, Harmonic, Theorem and Axiom Math have their way, formal verification could become an increasingly practical way to check those outcomes.

Source
Title
The War Against Slop and an Emerging Weapon to Fight it: Formal Verification
Author
Richard MacManus
Site
Latent Space
Published
2026-11-20
Collected
2026-11-22 20:00 · 2026-11-22-20-ai.json
Link
https://latent.space/p/formal-verification/
Open original ↗

Reposted. Will be removed on request. All rights belong to the original author.

More from this batch

20:00batch · 2026-11-2212 items
>

Data Processing Incidents on Inference Providers

官方公告说,安全研究者本周发现部分推理服务商数据被入侵,或没有遵守自己的数据政策;OpenRouter 自身没有被入侵。它已下架 3 家服务商,把 125 个端点移出零数据保留(ZDR)资格(含研究者点名的和出于谨慎一并移除的),并通知了所有可能受影响的客户;接下来会把研究者的“…

OpenRouter
>

Nvidia’s stock closes the week down 14 percent, as Reuters reports the SEC is looking into its “accounting practices.”

路透社援引两名消息人士称,SEC 执法人员正在审查英伟达潜在的会计问题,具体方向未披露;调查不等于认定违规。The Verge 引 CNBC 称,英伟达周五收于 125.53 美元,为连续第七周下跌,这段时间累计跌约 46%,下跌早在黄仁勋辞职之前就已开始;The Verge 标…

The Verge
>

Jensen Huang’s ‘Lying’ Alarmed Nvidia Board Ahead of His Resignation

WIRED 援引两名知情人士称,董事会当时无法确认 Alice Huang 是否为中国情报人员(中国外交部已否认),真正促使罢免的是黄仁勋在长达一年里(2025 年 10 月至今)对董事会的不坦诚。董事长 Harvey Jones 在 11 月 18 日全员会上说,个人行为和缺乏…

WIRED
>

路透:台积电暂停中国大陆芯片设计公司 16nm 及以下订单,除非拿到美国许可(11 月 19–20 日,本期补录)

美国商务部新规 11 月 19 日生效,取消了台积电以往通过核查算力等指标、免个案许可代工部分中国设计的合规通道。路透援引两名知情人士称,受影响订单若无美国出口许可将暂停,客户一般只能用 28nm、40nm,且不能用 HBM 或先进封装;台积电还要审查客户的股东、封装商和运输路线…

Reuters / Taiwan News
>

A tale of two Nvidias

播客文字稿里,Kirsten Korosec 说英伟达临时 CEO Colette Kress 表示不再在中国销售 H200,同时美国也在堵远程访问算力的口子。主持人讨论了批评者估算英伟达约 20% 业务最终来自中国、董事会为何迅速否决请他回归的请愿,以及上市公司里创始人回归比 …

TechCrunch
>

The UN fails to agree on rules regulating ‘killer robots’

红十字国际委员会、联合国秘书长和教宗良十四世都呼吁一年内起草有法律约束力的规则,最后的妥协是各国有两年时间提出规则,而且部分规则可能是“可选”的。NPR 称俄罗斯、以色列和美国是主要阻力:俄罗斯第一天就反对议程,美国提议用五年讨论不具约束力的指南。

The Verge
>

研究估算:到 2028 年 Anthropic 在美用电约 87% 来自天然气、11% 来自煤(11 月 16 日,HN 本期热议)

这家倡议机构把 Anthropic 已签约的美国数据中心和可能满足其新增负荷的边际电厂对应起来估算:截至 2026 年 10 月公司已签约 15GW 算力,其中 5.9–9.6GW 落到具体园区;2028 年年排放可能达 1700 万–3800 万吨 CO2e;现场燃气发电里 8…

Better Data Center Project
>

Lean verification of the Riemann Hypothesis

由 Lean FRO 和 Mathlib Initiative 背书的联合声明说,这份约 1700 万行的 Lean 库只直接依赖 Mathlib;几十人复现编译得到同一份证明导出文件;社区单独写了只导入 Mathlib 的黎曼猜想陈述,用 comparator 和 con-le…

Lean community blog
>

MIT 数学家公开逐项验证记录:175,187 个模块全部编译、两个独立内核接受整份证明

页面由 MIT 的 Andrew Sutherland 维护(检查用 Claude Code 运行),截至 11 月 22 日 04:35 UTC:Lean v4.33.1 下 175,187 个模块零错误编译;五个主定理只依赖三条标准公理;沙箱内断网重建出与公开版本逐字节相同、…

MIT · Andrew Sutherland
>

MiniMax 内部模型 MIM 做自动化密码分析:给多个 NIST 候选算法找到首个实用攻击(11 月 20 日,本期补录)

官方博客说,这个只在内部使用的模型在 CryptanalysisBench 第二档(135 个没有已知实用攻击的公开方案)上,对 Waterfall-256、Blender-256 等 SHA-3 候选做出了实用碰撞,还对若干顶会论文方案做到认证密文伪造或密钥恢复,并在公钥密码相…

MiniMax
>

XDOF 发布双臂机器人基准 Ember-0:GPT-6.2 Astra 成功率从 19.6% 升到 41.2%(11 月 20 日,本期补录)

XDOF 让 5 个前沿多模态模型通过工具调用直接控制真实的双臂机器人,完成 16 项操作任务。GPT-6.2 Astra 等权平均成功率 41.2%,GPT-6 Astra 为 19.6%;它是第一个完成打结和展开 T 恤的模型。博客的结论是:大模型擅长零样本拆解任务、听懂指令…

XDOF
>

Singularity-Bench:让编码智能体自己写推理引擎,P90 首 token 延迟从 12.0 秒降到 0.48 秒

这个基准考的是“智能体能不能造智能体”,任务包括从零预训练小模型、为大模型写服务引擎等。在 serve-glm53-flash 任务中,Opus 5.5 配 Claude Code 用 12 小时,在 4 张 GB300 上为 320B 的 GLM-5.3-Flash MoE 写…

arXiv · Infini-AI Lab 等