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.Distributions.Gaussian.Real

83 declarations and 1 deprecated aliases. Mathlib docs · Source

def ProbabilityTheory.gaussianPDFReal E1 #

ℝ → NNReal → ℝ → ℝ

Probability density function of the Gaussian distribution with mean μ and variance v.

theorem ProbabilityTheory.gaussianPDFReal_def E0 #

∀ (μ : ℝ) (v : NNReal),
  ProbabilityTheory.gaussianPDFReal μ v = fun x ↦ (√(2 * Real.pi * ↑v))⁻¹ * Real.exp (-(x - μ) ^ 2 / (2 * ↑v))

theorem ProbabilityTheory.gaussianPDFReal_zero_var E0 #

∀ (m : ℝ), ProbabilityTheory.gaussianPDFReal m 0 = 0

theorem ProbabilityTheory.gaussianPDFReal_pos E1 #

∀ (μ : ℝ) (v : NNReal) (x : ℝ), v ≠ 0 → 0 < ProbabilityTheory.gaussianPDFReal μ v x

The Gaussian pdf is positive when the variance is not zero.

theorem ProbabilityTheory.gaussianPDFReal_nonneg E1 #

∀ (μ : ℝ) (v : NNReal) (x : ℝ), 0 ≤ ProbabilityTheory.gaussianPDFReal μ v x

The Gaussian pdf is nonnegative.

theorem ProbabilityTheory.measurable_uncurry_gaussianPDFReal E1 #

Measurable fun x ↦
  match x with
  | (μ, v, x) => ProbabilityTheory.gaussianPDFReal μ v x

The Gaussian pdf is measurable.

theorem ProbabilityTheory.measurable_gaussianPDFReal E1 #

∀ (μ : ℝ) (v : NNReal), Measurable (ProbabilityTheory.gaussianPDFReal μ v)

theorem ProbabilityTheory.stronglyMeasurable_uncurry_gaussianPDFReal E1 #

MeasureTheory.StronglyMeasurable fun x ↦
  match x with
  | (μ, v, x) => ProbabilityTheory.gaussianPDFReal μ v x

The Gaussian pdf is strongly measurable.

theorem ProbabilityTheory.stronglyMeasurable_gaussianPDFReal E1 #

∀ (μ : ℝ) (v : NNReal), MeasureTheory.StronglyMeasurable (ProbabilityTheory.gaussianPDFReal μ v)

theorem ProbabilityTheory.integrable_gaussianPDFReal E1 #

∀ (μ : ℝ) (v : NNReal), MeasureTheory.Integrable (ProbabilityTheory.gaussianPDFReal μ v) MeasureTheory.volume

theorem ProbabilityTheory.lintegral_gaussianPDFReal_eq_one E1 #

∀ (μ : ℝ) {v : NNReal}, v ≠ 0 → ∫⁻ (x : ℝ), ENNReal.ofReal (ProbabilityTheory.gaussianPDFReal μ v x) = 1

The Gaussian distribution pdf integrates to 1 when the variance is not zero.

theorem ProbabilityTheory.integral_gaussianPDFReal_eq_one E1 #

∀ (μ : ℝ) {v : NNReal}, v ≠ 0 → ∫ (x : ℝ), ProbabilityTheory.gaussianPDFReal μ v x = 1

The Gaussian distribution pdf integrates to 1 when the variance is not zero.

theorem ProbabilityTheory.gaussianPDFReal_sub E1 #

∀ {μ : ℝ} {v : NNReal} (x y : ℝ),
  ProbabilityTheory.gaussianPDFReal μ v (x - y) = ProbabilityTheory.gaussianPDFReal (μ + y) v x

theorem ProbabilityTheory.gaussianPDFReal_add E1 #

∀ {μ : ℝ} {v : NNReal} (x y : ℝ),
  ProbabilityTheory.gaussianPDFReal μ v (x + y) = ProbabilityTheory.gaussianPDFReal (μ - y) v x

theorem ProbabilityTheory.gaussianPDFReal_inv_mul E1 #

∀ {μ : ℝ} {v : NNReal} {c : ℝ},
  c ≠ 0 →
    ∀ (x : ℝ),
      ProbabilityTheory.gaussianPDFReal μ v (c⁻¹ * x) =
        |c| * ProbabilityTheory.gaussianPDFReal (c * μ) (NNReal.mk (c ^ 2) ⋯ * v) x

