Papers for

rust programmers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

TLA Plus specs translated into Verus for checking temporal logic proofs

TLA-Verus: Generating and Solving Temporal Proof Obligations with LLM Agents

Abstract: The TLA+ (temporal logic of actions) formal specification toolkit has seen widespread adoption in modeling modern distributed software systems including databases, storage systems, ledgers and coordination protocols. This popularity is despite its two significant limitations for software verification: Firstly, TLA+ offers no way to detect drift between software implementation and mathematical specification; secondly, TLC and TLAPS cannot provide satisfactory proofs of arbitrary temporal logic properties. We take a step towards addressing these shortcomings by translating TLA+ specifications into Verus, an auto-active verifier built for Rust, via both a deterministic transpiler and an agentic translator. We demonstrate that our LLM-based pipeline is able to generate proof obligations from TLA+ specifications at scale, and to produce fully machine checkable proofs of both safety and liveness properties. Since temporal logic reasoning in Verus is a largely new task for LLMs, our work yields a valuable evaluation dataset, which we use to map out current generation model capabilities in Verus theorem proving.

Sat 10 OctMachine Learning
The gist
It can be hard to check if a software design matches its real working code and if it behaves correctly over time in tricky ways. The authors converted designs written in TLA+, a tool used to describe complex software systems, into Verus, a program that can check Rust code proofs. They used AI language models to help translate and create proofs about these designs, showing it can handle important safety and ongoing correctness properties. This work also creates a useful dataset to see how well AI models can deal with these new kinds of logic proofs.
Open → 2610.14923v1