~/talk

Incremental Proof Development in Dafny with Module-Based Induction

Talkat Dafny 2024 · on Sunday, 2024-01-14· [developer-experience]
name:Son Ho
links:none on file
slides:none on file

Claim: encoding Coq-style induction principles as module-based induction in Dafny makes iterative proofs stable and debuggable. Implementation: a list induction module pattern and analogous principles for a mini-Dafny interpreter (the interpreter is ~1,000 lines) are used so updates force only tiny, local lemmas to re-prove. Applied across a ~10,000 LOC compiler development, proofs like associativity, a purity lemma, a zero-multiplication pass, and a val-change check go through automatically once the induction structure is fixed, and failing lemmas surface immediately, keeping verification fast and maintainable.

AI-written summary · about

  1. 0:00The challenge of verification
  2. 1:54Induction and proof failures
  3. 6:28Implementing induction modules
  4. 8:26Compiler verification context
  5. 8:54Case study: Mini-Dafny
  6. 9:12Automation and usability
  7. 13:26Audience Q&A
  8. 15:03Future automation potential
~/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.