AFTD Auto-Formalizing Theoretical Domains

CommunicationComplexity.TVDistance.signedMeasure_apply_eq_posPart_sub_negPart

theoremverifiedimported Lean

Signed measure via Jordan decomposition. Let $s$ be a signed measure on a measurable space $\Omega$, and let $s = s^+ - s^-$ be its Jordan decomposition into a pair of (finite, mutually singular) positive measures $s^+$ and $s^-$. Then for every measurable set $S \subseteq \Omega$, \[ s(S) = s^+(S) - s^-(S), \] where $s^+(S)$ and $s^-(S)$ denote the real-valued measures of $S$ under the positive and negative parts.

Statement

set_option relaxedAutoImplicit false in
set_option autoImplicit false in
open MeasureTheory in
lemma CommunicationComplexity.TVDistance.signedMeasure_apply_eq_posPart_sub_negPart
    {Ω : Type*} [MeasurableSpace Ω] (s : SignedMeasure Ω)
    {S : Set Ω} (hS : MeasurableSet S) :
    s S =
      s.toJordanDecomposition.posPart.real S -
        s.toJordanDecomposition.negPart.real S
Source
TCSlib, `CommunicationComplexity.TVDistance.signedMeasure_apply_eq_posPart_sub_negPart`
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 3

Lean source view module on GitHub

set_option relaxedAutoImplicit false inset_option autoImplicit false inopen MeasureTheory in/-- A signed measure evaluated on a measurable set is the difference of the (real) masses of the positive and negative parts of its Jordan decomposition. -/lemma CommunicationComplexity.TVDistance.signedMeasure_apply_eq_posPart_sub_negPart    {Ω : Type*} [MeasurableSpace Ω] (s : SignedMeasure Ω)    {S : Set Ω} (hS : MeasurableSet S) :    s S =      s.toJordanDecomposition.posPart.real S -        s.toJordanDecomposition.negPart.real S := by  conv_lhs => rw [← SignedMeasure.toSignedMeasure_toJordanDecomposition s]  rw [JordanDecomposition.toSignedMeasure, Measure.toSignedMeasure_sub_apply hS]
See it in the graphDiscuss this resultChallenge it