Native realization of the integer-rank decoder #
The decoder retains its original input, its selected prefix, and a residual rank. Each round queries one left-child mass, appends one bit, and possibly subtracts the mass from the rank. The residual rank never increases. Polynomially many rounds therefore keep polynomial workspace and the oracle's common exponential time factor in the original input.
The resource theorem does not require nonnegative-real probabilities, additivity of masses, or a
valid initial rank. Those are separate hypotheses of the distribution theorems in RankDecoder.
Main definitions #
Cslib.BitString.RankDecoder.State: the retained input, prefix and residual rank.Cslib.BitString.RankDecoder.nativeCertificate: a native machine for the deterministic decoder.
Main results #
Cslib.BitString.RankDecoder.iterate_step_prefix: the native loop agrees withdecode.Cslib.BitString.RankDecoder.nativeCertificate_expTimePolySpace: polynomially many adaptive mass queries preserve their common exponential factor and polynomial workspace.
The original input is retained alongside the selected prefix and residual rank.
The input retained throughout the decoder loop.
The residual integer rank within the selected subtree.
The prefix accumulated by the loop is the recursive decoder's output, appended to the initial prefix. The depth condition guarantees that each requested split is active.
A native realization of the decoder, using one supplied left-child mass computation in each
of depth a rounds. The oracle receives the retained input, current prefix and residual rank.
Polynomially many adaptive prefix queries preserve the oracle's exponential time factor in the original input and polynomial workspace. The initial rank may be exponentially large: only its polynomial-time binary production is required. No mass law or rank-validity premise is used.