cs.LGOct 10, 2026

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

Authors: Kseniia Strelbytska, Balázs Szilágyi, Anna Mészáros, Ferenc Huszár

Organizations: Stephen Perse School, Cambridge, UK · University of Cambridge, UK · Reasonable

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.

Figures & tables

Appendix figures & tables16 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. TLA-Prover: Verifiable TLA+ Specification Synthesis via Preference-Optimized Low-Rank Adaptation

    Jun 4, 2026Eric Spencer, Arslan Bisharat, Brian Ortiz +6LLM-Based Program SynthesisFormal Verification

  2. Can LLMs Write Correct TLA+ Specifications? Evaluating Natural-Language-to-TLA+ Generation

    Jun 4, 2026Arslan Bisharat, Brian Ortiz, Eric Spencer +5LLM EvaluationFormal Verification

  3. Fewer Assumptions by Design: A Reusable Skill for LLM-Assisted Verus Verification

    Sep 28, 2026Andrada-Livia Antoneac, Dorel Lucanu, Dragoş Teodor GavriluţFormal VerificationLLM Agent Skill Learning