Episode 36 · Engineering Deep Dives

Type Theory and Formal Verification: The Clerk Who Never Gets Tired

Episode 36: Type Theory and Formal Verification: The Clerk Who Never Gets Tired, by Sankalp Thakur

Testing a program is different from proving a property about it. This episode starts with types as contracts and the value of making units explicit, then develops the correspondence between proofs and programs. Trusted kernels and proof assistants illustrate how complex arguments are checked against small foundations. Equality, higher structure and AI-assisted proving extend the discussion, while a return to the plant asks where formal methods can make a concrete difference.

Listen to the show on your preferred podcast platform.

See it work

Explore the working principle

Inside this episode

  1. Cold open: the trip that almost didn't happen
  2. Why testing can't save you
  3. Types as contracts, and why units matter
  4. Curry Howard: proofs are programs
  5. The trusted kernel and the de Bruijn criterion
  6. Rocq, Lean, Isabelle: a field guide
  7. CompCert: the compiler that random testing couldn't break
  8. seL4: proving an operating system kernel
  9. Proofs in production: from cloud permissions to protocols
  10. Four colours, odd orders, and oranges: the mathematicians arrive
  11. The Liquid Tensor Experiment and the three-week sprint
  12. Equality, univalence, and the shape of sameness
  13. AI meets the proof checker
  14. Back at the plant: what Zara actually changed
  15. Epilogue: the clerk who never gets tired
← Explore all 96 episodes

Production credits & AI disclosure

Scripts generated with Claude Opus. Synthetic narration generated with Edge TTS. Reviewed, listened to, and approved by Sankalp Thakur.