Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Product expectation with one distinguished coordinate

Proved
ZeroFreeRRG.Hardcore.product_coordinate_integral

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

For independent identically distributed real variables (Xj)j<d(X_j)_{j<d}(Xj​)j<d​ and real functions aj,ba_j,baj​,b, the integral of (∏jaj(Xj))b(Xi)(\prod_j a_j(X_j))b(X_i)(∏j​aj​(Xj​))b(Xi​) equals

(∫ai(x)b(x) dμ(x))∏j≠i(∫aj(x) dμ(x)).\left(\int a_i(x)b(x)\,d\mu(x)\right)\prod_{j\ne i}\left(\int a_j(x)\,d\mu(x)\right).(∫ai​(x)b(x)dμ(x))j=i∏​(∫aj​(x)dμ(x)).

The identity follows the Bochner integral convention even when the functions are not integrable.

Preamble
import Mathlib
set_option autoImplicit false
open MeasureTheory
open scoped Classical BigOperators
Formal statement
theorem ZeroFreeRRG.Hardcore.product_coordinate_integral (d : ℕ) (μ : Measure ℝ) [IsProbabilityMeasure μ]
    (a : Fin d → ℝ → ℝ) (b : ℝ → ℝ) (i : Fin d) :
    (∫ xs : Fin d → ℝ, (∏ j, a j (xs j)) * b (xs i)
       ∂(Measure.pi fun _ : Fin d => μ)) =
      (∫ x, a i x * b x ∂μ) * ∏ j ∈ Finset.univ.erase i, (∫ x, a j x ∂μ) := by sorry
Source
Standard product integration identity; used in 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