The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V20. Probability

Mathlib.Probability.CDF

13 declarations. Mathlib docs · Source

def ProbabilityTheory.cdf E1 #

MeasureTheory.Measure ℝ → StieltjesFunction ℝ

Cumulative distribution function of a real measure. The definition currently makes sense only for probability measures. In that case, it satisfies cdf μ x = μ.real (Iic x) (see ProbabilityTheory.cdf_eq_real).

theorem ProbabilityTheory.cdf_nonneg E1 #

∀ (μ : MeasureTheory.Measure ℝ) (x : ℝ), 0 ≤ ↑(ProbabilityTheory.cdf μ) x

The cdf is non-negative.

theorem ProbabilityTheory.cdf_le_one E1 #

∀ (μ : MeasureTheory.Measure ℝ) (x : ℝ), ↑(ProbabilityTheory.cdf μ) x ≤ 1

The cdf is lower or equal to 1.

theorem ProbabilityTheory.monotone_cdf E1 #

∀ (μ : MeasureTheory.Measure ℝ), Monotone ↑(ProbabilityTheory.cdf μ)

The cdf is monotone.

theorem ProbabilityTheory.tendsto_cdf_atBot E1 #

∀ (μ : MeasureTheory.Measure ℝ), Filter.Tendsto (↑(ProbabilityTheory.cdf μ)) Filter.atBot (nhds 0)

The cdf tends to 0 at -∞.

theorem ProbabilityTheory.tendsto_cdf_atTop E1 #

∀ (μ : MeasureTheory.Measure ℝ), Filter.Tendsto (↑(ProbabilityTheory.cdf μ)) Filter.atTop (nhds 1)

The cdf tends to 1 at +∞.

theorem ProbabilityTheory.ofReal_cdf E1 #

∀ (μ : MeasureTheory.Measure ℝ) [MeasureTheory.IsProbabilityMeasure μ] (x : ℝ),
  ENNReal.ofReal (↑(ProbabilityTheory.cdf μ) x) = μ (Set.Iic x)

theorem ProbabilityTheory.cdf_eq_real E1 #

∀ (μ : MeasureTheory.Measure ℝ) [MeasureTheory.IsProbabilityMeasure μ] (x : ℝ),
  ↑(ProbabilityTheory.cdf μ) x = μ.real (Set.Iic x)

instance ProbabilityTheory.instIsProbabilityMeasurecdf E0 #

∀ (μ : MeasureTheory.Measure ℝ), MeasureTheory.IsProbabilityMeasure (ProbabilityTheory.cdf μ).measure

theorem ProbabilityTheory.measure_cdf E1 #

∀ (μ : MeasureTheory.Measure ℝ) [MeasureTheory.IsProbabilityMeasure μ], (ProbabilityTheory.cdf μ).measure = μ

The measure associated to the cdf of a probability measure is the same probability measure.

theorem ProbabilityTheory.cdf_measure_stieltjesFunction E1 #

∀ (f : StieltjesFunction ℝ),
  Filter.Tendsto (↑f) Filter.atBot (nhds 0) →
    Filter.Tendsto (↑f) Filter.atTop (nhds 1) → ProbabilityTheory.cdf f.measure = f

theorem ProbabilityTheory.unitInterval.cdf_eq_real E1 #

∀ (μ : MeasureTheory.Measure ↑unitInterval) [MeasureTheory.IsProbabilityMeasure μ] (x : ↑unitInterval),
  ↑(ProbabilityTheory.cdf (MeasureTheory.Measure.map Subtype.val μ)) ↑x = μ.real (Set.Icc 0 x)

theorem MeasureTheory.Measure.cdf_eq_iff E0 #

∀ (μ ν : MeasureTheory.Measure ℝ) [MeasureTheory.IsProbabilityMeasure μ] [MeasureTheory.IsProbabilityMeasure ν],
  ProbabilityTheory.cdf μ = ProbabilityTheory.cdf ν ↔ μ = ν