theorem ProbabilityTheory.gaussianPDFReal_mul E1 #

∀ {μ : ℝ} {v : NNReal} {c : ℝ},
  c ≠ 0 →
    ∀ (x : ℝ),
      ProbabilityTheory.gaussianPDFReal μ v (c * x) =
        |c⁻¹| * ProbabilityTheory.gaussianPDFReal (c⁻¹ * μ) (NNReal.mk (c ^ 2)⁻¹ ⋯ * v) x

def ProbabilityTheory.gaussianPDF E1 #

ℝ → NNReal → ℝ → ENNReal

The pdf of a Gaussian distribution on ℝ with mean μ and variance v.

theorem ProbabilityTheory.gaussianPDF_def E0 #

∀ (μ : ℝ) (v : NNReal),
  ProbabilityTheory.gaussianPDF μ v = fun x ↦ ENNReal.ofReal (ProbabilityTheory.gaussianPDFReal μ v x)

theorem ProbabilityTheory.gaussianPDF_zero_var E0 #

∀ (μ : ℝ), ProbabilityTheory.gaussianPDF μ 0 = 0

theorem ProbabilityTheory.toReal_gaussianPDF E0 #

∀ {μ : ℝ} {v : NNReal} (x : ℝ), (ProbabilityTheory.gaussianPDF μ v x).toReal = ProbabilityTheory.gaussianPDFReal μ v x

theorem ProbabilityTheory.gaussianPDF_pos E1 #

∀ (μ : ℝ) {v : NNReal}, v ≠ 0 → ∀ (x : ℝ), 0 < ProbabilityTheory.gaussianPDF μ v x

theorem ProbabilityTheory.gaussianPDF_lt_top E1 #

∀ {μ : ℝ} {v : NNReal} {x : ℝ}, ProbabilityTheory.gaussianPDF μ v x < ⊤

theorem ProbabilityTheory.gaussianPDF_ne_top E1 #

∀ {μ : ℝ} {v : NNReal} {x : ℝ}, ProbabilityTheory.gaussianPDF μ v x ≠ ⊤

theorem ProbabilityTheory.support_gaussianPDF E0 #

∀ {μ : ℝ} {v : NNReal}, v ≠ 0 → Function.support (ProbabilityTheory.gaussianPDF μ v) = Set.univ

theorem ProbabilityTheory.measurable_uncurry_gaussianPDF E1 #

Measurable fun x ↦
  match x with
  | (μ, v, x) => ProbabilityTheory.gaussianPDF μ v x

theorem ProbabilityTheory.measurable_gaussianPDF E1 #

∀ (μ : ℝ) (v : NNReal), Measurable (ProbabilityTheory.gaussianPDF μ v)

theorem ProbabilityTheory.stronglyMeasurable_uncurry_gaussianPDF E1 #

MeasureTheory.StronglyMeasurable fun x ↦
  match x with
  | (μ, v, x) => ProbabilityTheory.gaussianPDF μ v x

theorem ProbabilityTheory.stronglyMeasurable_gaussianPDF E1 #

∀ (μ : ℝ) (v : NNReal), MeasureTheory.StronglyMeasurable (ProbabilityTheory.gaussianPDF μ v)

theorem ProbabilityTheory.lintegral_gaussianPDF_eq_one E0 #

∀ (μ : ℝ) {v : NNReal}, v ≠ 0 → ∫⁻ (x : ℝ), ProbabilityTheory.gaussianPDF μ v x = 1

def ProbabilityTheory.gaussianReal E3 #

ℝ → NNReal → MeasureTheory.Measure ℝ

A Gaussian distribution on ℝ with mean μ and variance v.

theorem ProbabilityTheory.gaussianReal_of_var_ne_zero E1 #

∀ (μ : ℝ) {v : NNReal},
  v ≠ 0 → ProbabilityTheory.gaussianReal μ v = MeasureTheory.volume.withDensity (ProbabilityTheory.gaussianPDF μ v)

theorem ProbabilityTheory.gaussianReal_zero_var E0 #

∀ (μ : ℝ), ProbabilityTheory.gaussianReal μ 0 = MeasureTheory.Measure.dirac μ

instance ProbabilityTheory.instIsProbabilityMeasureGaussianReal E0 #

