Adaptive routing for cascade child queries #
At a cut between blocks, the router assigns a channel to a parent prefix when a long query first visits it. Later queries to the same parent use that channel. The next block is the child query, and the cascade processes the remaining suffix from the returned label. Short queries use a local label cache.
This is the query routing step for the adjacent hybrids of [BS23], v0.6, Sections 4.6.1 (printed pp. 152–154) and 6.4.2 (printed pp. 229–230). It supplies the external query-count bound. The distribution law and polynomial-time certificate are separate from this bound.
Main definitions #
Cslib.Crypto.encCascadeChildRequest: the word encoding of a channel number and block.Cslib.Crypto.cascadeChildRouter: the adaptive client of the child oracle.
Main results #
Cslib.Crypto.isQueryBounded_cascadeChildRouter: the router preserves the client's external query budget.
State of the adaptive router. A parent's position in parents is its channel number.
Parent prefixes of previously forwarded queries, in order of first appearance.
Uniform labels already assigned to valid queries ending at or before the cut.
Route one cascade query. An invalid query leaves the state untouched.
A long query sends its next block to the channel for its parent prefix. Only the first
n bits of a child reply are used, which preserves replies of the intended width.
Run the adaptive client using private random labels and child-oracle channels numbered by the order in which parent prefixes are first encountered.
Each original external query produces at most one child-oracle query.