Total variation distance between measures
Library · Source module
Total variation distance between measures
The total variation distance \sup_\mathbf{A} \lvert\mu(\mathbf{A}) - \nu(\mathbf{A})\rvert over measurable sets, real valued. Mathlib (v4.33.1) has the total variation of a signed measure (MeasureTheory.SignedMeasure.totalVariation) and the Kullback–Leibler divergence InformationTheory.klDiv, but no distance between two probability measures.
The theorems are nonnegativity, the data-processing inequality, Le Cam's two-point bound for a test, and Pinsker's inequality against InformationTheory.klDiv: the information-theoretic tools of the testing route to query lower bounds (non-adaptive trace estimation, Meyer–Musco–Musco–Woodruff). Upstream candidates, next to Mathlib/InformationTheory/KullbackLeibler.
Main definitions
* InformationTheory.tvDist.
Main results
* InformationTheory.tvDist_nonneg, InformationTheory.tvDist_map_le. * InformationTheory.one_sub_tvDist_le_measureReal_add_measureReal_compl: Le Cam. * InformationTheory.ofReal_two_mul_tvDist_sq_le_klDiv: Pinsker.