Distribution of adaptive cascade child routing #
When child functions are independently sampled in channel order, the cascade router has the same law as sampling them by parent prefix. This is a distribution-level step of the adjacent-hybrid argument in [BS23], v0.6, Sections 4.6.1 (printed pp. 152–154) and 6.4.2 (printed pp. 229–230).
Main definitions #
Cslib.Crypto.cascadeChildChannelOracle: assign child functions to successive channels.Cslib.Crypto.CascadeChildPrefixState: the two caches of the prefix-indexed game.Cslib.Crypto.cascadeChildPrefixOracle: answer a query using its prefix and these caches.Cslib.Crypto.cascadeChildPrefixGame: run an adaptive client against this oracle.
Main results #
Cslib.Crypto.runWith_cascadeChildRouter_eq_prefixGame: assigning independent child functions to first-use channel numbers preserves the output law of the adaptive client.
The child oracle assigns an independent function to the next channel on its first use. It reuses earlier functions and gives an empty reply to a channel that skips this order.
The cached assignments in the prefix-indexed child game.
width is the input size of each child function and n is its output size.
Labels already assigned to valid queries at or before the cut.
Child functions already assigned to parents, keyed by the parent prefix word.
Read or sample a short label or the child function for a long query's parent. Invalid queries return the empty word and leave both caches untouched.
Sample each valid short word's label independently, and each long query's child function independently at its parent prefix. Both assignments are retained for subsequent queries. The child's input is the next block padded to width if the caller allows a partial block.
The first-use numbering of child functions preserves the output law for arbitrary adaptive cascade clients. The channel oracle is used in order even though its interface accepts any natural number.