~/talk

Using LLM Generated Formal Specs to Prevent the Next DeFi Hack

Talkat ETHConf 2026 · 2026-06-08..06-10· [web3, large-language-models]
slides:none on file

LLM-generated specs convert informal intent into formal invariants (for example sum of balances equals the total) that feed provers like Certora’s, Rocq, Lean and Halmos and produce provable guarantees. A toy counter demo shows the agent generates three rules, proves two and surfaces the one bug; an anonymized gambling protocol auto-infers 15 properties, finds a paused-condition violation and suggests a validated fix. Product launches July 15, Solidity GPL3, generates Foundry tests and costs about $300 per run.

AI-written summary · about

  1. 0:00Introduction
  2. 0:56A Talk for Coders and Non-Coders Alike
  3. 1:18How Coding Agents Are Replacing Software
  4. 1:47Why Auditing and Tools Cannot Find All Bugs
  5. 2:28Why Informal Intent Is the Wrong Approach
  6. 2:40Introducing Agentic Formal Verification
  7. 3:05Making Formal Verification as Easy as Testing
  8. 3:29A History of Formal Verification and Its Myths
  9. 4:01Why Intractability Is a Myth
  10. 4:32Why Verification Depends on Specification
  11. 4:52Why Verified Code Still Gets Hacked
  12. 5:11How LLMs Help Find Formal Specifications
  13. 5:29From Intent to Invariant
  14. 6:35Beyond Verification: Generating Tests
  15. 7:07How It Fits Into the Development Cycle
  16. 7:30A Tool to Use Before the Audit
  17. 7:59Why Getting Properties Right Is Hardest
  18. 8:37Inside the Tool: Agnostic to the Prover
  19. 9:30Hardening the Design for Verification
  20. 10:06The Audit Agent and Security Review
  21. 10:44Plugging In Rocq, Lean, and Halmos
  22. 11:01Two Examples: Toy and Real
  23. 11:34The Toy Counter Contract Bug
  24. 11:55How the Agent Finds Properties in English
  25. 12:34Proving Rules and Surfacing the Bug
  26. 12:57Why a Violation Could Be Code or Spec
  27. 13:30Validating the Fix With a Proof
  28. 14:26Applying the Tool to Real Code
  29. 14:45A Real Protocol Audited Before Deployment
  30. 15:20How the Tool Inferred 15 Properties
  31. 16:25The Paused Contract Condition It Caught
  32. 17:00Finding and Confirming a Real Bug
  33. 17:33Validating the Suggested Fix
  34. 18:04The Status of the Tool
  35. 18:49The July 15 Product Launch
  36. 19:40Pricing Around $300 per Run
  37. 20:19Two Surprising Takeaways
  38. 20:47Why AI Made Formal Verification Matter
  39. 21:06How AI Makes Formal Verification Easy
  40. 22:33Closing and Call to Try the Tool
~/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.