Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 1: spectral JEPAs are unique up to rotation

Open
Arxiv2610_39302.spectral_jepa_unique_up_to_rotation

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(z)>0p(z)>0p(z)>0, let π\piπ be a positive-pair law with marginals ppp, let ℓ(a,b)=∥a−b∥2\ell(a,b)=\|a-b\|^2ℓ(a,b)=∥a−b∥2, let Ω\OmegaΩ whiten the embeddings (Eph=0E_ph=0Ep​h=0, Ephh⊤=IkE_phh^\top=I_kEp​hh⊤=Ik​, as a hard constraint), and let 1≤k<∣Z∣1\le k<|Z|1≤k<∣Z∣. Then:

  1. the minimum of the objective is
min⁡Lπ=2∑i=1k(1−μi),\min L_\pi=2\sum_{i=1}^k(1-\mu_i),minLπ​=2i=1∑k​(1−μi​),

and it is attained; 2. a spectral embedding Φπ(z)=(v1(z),…,vk(z))/p(z)\Phi_\pi(z)=(v_1(z),\dots,v_k(z))/\sqrt{p(z)}Φπ​(z)=(v1​(z),…,vk​(z))/p(z)​ exists; 3. if μk>μk+1\mu_k>\mu_{k+1}μk​>μk+1​ (with μ∣Z∣:=−∞\mu_{|Z|}:=-\inftyμ∣Z∣​:=−∞), then for every spectral embedding Φπ\Phi_\piΦπ​ the minimisers of LπL_\piLπ​ are exactly the embeddings QΦπQ\Phi_\piQΦπ​, Q∈O(k)Q\in O(k)Q∈O(k).

Under the gap, this supplies the uniqueness hypothesis of Theorem 1.

Formalization Note "min⁡Lπ=c\min L_\pi=cminLπ​=c" is stated as: ccc is the least value of LπL_\piLπ​ over all embeddings h:Z→Rkh:Z\to\mathbb{R}^kh:Z→Rk. The convention μ∣Z∣=−∞\mu_{|Z|}=-\inftyμ∣Z∣​=−∞ makes the gap hypothesis empty when k+1=∣Z∣k+1=|Z|k+1=∣Z∣.

Preamble
import Mathlib
import Definitions.Def_Arxiv2610_39302_Basic

open MeasureTheory Filter Topology Matrix
Formal statement
namespace Arxiv2610_39302

theorem spectral_jepa_unique_up_to_rotation {Z : Type*} [Fintype Z] [DecidableEq Z] {k : ℕ}
    (p : Z → ℝ) (π : Z → Z → ℝ) (hπ : IsPairLaw p π) (hk : 1 ≤ k) (hkZ : k < Fintype.card Z) :
    IsLeast (Set.range (spectralLoss (k := k) p π))
      ((2 * ∑ i ∈ Finset.Icc 1 k, (1 - eigs p π i) : ℝ) : EReal) ∧
    (∃ Phi : Z → Fin k → ℝ, IsSpectralEmbedding p π Phi) ∧
    ((k + 1 < Fintype.card Z → eigs p π (k + 1) < eigs p π k) →
      ∀ Phi : Z → Fin k → ℝ, IsSpectralEmbedding p π Phi →
        ∀ h : Z → Fin k → ℝ, (∀ h' : Z → Fin k → ℝ, spectralLoss p π h ≤ spectralLoss p π h') ↔
          ∃ Q : Matrix.orthogonalGroup (Fin k) ℝ, ∀ z, h z = rot Q (Phi z)) := by sorry

end Arxiv2610_39302
Source
Balestriero and LeCun, Proving and Improving the Platonic Representation Hypothesis with JEPAs, arXiv:2610.39302v1 (2026), claim c003; Section 2.1, Proposition 1, PDF p. 3; proof in Appendix A.2, PDF p. 20
Read-back

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

Setting. Let ZZZ be a finite set with ∣Z∣|Z|∣Z∣ elements, and let kkk be a natural number with

1≤k<∣Z∣1 \le k < |Z|1≤k<∣Z∣

(so ∣Z∣≥2|Z| \ge 2∣Z∣≥2). Let 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 the following "pair law" hypotheses:

  • p(z)>0p(z) > 0p(z)>0 for every 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′;
  • every row sum is the marginal: ∑z′π(z,z′)=p(z)\sum_{z'} \pi(z,z') = p(z)∑z′​π(z,z′)=p(z) for every zzz.

