Events and relabeling under statistical distance #
Statistical distance bounds the change in the probability of every event
(abs_toOuterMeasure_toReal_sub_le_dist), in particular the probability that a randomized
distinguisher outputs any given value (abs_bind_apply_toReal_sub_le_dist), and relabeling both
distributions by the same injective map preserves it (dist_map_of_injective).
Main results #
Cslib.Probability.PMF.abs_toOuterMeasure_toReal_sub_le_dist: event probabilities move by at most the statistical distance.Cslib.Probability.PMF.abs_bind_apply_toReal_sub_le_dist: the advantage of a randomized distinguisher is at most the statistical distance.Cslib.Probability.PMF.dist_map_of_injective: injective relabeling preserves statistical distance.
theorem Cslib.Probability.PMF.abs_toOuterMeasure_toReal_sub_le_dist {α : Type u_1} [Fintype α] (p q : PMF α) (event : Set α) :
Statistical distance bounds the change in the probability of every event.
theorem Cslib.Probability.PMF.abs_bind_apply_toReal_sub_le_dist {α : Type u_1} {β : Type u_2} [Fintype α] [Finite β] (p q : PMF α) (T : α → PMF β) (b : β) :
A randomized distinguisher T outputs any given value b with probabilities, under p and
under q, that differ by at most the statistical distance of p and q.