Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3: approximate identifiability

Proved
LeJEPAWorldModel.approximate_identifiability

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

gaussian-measurehermite-polynomialsidentifiabilityself-supervised-learningworld-models

Consider the Gaussian world with 0<ρ<10<\rho<10<ρ<1, and let h:RN→RNh:\mathbb R^N\to\mathbb R^Nh:RN→RN be measurable with square-integrable coordinates and E[h(z)]=0\mathbb E[h(z)]=0E[h(z)]=0. Suppose:

  1. approximate alignment: L(h)≤2(1−ρ) tr Cov(h(z))+δ\mathcal L(h)\le2(1-\rho)\,\mathrm{tr}\,\mathrm{Cov}(h(z))+\deltaL(h)≤2(1−ρ)trCov(h(z))+δ;
  2. approximate whitening: ∥Cov(h(z))−IN∥F≤ε\|\mathrm{Cov}(h(z))-I_N\|_F\le\varepsilon∥Cov(h(z))−IN​∥F​≤ε.

Let D=δ/(2ρ(1−ρ))D=\delta/(2\rho(1-\rho))D=δ/(2ρ(1−ρ)). Then there exists Q∈O(N)Q\in O(N)Q∈O(N) such that

E[∥h(z)−Qz∥2]≤D+(ε+D)2.\mathbb E\big[\|h(z)-Qz\|^2\big]\le D+(\varepsilon+D)^2.E[∥h(z)−Qz∥2]≤D+(ε+D)2.

The bound has a nonlinearity term DDD and a distortion term (ε+D)2(\varepsilon+D)^2(ε+D)2. Both vanish when δ=ε=0\delta=\varepsilon=0δ=ε=0, so identifiability degrades gracefully when the two LeJEPA objectives are only approximately met.

Formalization Note Square-integrability of h(z)h(z)h(z) is implicit in the paper, which uses Cov(h(z))\mathrm{Cov}(h(z))Cov(h(z)). Here it is an explicit hypothesis.

Preamble
import Mathlib
import Definitions.Def_LeJEPAWorldModel_Basic

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

theorem approximate_identifiability (N : ℕ) (ρ δ ε : ℝ) (hρ0 : 0 < ρ) (hρ1 : ρ < 1)
    (h : (Fin N → ℝ) → Fin N → ℝ) (hmeas : Measurable h)
    (hL2 : ∀ i, MemLp (fun z => h z i) 2 (stdGaussian N))
    (hmean : ∀ i, ∫ z, h z i ∂stdGaussian N = 0)
    (halign : alignLoss N ρ h ≤ 2 * (1 - ρ) * (covMat N h).trace + δ)
    (hwhite : frobNorm (covMat N h - 1) ≤ ε) :
    ∃ Q ∈ Matrix.orthogonalGroup (Fin N) ℝ,
      ∫ z, sqNorm (h z - Q.mulVec z) ∂stdGaussian N ≤
        δ / (2 * ρ * (1 - ρ)) + (ε + δ / (2 * ρ * (1 - ρ))) ^ 2 := by sorry

end LeJEPAWorldModel
Source
Klindt, LeCun and Balestriero, When Does LeJEPA Learn a World Model?, arXiv:2605.26379v2 (2026), Section 4.3, Theorem 3, eq. (5), p. 6; proof in Appendix C, pp. 24-26
Read-back

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

Setting. Fix a natural number NNN; N=0N = 0N=0 is allowed, in which case R0\mathbb{R}^0R0 is a single point and every quantity below is 000. Fix real numbers ρ,δ,ε\rho, \delta, \varepsilonρ,δ,ε. Let γN=N(0,IN)\gamma_N = \mathcal{N}(0, I_N)γN​=N(0,IN​) be the standard Gaussian measure on RN\mathbb{R}^NRN, the product of NNN copies of the standard normal law on R\mathbb{R}R. For v∈RNv \in \mathbb{R}^Nv∈RN, write ∥v∥2=∑ivi2\|v\|^2 = \sum_{i} v_i^2∥v∥2=∑i​vi2​. Let h:RN→RNh : \mathbb{R}^N \to \mathbb{R}^Nh:RN→RN be a function with coordinates h1,…,hNh_1, \dots, h_Nh1​,…,hN​.

