Who Checks the Model Checkers: Hardened Testing of TLA+ Tools
In 2026, frontier AI tools have adopted the TLA+ trifecta (TLC, Apalache, and TLAPS) for protocol verification, alongside Lean 4. As LLMs rely on the verdicts of model checkers and proof assistants to guide specification and verification, these formal verification tools must themselves be as free of bugs as possible. Until recently, soundness and completeness issues in these tools were mostly found by human experts. A bug in a verification tool has two consequences: (1) a false negative may misguide AI-driven proof search, and, more importantly, (2) a false positive may give designers false confidence in a protocol, which an attacker's AI tool can exploit. We present FuzzTLA -- a framework for systematic, hardened testing of the two TLA+ model checkers, TLC and Apalache. Following differential testing, we run both checkers on generated inputs and cross-check their results; for features unsupported by Apalache, we compare single-worker TLC against multi-worker TLC. Test generation combines property-based, mutation, and metamorphic testing with random graph generation. Running the framework in August-December 2026, while building it, we found 110 issues, including 4 parsing bugs in…
- arXiv
- 2612.06013
- Authors
- Igor Konnov
- Categories
- cs.SE · cs.LO