TLA-Prover: Verifiable TLA+ Specification Synthesis via Preference-Optimized Low-Rank Adaptation
On the map: LLM alignment / RLHF / preference optimisation → Process reward models for reasoning
Abstract (arXiv)
TLA+ is a formal specification language for verifying distributed systems and safety-critical protocols. Large language models (LLMs) frequently produce TLA+ specifications that fail the TLC model checker for semantic reasons. Across 25 LLMs, the best public baseline is 26.6% syntactic parse and 8.6% semantic model-check. We present TLA-Prover, a 20-billion-parameter model for TLA+ specification synthesis. Training combines supervised fine-tuning (SFT) on verified examples with repair-based group-relative policy optimization (GRPO). In the GRPO stage, the model learns to fix its own rejected specifications. We also train a direct preference optimization (DPO) variant from the same SFT checkpoint as an ablation. TLC provides the reward signal directly, with no learned reward model. Four tiers grade each output: Bronze (parses), Silver (no warnings), Gold (passes TLC), and Diamond. To reach Diamond, the model's correctness property is automatically altered in a small way; TLC must then detect a violation. If TLC still passes, the property was always-true and contributes nothing; the output fails Diamond. TLA-Prover reaches 9/30 (i.e. pass@1 = 30%) at both Gold and Diamond on a held-out 30-problem benchmark. This is roughly 3.5x the 8.6% untuned baseline. The DPO variant reaches 20% at Diamond. Gold and Diamond coincide at every checkpoint; this prevents the trivial-property failure mode.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Process reward models for reasoning, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 7 of its 18 references that are in the map. First posted on arXiv 4 Jun 2026.
Builds on
7 of 18 references.
References · 7
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2022Scaling Laws for Reward Model Overoptimizationcited by 1,095
- 2024DeepSeek-Prover: Advancing Theorem Proving in LLMs through Large-Scale Synthetic Datacited by 234
- 2022Defining and Characterizing Reward Hackingcited by 203
- 2023Baldur: Whole-Proof Generation and Repair with Large Language Modelscited by 119
- 2024Validating Traces of Distributed Programs Against TLA+ Specificationscited by 5
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026CAPRI: Contract-Aware Proof Repair for Isabellecited by 0
- 2026CAPRI: Contract-Aware Proof Repair for Isabelle13 Aug 2026
Similar, not cited
Close in wording, no citation either way
- 2026Automating Formal Verification with Reinforcement Learning and Recursive Inference
- 2026TLA-Verus: Generating and Solving Temporal Proof Obligations with LLM Agents
- 2026TraceFix: Repairing Agent Coordination Protocols with TLA+ Counterexamples
- 2026Verification as an Architectural Layer for LLM Agents: A V-Model Design, and a Pilot Study of Its Deterministic Core
- 2026Can LLMs Write Correct TLA+ Specifications? Evaluating Natural-Language-to-TLA+ Generation
- 2026Goedel-Code-Prover: Hierarchical Proof Search for Open State-of-the-Art Code Verification
- 2025Proof2Silicon: Prompt Repair for Verified Code and Hardware Generation via Reinforcement Learning
- 2026RTL-BenchLS: A Large-Scale Benchmark for RTL Reasoning and Generation with Large Language Models