Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Moments Of A Normalized Sum Of Independent Copies

Proved
FunctionalInequalities.Probability.pi_normalizedSum_moments_readable

by Lazyfill · Oct 26, 2026 · Mathlib 0df444a (Lean v4.33.1)

functional-inequalitieskls-conjecturekls-modularkls-readablelog-concave

This statement gives the first two moments of a normalized sum under a finite product measure.

Let μ\muμ be a probability measure on a measurable space EEE, and let f:E→Rf:E\to\mathbb Rf:E→R satisfy f∈L2(μ)f\in L^2(\mu)f∈L2(μ),

∫f dμ=0,∫f2 dμ=1.\int f\,d\mu=0,\qquad \int f^2\,d\mu=1.∫fdμ=0,∫f2dμ=1.

For every integer N>0N>0N>0, the function on EFin⁡NE^{\operatorname{Fin}N}EFinN defined by

SN(x)=∑i=1Nf(xi)NS_N(x)=\frac{\sum_{i=1}^N f(x_i)}{\sqrt N}SN​(x)=N​∑i=1N​f(xi​)​

is in L2(μ⊗N)L^2(\mu^{\otimes N})L2(μ⊗N) and satisfies

∫SN dμ⊗N=0,∫SN2 dμ⊗N=1.\int S_N\,d\mu^{\otimes N}=0, \qquad \int S_N^2\,d\mu^{\otimes N}=1.∫SN​dμ⊗N=0,∫SN2​dμ⊗N=1.

This is the standard moment calculation for normalized independent copies and is used to establish isotropy of suspension coordinates.

Formalization Note. The conclusion includes an explicit MemLp witness; the product measure is Measure.pi and N>0N>0N>0 is required.

Original Lean declaration header

Within namespace FunctionalInequalities.Probability. Shown in its original module context. Proof omitted.

theorem pi_normalizedSum_moments
    (μ : Measure E) [IsProbabilityMeasure μ] (f : E → ℝ) (hf2 : MemLp f 2 μ)
    (hf0 : ∫ x, f x ∂μ = 0) (hf1 : ∫ x, f x ^ 2 ∂μ = 1)
    (N : ℕ) (hN : 0 < N) :
    MemLp (fun x : Fin N → E => (∑ i, f (x i)) / Real.sqrt N) 2
      (Measure.pi (fun _ : Fin N => μ)) ∧
      (∫ x : Fin N → E, (∑ i, f (x i)) / Real.sqrt N
        ∂(Measure.pi (fun _ : Fin N => μ))) = 0 ∧
      (∫ x : Fin N → E, ((∑ i, f (x i)) / Real.sqrt N) ^ 2
        ∂(Measure.pi (fun _ : Fin N => μ))) = 1

Module navigation

Module: Probability/Product.

Previous: lintegral_pi_prod_fin · Next: integral_mul_comp_eval_pi.

Source excerpt, lines 77–86 · Frozen source 408915f.

Preamble
import Definitions.Def_KLSModular_FunctionalInequalities_Probability_Product

open MeasureTheory ProbabilityTheory Filter
variable {E : Type*}
variable [MeasurableSpace E]
Formal statement

theorem FunctionalInequalities.Probability.pi_normalizedSum_moments_readable
    (μ : Measure E) [IsProbabilityMeasure μ] (f : E → ℝ) (hf2 : MemLp f 2 μ)
    (hf0 : ∫ x, f x ∂μ = 0) (hf1 : ∫ x, f x ^ 2 ∂μ = 1)
    (N : ℕ) (hN : 0 < N) :
    MemLp (fun x : Fin N → E => (∑ i, f (x i)) / Real.sqrt N) 2
      (Measure.pi (fun _ : Fin N => μ)) ∧
      (∫ x : Fin N → E, (∑ i, f (x i)) / Real.sqrt N
        ∂(Measure.pi (fun _ : Fin N => μ))) = 0 ∧
      (∫ x : Fin N → E, ((∑ i, f (x i)) / Real.sqrt N) ^ 2
        ∂(Measure.pi (fun _ : Fin N => μ))) = 1 := by sorry
Source
Lean source: https://github.com/human-ai-mathematics/kls-lean/blob/408915f/formalization/FunctionalInequalities/Probability/Product.lean#L75-L132 (repository human-ai-mathematics/kls-lean, commit 408915f, module `FunctionalInequalities.Probability.Product`, declaration `FunctionalInequalities.Probability.pi_normalizedSum_moments`; the repository is private at upload time).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me