Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Moments of the averaged randomized marginal estimator

Proved
CountingLLL.RandomRAM.replicate_average_moments

by wcysai · Nov 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

probability

Let L be a positive integer and let R_1,...,R_L be independent square-integrable real random variables, each with mean r and variance at most 3p. Then X=1-(R_1+...+R_L)/L is square-integrable, has mean 1-r, and has variance at most 3p/L. This is the independent-replicate averaging step in the randomized counting proof, once the single-invocation moments from Lemma 5.6 are available.

Preamble
import Mathlib
open MeasureTheory ProbabilityTheory
open scoped ENNReal BigOperators
Formal statement
theorem CountingLLL.RandomRAM.replicate_average_moments {Ω : Type} [MeasurableSpace Ω] (μ : Measure Ω)
    [IsProbabilityMeasure μ] (L : ℕ) (hL : 0 < L) (R : Fin L → Ω → ℝ) (r p : ℝ)
    (hind : iIndepFun R μ) (hL2 : ∀ j, MemLp (R j) 2 μ)
    (hmean : ∀ j, (∫ ω, R j ω ∂μ) = r)
    (hvar : ∀ j, variance (R j) μ ≤ 3 * p) :
    let X : Ω → ℝ := fun ω => 1 - (L : ℝ)⁻¹ * ∑ j, R j ω
    MemLp X 2 μ ∧ (∫ ω, X ω ∂μ) = 1 - r ∧ variance X μ ≤ 3 * p / L := by sorry
Source
Liu, Wang, Yin, Zhang, Zhou, A Counting and Sampling Lovasz Local Lemma, STOC submission #442, proof of Theorem 1.3, Section 5.3, PDF pp.20-21, https://github.com/sigact-stoc/stoc2027/releases/download/papers-1/442.pdf

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me