Bridging natural language, code, and machine-checkable proof — teaching large language models to specify, verify, and repair with mathematical rigor.
Can LLMs turn ambiguous natural-language requirements into machine-checkable formal specifications? This work distills 18k GPT-4o instruction-response pairs to fine-tune LLMs across five formal languages — Coq, Lean4, Dafny, ACSL, and TLA+ — so a 7-8B model matches DeepSeek-R1-671B.
AutoSpec pairs an LLM with static analysis to synthesize ACSL specifications, then discharges them with Frama-C — producing annotations a deductive verifier can actually prove.
TLA+ specifications describe how systems evolve, but their state spaces are hard to read. ModelWisdom visualizes the state machine, digests its behavior, traces counterexamples, and repairs faulty transitions.
Introduces Model-Bench: 400 Python programs from HumanEval, MBPP, and LiveCodeBench, each converted into a model-checking specification and checked by an accompanying model checker. Across the benchmark, LLMs show significant limitations in modeling program behavior formally.
Benchmarks LLM and agent-based formal specification generation for C programs with rigorous evaluation that detects prover deception.
Uses machine learning to automatically infer auxiliary invariants for parameterized protocol verification.
A tool that automatically verifies parameterized concurrent protocols by learning inductive invariants from finite instances.