Lune

FM2026Top-tier venue

Towards Language Model Guided TLA+ Proof Automation

Yuhao Zhou, Stavros Tripakis

2026Year
1Citations

Abstract

Abstract Formal theorem proving with TLA+\texttt {TLA}^{+} TLA + provides rigorous guarantees for system specifications, but constructing proofs requires substantial expertise and effort. While large language models have shown promise in automating proofs for tactic-based theorem provers like Lean, applying these approaches directly to TLA+\texttt {TLA}^{+} TLA + faces significant challenges due to the hierarchical proof structure of the TLA+\texttt {TLA}^{+} TLA + proof system. We present a prompt-based approach that leverages LLMs to guide hierarchical decomposition of complex proof obligations into simpler sub-claims, while relying on symbolic provers for verification. Our key insight is to constrain LLMs to generate normalized claim decompositions rather than complete proofs, significantly reducing syntax errors. We also introduce a benchmark suite of 119 theorems adapted from (1) established mathematical collections and (2) inductive proofs of distributed protocols. Our approach consistently outperforms baseline methods across the benchmark suite.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 1caeda42-1790-441f-befd-3edf2cdd1a5a

Builds on21

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines