Paper 2025/1700

Computationally-Sound Symbolic Cryptography in Lean

Stefan Dziembowski, University of Warsaw, Ideas Institute
Grzegorz Fabiański, University of Warsaw
Daniele Micciancio, University of California, San Diego
Rafał Stefański, University of Warsaw
Abstract

We present a formally-verified (in Lean 4) framework for translating symbolic cryptographic proofs into the computationally-sound ones. Symbolic cryptography is a well-established field that allows reasoning about cryptographic protocols in an abstract way and is relatively easy to verify using proof assistants. Unfortunately,  it often lacks a connection to the computational aspects of real-world cryptography. Computationally-sound cryptography, on the other hand, captures this connection much better, but it is often more complex, less accessible, and much harder to verify formally. Several works in the past have provided a bridge between the two, but, to our knowledge, none of them have been implemented in a proof assistant. We close this gap by formalizing the translation from symbolic to computationally-sound cryptography in Lean 4. Our framework is based on the work of Micciancio (Eurocrypt, 2010) and Li and Micciancio (CSF, 2018), which builds on the idea of using co-induction (instead of induction) for reasoning about an adversary's knowledge in a symbolic setting. Our work encompasses (1) the formalization of the symbolic cryptography framework, (2) the formalization of the computationally sound cryptography framework, and (3) the formalization of the translation between the two. We also provide (4) an extended example of circuit garbling, which is a well-known cryptographic protocol frequently used in secure multi-party computation. We believe that our work will serve as a foundation for future research in the area of formal verification of cryptographic protocols, as it enables reasoning about cryptographic protocols more abstractly while still providing a formally verified connection to the computational aspects of real-world cryptography.

Metadata
Available format(s)
PDF
Category
Foundations
Publication info
Preprint.
Keywords
symbolic cryptographyformal verificationLean4garbled circuitscomputationally sound symbolic system
Contact author(s)
Stefan Dziembowski @ crypto edu pl
grzegorz fabianski @ mimuw edu pl
daniele @ cs ucsd edu
rafal stefanski @ mimuw edu pl
History
2025-09-19: approved
2025-09-18: received
See all versions
Short URL
https://ia.cr/2025/1700
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/1700,
      author = {Stefan Dziembowski and Grzegorz Fabiański and Daniele Micciancio and Rafał Stefański},
      title = {Computationally-Sound Symbolic Cryptography in Lean},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1700},
      year = {2025},
      url = {https://eprint.iacr.org/2025/1700}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.