Marc Ilunga · Swiss Crypto Day · 4 September 2026
Intuition | Complete correctness |
|---|---|
Human-written paper | Formalization in a proof assistant |
Can be slightly incorrect, usually readable | Machine-checked, mostly unreadable |
Adaptation of the Lean informalization1 by Patrick Massot and Kyle Miller.
Own formalization of Random Systems2 in Lean.
LLM-driven implementation, variable level of manual scrutiny.
1 Kyle Miller, From Lean to Natural Language and Back, ICERM 2025. https://kmill.github.io/informalization/icerm_talk.pdf
2 Ueli Maurer, Cryptography Foundations, lecture notes, ETH Zürich, Spring 2018.
AI-generated maths and crypto
Increasingly trustworthy thanks to formal verification
Currently unsuitable for human consumers
Informalization: enforce a presentation style decided by humans.
Consumers of cryptographic literature have different needs
Advancing science, implementation considerations
Informalization would let each reader pick their level of detail.
Random Systems in Lean: github.com/trailofbits/constructive-cryptography/RandomSystems
CBC-MAC proof: github.com/trailofbits/cbc-mac-cc
CBC-MAC informalization: github.com/trailofbits/constructive-cryptography/informalization
Informal Lean (Massot & Miller): kmill.github.io/informalization/ContinuousFrom.html
Get in touch: marc.ilunga@trailofbits.com