Lean for Cryptanalysts: A Practical Introduction to Formal Proofs

jedisct1 · x · 2026-10-30

Hosein Hadipour published a hands-on tutorial on using Lean 4 with Mathlib (v4.35.0) to formally verify short mathematical arguments in symmetric-key cryptanalysis — identities connecting distinguishers, S-box properties — that are normally checked by hand and prone to silent errors.

Key points:

Readers can adapt the proofs to claims from their own research.

Original post →

More from Research

Research channel →