CommunicationComplexity.tvDistance_eq_densityPositiveIntegral_of_ac
Total variation distance as an integral of density excess. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$, and suppose that $\mu$ is absolutely continuous with respect to $\nu$. Write $\frac{d\mu}{d\nu}$ for the (real-valued) Radon–Nikodym derivative of $\mu$ with respect to $\nu$. Then the total variation distance between $\mu$ and $\nu$ equals the excess mass of $\mu$ over $\nu$ on the region where $\mu$ locally dominates $\nu$: \[ \tfrac{1}{2}\,\norm{\mu - \nu}_{\mathrm{TV}} = \int_{\left\{\,x \in \Omega \;:\; \frac{d\mu}{d\nu}(x) \ge 1\,\right\}} \left(\frac{d\mu}{d\nu}(x) - 1\right)\, d\nu. \]
Statement
set_option relaxedAutoImplicit false in set_option autoImplicit false in open MeasureTheory in open ProbabilityTheory in open scoped ENNReal in theorem CommunicationComplexity.tvDistance_eq_densityPositiveIntegral_of_ac {Ω : Type*} [MeasurableSpace Ω] (μ ν : Measure Ω) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν] (h_ac : μ ≪ ν) : tvDistance μ ν = densityPositiveIntegral μ ν
- Source
- TCSlib, `CommunicationComplexity.tvDistance_eq_densityPositiveIntegral_of_ac`
- Lean proof
- By Lucy Horowitz, Timothe Kasriel, Mihir Singhal, from github.com/Shilun-Allan-Li/tcslib at
c8a02591b1e5(Copyright (c) 2026 Lucy Horowitz, Timothe Kasriel, and Mihir Singhal. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.25.0.CommunicationComplexity.tvDistance_eq_densityPositiveIntegral_of_ac← CommunicationComplexity.tvDistance_eq_densityPositiveIntegral_of_ac (TCSlib/CommunicationComplexity/NewmanTheorem/Pinsker.lean:306): verbatim
- Verified
- 07 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 4
- CommunicationComplexity.tvDistanceSup_eq_densityPositiveIntegral_of_acTotal variation distance as the excess-mass integral. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$, and…
- CommunicationComplexity.densityPositiveIntegralThe density positive integral is…
- CommunicationComplexity.TVDistance.tvDistance_eq_tvDistanceSupEquivalence of the two definitions of total variation distance. Let $\mu$ and $\nu$ be probability measures on a measurable space…
- CommunicationComplexity.tvDistanceThe total variation distance between two probability measures $\mu$ and $\nu$ on $\Omega$ is defined as $\tfrac{1}{2}$ times the…
- Used by 1
- CommunicationComplexity.tvDistance_eq_half_densityAbsIntegral_of_acTotal variation distance via the density's L¹-deviation from one. Let $\mu$ and $\nu$ be probability measures on a measurable space…
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
set_option relaxedAutoImplicit false inset_option autoImplicit false inopen MeasureTheory inopen ProbabilityTheory inopen scoped ENNReal in/-- If `μ ≪ ν`, the total variation distance equals the positive part `∫_{dμ/dν ≥ 1} (dμ/dν − 1) dν` of the centred density. -/theorem CommunicationComplexity.tvDistance_eq_densityPositiveIntegral_of_ac {Ω : Type*} [MeasurableSpace Ω] (μ ν : Measure Ω) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν] (h_ac : μ ≪ ν) : tvDistance μ ν = densityPositiveIntegral μ ν := by rw [TVDistance.tvDistance_eq_tvDistanceSup, tvDistanceSup_eq_densityPositiveIntegral_of_ac μ ν h_ac]