Documentation

CslibFrontier.Languages.Probabilistic.CenteredBinomial.Concentration

Concentration of the centered-binomial program #

The actual sampler subtracts two independent counts of η fair bits. If the difference has magnitude at least B, one count deviates from its mean by at least B/2. The existing count bound and a union bound give 4 exp (-B²/(2η)). This original supporting corollary is not an optimal centered-binomial tail estimate. The public bound requires positive width; width zero already reduces to the deterministic program pure 0.

Main results #

theorem Cslib.ProbComp.sampleCenteredBinomial_tail_le {η : ℕ} (hη : 0 < η) {B : ℝ} (hB : 0 ≤ B) :

A non-strict magnitude tail of the actual two-count sampler. The cutoff is real and nonnegative; integer endpoint atoms are included. The factor-four estimate is not optimal.

theorem Cslib.ProbComp.sampleCenteredBinomial_strict_tail_le {η : ℕ} (hη : 0 < η) {B : ℝ} (hB : 0 ≤ B) :

A strict tail excludes atoms exactly at the cutoff and is bounded by the non-strict tail. In particular, equality with the support radius must not be treated as a strict tail.