TLA-Prover: Verifiable TLA+ Specification Synthesis via Preference-Optimized Low-Rank Adaptation
Source
arxiv.org
Author
Eric Spencer, Arslan Bisharat, Brian Ortiz, Khushboo Bhadauria, Mujtaba Nazari, TaiNing Wang, George K. Thiruvathukal, Konstantin Laufer, Mohammed Abuhamad
Date
Context
TLA-Prover trains a model to write formal system specifications and repair versions rejected by the TLC model checker. The checker supplies the TrainingThe process that adjusts a model using examples and a measure of how well it performs.Full definition → reward directly, tying improvement to an Automated verificationUsing executable checks to judge whether agent-produced work meets its contract.Full definition →ProcessA running instance of a program, with its own working memory, open files and identity.Full definition →.
The evaluation also probes whether a passing specification contains a meaningful correctness ConstraintA requirement a setup must meet regardless of how well it performs otherwise, such as where documents may be sent or a date by which the work must be done.Full definition →: it changes the stated property and requires the checker to detect a violation. TLA-Prover passed both the ordinary model-checking tier and this additional test on 9 of 30 held-out problems. That result supports a limited but concrete ability to produce checked specifications; the mutation test does not establish that every intended requirement has been captured.
Terms in this piece · Glossary
Training — The process that adjusts a model using examples and a measure of how well it performs.
Automated verification — Using executable checks to judge whether agent-produced work meets its contract.
Process — A running instance of a program, with its own working memory, open files and identity.
Constraint — A requirement a setup must meet regardless of how well it performs otherwise, such as where documents may be sent or a date by which the work must be done.