Adaptive two-channel random-oracle soundness of the BCS transform #
Defines the adaptive two-channel BCS random-oracle soundness game (bcsSoundnessProg,
bcsSoundnessGame) and proves explicit non-asymptotic soundness bounds (bcsROMSoundness_bound,
bcsROMSoundness_bound_of_prover_verifier) from IOPRoundByRoundSoundness
([BSCS16]; compare [CY24], Theorem 25.2.1, printed pp. 276–278, and
Chapter 31, Definitions 31.1.1–31.1.2 and Theorem 31.2.1).
Main definitions #
Cslib.Crypto.Protocols.BCS.bcsSoundnessProg,Cslib.Crypto.Protocols.BCS.bcsSoundnessGame: two-channelOracleCompsoundness program and lazy random-oracle soundness experiment.
Main results #
Cslib.Crypto.Protocols.BCS.isCostBounded_bcsFSCost_bcsSoundnessProg,Cslib.Crypto.Protocols.BCS.isCostBounded_bcsMTCost_bcsSoundnessProg,Cslib.Crypto.Protocols.BCS.bcsSoundnessGame_eq_run_bcsMemoize: per-channel query-cost bounds forbcsSoundnessProgand equivalence betweenbcsSoundnessGameandbcsMemoize.Cslib.Crypto.Protocols.BCS.bcsROMSoundness_bound,Cslib.Crypto.Protocols.BCS.bcsROMSoundness_bound_of_prover_verifier: adaptive two-channel ROM soundness bounds under combined or separate prover/verifier Merkle query budgets.
References #
- E. Ben-Sasson, A. Chiesa, N. Spooner, Interactive Oracle Proofs
- A. Chiesa, E. Yogev, Building Cryptographic Proofs from Hash Functions, Chapter 25 (Theorem 25.2.1) and Chapter 31 (Definitions 31.1.1–31.1.2 and Theorem 31.2.1).
The BCS ROM soundness execution as an OracleComp (BCSROMSpec Stmt Chal) program: run the
cheating prover P to obtain (x, prf), run bcsVerifyROM iop encSym x prf, and return true
when x ∉ lang and the verifier accepts.
If the cheating prover P makes at most t_FS Fiat–Shamir queries, then
bcsSoundnessProg iop encSym lang P makes at most t_FS + r Fiat–Shamir queries.
If P makes at most t_MT Merkle hash queries and bcsVerifyROM iop encSym x prf makes at
most q_V Merkle hash queries for every (x, prf) ∈ P.support, then bcsSoundnessProg makes at
most t_MT + q_V Merkle hash queries.
The BCS ROM soundness experiment with σ-bit Merkle digests: runs bcsSoundnessProg against
the shared lazy random oracle RandomOracle.answer (bcsOracleDist Stmt Chal σ) from an empty cache.
Adaptive two-channel BCS ROM soundness theorem (compare state-restoration soundness in
[BSCS16] and [CY24], Theorem 25.2.1, printed pp. 276–278, and the
round-by-round reduction in [CY24], Chapter 31, Definitions 31.1.1–31.1.2 and Theorem
31.2.1): under IOPRoundByRoundSoundness iop lang doomed goodStep with per-round challenge escape
probability ≤ ε_rbr, any adaptive cheating prover P making at most t_FS Fiat–Shamir queries
such that bcsSoundnessProg iop encSym lang P makes at most Q_MT Merkle hash queries convinces
bcsVerifyROM on a false statement x ∉ lang with probability at most
(t_FS + r) * (ε_rbr + (t_FS + r) * (1 / Fintype.card Chal)) +
Q_MT * ((3 * Q_MT + r * (t_FS + r)) * (1 / 2 ^ σ)).
Adaptive two-channel BCS ROM soundness (separate prover/verifier Merkle budgets on
P.support): if P makes at most t_MT Merkle hash queries and t_FS Fiat–Shamir queries, and
bcsVerifyROM iop encSym x prf makes at most q_V Merkle hash queries for outputs (x, prf) ∈ P.support, then bcsSoundnessGame accepts a false statement with probability at most
(t_FS + r) * (ε_rbr + (t_FS + r) * (1 / Fintype.card Chal)) +
(t_MT + q_V) * ((3 * (t_MT + q_V) + r * (t_FS + r)) * (1 / 2 ^ σ)).