Documentation

CslibFrontier.Probability.StatisticalDistance.OptimalCoupling

Optimal couplings #

On a finite type, two distributions have a coupling whose disagreement probability equals their statistical distance (Cslib.Probability.PMF.exists_coupling_toReal_eq_dist). Together with the coupling inequality Cslib.Probability.PMF.CoupledWithin.dist_le this characterizes statistical distance as the minimum disagreement probability over all couplings. The coupling puts min (μ a) (ν a) on each diagonal point (a, a) and spreads the excesses μ - ν and ν - μ independently over the off-diagonal.

As a consequence, running a common kernel K from two coupled distributions moves them at most the disagreement probability times the largest distance between two rows of K (Cslib.Probability.PMF.CoupledWithin.dist_bind_le). With an optimal coupling this gives dist (μ.bind K) (ν.bind K) ≤ dist μ ν * D, the step behind the submultiplicativity of the pairwise distance of a Markov chain.

Main results #

References #

theorem Cslib.Probability.PMF.exists_coupling_toReal_eq_dist {α : Type u_1} [Fintype α] (μ ν : PMF α) :
∃ (ω : PMF (α × α)), PMF.map Prod.fst ω = μ ∧ PMF.map Prod.snd ω = ν ∧ (ω.toOuterMeasure {p : α × α | p.1 ≠ p.2}).toReal = dist μ ν

Optimal coupling ([LP17], Proposition 4.7 and Remark 4.8). On a finite type, two distributions have a coupling whose disagreement probability is exactly their statistical distance.

theorem Cslib.Probability.PMF.coupledWithin_dist {α : Type u_1} [Fintype α] (μ ν : PMF α) :

Two distributions on a finite type are coupled within their statistical distance.

theorem Cslib.Probability.PMF.CoupledWithin.dist_bind_le {α : Type u_1} {β : Type u_2} [Finite α] [Fintype β] {μ ν : PMF α} {ε : ENNReal} (h : CoupledWithin μ ν ε) (hε : ε ≠ ⊤) (K : α → PMF β) {D : ℝ} (hD : ∀ (x y : α), dist (K x) (K y) ≤ D) :
dist (μ.bind K) (ν.bind K) ≤ ε.toReal * D

Running a common kernel K from two distributions coupled within ε moves them at most ε * D, where D bounds the distance between any two rows of K.

theorem Cslib.Probability.PMF.dist_bind_le_mul {α : Type u_1} {β : Type u_2} [Fintype α] [Fintype β] (μ ν : PMF α) (K : α → PMF β) {D : ℝ} (hD : ∀ (x y : α), dist (K x) (K y) ≤ D) :
dist (μ.bind K) (ν.bind K) ≤ dist μ ν * D

Running a common kernel K moves two distributions at most their statistical distance times the largest distance D between two rows of K.