~/talk

Specification-Guided Repair of Arithmetic Errors in Dafny Programs using LLMs

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

An automated repair pipeline for Dafny uses Hoare logic to localize arithmetic faults, prompts LLMs (GPT-4o mini, Llama 3, Mistral 7B, Llemma 7B) to synthesize single-line patches, and re-verifies with the Dafny verifier; implemented in C and able to call local models or APIs. Evaluation on DafnyBench shows 89.7% fault localization and GPT-4o mini achieves 74.18% repair success (over 80% reproduce original fixes); it assumes correct specifications and currently targets only arithmetic bugs.

AI-written summary · about

  1. 0:00Introduction
  2. 2:13Formal specs strengthen repair
  3. 4:04Repair pipeline overview
  4. 5:29Fault localization with Hoare logic
  5. 7:58LLM patch generation
  6. 8:42Patch validation
  7. 9:46Dafny benchmarks evaluation
  8. 12:13Limitations and challenges
  9. 13:15Future work
  10. 14:43Key takeaways
~/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.