∀ (μ : ℝ) (v : NNReal), MeasureTheory.IsProbabilityMeasure (ProbabilityTheory.gaussianReal μ v)

theorem ProbabilityTheory.nullSingletonClass_gaussianReal E1 #

∀ {μ : ℝ} {v : NNReal}, v ≠ 0 → MeasureTheory.NullSingletonClass (ProbabilityTheory.gaussianReal μ v)

theorem ProbabilityTheory.gaussianReal_apply E0 #

∀ (μ : ℝ) {v : NNReal},
  v ≠ 0 → ∀ (s : Set ℝ), (ProbabilityTheory.gaussianReal μ v) s = ∫⁻ (x : ℝ) in s, ProbabilityTheory.gaussianPDF μ v x

theorem ProbabilityTheory.gaussianReal_apply_eq_integral E1 #

∀ (μ : ℝ) {v : NNReal},
  v ≠ 0 →
    ∀ (s : Set ℝ),
      (ProbabilityTheory.gaussianReal μ v) s = ENNReal.ofReal (∫ (x : ℝ) in s, ProbabilityTheory.gaussianPDFReal μ v x)

theorem ProbabilityTheory.gaussianReal_absolutelyContinuous E1 #

∀ (μ : ℝ) {v : NNReal}, v ≠ 0 → (ProbabilityTheory.gaussianReal μ v).AbsolutelyContinuous MeasureTheory.volume

theorem ProbabilityTheory.gaussianReal_absolutelyContinuous' E1 #

∀ (μ : ℝ) {v : NNReal}, v ≠ 0 → MeasureTheory.volume.AbsolutelyContinuous (ProbabilityTheory.gaussianReal μ v)

theorem ProbabilityTheory.rnDeriv_gaussianReal E1 #

∀ (μ : ℝ) (v : NNReal),
  (ProbabilityTheory.gaussianReal μ v).rnDeriv MeasureTheory.volume =ᵐ[MeasureTheory.volume]
    ProbabilityTheory.gaussianPDF μ v

theorem ProbabilityTheory.integral_gaussianReal_eq_integral_smul E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {μ : ℝ} {v : NNReal} {f : ℝ → E},
  v ≠ 0 → ∫ (x : ℝ), f x ∂ProbabilityTheory.gaussianReal μ v = ∫ (x : ℝ), ProbabilityTheory.gaussianPDFReal μ v x • f x

theorem ProbabilityTheory.measurable_gaussianReal E1 #

Measurable (Function.uncurry ProbabilityTheory.gaussianReal)

theorem MeasurableEmbedding.gaussianReal_comap_apply E0 #

