Total variation distance #
We define the total variation distance between two finite measures, as the vector total variation distance between the corresponding signed measures.
Note that with this definition, the total variation distance between probability measures takes
values in [0, 2].
Some authors prefer to define the total variation distance as half of the value defined here,
so that it takes values in [0, 1].
Main definitions #
etvDist μ ν: total variation distance between two finite measures, defined as the value on the whole space of the variation ofμ - ν, in which both measures are seen as signed measures. This distance takes values inℝ≥0∞. If one of the measures is not finite, it is defined to be∞, and it is finite otherwise (seeetvDist_lt_top_iff).tvDist μ ν: total variation distance between two finite measures, defined as(etvDist μ ν).toReal. It is equal to0if one of the measures is not finite.
Main statements #
tvDist_self,tvDist_eq_zero_iff,tvDist_comm,tvDist_triangle: the total variation distance between finite measures is a distance.
Total variation distance between two finite measures, with value in ℝ≥0∞.
If one of the measures is not finite, it is defined to be ∞.
Equations
- MeasureTheory.etvDist μ ν = if h : MeasureTheory.IsFiniteMeasure μ ∧ MeasureTheory.IsFiniteMeasure ν then MeasureTheory.VectorMeasure.etvDist μ.toSignedMeasure ν.toSignedMeasure else ⊤
Instances For
Total variation distance between two finite measures, with value in ℝ.
If one of the measures is not finite, it is equal to 0.
Equations
- MeasureTheory.tvDist μ ν = (MeasureTheory.etvDist μ ν).toReal
Instances For
theorem MeasureTheory.etvDist_eq_etvDist_toSignedMeasure {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} {μ ν : Measure 𝓧} [IsFiniteMeasure μ] [IsFiniteMeasure ν] :
theorem MeasureTheory.etvDist_of_not_isFiniteMeasure {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} {μ ν : Measure 𝓧} (h : ¬(IsFiniteMeasure μ ∧ IsFiniteMeasure ν)) :
theorem MeasureTheory.etvDist_of_not_isFiniteMeasure_left {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} {μ ν : Measure 𝓧} (h : ¬IsFiniteMeasure μ) :
theorem MeasureTheory.etvDist_of_not_isFiniteMeasure_right {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} {μ ν : Measure 𝓧} (h : ¬IsFiniteMeasure ν) :
@[simp]
@[simp]
theorem MeasureTheory.etvDist_triangle {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} (μ ν ξ : Measure 𝓧) :
theorem MeasureTheory.etvDist_lt_top {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} (μ ν : Measure 𝓧) [IsFiniteMeasure μ] [IsFiniteMeasure ν] :
@[simp]
theorem MeasureTheory.etvDist_ne_top {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} (μ ν : Measure 𝓧) [IsFiniteMeasure μ] [IsFiniteMeasure ν] :
theorem MeasureTheory.etvDist_lt_top_iff {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} {μ ν : Measure 𝓧} :
theorem MeasureTheory.etvDist_ne_top_iff {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} {μ ν : Measure 𝓧} :
theorem MeasureTheory.etvDist_eq_iSup_finPartition_enorm {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} {μ ν : Measure 𝓧} [IsFiniteMeasure μ] [IsFiniteMeasure ν] :
@[simp]
theorem MeasureTheory.etvDist_self {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} (μ : Measure 𝓧) [IsFiniteMeasure μ] :
@[simp]
theorem MeasureTheory.etvDist_eq_zero_iff {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} {μ ν : Measure 𝓧} [IsFiniteMeasure μ] [IsFiniteMeasure ν] :
theorem MeasureTheory.etvDist_of_ge {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} {μ ν : Measure 𝓧} [IsFiniteMeasure ν] (hμν : ν ≤ μ) :
theorem MeasureTheory.etvDist_of_le {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} {μ ν : Measure 𝓧} [IsFiniteMeasure μ] (hμν : μ ≤ ν) :
@[simp]
theorem MeasureTheory.tvDist_of_not_isFiniteMeasure {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} {μ ν : Measure 𝓧} (h : ¬(IsFiniteMeasure μ ∧ IsFiniteMeasure ν)) :
theorem MeasureTheory.tvDist_of_not_isFiniteMeasure_left {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} {μ ν : Measure 𝓧} (h : ¬IsFiniteMeasure μ) :
theorem MeasureTheory.tvDist_of_not_isFiniteMeasure_right {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} {μ ν : Measure 𝓧} (h : ¬IsFiniteMeasure ν) :
theorem MeasureTheory.ofReal_tvDist {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} (μ ν : Measure 𝓧) [IsFiniteMeasure μ] [IsFiniteMeasure ν] :
theorem MeasureTheory.tvDist_eq_iSup_finPartition_abs {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} {μ ν : Measure 𝓧} [IsFiniteMeasure μ] [IsFiniteMeasure ν] :
@[simp]
@[simp]
theorem MeasureTheory.tvDist_eq_zero_iff {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} {μ ν : Measure 𝓧} [IsFiniteMeasure μ] [IsFiniteMeasure ν] :
theorem MeasureTheory.tvDist_triangle {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} (μ ν ξ : Measure 𝓧) [IsFiniteMeasure ν] :
@[simp]
@[simp]
theorem MeasureTheory.tvDist_restrict_add_compl {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} {μ ν : Measure 𝓧} [IsFiniteMeasure μ] [IsFiniteMeasure ν] {s : Set 𝓧} (hs : MeasurableSet s) :
theorem MeasureTheory.tvDist_of_ge {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} {μ ν : Measure 𝓧} [IsFiniteMeasure μ] (hμν : ν ≤ μ) :
theorem MeasureTheory.tvDist_of_le {𝓧 : Type u_1} {m𝓧 : MeasurableSpace 𝓧} {μ ν : Measure 𝓧} [IsFiniteMeasure ν] (hμν : μ ≤ ν) :