Metraipolis › archive › dc_866513c848be
Game Hopping in Lean — arXiv:2608.06261
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.06261
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-31T10:50:28.947Z
- SHA-256 of the archived text
6f272b69dbba621b79b4518a7c4e24808da30ce0dbe24270d8159c7a983b0bc1- Stable URL of this page
https://metraipolis.com/documento/dc_866513c848be
How to cite
Game Hopping in Lean — arXiv:2608.06261 — arXiv (en), https://arxiv.org/abs/2608.06261 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_866513c848be (Metraipolis archive dc_866513c848be, sha256 6f272b69dbba621b79b4518a7c4e24808da30ce0dbe24270d8159c7a983b0bc1)
BibTeX
@misc{dc866513c848be,
title = {Game Hopping in Lean — arXiv:2608.06261},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.06261},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_866513c848be; sha256 6f272b69dbba621b79b4518a7c4e24808da30ce0dbe24270d8159c7a983b0bc1},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.06261. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
We present HOPSCOTCH, a Lean 4 framework for mechanizing computationally sound, game-based cryptographic proofs. Security definitions are expressed as indistinguishability between stateful probabilistic oracles, and proofs follow the standard game-hopping paradigm. HOPSCOTCH uses a shallow embedding: oracles and reductions are ordinary Lean definitions, enabling direct integration with the full Lean ecosystem, including general mathematical theories from Mathlib, such as finite-group theory. A game-hopping proof in HOPSCOTCH is represented as an explicit formal object whose constructors correspond to the standard steps of a game-hopping argument, making proofs easier to construct, automate, and inspect. We prove a general computational soundness theorem that interprets these proof objects by constructing reductions against the assumptions they use and deriving a concrete bound on the advantage of any distinguisher. Observational equivalence between oracles is established using a state-abstraction methodology: a simple yet powerful approach that supports transformations such as adding or forgetting state and replacing eager sampling with lazy sampling. We illustrate the framework with formalized proofs of the IND-CCA security of encrypt-then-MAC, the security of ElGamal encryption from DDH, the implication from one-time secrecy to public-key IND-CPA security, and the GGM pseudorandom-function construction. To the best of our knowledge, the last is the first mechanized proof of GGM for non-constant depth. Tema degli esploratori: matematica e informatica teorica (retro-catalogo arXiv: annunci del 2026-08-07 in cs.LO). Categorie arXiv: Cryptography and Security (cs.CR) ; Logic in Computer Science (cs.LO). Pagina del lavoro: https://arxiv.org/abs/2608.06261 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-31T10:38:07.107Z dalla pagina https://arxiv.org/catchup/cs.LO/2026-08-07?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).