Preamble. This post came slowly, simmering over months really. So there is some stream of consciousness in here, and a lot of deliberating in public. The post is me learning modular verification and talking myself into it at the same time. Even pep-talking myself, because this is genuinely hard, and the field's standard advice is to avoid modular verification. But the advice is due for revision: LLMs plus TLAPS are quietly changing the economics that made monolithic spec the rational default.
The compositionality problem
TLA+ is compositional in the abstract sense... In the astral plane, a program execution is an infinite sequence of states, each state giving a value to every variable in an imagined universal state space. A spec is a predicate (yes/no test) on executions, which denotes a set of allowed executions. In this setup, the steps that change variables in other specs look like stuttering to yours. And that enables us to denote composition as a beautiful purely logical conjunction, Spec1 /\ Spec2.
继续阅读全文
为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。
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.
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.
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.
AI 摘要This article reviews the TLA-Verus paper, which uses LLM agents in a prover-reviewer loop to translate TLA+ specs from GitHub into Verus and prove safety and liveness properties there. The author criticizes the paper for lacking any refinement proof linking the Verus spec back to the original TLA+ (and producing no executable Rust code at all), understating TLAPS's existing temporal proof capabilities, and presenting a skewed corpus and a benchmark filtered to tasks its own pipeline had already proven. Nonetheless, the author finds Verus itself and the paper's automated task generator genuinely useful contributions.
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'.