Verifier query-cost bounds and support invariants for bcsVerifyROM #
Proves per-channel query-cost bounds (IsCostBounded) for bcsChallengesProg and bcsVerifyROM
together with internal support invariants connecting accepting bcsVerifyROM runs under
bcsMemoize in a good state to doomed IOP transcripts accepted by iopVerify
([BSCS16]; compare [CY24], Construction 25.1.1 and Lemma 18.5.7).
Main definitions #
Cslib.Crypto.Protocols.BCS.bcsOpeningsMerkleQueries: total Merkle hash query budget required to verify a list ofMerkleOpenings.
Main results #
Cslib.Crypto.Protocols.BCS.isQueryBounded_bcsChallengesProg,Cslib.Crypto.Protocols.BCS.isCostBounded_bcsFSCost_bcsVerifyROM: Fiat–Shamir query-count bounds forbcsChallengesProgandbcsVerifyROM.Cslib.Crypto.Protocols.BCS.isCostBounded_bcsMTCost_bcsVerifyROM,Cslib.Crypto.Protocols.BCS.isCostBounded_bcsMTCost_bcsVerifyROM_of_queries_le: Merkle hash query-count bounds forbcsVerifyROMin terms ofbcsOpeningsMerkleQueriesor uniform query and opening-path bounds.
References #
- E. Ben-Sasson, A. Chiesa, N. Spooner, Interactive Oracle Proofs
- A. Chiesa, E. Yogev, Building Cryptographic Proofs from Hash Functions, Chapter 18 (Lemma 18.5.7) and Chapter 25 (Construction 25.1.1).
bcsChallengesProg x roots makes at most r Fiat–Shamir queries.
bcsVerifyROM iop encSym x prf makes at most r Fiat–Shamir queries for every statement x
and proof prf.
Total number of Merkle hash queries needed to verify every opening in openings (one leaf hash
plus path.length internal-node hashes per opening).
bcsVerifyROM iop encSym x prf makes at most bcsOpeningsMerkleQueries prf.openings Merkle
hash queries, independently of the random Fiat–Shamir challenges.
If iop.queries x chals makes at most q_iop oracle queries for every chals and every
authentication path in prf.openings has length at most L_path, then
bcsVerifyROM iop encSym x prf makes at most q_iop * (L_path + 1) Merkle hash queries.