TLA-Verus: LLM agents prove temporal properties of TLA+ specs

Murat · 2026年10月27日

AI 摘要 AI 生成,可能有误

本文评论了TLA-Verus论文,该论文使用LLM智能体在“证明者-评审者”循环中,将GitHub上的TLA+规范翻译为Verus,并在其中证明安全性和活性性质。作者批评该论文缺乏任何将Verus规范与原始TLA+联系起来的精化证明(而且完全没有产出可执行的Rust代码),低估了TLAPS现有的时序证明能力,并呈现了一个有偏差的语料库以及一个经过筛选、只包含其自身流水线已证明任务的基准测试。尽管如此,作者认为Verus本身以及该论文的自动化任务生成器确实是很有用的贡献。

This NeurIPS'26 workshop paper takes TLA+ specs from GitHub, translates them into Verus, and has LLM agents prove the safety and liveness properties in the specs.

The motivation

The paper aims to address two problems it raises with TLA+. First, nothing ties the spec to the code, so they drift apart. And second, it claims that proof support is thin: TLC only checks small configurations, and TLAPS is weak on liveness.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Murat Demirbas

Meaningful Human-in-the-Loop Checking of GenAI Synthesis for Restricted Languages

AI 摘要The article reviews an ECOOP 2026 paper introducing PICK, a human-in-the-loop tool that resolves ambiguity in LLM-generated specifications for restricted languages (regexes, LTL, access-control policies) by deriving multiple candidate formulas, sampling concrete scenarios where the candidates disagree, and asking users to accept or reject them until only the correct candidate survives. Experiments showed PICK substantially improved accuracy over reading formulas directly (e.g., 60–72% versus 22% on regex tasks) and made users more likely to correctly reject all wrong candidates. The author also applies the same idea in reverse to build 'Do you Paxos?', an interactive tutor that teaches correct Paxos by quizzing users on behaviors distinguishing it from common misconceptions.

TLAPS-Bench: Formally Proving Correctness Of Real-World System Specifications With TLA+ Proof System

AI 摘要TLAPS-Bench is a benchmark of 265 proof targets drawn from 95 real-world TLA+ specifications (including etcd Raft, ZooKeeper, and MongoDB transactions), designed to measure how well AI agents can carry the burden of deductive correctness proofs using the TLA+ Proof System. Unlike existing verification benchmarks that provide scaffolding such as helper lemmas or invariants, it hands agents only the spec and target theorem—covering safety, liveness, and refinement properties—and its Tilapia harness supplies proof checking, model checking tools, and anti-cheating guards, notably using a 'falsify before you prove' recipe where TLC and Apalache quickly refute bad candidate invariants. On the 70 hardest targets, the best current model proved 44.3%, leaving substantial room for AI labs to improve agents' formal proof and autoformalization capabilities.

Writing as a thinking tool

AI 摘要The author argues that writing is fundamentally a tool for thinking, likening a human without writing to a finite automaton and one with writing to a Turing machine, and illustrates this with personal experiences from mind maps in school to paper reviews and blogging. They warn that delegating writing to LLMs outsources the very act of thinking, making personal writing a widening comparative advantage. The article closes with five practical rules: produce unrestrained first drafts, edit ruthlessly, keep prose simple and plain, write for yourself without expectations, and put writing on a regular schedule.

The Man from the Future: Why Johnny Can't Stop Abstracting

AI 摘要The article reviews Ananyo Bhattacharya's biography of John von Neumann, chronicling his early years in Budapest and his foundational contributions to an extraordinary range of fields, including set theory, quantum mechanics, game theory, economics, and computing. The author argues that von Neumann's real superpower was the 'art of abstraction'—reducing messy domains to their minimal objects and axioms, as seen in his rigorous Hilbert space formulation of quantum mechanics, his axiomatization of expected utility, and the stored-program computer architecture he deliberately released into the public domain. The piece also explores his upbringing, including his father's seminar-style dinners and multilingual education, as keys to understanding the 'Johnny phenomenon'.

What Do the Frontier Labs Actually Believe?

AI 摘要The article summarizes Emile P. Torres's analysis of the TESCREAL ideology cluster (Transhumanism, Extropianism, Singularitarianism, Cosmism, Rationalism, Effective Altruism, and Longtermism) that shapes the people running frontier AI labs, all of whom share the goal of a cosmic post-human utopia achieved through artificial superintelligence. Crucially, even the arch-doomer Eliezer Yudkowsky and AI safety critics belong to 'team post-human'—their disputes with accelerationists are family squabbles about risk timing, not objections to the destination in which biological humans become obsolete and are meant to serve as a transitional species. Torres warns that this worldview functions like a religion whose duty to trillions of hypothetical future digital minds outweighs obligations to living humans, making its adherents dangerous precisely because they believe they are heroic.