~/talk

DafnyBench: A Benchmark for Formal Software Verification

Talkat Dafny 2025 · on Sunday, 2025-01-19· [ai-assisted-development]
links:none on file
name:Qinyi Sun
links:none on file
links:none on file
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

DafnyBench is a scraped benchmark of 750 programs and ~53,000 LOC that tests whether LLMs (GPT‑4, Claude 3, etc.) can auto-generate the missing Dafny annotations; the best model and prompt hit ~68% success on standalone files. Iterative repair using verifier error messages improves results up to about four attempts then plateaus; larger programs and multi‑step proofs drop success sharply. Captured error categories (verification logic, code logic, altered specs, syntax) drive analysis, and tooling includes a Dafny Autopilot VS Code extension and verilib.org for dataset growth.

AI-written summary · about

  1. 0:00Introduction
  2. 1:29Creating DafnyBench from GitHub
  3. 3:35Benchmark task and criteria
  4. 4:19Initial LLM results
  5. 5:44Model reflection and improvement
  6. 7:32Performance versus complexity
  7. 8:56Error types and limitations
  8. 11:24Data contamination challenges
  9. 12:48Dafny autopilot extension
  10. 15:16VeriLib.org expanding benchmarks
  11. 16:41Q&A
~/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.