Strict-PPT integer-box samplers #
The integer-box samplers of CslibFrontier.Languages.Probabilistic.IntBox run in strict
probabilistic polynomial time when the radius B is given in binary and the dimension m and bit
width width are given in unary. Their coin maps are deterministic polynomial-time functions of
the same inputs and the raw coin bits.
Main results #
Cslib.Probability.computableInPolyTime_boxShift,Cslib.Probability.computableInPolyTime_sampleModNatCoins,Cslib.Probability.computableInPolyTime_sampleIntBoxCoins,Cslib.Probability.computableInPolyTime_sampleIntBoxListCoins,Cslib.Probability.computableInPolyTime_sampleDyadicIntBoxCoins: the coin maps.Cslib.Probability.isPPTOn_sampleIntBox,Cslib.Probability.isPPTOn_sampleIntBoxList,Cslib.Probability.isPPTOn_sampleDyadicIntBox: the samplers, for computed parameters.
boxShift is computable in polynomial time on binary natural inputs.
sampleModNatCoins is computable in polynomial time.
sampleIntBoxCoins is computable in polynomial time from a binary bound and raw coin bits.
sampleIntBox is uniformly strict PPT when the radius B is supplied in binary and the bit
width width is supplied in unary.
sampleIntBoxListCoins is computable in polynomial time when B is in binary and m, width
are in unary.
sampleIntBoxList is uniformly strict PPT when B is in binary and m, width are in unary.
sampleDyadicIntBoxCoins is computable in polynomial time for a unary bit width.
sampleDyadicIntBox is uniformly strict PPT for a unary bit width.