Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 3 (i): good views ignore nuisance

Open
Arxiv2610_39302.good_views_ignore_nuisance

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

davis-kahanorthogonal-procrustesrepresentation-learningself-supervised-learningspectral-embedding

Let ZZZ be a finite world with p>0p>0p>0, π\piπ a positive-pair law with marginals ppp, and 1≤k<∣Z∣1\le k<|Z|1≤k<∣Z∣. Let any number of modalities mmm each observe state zzz with a nuisance ν∼qm\nu\sim q_mν∼qm​ on a finite set NmN_mNm​, qm>0q_m>0qm​>0, independent of zzz. A good-view JEPA of modality mmm takes the objective of Proposition 1 on observations (z,ν)(z,\nu)(z,ν), with law p(z)qm(ν)p(z)q_m(\nu)p(z)qm​(ν), and positive pairs of law π(z,z′)qm(ν)qm(ν′)\pi(z,z')q_m(\nu)q_m(\nu')π(z,z′)qm​(ν)qm​(ν′) (kernel Π⊗qmqm⊤\Pi\otimes q_mq_m^\topΠ⊗qm​qm⊤​). If

μk>max⁡(μk+1,0)(μ∣Z∣:=−∞),\mu_k>\max(\mu_{k+1},0)\qquad(\mu_{|Z|}:=-\infty),μk​>max(μk+1​,0)(μ∣Z∣​:=−∞),

then:

  1. a spectral embedding Φπ\Phi_\piΦπ​ exists, and for every spectral embedding Φπ\Phi_\piΦπ​ the minimisers of each modality's good-view objective are exactly the encoders e(z,ν)=QΦπ(z)e(z,\nu)=Q\Phi_\pi(z)e(z,ν)=QΦπ​(z), Q∈O(k)Q\in O(k)Q∈O(k);
  2. every minimiser is a function of the state alone: ρ=1\rho=1ρ=1;
  3. good-view JEPAs of any two modalities agree up to one rotation on every observation: em(z,ν)=Q em′(z,ν′)e_m(z,\nu)=Q\,e_{m'}(z,\nu')em​(z,ν)=Qem′​(z,ν′) for all z,ν,ν′z,\nu,\nu'z,ν,ν′, for some Q∈O(k)Q\in O(k)Q∈O(k).

Formalization Note Encoders on observations are written as functions of state and nuisance. The good-view positive-pair law is the definition of Π⊗qmqm⊤\Pi\otimes q_mq_m^\topΠ⊗qm​qm⊤​.

Preamble
import Mathlib
import Definitions.Def_Arxiv2610_39302_Basic

open MeasureTheory Filter Topology Matrix
Formal statement
namespace Arxiv2610_39302

