CommunicationComplexity.tvDistance_eq_half_densityAbsIntegral_of_ac
theoremverifiedimported Lean
Total variation distance via the density's L¹-deviation from one. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$, and suppose that $\mu$ is absolutely continuous with respect to $\nu$. Then the total variation distance between $\mu$ and $\nu$ equals one half of the density absolute integral, that is, \[ \mathrm{TV}(\mu,\nu) = \frac{1}{2}\int_{\Omega} \left| \frac{d\mu}{d\nu}(x) - 1 \right| \, d\nu(x). \]
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_half_densityAbsIntegral_of_ac {Ω : Type*} [MeasurableSpace Ω] (μ ν : Measure Ω) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν] (h_ac : μ ≪ ν) : tvDistance μ ν = (1 / 2 : ℝ) * densityAbsIntegral μ ν
- Source
- TCSlib, `CommunicationComplexity.tvDistance_eq_half_densityAbsIntegral_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_half_densityAbsIntegral_of_ac← CommunicationComplexity.tvDistance_eq_half_densityAbsIntegral_of_ac (TCSlib/CommunicationComplexity/NewmanTheorem/Pinsker.lean:589): verbatim
- Verified
- 07 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 4
- CommunicationComplexity.tvDistance_eq_densityPositiveIntegral_of_acTotal variation distance as an integral of density excess. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$, and…
- CommunicationComplexity.tvDistanceThe total variation distance between two probability measures $\mu$ and $\nu$ on $\Omega$ is defined as $\tfrac{1}{2}$ times the…
- CommunicationComplexity.densityAbsIntegralThe quantity $\mathrm{densityAbsIntegral}(\mu,\nu) := \int |\mathrm{rnDensity}(\mu,\nu)(x) - 1|\,d\nu$ is the $L^1(\nu)$-distance of the…
- CommunicationComplexity.densityPositiveIntegral_eq_half_densityAbsIntegral_of_acPositive part equals half the total variation of the density. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$,…
- Used by 1
- CommunicationComplexity.real_pinsker_inequality_of_ac_of_integrablePinsker's inequality under absolute continuity. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$, and write…
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 is half the `L¹` distance of the density from `1`: `TV(μ, ν) = ½ ∫ |dμ/dν − 1| dν`. -/theorem CommunicationComplexity.tvDistance_eq_half_densityAbsIntegral_of_ac {Ω : Type*} [MeasurableSpace Ω] (μ ν : Measure Ω) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν] (h_ac : μ ≪ ν) : tvDistance μ ν = (1 / 2 : ℝ) * densityAbsIntegral μ ν := by rw [tvDistance_eq_densityPositiveIntegral_of_ac μ ν h_ac, densityPositiveIntegral_eq_half_densityAbsIntegral_of_ac μ ν h_ac]