CommunicationComplexity.TVDistance.event_abs_measureReal_sub_le_half_totalVariation
theoremverifiedimported Lean
Probability gap bounded by half total variation. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$, and let $\mu - \nu$ denote their signed measure difference. Then for every measurable set $S \subseteq \Omega$, \[ \abs{\mu(S) - \nu(S)} \le \tfrac{1}{2}\,\abs{\mu - \nu}(\Omega), \] where $\abs{\mu - \nu}$ is the total variation measure of $\mu - \nu$.
Statement
set_option relaxedAutoImplicit false in set_option autoImplicit false in open MeasureTheory in lemma CommunicationComplexity.TVDistance.event_abs_measureReal_sub_le_half_totalVariation {Ω : Type*} [MeasurableSpace Ω] (μ ν : Measure Ω) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν] (S : {S : Set Ω // MeasurableSet S}) : |μ.real (S : Set Ω) - ν.real (S : Set Ω)| ≤ (1 / 2 : ℝ) * (signedMeasureDiff μ ν).totalVariation.real Set.univ
- Source
- TCSlib, `CommunicationComplexity.TVDistance.event_abs_measureReal_sub_le_half_totalVariation`
- 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.event_abs_measureReal_sub_le_half_totalVariation← CommunicationComplexity.TVDistance.event_abs_measureReal_sub_le_half_totalVariation (TCSlib/CommunicationComplexity/NewmanTheorem/TVDistance.lean:170): verbatim
- Verified
- 07 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 2
- CommunicationComplexity.TVDistance.event_abs_signedMeasureDiff_le_half_totalVariationEvent probability gap bounded by half the total variation. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$, and…
- CommunicationComplexity.signedMeasureDiffGiven two probability measures $\mu$ and $\nu$ on a measurable space $\Omega$, the signed measure difference $\mu - \nu$ is the…
- Used by 1
- CommunicationComplexity.TVDistance.tvDistance_eq_tvDistanceSupEquivalence of the two definitions of total variation distance. 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 in/-- For every measurable event `S`, `|μ(S) − ν(S)|` is at most half the total variation mass of `μ − ν`. -/lemma CommunicationComplexity.TVDistance.event_abs_measureReal_sub_le_half_totalVariation {Ω : Type*} [MeasurableSpace Ω] (μ ν : Measure Ω) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν] (S : {S : Set Ω // MeasurableSet S}) : |μ.real (S : Set Ω) - ν.real (S : Set Ω)| ≤ (1 / 2 : ℝ) * (signedMeasureDiff μ ν).totalVariation.real Set.univ := by rw [← Measure.toSignedMeasure_sub_apply S.property] simpa [signedMeasureDiff] using event_abs_signedMeasureDiff_le_half_totalVariation μ ν S