Objects.

  • The normalised adjacency is the Z×ZZ \times ZZ×Z matrix KπK_\piKπ​ with entries
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′)​.
  • μ0≥μ1≥μ2≥⋯\mu_0 \ge \mu_1 \ge \mu_2 \ge \cdotsμ0​≥μ1​≥μ2​≥⋯ are the real roots of the characteristic polynomial of KπK_\piKπ​, listed with multiplicity in decreasing order and indexed from 000. Indices beyond the number of roots get the value 000, but every index used below is below ∣Z∣|Z|∣Z∣. The statement does not itself assert that μ0=1\mu_0 = 1μ0​=1.
  • For an embedding h:Z→Rkh : Z \to \mathbb{R}^kh:Z→Rk, the spectral loss is the extended real number
L(h)=∑z∈Z∑z′∈Zπ(z,z′) ∥h(z)−h(z′)∥2  +  Ω(h).\mathcal{L}(h) = \sum_{z \in Z}\sum_{z' \in Z} \pi(z,z')\,\|h(z) - h(z')\|^2 \;+\; \Omega(h).L(h)=z∈Z∑​z′∈Z∑​π(z,z′)∥h(z)−h(z′)∥2+Ω(h).

Here ∥⋅∥\|\cdot\|∥⋅∥ is the Euclidean norm, and the double sum runs over ordered pairs with no factor 12\tfrac1221​.

  • Ω(h)∈{0,+∞}\Omega(h) \in \{0, +\infty\}Ω(h)∈{0,+∞} is the whitening constraint on the law ∑zp(z) δh(z)\sum_z p(z)\,\delta_{h(z)}∑z​p(z)δh(z)​ of the embeddings. Since p>0p > 0p>0, this amounts to:
    • Ω(h)=0\Omega(h) = 0Ω(h)=0 if ∑zp(z) hi(z)=0\sum_z p(z)\,h_i(z) = 0∑z​p(z)hi​(z)=0 for all iii and ∑zp(z) hi(z) hj(z)=δij\sum_z p(z)\,h_i(z)\,h_j(z) = \delta_{ij}∑z​p(z)hi​(z)hj​(z)=δij​ for all i,ji, ji,j;
    • Ω(h)=+∞\Omega(h) = +\inftyΩ(h)=+∞ otherwise.
  • A map Φ:Z→Rk\Phi : Z \to \mathbb{R}^kΦ:Z→Rk is a spectral embedding of π\piπ if there exist vectors v1,…,vk∈RZv_1, \dots, v_k \in \mathbb{R}^Zv1​,…,vk​∈RZ such that:
    • they are orthonormal for 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;
    • each is an eigenvector with eigenvalue μi\mu_iμi​: 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)​ for all zzz and iii.
  • O(k)O(k)O(k) is the group of real orthogonal k×kk \times kk×k matrices, acting on Rk\mathbb{R}^kRk by matrix–vector multiplication.

Assertion. Under these hypotheses, all three of the following hold.

  1. Minimum value. The set of values {L(h):h:Z→Rk}\{\mathcal{L}(h) : h : Z \to \mathbb{R}^k\}{L(h):h:Z→Rk} has a least element, equal to
2∑i=1k(1−μi).2\sum_{i=1}^{k} (1 - \mu_i).2i=1∑k​(1−μi​).

That is, some hhh attains this value, and every hhh has L(h)\mathcal{L}(h)L(h) at least this value.

  1. Existence. At least one spectral embedding Φ:Z→Rk\Phi : Z \to \mathbb{R}^kΦ:Z→Rk of π\piπ exists.

  2. Characterisation of minimisers. Assume the gap condition: 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∣ this condition holds automatically. Then for every spectral embedding Φ\PhiΦ and every h:Z→Rkh : Z \to \mathbb{R}^kh:Z→Rk, the following are equivalent:

    • hhh is a global minimiser, i.e. L(h)≤L(h′)\mathcal{L}(h) \le \mathcal{L}(h')L(h)≤L(h′) for every h′:Z→Rkh' : Z \to \mathbb{R}^kh′:Z→Rk;
    • there is a single Q∈O(k)Q \in O(k)Q∈O(k) with h(z)=Q Φ(z)h(z) = Q\,\Phi(z)h(z)=QΦ(z) for all z∈Zz \in Zz∈Z.

Parts 1 and 2 use no gap hypothesis.

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