Lévy-distance bounds from smooth test functions #
Two real random variables X and Y have Lévy distance at most δ when
Pr[Y ≤ u - δ] - δ ≤ Pr[X ≤ u] ≤ Pr[Y ≤ u + δ] + δ for every u. This file turns a comparison
of E[φ(X)] and E[φ(Y)] for smooth tests φ into such a bound, as in
O'Donnell, Corollaries 11.61 and 11.70 and Exercises 11.41 and 11.42.
Suppose that |E[φ(X)] - E[φ(Y)]| ≤ C B for every φ of class Cᵐ with |φ⁽ᵐ⁾| ≤ C. The
smoothed step Real.stepSmoothing m u (η / (m + 1)) is 1 on (-∞, u], 0 on [u + η, ∞),
takes values in [0, 1] and has |φ⁽ᵐ⁾| ≤ 2ᵐ⁻¹ (m + 1)ᵐ / ηᵐ, so
Pr[X ≤ u] ≤ E[φ(X)] ≤ E[φ(Y)] + 2ᵐ⁻¹ (m + 1)ᵐ B / ηᵐ ≤ Pr[Y ≤ u + η] + 2ᵐ⁻¹ (m + 1)ᵐ B / ηᵐ
(measureReal_le_le_add_div_pow_of_forall_contDiff). Taking η = δ with
2ᵐ⁻¹ (m + 1)ᵐ B ≤ δᵐ⁺¹ bounds the Lévy distance by δ
(measureReal_le_le_add_of_forall_contDiff, measureReal_le_sub_le_of_forall_contDiff); when
δ = 0 the right-continuity of distribution functions finishes the argument.
Main results #
ProbabilityTheory.measureReal_le_le_integral_comp,ProbabilityTheory.integral_comp_le_measureReal_le:[0, 1]-valued tests sandwichPr[X ≤ v].ProbabilityTheory.le_measureReal_le_of_forall_lt: right-continuity ofv ↦ Pr[X ≤ v].ProbabilityTheory.measureReal_le_le_add_div_pow_of_forall_contDiff: the bound with an explicit shiftη > 0.ProbabilityTheory.measureReal_le_le_add_of_forall_contDiff,ProbabilityTheory.measureReal_le_sub_le_of_forall_contDiff: the Lévy-distance pair.
References #
- R. O'Donnell, Analysis of Boolean Functions, Sections 11.5 and 11.6.
Distribution functions and bounded tests #
If 0 ≤ φ ≤ 1 and φ = 1 on (-∞, v], then Pr[X ≤ v] ≤ E[φ(X)].
If 0 ≤ φ ≤ 1 and φ = 0 on (v, ∞), then E[φ(X)] ≤ Pr[X ≤ v].
Right-continuity of distribution functions: if a ≤ Pr[X ≤ v] for all v > u, then
a ≤ Pr[X ≤ u].
From Cᵐ tests to the Lévy distance #
From Cᵐ tests to distribution functions: suppose that
|E[φ(X)] - E[φ(Y)]| ≤ C B for every φ of class Cᵐ with |φ⁽ᵐ⁾| ≤ C. Then for every u
and η > 0, Pr[X ≤ u] ≤ Pr[Y ≤ u + η] + 2ᵐ⁻¹ (m + 1)ᵐ B / ηᵐ. This is the main step of
O'Donnell, Corollary 11.61 (Exercise 11.42), with the smoothed step
Real.stepSmoothing m u (η / (m + 1)) as the test.
From Cᵐ tests to the Lévy distance, upper bound: in the setting of
measureReal_le_le_add_div_pow_of_forall_contDiff, if δ ≥ 0 satisfies
2ᵐ⁻¹ (m + 1)ᵐ B ≤ δᵐ⁺¹, then Pr[X ≤ u] ≤ Pr[Y ≤ u + δ] + δ for every u
O'Donnell, Corollary 11.61.
From Cᵐ tests to the Lévy distance, lower bound: in the setting of
measureReal_le_le_add_of_forall_contDiff, Pr[Y ≤ u - δ] - δ ≤ Pr[X ≤ u] for every u
O'Donnell, Corollary 11.61. Together, the two bound the Lévy distance between
X and Y by δ.