Zero Knowledge

lean Ethereum Part 6: Formal Verification with Alex Hicks

Mar 25, 2026
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Why Proof Assistants Improve Assurance

  • Formal verification produces machine-checkable proofs against a small trusted kernel, giving high assurance beyond typical testing.
  • Proof assistants like Lean compile proofs to a kernel; smaller kernels (Isabelle/HOL) give stronger trust while dependent-type systems (Lean) trade complexity for expressiveness.
ADVICE

Start Verification By Writing A Precise Spec

  • When verifying code, first write a clear specification as the theorem you will prove, then connect implementation to that spec.
  • Alex Hicks warns that a wrong spec ruins verification more than a hard proof, so invest time in precise specs.
INSIGHT

Modeling Real Code Requires Trusting Toolchains

  • Translating real-world languages into proof assistants creates a trusted boundary because languages like Rust lack full formal semantics.
  • Teams model a Rust subset in Lean or check AST equivalence, but must still trust the Rust compiler, LLVM, and toolchain.
Get the Snipd Podcast app to discover more snips from this episode
Get the app