Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Expectation under selected size-biased coordinates

Proved
ZeroFreeRRG.Hardcore.size_bias_coupling_expectation

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

For independent copies of a coupling of a nonnegative integrable law μ\muμ and its size-biased law, select the size-biased coordinate in an index set SSS and the original coordinate elsewhere. For any measurable real-valued function KKK, its integral under the selected vector equals its integral under μ⊗d\mu^{\otimes d}μ⊗d weighted by

∏i∈Smax⁡(xi,0).\prod_{i\in S}\max(x_i,0).i∈S∏​max(xi​,0).

The identity also holds under Lean’s convention for nonintegrable Bochner integrals.

Preamble
import Mathlib
set_option autoImplicit false
open MeasureTheory Set
open scoped Classical BigOperators ENNReal
Formal statement
theorem ZeroFreeRRG.Hardcore.size_bias_coupling_expectation (d : ℕ) (S : Finset (Fin d)) (μ : Measure ℝ) [IsProbabilityMeasure μ]
    (hint : Integrable (fun x : ℝ => x) μ) (hpos : ∀ᵐ x ∂μ, 0 ≤ x)
    (π : Measure (ℝ × ℝ)) [IsProbabilityMeasure π]
    (hfst : Measure.map Prod.fst π = μ)
    (hsnd : Measure.map Prod.snd π = μ.withDensity (fun x => ENNReal.ofReal x))
    (K : (Fin d → ℝ) → ℝ) (hK : Measurable K) :
    (∫ xs : Fin d → ℝ × ℝ, K (fun i => if i ∈ S then (xs i).2 else (xs i).1)
       ∂(Measure.pi fun _ : Fin d => π)) =
    ∫ xs : Fin d → ℝ, (∏ i, if i ∈ S then max (xs i) 0 else 1) * K xs
       ∂(Measure.pi fun _ : Fin d => μ) := by sorry
Source
Chen–Wang–Zhang, Zero-Freeness for Random Regular Graphs up to the Replica Symmetry Breaking Threshold, https://github.com/sigact-stoc/stoc2027/releases/download/papers-1/1461.pdf, proof of Lemma 4.17, pp. 29–31.

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