Uniform strict PPT certificates for capped block rejection #
Capped block-rejection programs (sampleBlockTrials, sampleSeededTrials, sampleBlockCapped)
are uniformly strict probabilistic polynomial time (Cslib.Probability.IsPPTOn) whenever the
per-trial bit width and the trial cap are computed in unary (encUnary) and the single-block
decoder attempt is deterministic polynomial time (ComputableInPolyTime).
On words of length trials * width, BlockRejectionSpec.decodeTrials agrees with folding over
Cslib.BitString.listRows trials width while keeping the first some result. Once a block
succeeds, later steps leave the optional accumulator unchanged, so its encoded length never
accumulates across trials.
Main results #
Cslib.Probability.BlockRejectionSpec.decodeTrials_eq_foldl_listRows: row-fold representation ofdecodeTrialson words of length at leasttrials * width.Cslib.Probability.isPPTOn_sampleSeededTrials,Cslib.Probability.isPPTOn_sampleBlockTrials: strict PPT certificates for cappedt-trial block rejection.Cslib.Probability.isPPTOn_sampleBlockCapped: strict PPT certificate for capped rejection with a computed fallback value.
On any bit string of length at least trials * spec.width, decodeTrials agrees with folding
over BitString.listRows trials spec.width.
Single-tape capped block rejection sampleSeededTrials is uniformly strict PPT for unary
trials and width and polynomial-time attempt.
Sequential capped block rejection sampleBlockTrials is uniformly strict PPT under the same
hypotheses.
Capped block rejection with a polynomial-time fallback value is uniformly strict PPT.