Two-channel list-trace ROM state and adaptive good-state invariant for BCS #
Defines the two-channel association-list state BCSTraceState, the memoizing random-oracle handler
bcsMemoize, recorded Fiat–Shamir chains (ValidFSChain), partial IOP transcript extraction
(bcsExtractTranscript), and the adaptive good-state invariant BCSGoodState combining
TraceCollisionFree on the Merkle trace with BCSChainDoomed on all recorded Fiat–Shamir chains of
length at most r ([BSCS16]; [CY24], Chapters 25–26 and 31).
Main definitions #
Cslib.Crypto.Protocols.BCS.BCSTraceState,Cslib.Crypto.Protocols.BCS.bcsMemoize: two-channel association-list trace state and memoizing random-oracle handler.Cslib.Crypto.Protocols.BCS.ValidFSChain,Cslib.Crypto.Protocols.BCS.bcsExtractTranscript,Cslib.Crypto.Protocols.BCS.BCSChainDoomed,Cslib.Crypto.Protocols.BCS.BCSGoodState: recorded Fiat–Shamir chain predicate, straight-line partial IOP transcript reconstruction, and combined adaptive ROM good-state invariant.
Main results #
Cslib.Crypto.Protocols.BCS.bcsExtractTranscript_append_singleton,Cslib.Crypto.Protocols.BCS.bcsExtractTranscript_ofFn,Cslib.Crypto.Protocols.BCS.bcsExtractTranscript_cons_of_ne: structural and non-inverting Merkle trace-extension lemmas forbcsExtractTranscript.Cslib.Crypto.Protocols.BCS.bcsGoodState_nil: the empty two-channel trace([], [])satisfiesBCSGoodStatewhenever every target statement starts indoomedon the empty transcript.
References #
List-cache state for the two-channel BCS random oracle: a Merkle hash trace st.1 and a
transcript-chained Fiat–Shamir trace st.2.
Two-channel association-list handler implementing
RandomOracle.answer (bcsOracleDist Stmt Chal σ): Merkle queries are memoized in the first trace
and Fiat–Shamir queries in the second.
A pair (rts, chals) of Merkle roots and challenges forms a valid recorded Fiat–Shamir chain
for statement x in tr_FS if rts and chals have equal length and, at every round index
i < rts.length, the transcript-chained query (x, rts.take (i + 1), chals.take i) is recorded in
tr_FS with answer chals[i].
Extract the partial IOP transcript [(π_0, c_0), ..., (π_{k-1}, c_{k-1})] associated with a
root prefix rts and challenge prefix chals from Merkle trace tr_MT.
Every valid recorded Fiat–Shamir chain (rts, chals) of length ≤ r for a statement x ∈ S
maps under bcsExtractTranscript to a doomed IOP transcript prefix.
Combined good-state invariant of the two-channel BCS random-oracle state (tr_MT, tr_FS):
the Merkle trace tr_MT is collision-free and every valid recorded Fiat–Shamir chain of length
≤ r on S maps to a doomed IOP transcript prefix.