Informalizing Cryptographic Proofs

Marc Ilunga · Swiss Crypto Day · 4 September 2026

Randomness Expansion with CBC

CBC proof

Correctness vs Presentation

Intuition

Complete correctness

Human-written paper

Formalization in a proof assistant

Can be slightly incorrect, usually readable

Machine-checked, mostly unreadable

Must we choose?
human intuition
checked certainty
configurable tradeoff

CBC proof, bare

How it works

  • 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.

checked sourceLean theoremproof termInfoTrees
proof treeevidence graphproof dependenciesgoals and contexts
semantic planentities and relationsapplied rulescanonical proof plan
renderingdiscourse and realizationExplanation JSONinteractive reader
language designRandom Systems ontology · grammar · presentation rules

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.

Why do I care?

  • 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.

Informal or Fully Correct? Why not both.