Large language models (LLMs) can draft formal specifications from natural-language requirements, but a draft is useful only if a model checker can execute it and its encoded properties hold. We evaluate a bounded, verifier-guided workflow for LLM-generated TLA+ specifications: TLC verification gates repair; failing specifications are regenerated once using TLC diagnostics and a matching reusable repair skill; passing specifications bypass repair. On 100 paired trials for NASA requirement DDMR-26 with GPT-4o, TLC accepts and explores 20/100 initial and 88/100 final specifications (executable pass; 68 of 80 failing trials rescued). The pipeline's generated TLC configurations omitted the encoded invariants in 87 of the 88 passing runs; re-checking all passing specifications against TypeOK and DDMR26 gives 19/100 initial and 75/100 final passes (property pass; 56 of 80 rescued). Repairability depends on failure class: unknown-operator failures were rescued in 40/45 trials and missing next-state assignments in 27/27 (21/27 under property pass), whereas IF/THEN/ELSE parse errors (0/4) and Boolean-evaluation errors (0/3) were never rescued. The study is a pilot: one requirement, one LLM, one repair attempt, a persistent order-dependent skill registry, and no no-skill control, so it does not isolate the contribution of skills or of human-approved skill synthesis.
翻译:暂无翻译