~/talk

Enhancing Proof Stability

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

Claim: simple, low-automation proofs break less often. Implements a coding style called Dafny64 that makes invariants opaque, moves postconditions into explicit lemmas, and reveals function bodies only when needed. Uses Z3’s resource count and 5 random seeds to measure brittleness via coefficient of variation (threshold 0.2). On a 177,000-line Dafny codebase the string module drops Z3 resource use by ~100× and wall time by ~100×, eliminating all VCs above the 0.2 threshold at the cost of more lemma code.

AI-written summary · about

  1. 0:00Proof stability challenges
  2. 1:03DNE at AWS scale
  3. 2:26Proof brittleness impact
  4. 4:35Proof brittleness causes
  5. 5:39Proof hardness and DNE 64
  6. 6:00Measuring proof complexity
  7. 7:24DNE 64 simplification
  8. 7:44Opaque invariants in loops
  9. 9:09Removing postconditions
  10. 10:14DNE 64 proof simplicity
  11. 10:35Proof simplification results
  12. 11:38Brittleness with random seeds
  13. 13:04Reducing brittleness with DNE 64
  14. 14:07Code size impact of DNE 64
  15. 15:12Conclusion and future work
  16. 16:14Q&A: Automating DNE 64
  17. 17:39Q&A: Impact on clients
  18. 18:44Q&A: Postconditions in methods
  19. 19:47Q&A: Default DNE 64 style
~/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.