The internet discovers TLA+. Now what? | Reasonable
Summary
Reasonable authors argue that TLA+ serves as a compact starting point for a verification loop where AI agents bridge the gap between temporal specifications, machine-checked proofs, and real software implementations.
TLA+ models system behaviors.
The language uses states and actions to describe transition systems, allowing users to define safety properties like 'nothing bad happens' and liveness properties like 'something good eventually happens.'
A transition system: what the system can do.
Model checking lacks generality.
The TLC model checker only explores finite instances, such as 38 states for three computers, whereas a formal proof is required to establish properties for arbitrary system sizes.
TLC explores every possible run, but only for a finite model.
Specifications drift from implementations.
TLA+ models are often separate from the actual software, creating a spec-to-implementation gap where the code may no longer behave as the model describes.
Nothing automatically guarantees that the implementation behaves exactly like the model
Verus closes the implementation gap.
Because Verus is auto-active and designed for Rust, specifications and proofs can live alongside the actual code, allowing implementations to refine their models.
specifications and proofs can live alongside the real Rust implementation.
Agents automate repetitive proofs.
Reasonable built a pipeline using a prover-reviewer loop to translate TLA+ to Verus, generating over 3,000 proofs from a dataset of 16,459 specification/property pairs.
One agent writes a proof and another reviews it.
Read the original ↗Save to Sponge
Summarized with Sponge. Quotes are the author’s own words.