Bienaymé's formula
ProvedFamousTheorems.bienayme_formulaBienaymé's formula. Let be pairwise independent real random variables with finite second moments. Then
The variance of a sum of uncorrelated variables is the sum of the variances. With Chebyshev's inequality this gives the weak law of large numbers, and it is the reason the standard deviation of an average of independent samples scales like .
Formalization note. Mathlib's ProbabilityTheory.IndepFun.variance_sum. The variables are indexed by a finset s, finite second moment is MemLp (X i) 2 μ, and only pairwise independence is assumed. ProbabilityTheory.variance is the variance with respect to μ.
Preamble
import Mathlib
Formal statement
namespace FamousTheorems
theorem bienayme_formula {Ω ι : Type*} {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {X : ι → Ω → ℝ} {s : Finset ι}
(hs : ∀ i ∈ s, MeasureTheory.MemLp (X i) 2 μ)
(h : (s : Set ι).Pairwise fun i j => ProbabilityTheory.IndepFun (X i) (X j) μ) :
ProbabilityTheory.variance (∑ i ∈ s, X i) μ = ∑ i ∈ s, ProbabilityTheory.variance (X i) μ := by sorry
end FamousTheoremsSource
Listed in Mathlib's curated theorem manifests (docs/1000.yaml); formalized in Mathlib as `ProbabilityTheory.IndepFun.variance_sum`. Proof here reduces to that Mathlib result.