← News

Agents & MCPSources: arXiv · 4 Dec 2026

Pilot study tests verifier-guided repair loop for LLM-written TLA+ specs

Researchers report that TLC model-checker feedback plus a reusable repair skill lifted executable NASA specifications from 20 to 88 of 100 trials, while flagging major caveats.

In plain words

Large language models can turn written requirements into formal specifications, but the drafts often fail when a checker tries to run them. The authors tested a loop where the TLC checker's error messages, plus a stored repair recipe, guide one regeneration attempt. It worked often, yet not for every kind of error.

What was announced

In a paper on arXiv, the authors evaluate a bounded workflow in which TLC verification gates repair: failing TLA+ specifications are regenerated once using TLC diagnostics and a matching reusable repair skill, while passing ones skip repair. Testing on 100 paired trials for NASA requirement DDMR-26 with GPT-4o, they report TLC accepted and explored 20 of 100 initial specifications, rising to 88 of 100 after repair, with 68 of 80 failing trials rescued.

A second check tempers those numbers. The generated TLC configurations left out the encoded invariants in 87 of the 88 passing runs; when every passing specification was re-checked against TypeOK and DDMR26, only 19 initial and 75 final runs passed, rescuing 56 of 80. Repairability also varied by failure class: unknown-operator failures were rescued in 40 of 45 trials and missing next-state assignments in 27 of 27, but IF/THEN/ELSE parse errors and Boolean-evaluation errors were never rescued. The authors call the study a pilot, noting one requirement, one model, one repair attempt, an order-dependent skill registry, and no no-skill control, so the skills' contribution is not isolated.

What it does not show

  • The evidence is an abstract only, so full method details and results cannot be verified from the supplied passages.
  • The authors state the pilot covers one requirement, one LLM, one repair attempt, an order-dependent skill registry, and no no-skill control, so it does not isolate the contribution of skills or of human-approved skill synthesis.
  • The reported property-pass figures (19/100 initial, 75/100 final) differ from the executable-pass figures because generated configurations omitted invariants in most passing runs.

Sources

Source-support review completed 4 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 4 Dec 2026

New to the subject? AI from the Ground Up starts from the beginning.