Hypotheses.

  1. Correlation range. 0<ρ<10 < \rho < 10<ρ<1, with both inequalities strict.
  2. Measurability. hhh is measurable.
  3. Square-integrability. Each coordinate hih_ihi​ is square-integrable under γN\gamma_NγN​, i.e. Ez∼γN[hi(z)2]<∞\mathbb{E}_{z \sim \gamma_N}[h_i(z)^2] < \inftyEz∼γN​​[hi​(z)2]<∞.
  4. Centering. Each coordinate has mean zero under γN\gamma_NγN​: Ez∼γN[hi(z)]=0\mathbb{E}_{z \sim \gamma_N}[h_i(z)] = 0Ez∼γN​​[hi​(z)]=0 for all iii.
  5. Near-optimal alignment. Let Cov⁡(h)\operatorname{Cov}(h)Cov(h) be the N×NN \times NN×N matrix with entries
Cov⁡(h)ij=Ez∼γN[(hi(z)−Ehi)(hj(z)−Ehj)].\operatorname{Cov}(h)_{ij} = \mathbb{E}_{z\sim\gamma_N}\big[(h_i(z) - \mathbb{E}h_i)(h_j(z) - \mathbb{E}h_j)\big].Cov(h)ij​=Ez∼γN​​[(hi​(z)−Ehi​)(hj​(z)−Ehj​)].

Because of hypothesis 4, this equals E[hi(z)hj(z)]\mathbb{E}[h_i(z)h_j(z)]E[hi​(z)hj​(z)]. Let (z,z′)(z, z')(z,z′) be a positive pair built as follows: draw z,η∼γNz, \eta \sim \gamma_Nz,η∼γN​ independently and set z′=ρz+1−ρ2 ηz' = \rho z + \sqrt{1-\rho^2}\,\etaz′=ρz+1−ρ2​η. The alignment loss is L(h)=E ∥h(z′)−h(z)∥2\mathcal{L}(h) = \mathbb{E}\,\|h(z') - h(z)\|^2L(h)=E∥h(z′)−h(z)∥2. The hypothesis is

L(h)≤2(1−ρ) tr⁡Cov⁡(h)+δ.\mathcal{L}(h) \le 2(1-\rho)\,\operatorname{tr}\operatorname{Cov}(h) + \delta.L(h)≤2(1−ρ)trCov(h)+δ.

This expectation is a real-valued integral; it would be treated as 000 if the integrand were not integrable. 6. Near-whitening. The Frobenius norm satisfies

∥Cov⁡(h)−IN∥F=(∑i,j(Cov⁡(h)−IN)ij2)1/2≤ε.\|\operatorname{Cov}(h) - I_N\|_F = \Big(\sum_{i,j} (\operatorname{Cov}(h) - I_N)_{ij}^2\Big)^{1/2} \le \varepsilon.∥Cov(h)−IN​∥F​=(i,j∑​(Cov(h)−IN​)ij2​)1/2≤ε.

No sign is imposed on δ\deltaδ or ε\varepsilonε. If ε<0\varepsilon < 0ε<0, hypothesis 6 cannot be satisfied, because a Frobenius norm is nonnegative. Negative δ\deltaδ is formally permitted.

Conclusion. There exists a real orthogonal N×NN \times NN×N matrix QQQ, meaning Q⊤Q=QQ⊤=INQ^\top Q = QQ^\top = I_NQ⊤Q=QQ⊤=IN​, such that

Ez∼γN ∥h(z)−Qz∥2  ≤  δ2ρ(1−ρ)+(ε+δ2ρ(1−ρ))2.\mathbb{E}_{z \sim \gamma_N}\,\|h(z) - Qz\|^2 \;\le\; \frac{\delta}{2\rho(1-\rho)} + \left(\varepsilon + \frac{\delta}{2\rho(1-\rho)}\right)^2.Ez∼γN​​∥h(z)−Qz∥2≤2ρ(1−ρ)δ​+(ε+2ρ(1−ρ)δ​)2.

This expectation is again a real-valued integral, which would be treated as 000 if the integrand were not integrable. The statement gives only existence of QQQ: it does not say QQQ is unique, and it does not say how QQQ depends on hhh.

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