HOPSCOTCH framework mechanizes game-hopping proofs with concrete security bounds
HOPSCOTCH can formalize game-based cryptographic proofs and automatically derive concrete advantage bounds for reductions
Software arXiv 6 Aug 2026 Method Prototype evidence
Published as “Game Hopping in Lean”
Why it matters
The framework enables fully mechanized, reusable game-hopping security proofs inside a general-purpose proof assistant, lowering the risk of errors in cryptographic reductions.
Summary
HOPSCOTCH provides a Lean 4 framework that mechanizes game-hopping cryptographic proofs with a computational soundness theorem that yields concrete security bounds. It supports shallow embedding of oracles, explicit proof objects, and an abstraction-based method for observational equivalence, and it has been used to formalize IND-CCA security of encrypt-then-MAC, ElGamal security from DDH, the implication from one-time secrecy to IND-CPA, and the first non-constant-depth GGM PRF proof. The evidence consists of these case studies rather than large-scale empirical evaluation, so the claim is demonstrated on a handful of representative constructions.
What they found 2
- A general computational soundness theorem interprets proof objects and derives concrete security bounds
“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.”
- First mechanized proof of the GGM construction for non-constant depth
“To the best of our knowledge, this is the first mechanized proof of the GGM construction of non-constant depth (with [8] formalizing the GGM construction of depth 3).”
Caveats 2
- HOPSCOTCH does not verify the polynomial-time complexity of the reductions used in the proof; it relies on external checks by the user
- Finally, we would like to mention that, similarly to most other tools, HOPSCOTCH does not verify the polynomial-time complexity of the reductions used in the proof. Instead, we rely on the concrete security bounds, or on verifying this external condition by the user.
What’s new here 4
- Shallow embedding of cryptographic oracles as ordinary Lean definitions
- Explicit, structured proof objects that mirror game-hopping steps
- A general computational soundness theorem giving concrete advantage bounds
- Abstraction methodology for proving observational equivalence without relational logics