~/talk

DafnyPro: LLM-Assisted Automated Verification for Dafny Programs

Talkat Dafny 2026 · on Sunday, 2026-01-11· [ai-assisted-development]
links:none on file
links:none on file
links:none on file
slides:none on file

DafnyPro is an inference-time pipeline that uses LLMs (Claude Sonnet 3.5/3.7) to generate Dafny annotations while enforcing soundness with a diff-checker that rejects edits that change base program logic, a pruner that greedily removes non‑inductive invariants, and a hint-augmentation system that retrieves problem‑independent proof hints. Evaluated on Clover, MBPP‑Dafny, HumanEval‑Dafny and DafnyBench, it raises Claude Sonnet 3.5 on DafnyBench to 86% correct proofs (a 16 pp gain) and produces training data that yields Qwen 7B/14B models with 68%/70% success.

AI-written summary · about

  1. 0:00DafnyPro introduction
  2. 1:51Generating Dafny annotations
  3. 3:18LLM annotation strategies
  4. 4:44Soundness risks in regeneration
  5. 5:47Formal check for logic
  6. 6:31Invariant generation cases
  7. 7:57Missing assertions and hints
  8. 9:25Verbose invariants pruning
  9. 10:48DafnyPro agentic framework
  10. 11:30Benchmark evaluation results
  11. 12:54Performance improvements
  12. 13:38Hint augmentation success
  13. 14:20Ensuring soundness
  14. 14:40Overthinking problem pruning
  15. 15:04Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.