theorem good_views_ignore_nuisance {Z ι : Type*} [Fintype Z] [DecidableEq Z] {k : ℕ}
    (N : ι → Type*) [∀ m, Fintype (N m)] [∀ m, DecidableEq (N m)]
    (p : Z → ℝ) (π : Z → Z → ℝ) (hπ : IsPairLaw p π) (hk : 1 ≤ k) (hkZ : k < Fintype.card Z)
    (q : ∀ m, N m → ℝ) (hq : ∀ m ν, 0 < q m ν) (hq1 : ∀ m, ∑ ν, q m ν = 1)
    (hpos : 0 < eigs p π k) (hgap : k + 1 < Fintype.card Z → eigs p π (k + 1) < eigs p π k) :
    (∃ Phi : Z → Fin k → ℝ, IsSpectralEmbedding p π Phi) ∧
    (∀ Phi : Z → Fin k → ℝ, IsSpectralEmbedding p π Phi →
      ∀ m (e : Z × N m → Fin k → ℝ),
        (∀ e' : Z × N m → Fin k → ℝ, spectralLoss (prodLaw p (q m)) (goodViewLaw π (q m)) e ≤
          spectralLoss (prodLaw p (q m)) (goodViewLaw π (q m)) e') ↔
        ∃ Q : Matrix.orthogonalGroup (Fin k) ℝ, ∀ z ν, e (z, ν) = rot Q (Phi z)) ∧
    (∀ m (e : Z × N m → Fin k → ℝ),
      (∀ e' : Z × N m → Fin k → ℝ, spectralLoss (prodLaw p (q m)) (goodViewLaw π (q m)) e ≤
        spectralLoss (prodLaw p (q m)) (goodViewLaw π (q m)) e') →
      rho (prodLaw p (q m)) Prod.fst e = 1) ∧
    (∀ m m' (e : Z × N m → Fin k → ℝ) (e' : Z × N m' → Fin k → ℝ),
      (∀ e'' : Z × N m → Fin k → ℝ, spectralLoss (prodLaw p (q m)) (goodViewLaw π (q m)) e ≤
        spectralLoss (prodLaw p (q m)) (goodViewLaw π (q m)) e'') →
      (∀ e'' : Z × N m' → Fin k → ℝ, spectralLoss (prodLaw p (q m')) (goodViewLaw π (q m')) e' ≤
        spectralLoss (prodLaw p (q m')) (goodViewLaw π (q m')) e'') →
      ∃ Q : Matrix.orthogonalGroup (Fin k) ℝ, ∀ z ν ν', e (z, ν) = rot Q (e' (z, ν'))) := by sorry

end Arxiv2610_39302
Source
Balestriero and LeCun, Proving and Improving the Platonic Representation Hypothesis with JEPAs, arXiv:2610.39302v1 (2026), claim c009; Section 2.3, Proposition 3 (i), PDF p. 5; formal statement and proof in Appendix A.4, PDF p. 21
Read-back

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

Throughout, ZZZ is a finite set (with decidable equality), ι\iotaι is an arbitrary index set (possibly empty, possibly infinite), and kkk is a natural number. For each m∈ιm \in \iotam∈ι there is a finite set NmN_mNm​ of "nuisance values" (with decidable equality). For a vector a∈Rka \in \mathbb{R}^ka∈Rk and an orthogonal matrix Q∈O(k)Q \in O(k)Q∈O(k), QaQaQa denotes the ordinary matrix–vector product.

Hypotheses.

  • Pair law. p:Z→Rp : Z \to \mathbb{R}p:Z→R and π:Z×Z→R\pi : Z \times Z \to \mathbb{R}π:Z×Z→R satisfy:

    • p(z)>0p(z) > 0p(z)>0 for all zzz, and ∑zp(z)=1\sum_z p(z) = 1∑z​p(z)=1;
    • π(z,z′)≥0\pi(z,z') \ge 0π(z,z′)≥0 and π(z,z′)=π(z′,z)\pi(z,z') = \pi(z',z)π(z,z′)=π(z′,z) for all z,z′z, z'z,z′;
    • ∑z′π(z,z′)=p(z)\sum_{z'} \pi(z,z') = p(z)∑z′​π(z,z′)=p(z) for every zzz.

    No connectivity or irreducibility of π\piπ is assumed.

  • Range of kkk. 1≤k1 \le k1≤k and k<∣Z∣k < |Z|k<∣Z∣.

  • Nuisance laws. For every m∈ιm \in \iotam∈ι, qm:Nm→Rq_m : N_m \to \mathbb{R}qm​:Nm​→R satisfies qm(ν)>0q_m(\nu) > 0qm​(ν)>0 for all ν\nuν and ∑νqm(ν)=1\sum_{\nu} q_m(\nu) = 1∑ν​qm​(ν)=1. The sum condition forces every NmN_mNm​ to be nonempty.

  • Spectrum. Let KπK_\piKπ​ be the Z×ZZ \times ZZ×Z matrix

Kπ(z,z′)=π(z,z′)p(z) p(z′).K_\pi(z,z') = \frac{\pi(z,z')}{\sqrt{p(z)\,p(z')}}.Kπ​(z,z′)=p(z)p(z′)​π(z,z′)​.

Let μ0≥μ1≥⋯≥μ∣Z∣−1\mu_0 \ge \mu_1 \ge \dots \ge \mu_{|Z|-1}μ0​≥μ1​≥⋯≥μ∣Z∣−1​ be the roots of its characteristic polynomial, listed with multiplicity in decreasing order and indexed from 000. The hypotheses are:

  • μk>0\mu_k > 0μk​>0;
  • if k+1<∣Z∣k+1 < |Z|k+1<∣Z∣, then μk+1<μk\mu_{k+1} < \mu_kμk+1​<μk​.

When k+1=∣Z∣k+1 = |Z|k+1=∣Z∣, no gap condition is imposed. The fact that μ0=1\mu_0 = 1μ0​=1 is not stated as a hypothesis.

Definitions used in the conclusion.

A spectral embedding is a map Φ:Z→Rk\Phi : Z \to \mathbb{R}^kΦ:Z→Rk for which there exist functions v1,…,vk:Z→Rv_1, \dots, v_k : Z \to \mathbb{R}v1​,…,vk​:Z→R such that:

  • they are orthonormal in the plain Euclidean inner product: ∑zvi(z)vj(z)=δij\sum_z v_i(z) v_j(z) = \delta_{ij}∑z​vi​(z)vj​(z)=δij​;
  • each is orthogonal to p\sqrt{p}p​: ∑zp(z) vi(z)=0\sum_z \sqrt{p(z)}\, v_i(z) = 0∑z​p(z)​vi​(z)=0;
  • Kπvi=μiviK_\pi v_i = \mu_i v_iKπ​vi​=μi​vi​ for i=1,…,ki = 1, \dots, ki=1,…,k;
  • Φ(z)i=vi(z)/p(z)\Phi(z)_i = v_i(z)/\sqrt{p(z)}Φ(z)i​=vi​(z)/p(z)​.

Fix mmm and write Xm=Z×NmX_m = Z \times N_mXm​=Z×Nm​. Define on XmX_mXm​ the weights and pair law

ωm(z,ν)=p(z) qm(ν),Wm((z,ν),(z′,ν′))=π(z,z′) qm(ν) qm(ν′).\omega_m(z,\nu) = p(z)\,q_m(\nu), \qquad W_m\big((z,\nu),(z',\nu')\big) = \pi(z,z')\,q_m(\nu)\,q_m(\nu').ωm​(z,ν)=p(z)qm​(ν),Wm​((z,ν),(z′,ν′))=π(z,z′)qm​(ν)qm​(ν′).

For e:Xm→Rke : X_m \to \mathbb{R}^ke:Xm​→Rk, the objective takes values in R∪{+∞}\mathbb{R} \cup \{+\infty\}R∪{+∞}:

Lm(e)=∑x,x′∈XmWm(x,x′) ∥e(x)−e(x′)∥2+Ω(e).L_m(e) = \sum_{x, x' \in X_m} W_m(x,x')\,\|e(x) - e(x')\|^2 + \Omega(e).Lm​(e)=x,x′∈Xm​∑​Wm​(x,x′)∥e(x)−e(x′)∥2+Ω(e).

Here Ω(e)=0\Omega(e) = 0Ω(e)=0 if

∑xωm(x) e(x)=0and∑xωm(x) e(x)e(x)⊤=Ik,\sum_x \omega_m(x)\, e(x) = 0 \quad\text{and}\quad \sum_x \omega_m(x)\, e(x) e(x)^{\top} = I_k,x∑​ωm​(x)e(x)=0andx∑​ωm​(x)e(x)e(x)⊤=Ik​,

and Ω(e)=+∞\Omega(e) = +\inftyΩ(e)=+∞ otherwise. These are the mean and second moment of the discrete law ∑xωm(x) δe(x)\sum_x \omega_m(x)\,\delta_{e(x)}∑x​ωm​(x)δe(x)​.

A minimiser of LmL_mLm​ is any eee with Lm(e)≤Lm(e′)L_m(e) \le L_m(e')Lm​(e)≤Lm​(e′) for every e′:Xm→Rke' : X_m \to \mathbb{R}^ke′:Xm​→Rk, compared in the extended reals. If no eee met the whitening constraint, every eee would have Lm(e)=+∞L_m(e) = +\inftyLm​(e)=+∞, and every eee would count as a minimiser.

For e:Xm→Rke : X_m \to \mathbb{R}^ke:Xm​→Rk, define:

  • the state marginal ∑νωm(z,ν)=p(z)\sum_\nu \omega_m(z,\nu) = p(z)∑ν​ωm​(z,ν)=p(z);
  • the conditional mean eˉ(z)=1p(z)∑νp(z) qm(ν) e(z,ν)\bar e(z) = \frac{1}{p(z)} \sum_\nu p(z)\, q_m(\nu)\, e(z,\nu)eˉ(z)=p(z)1​∑ν​p(z)qm​(ν)e(z,ν);
  • the overall mean eˉ=∑xωm(x) e(x)\bar e = \sum_x \omega_m(x)\, e(x)eˉ=∑x​ωm​(x)e(x);
  • the matrix Ce=∑zp(z) (eˉ(z)−eˉ)(eˉ(z)−eˉ)⊤C_e = \sum_z p(z)\,(\bar e(z) - \bar e)(\bar e(z) - \bar e)^{\top}Ce​=∑z​p(z)(eˉ(z)−eˉ)(eˉ(z)−eˉ)⊤;
  • the number
ρ(e)=1k∑λλ,\rho(e) = \frac{1}{k} \sum_{\lambda} \sqrt{\lambda},ρ(e)=k1​λ∑​λ​,

where the sum runs over the roots λ\lambdaλ of the characteristic polynomial of CeC_eCe​, with multiplicity. The square root of a negative number is taken as 000.

Conclusion. All four of the following hold.

  1. Existence. A spectral embedding Φ:Z→Rk\Phi : Z \to \mathbb{R}^kΦ:Z→Rk exists.

  2. Characterisation of minimisers. For every spectral embedding Φ\PhiΦ, every m∈ιm \in \iotam∈ι, and every e:Xm→Rke : X_m \to \mathbb{R}^ke:Xm​→Rk: eee is a minimiser of LmL_mLm​ if and only if there is a Q∈O(k)Q \in O(k)Q∈O(k) with

e(z,ν)=Q Φ(z)for all z∈Z, ν∈Nm.e(z,\nu) = Q\,\Phi(z) \quad \text{for all } z \in Z,\ \nu \in N_m.e(z,ν)=QΦ(z)for all z∈Z, ν∈Nm​.

In particular, this holds for every choice of Φ\PhiΦ, not just one.

  1. Scene-explained fraction. For every m∈ιm \in \iotam∈ι and every minimiser eee of LmL_mLm​, ρ(e)=1\rho(e) = 1ρ(e)=1.

  2. Agreement across indices. For every m,m′∈ιm, m' \in \iotam,m′∈ι, every minimiser eee of LmL_mLm​, and every minimiser e′e'e′ of Lm′L_{m'}Lm′​, there is a single Q∈O(k)Q \in O(k)Q∈O(k) such that

e(z,ν)=Q e′(z,ν′)for all z∈Z, ν∈Nm, ν′∈Nm′.e(z,\nu) = Q\, e'(z,\nu') \quad \text{for all } z \in Z,\ \nu \in N_m,\ \nu' \in N_{m'}.e(z,ν)=Qe′(z,ν′)for all z∈Z, ν∈Nm​, ν′∈Nm′​.

The matrix QQQ depends on eee and e′e'e′, but not on zzz, ν\nuν or ν′\nu'ν′.

If ι\iotaι is empty, conclusions 2–4 are vacuous and only conclusion 1 has content.

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

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 25, 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