AFTD Auto-Formalizing Theoretical Domains

CommunicationComplexity.TVDistance.totalVariation_real_univ

theoremverifiedimported Lean

Total variation mass as the sum of Jordan parts. Let $s$ be a signed measure on a measurable space $\Omega$, with Jordan decomposition $s = s^+ - s^-$ into its positive and negative parts $s^+$ and $s^-$. Then the total mass of the total variation measure $\abs{s}$ of $s$, taken as a real number, is the sum of the total masses of the two Jordan parts: \[ \abs{s}(\Omega) = s^+(\Omega) + s^-(\Omega). \]

Statement

set_option relaxedAutoImplicit false in
set_option autoImplicit false in
open MeasureTheory in
lemma CommunicationComplexity.TVDistance.totalVariation_real_univ
    {Ω : Type*} [MeasurableSpace Ω] (s : SignedMeasure Ω) :
    s.totalVariation.real Set.univ =
      s.toJordanDecomposition.posPart.real Set.univ +
        s.toJordanDecomposition.negPart.real Set.univ
Source
TCSlib, `CommunicationComplexity.TVDistance.totalVariation_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
Used by 1

Lean source view module on GitHub

set_option relaxedAutoImplicit false inset_option autoImplicit false inopen MeasureTheory in/-- The total mass of the total variation of a signed measure is `P(Ω) + N(Ω)` for its Jordan decomposition. -/lemma CommunicationComplexity.TVDistance.totalVariation_real_univ    {Ω : Type*} [MeasurableSpace Ω] (s : SignedMeasure Ω) :    s.totalVariation.real Set.univ =      s.toJordanDecomposition.posPart.real Set.univ +        s.toJordanDecomposition.negPart.real Set.univ := by  rw [SignedMeasure.totalVariation, measureReal_add_apply]
See it in the graphDiscuss this resultChallenge it