Learning to Prove Cryptographic Indistinguishability: A Reinforcement Learning Approach to Frame Equivalence

Indistinguishability and non-derivability are fundamental security notions for cryptographic protocols. Formal indistinguishabilityrelations (FIR) and formal non-derivability relations (FNDR) provide a framework for automated security analysis that is cryptographically sound: proofs in the FIR/FNDR system imply security against probabilistic polynomial-time adversaries. Existing automated provers either lack computational soundness or rely on hand-crafted heuristics, limiting scalability.We present CryptoRL, a reinforcement learning-based prover for FIR/FNDR problems. Our approach combines: (1) a canonicallanguage encoding structural information into symbol names, enabling neural networks to learn generalizable proof strategies; (2) a two-phase architecture separating procedural hash removal from learned frame transformation; and (3) curriculum learning with 2D difficulty progression, realized through delegation-chain training.We evaluate CryptoRL on 12 real-world cryptographic protocols, proving 11 fully automatically—including Schnorr signatures(previously unprovable due to non-convergent AC equations) and Paillier encryption (requiring multi-assumption chaining). Alldeployed models achieve over 90% success on held-out test problems. Compared to breadth-first enumeration, RL-guided search requires 10× fewer search nodes. All generated proofs are checked by a replay-based verifier.To our knowledge, this is the first application of deep reinforcement learning to cryptographic indistinguishability proofs. CryptoRL achieves what no prior tool offers: fully automated proofs with cryptographic soundness—security guarantees against probabilistic polynomial-time adversaries, not merely symbolic attackers.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-05-23
DOI
https://doi.org/10.5281/zenodo.20352345
Primary Topic
Advanced Authentication Protocols Security
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

Learning to Prove Cryptographic Indistinguishability: A Reinforcement Learning Approach to Frame Equivalence

Long NGO
Zenodo (CERN European Organization for Nuclear Research)
Advanced Authentication Protocols Security
preprint

Learning to Prove Cryptographic Indistinguishability: A Reinforcement Learning Approach to Frame Equivalence

Long NGO
preprint en

Abstract

Indistinguishability and non-derivability are fundamental security notions for cryptographic protocols. Formal indistinguishabilityrelations (FIR) and formal non-derivability relations (FNDR) provide a framework for automated security analysis that is cryptographically sound: proofs in the FIR/FNDR system imply security against probabilistic polynomial-time adversaries. Existing automated provers either lack computational soundness or rely on hand-crafted heuristics, limiting scalability.We present CryptoRL, a reinforcement learning-based prover for FIR/FNDR problems. Our approach combines: (1) a canonicallanguage encoding structural information into symbol names, enabling neural networks to learn generalizable proof strategies; (2) a two-phase architecture separating procedural hash removal from learned frame transformation; and (3) curriculum learning with 2D difficulty progression, realized through delegation-chain training.We evaluate CryptoRL on 12 real-world cryptographic protocols, proving 11 fully automatically—including Schnorr signatures(previously unprovable due to non-convergent AC equations) and Paillier encryption (requiring multi-assumption chaining). Alldeployed models achieve over 90% success on held-out test problems. Compared to breadth-first enumeration, RL-guided search requires 10× fewer search nodes. All generated proofs are checked by a replay-based verifier.To our knowledge, this is the first application of deep reinforcement learning to cryptographic indistinguishability proofs. CryptoRL achieves what no prior tool offers: fully automated proofs with cryptographic soundness—security guarantees against probabilistic polynomial-time adversaries, not merely symbolic attackers.

Zenodo (CERN European Organization for Nuclear Research)
The University of Adelaide (AU)
Advanced Authentication Protocols Security
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.