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.ProbabilityMassFunction.Integrals

2 declarations. Mathlib docs · Source

theorem PMF.integral_eq_tsum E1 #

∀ {α : Type u_1} [inst : MeasurableSpace α] [MeasurableSingletonClass α] {E : Type u_2} [inst_2 : NormedAddCommGroup E]
  [inst_3 : NormedSpace ℝ E] [CompleteSpace E] (p : PMF α) (f : α → E),
  MeasureTheory.Integrable f p.toMeasure → ∫ (a : α), f a ∂p.toMeasure = ∑' (a : α), (p a).toReal • f a

theorem PMF.integral_eq_sum E1 #

∀ {α : Type u_1} [inst : MeasurableSpace α] [MeasurableSingletonClass α] {E : Type u_2} [inst_2 : NormedAddCommGroup E]
  [inst_3 : NormedSpace ℝ E] [CompleteSpace E] [inst_5 : Fintype α] (p : PMF α) (f : α → E),
  ∫ (a : α), f a ∂p.toMeasure = ∑ a, (p a).toReal • f a