∀ {μ : ℝ} {v : NNReal},
  v ≠ 0 →
    ∀ {f : ℝ → ℝ},
      MeasurableEmbedding f →
        ∀ {f' : ℝ → ℝ},
          (∀ (x : ℝ), HasDerivAt f (f' x) x) →
            ∀ {s : Set ℝ},
              MeasurableSet s →
                (MeasureTheory.Measure.comap f (ProbabilityTheory.gaussianReal μ v)) s =
                  ENNReal.ofReal (∫ (x : ℝ) in s, |f' x| * ProbabilityTheory.gaussianPDFReal μ v (f x))

theorem MeasurableEquiv.gaussianReal_map_symm_apply E0 #

∀ {μ : ℝ} {v : NNReal},
  v ≠ 0 →
    ∀ (f : ℝ ≃ᵐ ℝ) {f' : ℝ → ℝ},
      (∀ (x : ℝ), HasDerivAt (⇑f) (f' x) x) →
        ∀ {s : Set ℝ},
          MeasurableSet s →
            (MeasureTheory.Measure.map (⇑f.symm) (ProbabilityTheory.gaussianReal μ v)) s =
              ENNReal.ofReal (∫ (x : ℝ) in s, |f' x| * ProbabilityTheory.gaussianPDFReal μ v (f x))

theorem ProbabilityTheory.gaussianReal_map_add_const E1 #

∀ {μ : ℝ} {v : NNReal} (y : ℝ),
  MeasureTheory.Measure.map (fun x ↦ x + y) (ProbabilityTheory.gaussianReal μ v) =
    ProbabilityTheory.gaussianReal (μ + y) v

The map of a Gaussian distribution by addition of a constant is a Gaussian.

theorem ProbabilityTheory.gaussianReal_map_const_add E1 #

∀ {μ : ℝ} {v : NNReal} (y : ℝ),
  MeasureTheory.Measure.map (fun x ↦ y + x) (ProbabilityTheory.gaussianReal μ v) =
    ProbabilityTheory.gaussianReal (μ + y) v

The map of a Gaussian distribution by addition of a constant is a Gaussian.

theorem ProbabilityTheory.gaussianReal_map_const_mul E1 #

∀ {μ : ℝ} {v : NNReal} (c : ℝ),
  MeasureTheory.Measure.map (fun x ↦ c * x) (ProbabilityTheory.gaussianReal μ v) =
    ProbabilityTheory.gaussianReal (c * μ) (NNReal.mk (c ^ 2) ⋯ * v)

The map of a Gaussian distribution by multiplication by a constant is a Gaussian.

theorem ProbabilityTheory.gaussianReal_map_mul_const E1 #

∀ {μ : ℝ} {v : NNReal} (c : ℝ),
  MeasureTheory.Measure.map (fun x ↦ x * c) (ProbabilityTheory.gaussianReal μ v) =
    ProbabilityTheory.gaussianReal (c * μ) (NNReal.mk (c ^ 2) ⋯ * v)

The map of a Gaussian distribution by multiplication by a constant is a Gaussian.

theorem ProbabilityTheory.gaussianReal_map_neg E1 #

∀ {μ : ℝ} {v : NNReal},
  MeasureTheory.Measure.map (fun x ↦ -x) (ProbabilityTheory.gaussianReal μ v) = ProbabilityTheory.gaussianReal (-μ) v

theorem ProbabilityTheory.gaussianReal_map_div_const E1 #

∀ {μ : ℝ} {v : NNReal} (c : ℝ),
  MeasureTheory.Measure.map (fun x ↦ x / c) (ProbabilityTheory.gaussianReal μ v) =
    ProbabilityTheory.gaussianReal (μ / c) (v / NNReal.mk (c ^ 2) ⋯)

The map of a Gaussian distribution by multiplication by a constant is a Gaussian.

theorem ProbabilityTheory.gaussianReal_map_sub_const E1 #

∀ {μ : ℝ} {v : NNReal} (y : ℝ),
  MeasureTheory.Measure.map (fun x ↦ x - y) (ProbabilityTheory.gaussianReal μ v) =
    ProbabilityTheory.gaussianReal (μ - y) v

theorem ProbabilityTheory.gaussianReal_map_const_sub E1 #

∀ {μ : ℝ} {v : NNReal} (y : ℝ),
  MeasureTheory.Measure.map (fun x ↦ y - x) (ProbabilityTheory.gaussianReal μ v) =
    ProbabilityTheory.gaussianReal (y - μ) v

theorem ProbabilityTheory.gaussianReal_add_const E1 #

∀ {μ : ℝ} {v : NNReal} {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X : Ω → ℝ},
  ProbabilityTheory.HasLaw X (ProbabilityTheory.gaussianReal μ v) P →
    ∀ (y : ℝ), ProbabilityTheory.HasLaw (fun ω ↦ X ω + y) (ProbabilityTheory.gaussianReal (μ + y) v) P

If X is a real random variable with Gaussian law with mean μ and variance v, then X + y has Gaussian law with mean μ + y and variance v.

theorem ProbabilityTheory.gaussianReal_const_add E1 #

∀ {μ : ℝ} {v : NNReal} {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X : Ω → ℝ},
  ProbabilityTheory.HasLaw X (ProbabilityTheory.gaussianReal μ v) P →
    ∀ (y : ℝ), ProbabilityTheory.HasLaw (fun ω ↦ y + X ω) (ProbabilityTheory.gaussianReal (μ + y) v) P

If X is a real random variable with Gaussian law with mean μ and variance v, then y + X has Gaussian law with mean μ + y and variance v.

theorem ProbabilityTheory.gaussianReal_sub_const E1 #

∀ {μ : ℝ} {v : NNReal} {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X : Ω → ℝ},
  ProbabilityTheory.HasLaw X (ProbabilityTheory.gaussianReal μ v) P →
    ∀ (y : ℝ), ProbabilityTheory.HasLaw (fun ω ↦ X ω - y) (ProbabilityTheory.gaussianReal (μ - y) v) P

If X is a real random variable with Gaussian law with mean μ and variance v, then X - y has Gaussian law with mean μ - y and variance v.

theorem ProbabilityTheory.gaussianReal_const_mul E1 #

∀ {μ : ℝ} {v : NNReal} {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X : Ω → ℝ},
  ProbabilityTheory.HasLaw X (ProbabilityTheory.gaussianReal μ v) P →
    ∀ (c : ℝ),
      ProbabilityTheory.HasLaw (fun ω ↦ c * X ω) (ProbabilityTheory.gaussianReal (c * μ) (NNReal.mk (c ^ 2) ⋯ * v)) P

If X is a real random variable with Gaussian law with mean μ and variance v, then c * X has Gaussian law with mean c * μ and variance c ^ 2 * v.

theorem ProbabilityTheory.gaussianReal_mul_const E1 #

∀ {μ : ℝ} {v : NNReal} {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X : Ω → ℝ},
  ProbabilityTheory.HasLaw X (ProbabilityTheory.gaussianReal μ v) P →
    ∀ (c : ℝ),
      ProbabilityTheory.HasLaw (fun ω ↦ X ω * c) (ProbabilityTheory.gaussianReal (c * μ) (NNReal.mk (c ^ 2) ⋯ * v)) P

If X is a real random variable with Gaussian law with mean μ and variance v, then X * c has Gaussian law with mean c * μ and variance c ^ 2 * v.

theorem ProbabilityTheory.gaussianReal_neg E1 #

∀ {μ : ℝ} {v : NNReal} {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X : Ω → ℝ},
  ProbabilityTheory.HasLaw X (ProbabilityTheory.gaussianReal μ v) P →
    ProbabilityTheory.HasLaw (-X) (ProbabilityTheory.gaussianReal (-μ) v) P

theorem ProbabilityTheory.gaussianReal_div_const E1 #

∀ {μ : ℝ} {v : NNReal} {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X : Ω → ℝ},
  ProbabilityTheory.HasLaw X (ProbabilityTheory.gaussianReal μ v) P →
    ∀ (c : ℝ),
      ProbabilityTheory.HasLaw (fun ω ↦ X ω / c) (ProbabilityTheory.gaussianReal (μ / c) (v / NNReal.mk (c ^ 2) ⋯)) P

If X is a real random variable with Gaussian law with mean μ and variance v, then X * c has Gaussian law with mean c * μ and variance c ^ 2 * v.

theorem ProbabilityTheory.gaussianReal_const_sub E1 #

∀ {μ : ℝ} {v : NNReal} {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X : Ω → ℝ},
  ProbabilityTheory.HasLaw X (ProbabilityTheory.gaussianReal μ v) P →
    ∀ (y : ℝ), ProbabilityTheory.HasLaw (fun ω ↦ y - X ω) (ProbabilityTheory.gaussianReal (y - μ) v) P

If X is a real random variable with Gaussian law with mean μ and variance v, then y - X has Gaussian law with mean y - μ and variance v.

theorem ProbabilityTheory.complexMGF_id_gaussianReal E1 #

∀ {μ : ℝ} {v : NNReal} (z : ℂ),
  ProbabilityTheory.complexMGF id (ProbabilityTheory.gaussianReal μ v) z = Complex.exp (z * ↑μ + ↑↑v * z ^ 2 / 2)

The complex moment-generating function of a Gaussian distribution with mean μ and variance v is given by z ↦ exp (z * μ + v * z ^ 2 / 2).

theorem ProbabilityTheory.complexMGF_gaussianReal E1 #

∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {p : MeasureTheory.Measure Ω} {μ : ℝ} {v : NNReal} {X : Ω → ℝ},
  ProbabilityTheory.HasLaw X (ProbabilityTheory.gaussianReal μ v) p →
    ∀ (z : ℂ), ProbabilityTheory.complexMGF X p z = Complex.exp (z * ↑μ + ↑↑v * z ^ 2 / 2)

The complex moment-generating function of a random variable with Gaussian distribution with mean μ and variance v is given by z ↦ exp (z * μ + v * z ^ 2 / 2).

theorem ProbabilityTheory.charFun_gaussianReal E1 #

∀ {μ : ℝ} {v : NNReal} (t : ℝ),
  MeasureTheory.charFun (ProbabilityTheory.gaussianReal μ v) t = Complex.exp (↑t * ↑μ * Complex.I - ↑↑v * ↑t ^ 2 / 2)

The characteristic function of a Gaussian distribution with mean μ and variance v is given by t ↦ exp (t * μ - v * t ^ 2 / 2).

theorem ProbabilityTheory.mgf_gaussianReal E1 #

∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {p : MeasureTheory.Measure Ω} {μ : ℝ} {v : NNReal} {X : Ω → ℝ},
  ProbabilityTheory.HasLaw X (ProbabilityTheory.gaussianReal μ v) p →
    ∀ (t : ℝ), ProbabilityTheory.mgf X p t = Real.exp (μ * t + ↑v * t ^ 2 / 2)

The moment-generating function of a random variable with Gaussian distribution with mean μ and variance v is given by t ↦ exp (μ * t + v * t ^ 2 / 2).

theorem ProbabilityTheory.mgf_fun_id_gaussianReal E1 #

∀ {μ : ℝ} {v : NNReal},
  ProbabilityTheory.mgf (fun x ↦ x) (ProbabilityTheory.gaussianReal μ v) = fun t ↦ Real.exp (μ * t + ↑v * t ^ 2 / 2)

theorem ProbabilityTheory.mgf_id_gaussianReal E1 #

∀ {μ : ℝ} {v : NNReal},
  ProbabilityTheory.mgf id (ProbabilityTheory.gaussianReal μ v) = fun t ↦ Real.exp (μ * t + ↑v * t ^ 2 / 2)

theorem ProbabilityTheory.cgf_gaussianReal E1 #

∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {p : MeasureTheory.Measure Ω} {μ : ℝ} {v : NNReal} {X : Ω → ℝ},
  ProbabilityTheory.HasLaw X (ProbabilityTheory.gaussianReal μ v) p →
    ∀ (t : ℝ), ProbabilityTheory.cgf X p t = μ * t + ↑v * t ^ 2 / 2

The cumulant-generating function of a random variable with Gaussian distribution with mean μ and variance v is given by t ↦ μ * t + v * t ^ 2 / 2.

theorem ProbabilityTheory.integrable_exp_mul_gaussianReal E1 #

∀ {μ : ℝ} {v : NNReal} (t : ℝ), MeasureTheory.Integrable (fun x ↦ Real.exp (t * x)) (ProbabilityTheory.gaussianReal μ v)

theorem ProbabilityTheory.integrableExpSet_id_gaussianReal E0 #

∀ {μ : ℝ} {v : NNReal}, ProbabilityTheory.integrableExpSet id (ProbabilityTheory.gaussianReal μ v) = Set.univ

theorem ProbabilityTheory.integrableExpSet_fun_id_gaussianReal E0 #

∀ {μ : ℝ} {v : NNReal}, ProbabilityTheory.integrableExpSet (fun x ↦ x) (ProbabilityTheory.gaussianReal μ v) = Set.univ

theorem ProbabilityTheory.integral_id_gaussianReal E0 #

∀ {μ : ℝ} {v : NNReal}, ∫ (x : ℝ), x ∂ProbabilityTheory.gaussianReal μ v = μ

The mean of a real Gaussian distribution gaussianReal μ v is its mean parameter μ.

theorem ProbabilityTheory.variance_fun_id_gaussianReal E0 #

∀ {μ : ℝ} {v : NNReal}, ProbabilityTheory.variance (fun x ↦ x) (ProbabilityTheory.gaussianReal μ v) = ↑v

The variance of a real Gaussian distribution gaussianReal μ v is its variance parameter v.

theorem ProbabilityTheory.variance_id_gaussianReal E0 #

∀ {μ : ℝ} {v : NNReal}, ProbabilityTheory.variance id (ProbabilityTheory.gaussianReal μ v) = ↑v

The variance of a real Gaussian distribution gaussianReal μ v is its variance parameter v.

theorem ProbabilityTheory.memLp_id_gaussianReal E1 #

∀ {μ : ℝ} {v : NNReal} (p : NNReal), MeasureTheory.MemLp id (↑p) (ProbabilityTheory.gaussianReal μ v)

All the moments of a real Gaussian distribution are finite. That is, the identity is in Lp for all finite p.

theorem ProbabilityTheory.memLp_id_gaussianReal' E1 #

∀ {μ : ℝ} {v : NNReal} (p : ENNReal), p ≠ ⊤ → MeasureTheory.MemLp id p (ProbabilityTheory.gaussianReal μ v)

All the moments of a real Gaussian distribution are finite. That is, the identity is in Lp for all finite p.

theorem ProbabilityTheory.gaussianReal_ext_iff E0 #

∀ {μ₁ μ₂ : ℝ} {v₁ v₂ : NNReal},
  ProbabilityTheory.gaussianReal μ₁ v₁ = ProbabilityTheory.gaussianReal μ₂ v₂ ↔ μ₁ = μ₂ ∧ v₁ = v₂

Two real Gaussian distributions are equal iff they have the same mean and variance.

theorem ProbabilityTheory.gaussianReal_map_linearMap E1 #

∀ {μ : ℝ} {v : NNReal} (L : ℝ →ₗ[ℝ] ℝ),
  MeasureTheory.Measure.map (⇑L) (ProbabilityTheory.gaussianReal μ v) =
    ProbabilityTheory.gaussianReal (L μ) ((L 1 ^ 2).toNNReal * v)

theorem ProbabilityTheory.gaussianReal_map_continuousLinearMap E1 #

∀ {μ : ℝ} {v : NNReal} (L : ℝ →L[ℝ] ℝ),
  MeasureTheory.Measure.map (⇑L) (ProbabilityTheory.gaussianReal μ v) =
    ProbabilityTheory.gaussianReal (L μ) ((L 1 ^ 2).toNNReal * v)

theorem ProbabilityTheory.integral_linearMap_gaussianReal E0 #

∀ {μ : ℝ} {v : NNReal} (L : ℝ →ₗ[ℝ] ℝ), ∫ (x : ℝ), L x ∂ProbabilityTheory.gaussianReal μ v = L μ

theorem ProbabilityTheory.integral_continuousLinearMap_gaussianReal E0 #

∀ {μ : ℝ} {v : NNReal} (L : ℝ →L[ℝ] ℝ), ∫ (x : ℝ), L x ∂ProbabilityTheory.gaussianReal μ v = L μ

theorem ProbabilityTheory.variance_linearMap_gaussianReal E0 #

∀ {μ : ℝ} {v : NNReal} (L : ℝ →ₗ[ℝ] ℝ),
  ProbabilityTheory.variance (⇑L) (ProbabilityTheory.gaussianReal μ v) = ↑(L 1 ^ 2).toNNReal * ↑v

theorem ProbabilityTheory.variance_continuousLinearMap_gaussianReal E0 #

∀ {μ : ℝ} {v : NNReal} (L : ℝ →L[ℝ] ℝ),
  ProbabilityTheory.variance (⇑L) (ProbabilityTheory.gaussianReal μ v) = ↑(L 1 ^ 2).toNNReal * ↑v

theorem ProbabilityTheory.gaussianReal_conv_gaussianReal E1 #

∀ {m₁ m₂ : ℝ} {v₁ v₂ : NNReal},
  (ProbabilityTheory.gaussianReal m₁ v₁).conv (ProbabilityTheory.gaussianReal m₂ v₂) =
    ProbabilityTheory.gaussianReal (m₁ + m₂) (v₁ + v₂)

The convolution of two real Gaussian distributions with means m₁, m₂ and variances v₁, v₂ is a real Gaussian distribution with mean m₁ + m₂ and variance v₁ + v₂.

theorem ProbabilityTheory.gaussianReal_add_gaussianReal_of_indepFun E1 #

∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {m₁ m₂ : ℝ} {v₁ v₂ : NNReal} {X Y : Ω → ℝ},
  ProbabilityTheory.IndepFun X Y P →
    ProbabilityTheory.HasLaw X (ProbabilityTheory.gaussianReal m₁ v₁) P →
      ProbabilityTheory.HasLaw Y (ProbabilityTheory.gaussianReal m₂ v₂) P →
        MeasureTheory.Measure.map (X + Y) P = ProbabilityTheory.gaussianReal (m₁ + m₂) (v₁ + v₂)

Deprecated aliases

NameNew nameSince
ProbabilityTheory.noAtoms_gaussianRealProbabilityTheory.nullSingletonClass_gaussianReal2026-06-09