Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Equation (4): nonlinearity strictly reduces the correlation of positive pairs

Proved
LeJEPAWorldModel.correlation_le_rho

by Xeroth · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

gaussian-measurehermite-polynomialsidentifiabilityself-supervised-learningworld-models

Let 0<ρ<10<\rho<10<ρ<1 and let (z,z′)(z,z')(z,z′) be a positive pair of the Gaussian world. Let f:RN→Rf:\mathbb R^N\to\mathbb Rf:RN→R be measurable with E[f(z)]=0\mathbb E[f(z)]=0E[f(z)]=0 and E[f(z)2]=1\mathbb E[f(z)^2]=1E[f(z)2]=1. Then

E[f(z′) f(z)]≤ρ,\mathbb E\big[f(z')\,f(z)\big]\le\rho,E[f(z′)f(z)]≤ρ,

with equality if and only if fff is linear, that is, f(z)=⟨q,z⟩f(z)=\langle q,z\ranglef(z)=⟨q,z⟩ for γN\gamma_NγN​-almost every zzz, for some q∈RNq\in\mathbb R^Nq∈RN.

This is the spectral bound (4): every nonlinear distortion of a coordinate of the representation strictly lowers the correlation between positive pairs.

Formalization Note The paper writes the left side as ∑dwdρd\sum_dw_d\rho^d∑d​wd​ρd. Only the bound and its equality case are stated here. The Hermite decomposition behind (4) is the separate statement for Mehler's formula (24). Linearity is stated almost everywhere, because fff is determined only up to null sets.

Preamble
import Mathlib
import Definitions.Def_LeJEPAWorldModel_Basic

open MeasureTheory ProbabilityTheory Filter Topology
open scoped ENNReal
Formal statement
namespace LeJEPAWorldModel

theorem correlation_le_rho (N : ℕ) (ρ : ℝ) (hρ0 : 0 < ρ) (hρ1 : ρ < 1)
    (f : (Fin N → ℝ) → ℝ) (hf : Measurable f) (hmean : ∫ z, f z ∂stdGaussian N = 0)
    (hvar : ∫ z, f z ^ 2 ∂stdGaussian N = 1) :
    ∫ p, f p.2 * f p.1 ∂ouPairLaw N ρ ≤ ρ ∧
    (∫ p, f p.2 * f p.1 ∂ouPairLaw N ρ = ρ ↔
      ∃ q : Fin N → ℝ, ∀ᵐ z ∂stdGaussian N, f z = ∑ j, q j * z j) := by sorry

end LeJEPAWorldModel
Source
Klindt, LeCun and Balestriero, When Does LeJEPA Learn a World Model?, arXiv:2605.26379v2 (2026), Section 3, eq. (4), p. 5; proof in Appendix A.3, Step 3, eqs. (25)-(28), p. 22
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Let NNN be a natural number, and let γN\gamma_NγN​ denote the standard Gaussian measure on RN\mathbb{R}^NRN: the product of NNN copies of the one-dimensional normal law N(0,1)\mathcal{N}(0,1)N(0,1), i.e. N(0,IN)\mathcal{N}(0, I_N)N(0,IN​).

For a real number ρ\rhoρ, let πN,ρ\pi_{N,\rho}πN,ρ​ denote the law of the pair (z,z′)(z, z')(z,z′) on RN×RN\mathbb{R}^N \times \mathbb{R}^NRN×RN obtained by drawing z,η∼γNz, \eta \sim \gamma_Nz,η∼γN​ independently and setting

z′=ρ z+1−ρ2 η.z' = \rho\, z + \sqrt{1-\rho^2}\,\eta .z′=ρz+1−ρ2​η.

Formally, πN,ρ\pi_{N,\rho}πN,ρ​ is the pushforward of γN⊗γN\gamma_N \otimes \gamma_NγN​⊗γN​ under (z,η)↦(z, ρz+1−ρ2 η)(z,\eta) \mapsto \big(z,\ \rho z + \sqrt{1-\rho^2}\,\eta\big)(z,η)↦(z, ρz+1−ρ2​η).

Hypotheses. The theorem concerns:

  • a natural number NNN;
  • a real number ρ\rhoρ with 0<ρ<10 < \rho < 10<ρ<1, both inequalities strict;
  • a Borel-measurable function f:RN→Rf : \mathbb{R}^N \to \mathbb{R}f:RN→R satisfying
∫f(z) dγN(z)=0and∫f(z)2 dγN(z)=1.\int f(z)\, d\gamma_N(z) = 0 \qquad\text{and}\qquad \int f(z)^2\, d\gamma_N(z) = 1 .∫f(z)dγN​(z)=0and∫f(z)2dγN​(z)=1.

All integrals are under the convention that the integral of a non-integrable function is defined to be 000. Under this convention, the second condition forces f2f^2f2 to be γN\gamma_NγN​-integrable, since otherwise its integral would be 0≠10 \neq 10=1.

When N=0N = 0N=0, R0\mathbb{R}^0R0 is a single point and γ0\gamma_0γ0​ is the unit mass there. Then fff is a single constant ccc, the two conditions read c=0c = 0c=0 and c2=1c^2 = 1c2=1, and they cannot hold together. So for N=0N = 0N=0 the statement is vacuously true.

Conclusion. Write

C(f)=∫f(z′) f(z)  dπN,ρ(z,z′)C(f) = \int f(z')\, f(z)\; d\pi_{N,\rho}(z, z')C(f)=∫f(z′)f(z)dπN,ρ​(z,z′)

(again with the value 000 if the integrand is not integrable). The theorem asserts both of the following:

  1. C(f)≤ρC(f) \le \rhoC(f)≤ρ.
  2. C(f)=ρC(f) = \rhoC(f)=ρ if and only if there exists a vector q=(q1,…,qN)∈RNq = (q_1, \dots, q_N) \in \mathbb{R}^Nq=(q1​,…,qN​)∈RN such that
f(z)=∑j=1Nqj zjfor γN-almost every z.f(z) = \sum_{j=1}^{N} q_j\, z_j \quad \text{for } \gamma_N\text{-almost every } z .f(z)=j=1∑N​qj​zj​for γN​-almost every z.

In part 2, nothing further is required of qqq on the right-hand side; any constraint on qqq (such as ∑jqj2=1\sum_j q_j^2 = 1∑j​qj2​=1) comes only from the standing hypotheses on fff.

Human review
  • Endorsed by Shuze Chen · Nov 23, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 23, 2026

    Confirmed by the mission captain (proposal self-audit).

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