Mathlib.Probability.Independence.Integration
31 declarations. Mathlib docs · Source
Integration in Probability Theory
Integration results for independent random variables. Specifically, for two
independent random variables X and Y over the extended non-negative
reals, E[X * Y] = E[X] * E[Y], and similar results.
Implementation notes
Many lemmas in this file take two arguments of the same typeclass. It is worth remembering that lean
will always pick the later typeclass in this situation, and does not care whether the arguments are
[], {}, or (). All of these use the MeasurableSpace M2 to define μ:
example {M1 : MeasurableSpace Ω} [M2 : MeasurableSpace Ω] {μ : Measure Ω} : sorry := sorry
example [M1 : MeasurableSpace Ω] {M2 : MeasurableSpace Ω} {μ : Measure Ω} : sorry := sorry
theorem ProbabilityTheory.lintegral_mul_indicator_eq_lintegral_mul_lintegral_indicator E1 #
∀ {Ω : Type u_1} {f : Ω → ENNReal} {Mf mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω},
Mf ≤ mΩ →
∀ (c : ENNReal) {T : Set Ω},
MeasurableSet T →
ProbabilityTheory.IndepSets {s | MeasurableSet s} {T} μ →
Measurable f →
∫⁻ (ω : Ω), f ω * T.indicator (fun x ↦ c) ω ∂μ =
(∫⁻ (ω : Ω), f ω ∂μ) * ∫⁻ (ω : Ω), T.indicator (fun x ↦ c) ω ∂μ
If a random variable f in ℝ≥0∞ is independent of an event T, then if you restrict the
random variable to T, then E[f * indicator T c 0]=E[f] * E[indicator T c 0]. It is useful for
lintegral_mul_eq_lintegral_mul_lintegral_of_independent_measurableSpace.
theorem ProbabilityTheory.lintegral_mul_eq_lintegral_mul_lintegral_of_independent_measurableSpace E1 #
∀ {Ω : Type u_1} {f g : Ω → ENNReal} {Mf Mg mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω},
Mf ≤ mΩ →
Mg ≤ mΩ →
ProbabilityTheory.Indep Mf Mg μ →
Measurable f → Measurable g → ∫⁻ (ω : Ω), f ω * g ω ∂μ = (∫⁻ (ω : Ω), f ω ∂μ) * ∫⁻ (ω : Ω), g ω ∂μ
If f and g are independent random variables with values in ℝ≥0∞,
then E[f * g] = E[f] * E[g]. However, instead of directly using the independence
of the random variables, it uses the independence of measurable spaces for the
domains of f and g. This is similar to the sigma-algebra approach to
independence. See lintegral_mul_eq_lintegral_mul_lintegral_of_indepFun for
a more common variant of the product of independent variables.
theorem ProbabilityTheory.lintegral_mul_eq_lintegral_mul_lintegral_of_indepFun E1 #
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {f g : Ω → ENNReal},
Measurable f →
Measurable g →
ProbabilityTheory.IndepFun f g μ → ∫⁻ (ω : Ω), (f * g) ω ∂μ = (∫⁻ (ω : Ω), f ω ∂μ) * ∫⁻ (ω : Ω), g ω ∂μ
If f and g are independent random variables with values in ℝ≥0∞,
then E[f * g] = E[f] * E[g].
theorem ProbabilityTheory.lintegral_mul_eq_lintegral_mul_lintegral_of_indepFun' E1 #
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {f g : Ω → ENNReal},
AEMeasurable f μ →
AEMeasurable g μ →
ProbabilityTheory.IndepFun f g μ → ∫⁻ (ω : Ω), (f * g) ω ∂μ = (∫⁻ (ω : Ω), f ω ∂μ) * ∫⁻ (ω : Ω), g ω ∂μ
If f and g with values in ℝ≥0∞ are independent and almost everywhere measurable,
then E[f * g] = E[f] * E[g] (slightly generalizing
lintegral_mul_eq_lintegral_mul_lintegral_of_indepFun).
theorem ProbabilityTheory.lintegral_mul_eq_lintegral_mul_lintegral_of_indepFun'' E1 #
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {f g : Ω → ENNReal},
AEMeasurable f μ →
AEMeasurable g μ →
ProbabilityTheory.IndepFun f g μ → ∫⁻ (ω : Ω), f ω * g ω ∂μ = (∫⁻ (ω : Ω), f ω ∂μ) * ∫⁻ (ω : Ω), g ω ∂μ
theorem ProbabilityTheory.lintegral_prod_eq_prod_lintegral_of_indepFun E1 #
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ι : Type u_3} (s : Finset ι)
(X : ι → Ω → ENNReal),
ProbabilityTheory.iIndepFun X μ →
(∀ (i : ι), Measurable (X i)) → ∫⁻ (ω : Ω), ∏ i ∈ s, X i ω ∂μ = ∏ i ∈ s, ∫⁻ (ω : Ω), X i ω ∂μ
theorem ProbabilityTheory.IndepFun.integrable_op E1 #
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {E : Type u_5} {F : Type u_6} {G : Type u_7}
[inst : TopologicalSpace E] [inst_1 : ContinuousENorm E] [inst_2 : MeasurableSpace E] [OpensMeasurableSpace E]
[inst_4 : TopologicalSpace F] [inst_5 : ContinuousENorm F] [inst_6 : MeasurableSpace F] [OpensMeasurableSpace F]
[inst_8 : TopologicalSpace G] [inst_9 : ContinuousENorm G] {X : Ω → E} {Y : Ω → F},
ProbabilityTheory.IndepFun X Y μ →
MeasureTheory.Integrable X μ →
MeasureTheory.Integrable Y μ →
∀ (B : E → F → G),
Continuous (Function.uncurry B) →
∀ (C : NNReal),
(∀ (x : E) (y : F), ‖B x y‖ₑ ≤ ↑C * ‖x‖ₑ * ‖y‖ₑ) → MeasureTheory.Integrable (fun ω ↦ B (X ω) (Y ω)) μ
If X and Y are two independent and integrable random variables, and B is a function of
two variables such that ‖B x y‖ₑ ≤ C * ‖x‖ₑ * ‖y‖ₑ, then B X Y is integrable.
This is useful in particular if B is a continuous bilinear map.
theorem ProbabilityTheory.IndepFun.integrable_bilin E1 #
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {E : Type u_5} {F : Type u_6} {G : Type u_7}
{𝕜 : Type u_8} [inst : NontriviallyNormedField 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E]
[inst_3 : MeasurableSpace E] [OpensMeasurableSpace E] [inst_5 : SeminormedAddCommGroup F] [inst_6 : NormedSpace 𝕜 F]
[inst_7 : MeasurableSpace F] [OpensMeasurableSpace F] [inst_9 : SeminormedAddCommGroup G] [inst_10 : NormedSpace 𝕜 G]
{X : Ω → E} {Y : Ω → F},
ProbabilityTheory.IndepFun X Y μ →
MeasureTheory.Integrable X μ →
MeasureTheory.Integrable Y μ → ∀ (B : E →L[𝕜] F →L[𝕜] G), MeasureTheory.Integrable (fun ω ↦ (B (X ω)) (Y ω)) μ
A continuous bilinear map applied to two independent and integrable random variables is integrable.
theorem ProbabilityTheory.IndepFun.integrable_left_of_integrable_op E1 #
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {E : Type u_5} {F : Type u_6} {G : Type u_7}
[inst : TopologicalSpace E] [inst_1 : ContinuousENorm E] [inst_2 : MeasurableSpace E] [OpensMeasurableSpace E]
[inst_4 : NormedAddGroup F] [inst_5 : MeasurableSpace F] [OpensMeasurableSpace F] [inst_7 : TopologicalSpace G]
[inst_8 : ContinuousENorm G] {X : Ω → E} {Y : Ω → F},
ProbabilityTheory.IndepFun X Y μ →
∀ (B : E → F → G) (c : NNReal),
c ≠ 0 →
(∀ (x : E) (y : F), ↑c * ‖x‖ₑ * ‖y‖ₑ ≤ ‖B x y‖ₑ) →
MeasureTheory.Integrable (fun ω ↦ B (X ω) (Y ω)) μ →
MeasureTheory.AEStronglyMeasurable X μ →
MeasureTheory.AEStronglyMeasurable Y μ → ¬Y =ᵐ[μ] 0 → MeasureTheory.Integrable X μ
If X and Y are two independent random variables, B X Y is integrable, Y is not
almost-surely 0 and c * ‖x‖ₑ * ‖y‖ₑ ≤ ‖B x y‖ₑ, then X is integrable.
This is useful for the case where B is scalar multiplication, as it will allow to drop
integrability hypotheses.
theorem ProbabilityTheory.IndepFun.integrable_right_of_integrable_op E1 #
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {E : Type u_5} {F : Type u_6} {G : Type u_7}
[inst : NormedAddGroup E] [inst_1 : MeasurableSpace E] [OpensMeasurableSpace E] [inst_3 : TopologicalSpace F]
[inst_4 : ContinuousENorm F] [inst_5 : MeasurableSpace F] [OpensMeasurableSpace F] [inst_7 : TopologicalSpace G]
[inst_8 : ContinuousENorm G] {X : Ω → E} {Y : Ω → F},
ProbabilityTheory.IndepFun X Y μ →
∀ (B : E → F → G) (c : NNReal),
c ≠ 0 →
(∀ (x : E) (y : F), ↑c * ‖x‖ₑ * ‖y‖ₑ ≤ ‖B x y‖ₑ) →
MeasureTheory.Integrable (fun ω ↦ B (X ω) (Y ω)) μ →
MeasureTheory.AEStronglyMeasurable X μ →
MeasureTheory.AEStronglyMeasurable Y μ → ¬X =ᵐ[μ] 0 → MeasureTheory.Integrable Y μ
If X and Y are two independent random variables, B X Y is integrable, X is not
almost-surely 0 and c * ‖x‖ₑ * ‖y‖ₑ ≤ ‖B x y‖ₑ, then Y is integrable.
This is useful for the case where B is scalar multiplication, as it will allow to drop
integrability hypotheses.
theorem ProbabilityTheory.IndepFun.integral_bilin_comp_comp E1 #
∀ {Ω : Type u_1} {𝕜 : Type u_2} [inst : RCLike 𝕜] {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {𝓧 : Type u_3}
{𝓨 : Type u_4} {E : Type u_5} {F : Type u_6} {G : Type u_7} [inst_1 : MeasurableSpace 𝓧] [inst_2 : MeasurableSpace 𝓨]
[inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace ℝ E] [inst_5 : NormedSpace 𝕜 E] [CompleteSpace E]
[inst_7 : NormedAddCommGroup F] [inst_8 : NormedSpace ℝ F] [inst_9 : NormedSpace 𝕜 F] [CompleteSpace F]
[inst_11 : NormedAddCommGroup G] [inst_12 : NormedSpace ℝ G] [inst_13 : NormedSpace 𝕜 G] [CompleteSpace G] {X : Ω → 𝓧}
{Y : Ω → 𝓨} {f : 𝓧 → E} {g : 𝓨 → F},
ProbabilityTheory.IndepFun X Y μ →
AEMeasurable X μ →
AEMeasurable Y μ →
MeasureTheory.Integrable f (MeasureTheory.Measure.map X μ) →
MeasureTheory.Integrable g (MeasureTheory.Measure.map Y μ) →
∀ (B : E →L[𝕜] F →L[𝕜] G),
∫ (ω : Ω), (B (f (X ω))) (g (Y ω)) ∂μ = (B (∫ (ω : Ω), f (X ω) ∂μ)) (∫ (ω : Ω), g (Y ω) ∂μ)
If X and Y are independent random variables such that f(X) and g(Y) are integrable
and B is a continuous bilinear map, then
∫ ω, B (f (X ω)) (g (Y ω)) ∂μ = B (∫ ω, f (X ω) ∂μ) (∫ ω, g (Y ω) ∂μ).
theorem ProbabilityTheory.IndepFun.integral_bilin_comp_comp' E1 #
∀ {Ω : Type u_1} {𝕜 : Type u_2} [inst : RCLike 𝕜] {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {𝓧 : Type u_3}
{𝓨 : Type u_4} {E : Type u_5} {F : Type u_6} {G : Type u_7} [inst_1 : MeasurableSpace 𝓧] [inst_2 : MeasurableSpace 𝓨]
[inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace ℝ E] [inst_5 : NormedSpace 𝕜 E] [CompleteSpace E]
[inst_7 : NormedAddCommGroup F] [inst_8 : NormedSpace ℝ F] [inst_9 : NormedSpace 𝕜 F] [CompleteSpace F]
[inst_11 : NormedAddCommGroup G] [inst_12 : NormedSpace ℝ G] [inst_13 : NormedSpace 𝕜 G] [CompleteSpace G] {X : Ω → 𝓧}
{Y : Ω → 𝓨} {f : 𝓧 → E} {g : 𝓨 → F},
ProbabilityTheory.IndepFun X Y μ →
AEMeasurable X μ →
AEMeasurable Y μ →
MeasureTheory.AEStronglyMeasurable f (MeasureTheory.Measure.map X μ) →
MeasureTheory.AEStronglyMeasurable g (MeasureTheory.Measure.map Y μ) →
∀ (B : E →L[𝕜] F →L[𝕜] G) (c : NNReal),
c ≠ 0 →
(∀ (x : E) (y : F), ↑c * ‖x‖ * ‖y‖ ≤ ‖(B x) y‖) →
∫ (ω : Ω), (B (f (X ω))) (g (Y ω)) ∂μ = (B (∫ (ω : Ω), f (X ω) ∂μ)) (∫ (ω : Ω), g (Y ω) ∂μ)
If X and Y are random variables and B is a continuous bilinear map
such that ∀ x y, c * ‖x‖ * ‖y‖ ≤ ‖B x y‖, then
∫ ω, B (f (X ω)) (g (Y ω)) ∂μ = B (∫ ω, f (X ω) ∂μ) (∫ ω, g (Y ω) ∂μ).
The assumption on B allows to drop the integrability condition in
IndepFun.integral_bilin_comp_comp, which is useful for the versions where B is the scalar
multiplication or the multiplication.
theorem ProbabilityTheory.IndepFun.integral_bilin E1 #
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {E : Type u_5} {F : Type u_6} {G : Type u_7}
[inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] [CompleteSpace E] [inst_3 : MeasurableSpace E] [BorelSpace E]
[inst_5 : NormedAddCommGroup F] [inst_6 : NormedSpace ℝ F] [CompleteSpace F] [inst_8 : MeasurableSpace F]
[BorelSpace F] [inst_10 : NormedAddCommGroup G] [inst_11 : NormedSpace ℝ G] [CompleteSpace G] {X : Ω → E} {Y : Ω → F},
ProbabilityTheory.IndepFun X Y μ →
MeasureTheory.Integrable X μ →
MeasureTheory.Integrable Y μ →
∀ (B : E →L[ℝ] F →L[ℝ] G), ∫ (ω : Ω), (B (X ω)) (Y ω) ∂μ = (B (∫ (x : Ω), X x ∂μ)) (∫ (x : Ω), Y x ∂μ)
If X and Y are independent and integrable random variables and B
is a continuous bilinear map, then ∫ ω, B (X ω) (Y ω) ∂μ = B μ[X] μ[Y].
theorem ProbabilityTheory.IndepFun.integral_bilin' E1 #
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {E : Type u_5} {F : Type u_6} {G : Type u_7}
[inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] [CompleteSpace E] [inst_3 : MeasurableSpace E] [BorelSpace E]
[inst_5 : NormedAddCommGroup F] [inst_6 : NormedSpace ℝ F] [CompleteSpace F] [inst_8 : MeasurableSpace F]
[BorelSpace F] [inst_10 : NormedAddCommGroup G] [inst_11 : NormedSpace ℝ G] [CompleteSpace G] {X : Ω → E} {Y : Ω → F},
ProbabilityTheory.IndepFun X Y μ →
MeasureTheory.AEStronglyMeasurable X μ →
MeasureTheory.AEStronglyMeasurable Y μ →
∀ (B : E →L[ℝ] F →L[ℝ] G) (c : NNReal),
c ≠ 0 →
(∀ (x : E) (y : F), ↑c * ‖x‖ * ‖y‖ ≤ ‖(B x) y‖) →
∫ (ω : Ω), (B (X ω)) (Y ω) ∂μ = (B (∫ (x : Ω), X x ∂μ)) (∫ (x : Ω), Y x ∂μ)
If X and Y are random variables and B is a continuous bilinear map
such that ∀ x y, c * ‖x‖ * ‖y‖ ≤ ‖B x y‖, then ∫ ω, B (X ω) (Y ω) ∂μ = B μ[X] μ[Y].
The assumption on B allows to drop the integrability condition in
IndepFun.integral_bilin', which is useful for the versions where B is the scalar
multiplication or the multiplication.
theorem ProbabilityTheory.IndepFun.integrable_smul E1 #
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {E : Type u_5} {F : Type u_6}
[inst : TopologicalSpace E] [inst_1 : ContinuousENorm E] [inst_2 : MeasurableSpace E] [OpensMeasurableSpace E]
[inst_4 : TopologicalSpace F] [inst_5 : ContinuousENorm F] [inst_6 : MeasurableSpace F] [OpensMeasurableSpace F]
[inst_8 : SMul E F] [ContinuousSMul E F] [ENormSMulClass E F] {X : Ω → E} {Y : Ω → F},
ProbabilityTheory.IndepFun X Y μ →
MeasureTheory.Integrable X μ → MeasureTheory.Integrable Y μ → MeasureTheory.Integrable (fun ω ↦ X ω • Y ω) μ
The scalar product of two independent and integrable random variables is integrable.
theorem ProbabilityTheory.IndepFun.integrable_mul E1 #
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {E : Type u_5} [inst : TopologicalSpace E]
[inst_1 : ContinuousENorm E] [inst_2 : Mul E] [ContinuousMul E] [ENormSMulClass E E] [inst_5 : MeasurableSpace E]
[OpensMeasurableSpace E] {X Y : Ω → E},
ProbabilityTheory.IndepFun X Y μ →
MeasureTheory.Integrable X μ → MeasureTheory.Integrable Y μ → MeasureTheory.Integrable (X * Y) μ
The product of two independent and integrable random variables is integrable.
theorem ProbabilityTheory.IndepFun.integral_fun_comp_smul_comp E1 #
∀ {Ω : Type u_1} {𝕜 : Type u_2} [inst : RCLike 𝕜] {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {𝓧 : Type u_3}
{𝓨 : Type u_4} {E : Type u_5} [inst_1 : MeasurableSpace 𝓧] [inst_2 : MeasurableSpace 𝓨]
[inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace ℝ E] [inst_5 : NormedSpace 𝕜 E] {X : Ω → 𝓧} {Y : Ω → 𝓨}
{f : 𝓧 → 𝕜} {g : 𝓨 → E},
ProbabilityTheory.IndepFun X Y μ →
AEMeasurable X μ →
AEMeasurable Y μ →
MeasureTheory.AEStronglyMeasurable f (MeasureTheory.Measure.map X μ) →
MeasureTheory.AEStronglyMeasurable g (MeasureTheory.Measure.map Y μ) →
∫ (ω : Ω), f (X ω) • g (Y ω) ∂μ = (∫ (ω : Ω), f (X ω) ∂μ) • ∫ (ω : Ω), g (Y ω) ∂μ
theorem ProbabilityTheory.IndepFun.integral_fun_comp_mul_comp E1 #
∀ {Ω : Type u_1} {𝕜 : Type u_2} [inst : RCLike 𝕜] {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {𝓧 : Type u_3}
{𝓨 : Type u_4} [inst_1 : MeasurableSpace 𝓧] [inst_2 : MeasurableSpace 𝓨] {X : Ω → 𝓧} {Y : Ω → 𝓨} {f : 𝓧 → 𝕜}
{g : 𝓨 → 𝕜},
ProbabilityTheory.IndepFun X Y μ →
AEMeasurable X μ →
AEMeasurable Y μ →
MeasureTheory.AEStronglyMeasurable f (MeasureTheory.Measure.map X μ) →
MeasureTheory.AEStronglyMeasurable g (MeasureTheory.Measure.map Y μ) →
∫ (ω : Ω), f (X ω) * g (Y ω) ∂μ = (∫ (ω : Ω), f (X ω) ∂μ) * ∫ (ω : Ω), g (Y ω) ∂μ
theorem ProbabilityTheory.IndepFun.integral_comp_smul_comp E1 #
∀ {Ω : Type u_1} {𝕜 : Type u_2} [inst : RCLike 𝕜] {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {𝓧 : Type u_3}
{𝓨 : Type u_4} {E : Type u_5} [inst_1 : MeasurableSpace 𝓧] [inst_2 : MeasurableSpace 𝓨]
[inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace ℝ E] [inst_5 : NormedSpace 𝕜 E] {X : Ω → 𝓧} {Y : Ω → 𝓨}
{f : 𝓧 → 𝕜} {g : 𝓨 → E},
ProbabilityTheory.IndepFun X Y μ →
AEMeasurable X μ →
AEMeasurable Y μ →
MeasureTheory.AEStronglyMeasurable f (MeasureTheory.Measure.map X μ) →
MeasureTheory.AEStronglyMeasurable g (MeasureTheory.Measure.map Y μ) →
∫ (x : Ω), (f ∘ X • g ∘ Y) x ∂μ = (∫ (x : Ω), (f ∘ X) x ∂μ) • ∫ (x : Ω), (g ∘ Y) x ∂μ
theorem ProbabilityTheory.IndepFun.integral_comp_mul_comp E1 #
∀ {Ω : Type u_1} {𝕜 : Type u_2} [inst : RCLike 𝕜] {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {𝓧 : Type u_3}
{𝓨 : Type u_4} [inst_1 : MeasurableSpace 𝓧] [inst_2 : MeasurableSpace 𝓨] {X : Ω → 𝓧} {Y : Ω → 𝓨} {f : 𝓧 → 𝕜}
{g : 𝓨 → 𝕜},
ProbabilityTheory.IndepFun X Y μ →
AEMeasurable X μ →
AEMeasurable Y μ →
MeasureTheory.AEStronglyMeasurable f (MeasureTheory.Measure.map X μ) →
MeasureTheory.AEStronglyMeasurable g (MeasureTheory.Measure.map Y μ) →
∫ (x : Ω), (f ∘ X * g ∘ Y) x ∂μ = (∫ (x : Ω), (f ∘ X) x ∂μ) * ∫ (x : Ω), (g ∘ Y) x ∂μ
theorem ProbabilityTheory.IndepFun.integral_smul_eq_smul_integral E1 #
∀ {Ω : Type u_1} {𝕜 : Type u_2} [inst : RCLike 𝕜] {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {E : Type u_5}
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace ℝ E] [inst_3 : NormedSpace 𝕜 E] [inst_4 : MeasurableSpace E]
[BorelSpace E] {X : Ω → 𝕜} {Y : Ω → E},
ProbabilityTheory.IndepFun X Y μ →
MeasureTheory.AEStronglyMeasurable X μ →
MeasureTheory.AEStronglyMeasurable Y μ → ∫ (x : Ω), (X • Y) x ∂μ = (∫ (x : Ω), X x ∂μ) • ∫ (x : Ω), Y x ∂μ
theorem ProbabilityTheory.IndepFun.integral_mul_eq_mul_integral E3 #
∀ {Ω : Type u_1} {𝕜 : Type u_2} [inst : RCLike 𝕜] {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {X Y : Ω → 𝕜},
ProbabilityTheory.IndepFun X Y μ →
MeasureTheory.AEStronglyMeasurable X μ →
MeasureTheory.AEStronglyMeasurable Y μ → ∫ (x : Ω), (X * Y) x ∂μ = (∫ (x : Ω), X x ∂μ) * ∫ (x : Ω), Y x ∂μ
theorem ProbabilityTheory.IndepFun.integral_fun_smul_eq_smul_integral E1 #
∀ {Ω : Type u_1} {𝕜 : Type u_2} [inst : RCLike 𝕜] {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {E : Type u_5}
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace ℝ E] [inst_3 : NormedSpace 𝕜 E] [inst_4 : MeasurableSpace E]
[BorelSpace E] {X : Ω → 𝕜} {Y : Ω → E},
ProbabilityTheory.IndepFun X Y μ →
MeasureTheory.AEStronglyMeasurable X μ →
MeasureTheory.AEStronglyMeasurable Y μ → ∫ (ω : Ω), X ω • Y ω ∂μ = (∫ (ω : Ω), X ω ∂μ) • ∫ (ω : Ω), Y ω ∂μ
theorem ProbabilityTheory.IndepFun.integral_fun_mul_eq_mul_integral E1 #
∀ {Ω : Type u_1} {𝕜 : Type u_2} [inst : RCLike 𝕜] {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {X Y : Ω → 𝕜},
ProbabilityTheory.IndepFun X Y μ →
MeasureTheory.AEStronglyMeasurable X μ →
MeasureTheory.AEStronglyMeasurable Y μ → ∫ (ω : Ω), X ω * Y ω ∂μ = (∫ (x : Ω), X x ∂μ) * ∫ (x : Ω), Y x ∂μ
theorem ProbabilityTheory.indepFun_iff_integral_comp_mul E1 #
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure μ] {β : Type u_3}
{β' : Type u_4} {mβ : MeasurableSpace β} {mβ' : MeasurableSpace β'} {f : Ω → β} {g : Ω → β'} {hfm : Measurable f}
{hgm : Measurable g},
ProbabilityTheory.IndepFun f g μ ↔
∀ {φ : β → ℝ} {ψ : β' → ℝ},
Measurable φ →
Measurable ψ →
MeasureTheory.Integrable (φ ∘ f) μ →
MeasureTheory.Integrable (ψ ∘ g) μ →
MeasureTheory.integral μ (φ ∘ f * ψ ∘ g) =
MeasureTheory.integral μ (φ ∘ f) * MeasureTheory.integral μ (ψ ∘ g)
Independence of functions f and g into arbitrary types is characterized by the relation
E[(φ ∘ f) * (ψ ∘ g)] = E[φ ∘ f] * E[ψ ∘ g] for all measurable φ and ψ with values in ℝ
satisfying appropriate integrability conditions.
theorem ProbabilityTheory.iIndepFun.integral_fun_prod_comp E1 #
∀ {Ω : Type u_1} {𝕜 : Type u_2} [inst : RCLike 𝕜] {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ι : Type u_3}
[inst_1 : Fintype ι] {𝓧 : ι → Type u_4} {m𝓧 : (i : ι) → MeasurableSpace (𝓧 i)} {X : (i : ι) → Ω → 𝓧 i}
{f : (i : ι) → 𝓧 i → 𝕜},
ProbabilityTheory.iIndepFun X μ →
(∀ (i : ι), AEMeasurable (X i) μ) →
(∀ (i : ι), MeasureTheory.AEStronglyMeasurable (f i) (MeasureTheory.Measure.map (X i) μ)) →
∫ (ω : Ω), ∏ i, f i (X i ω) ∂μ = ∏ i, ∫ (ω : Ω), f i (X i ω) ∂μ
theorem ProbabilityTheory.iIndepFun.integral_prod_comp E1 #
∀ {Ω : Type u_1} {𝕜 : Type u_2} [inst : RCLike 𝕜] {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ι : Type u_3}
[inst_1 : Fintype ι] {𝓧 : ι → Type u_4} {m𝓧 : (i : ι) → MeasurableSpace (𝓧 i)} {X : (i : ι) → Ω → 𝓧 i}
{f : (i : ι) → 𝓧 i → 𝕜},
ProbabilityTheory.iIndepFun X μ →
(∀ (i : ι), AEMeasurable (X i) μ) →
(∀ (i : ι), MeasureTheory.AEStronglyMeasurable (f i) (MeasureTheory.Measure.map (X i) μ)) →
∫ (x : Ω), (∏ i, f i ∘ X i) x ∂μ = ∏ i, ∫ (x : Ω), (f i ∘ X i) x ∂μ
theorem ProbabilityTheory.iIndepFun.integral_prod_eq_prod_integral E1 #
∀ {Ω : Type u_1} {𝕜 : Type u_2} [inst : RCLike 𝕜] {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ι : Type u_3}
[inst_1 : Fintype ι] {X : ι → Ω → 𝕜},
ProbabilityTheory.iIndepFun X μ →
(∀ (i : ι), MeasureTheory.AEStronglyMeasurable (X i) μ) → ∫ (x : Ω), (∏ i, X i) x ∂μ = ∏ i, ∫ (x : Ω), X i x ∂μ
theorem ProbabilityTheory.iIndepFun.integral_fun_prod_eq_prod_integral E1 #
∀ {Ω : Type u_1} {𝕜 : Type u_2} [inst : RCLike 𝕜] {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ι : Type u_3}
[inst_1 : Fintype ι] {X : ι → Ω → 𝕜},
ProbabilityTheory.iIndepFun X μ →
(∀ (i : ι), MeasureTheory.AEStronglyMeasurable (X i) μ) → ∫ (ω : Ω), ∏ i, X i ω ∂μ = ∏ i, ∫ (x : Ω), X i x ∂μ
theorem ProbabilityTheory.Indep.setIntegral_eq_smul E1 #
∀ {Ω : Type u_5} {𝓧 : Type u_6} {m mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} [m𝓧 : MeasurableSpace 𝓧]
{X : Ω → 𝓧} {A : Set Ω} {E : Type u_7} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E],
m ≤ mΩ →
∀ {f : 𝓧 → E},
ProbabilityTheory.Indep m (MeasurableSpace.comap X m𝓧) P →
AEMeasurable X P →
MeasurableSet A →
MeasureTheory.AEStronglyMeasurable f (MeasureTheory.Measure.map X P) →
∫ (ω : Ω) in A, f (X ω) ∂P = P.real A • ∫ (ω : Ω), f (X ω) ∂P
If a random variable X is independent of a sigma-algebra m and A is a set in m
then ∫ ω in A, f (X ω) ∂P = P.real A • ∫ ω, f (X ω) ∂P for a measurable function f : 𝓧 → E.
theorem ProbabilityTheory.Indep.setIntegral_eq_mul E1 #
∀ {Ω : Type u_5} {𝓧 : Type u_6} {m mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} [m𝓧 : MeasurableSpace 𝓧]
{X : Ω → 𝓧} {A : Set Ω},
m ≤ mΩ →
∀ {f : 𝓧 → ℝ},
ProbabilityTheory.Indep m (MeasurableSpace.comap X m𝓧) P →
AEMeasurable X P →
MeasurableSet A →
MeasureTheory.AEStronglyMeasurable f (MeasureTheory.Measure.map X P) →
∫ (ω : Ω) in A, f (X ω) ∂P = P.real A * ∫ (ω : Ω), f (X ω) ∂P
If a random variable X is independent of a sigma-algebra m and A is a set in m
then ∫ ω in A, f (X ω) ∂P = P.real A * ∫ ω, f (X ω) ∂P for a measurable function f : 𝓧 → ℝ.