Skip to content
NewA calmer, faster ZeroHour

What TLA+ can and can't check

Hacker News · securityby b-man ()7 min read3 · 2 reads
AI summary · grok-4.7Summaries by Vani AI

TLA+ checks invariants and liveness, but not reachability or hyperproperties over behaviors.

Hillel Wayne responds to claims that Claude Opus, via Claude Code, used TLA+ to find race conditions, cautioning that formal methods will not solve agentic software development. He explains behaviors and the temporal operators always, next, and eventually, which support invariants, action properties, and liveness checks such as leads-to. He says TLA+ cannot verify a requirement that cannot be formalized, cannot natively express multi-step, floating-point, or real-time properties, and cannot state reachability or hyperproperties that compare sets of behaviors.

Key facts
  • Claude Opus reportedly used TLA+ to find race conditions in code.
  • Usual checks are invariants, action properties, and liveness formulas.
  • Native checks omit multi-step, real-time, and floating-point properties.
  • Reachability and hyperproperties over behavior sets cannot be expressed.
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

From the original article

7 min read at buttondown.com

Last week Boris Cherny, the inventor of Claude Code, mentioned that Opus was able to use TLA+ 1 to find race conditions in code. And now everybody on the internet is talking about formal verification. As a long-time educator ( 1 2 ) and advocate of TLA+, this is really exciting!

Hacker News · security

By b-man · buttondown.com

Read the full article at Hacker News · security

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.