CommunicationComplexity.densityPositiveIntegral_eq_half_densityAbsIntegral_of_ac
Positive part equals half the total variation of the density. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$, with $\mu$ absolutely continuous with respect to $\nu$, and write $\frac{d\mu}{d\nu}$ for the Radon–Nikodym density of $\mu$ with respect to $\nu$. Then the excess mass of the density above $1$, integrated over the region where the density is at least $1$, equals half the $L^1(\nu)$-distance of the density from $1$: \[ \int_{\{x\,:\,\frac{d\mu}{d\nu}(x)\,\ge\,1\}} \left(\frac{d\mu}{d\nu}(x)-1\right)\,d\nu(x) \;=\; \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.densityPositiveIntegral_eq_half_densityAbsIntegral_of_ac {Ω : Type*} [MeasurableSpace Ω] (μ ν : Measure Ω) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν] (h_ac : μ ≪ ν) : densityPositiveIntegral μ ν = (1 / 2 : ℝ) * densityAbsIntegral μ ν
- Source
- TCSlib, `CommunicationComplexity.densityPositiveIntegral_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.densityPositiveIntegral_eq_half_densityAbsIntegral_of_ac← CommunicationComplexity.densityPositiveIntegral_eq_half_densityAbsIntegral_of_ac (TCSlib/CommunicationComplexity/NewmanTheorem/Pinsker.lean:316): verbatim
- Verified
- 07 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 8
- CommunicationComplexity.densityPositiveSetThe density positive set is $\{x \in \Omega : \mathrm{rnDensity}(\mu,\nu)(x) \ge 1\}$, the region where $\mu$ locally dominates…
- CommunicationComplexity.rnDensityFor two probability measures $\mu$ and $\nu$ on a measurable space $\Omega$, the Radon-Nikodym density…
- CommunicationComplexity.measurable_rnDensityMeasurability of the Radon–Nikodym density. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$, and consider the…
- CommunicationComplexity.integrable_rnDensity_sub_oneIntegrability of the Radon–Nikodym density minus one. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$, and let…
- CommunicationComplexity.densityPositiveIntegralThe density positive integral is…
- 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.integral_rnDensity_sub_one_eq_zero_of_acMean of the Radon–Nikodym density minus one vanishes. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$, and…
- CommunicationComplexity.integral_nonneg_part_eq_half_integral_abs_of_integral_eq_zeroPositive part integrates to half the $L^1$ norm at mean zero. Let $\mu$ be a finite measure on a measurable space $\Omega$, and let…
- 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 positive part of the centred density is half its `L¹` norm: `∫_{dμ/dν ≥ 1} (dμ/dν − 1) dν = ½ ∫ |dμ/dν − 1| dν`. -/theorem CommunicationComplexity.densityPositiveIntegral_eq_half_densityAbsIntegral_of_ac {Ω : Type*} [MeasurableSpace Ω] (μ ν : Measure Ω) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν] (h_ac : μ ≪ ν) : densityPositiveIntegral μ ν = (1 / 2 : ℝ) * densityAbsIntegral μ ν := by have h := integral_nonneg_part_eq_half_integral_abs_of_integral_eq_zero (μ := ν) (g := fun x => rnDensity μ ν x - 1) ((measurable_rnDensity μ ν).sub measurable_const) (integrable_rnDensity_sub_one μ ν) (integral_rnDensity_sub_one_eq_zero_of_ac μ ν h_ac) simpa [densityPositiveIntegral, densityAbsIntegral, densityPositiveSet, sub_nonneg] using h