~/talk

Dafny as Verification-Aware Intermediate Language for Code Generation

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

Prototype guides an LLM to emit Dafny as opaque IR which is verified and then compiled to Python, preserving a proof and added unit tests. The system converges on a candidate for 144 of 164 HumanEval tasks and achieves an 88% pass rate comparable to direct generation, while reducing subtle correctness bugs the LLM originally produced. Implementation uses prompt engineering, Dafny verifier feedback loops, and the Dafny compiler to produce compiled Python with extra tests.

AI-written summary · about

  1. 0:00Verified code generation intro
  2. 0:26LLM code gen challenges
  3. 1:52Dafny in synthesis research
  4. 2:34Prototype workflow
  5. 4:42Live demo
  6. 6:51Direct vs Dafny solutions
  7. 7:55HumanEval results
  8. 9:20Implementation details
  9. 11:33Dafny verifier feedback
  10. 12:35Compiler output generation
  11. 13:18Future work limits
  12. 15:06Q&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.