AFTD Auto-Formalizing Theoretical Domains

CommunicationComplexity.TVDistance.half_totalVariation_real_univ_eq_posPart_real_univ

theoremverifiedimported Lean

Half the total variation equals the positive Jordan part. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$, and let $\mu-\nu$ denote their signed measure difference. Writing $\abs{\mu-\nu}$ for its total variation measure and $(\mu-\nu)^{+}$ for the positive part of its Jordan decomposition, one has \[ \tfrac{1}{2}\,\abs{\mu-\nu}(\Omega) = (\mu-\nu)^{+}(\Omega), \] where both sides are evaluated as real numbers on the whole space $\Omega$.

Statement

set_option relaxedAutoImplicit false in
set_option autoImplicit false in
open MeasureTheory in
lemma CommunicationComplexity.TVDistance.half_totalVariation_real_univ_eq_posPart_real_univ
    {Ω : Type*} [MeasurableSpace Ω]
    (μ ν : Measure Ω) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν] :
    (1 / 2 : ℝ) * (signedMeasureDiff μ ν).totalVariation.real Set.univ =
      (signedMeasureDiff μ ν).toJordanDecomposition.posPart.real Set.univ
Source
TCSlib, `CommunicationComplexity.TVDistance.half_totalVariation_real_univ_eq_posPart_real_univ`
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.
Verified
07 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3
Used by 2

Lean source view module on GitHub

set_option relaxedAutoImplicit false inset_option autoImplicit false inopen MeasureTheory in/-- Half the total variation mass of `μ − ν` equals the total mass `P(Ω)` of the positive part of its Jordan decomposition. -/lemma CommunicationComplexity.TVDistance.half_totalVariation_real_univ_eq_posPart_real_univ    {Ω : Type*} [MeasurableSpace Ω]    (μ ν : Measure Ω) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν] :    (1 / 2 : ℝ) * (signedMeasureDiff μ ν).totalVariation.real Set.univ =      (signedMeasureDiff μ ν).toJordanDecomposition.posPart.real Set.univ := by  rw [totalVariation_real_univ]  rw [jordan_posPart_real_univ_eq_negPart_real_univ μ ν]  ring
See it in the graphDiscuss this resultChallenge it