Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1: same-state pairs make the world kernel the identity

Proved
SameStatePairs.same_state_kernel_is_identity

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

identifiabilityjepaorthogonal-procrustesrepresentation-learningspectral-methods

Let ZZZ be a finite world with p(z)>0p(z)>0p(z)>0 and ∑zp(z)=1\sum_zp(z)=1∑z​p(z)=1, write dz=∣Z∣d_z=|Z|dz​=∣Z∣, and take the same-state positive-pair law π=diag⁡(p)\pi=\operatorname{diag}(p)π=diag(p), with the hard-whitening population objective in dimension kkk. Then:

  1. Kπ=IK_\pi=IKπ​=I and Tπ=IT_\pi=ITπ​=I.
  2. Every centred, whitened h:Z→Rkh:Z\to\mathbb{R}^kh:Z→Rk has Ω(h)=0\Omega(h)=0Ω(h)=0 and prediction term Lπ(h)=0L_\pi(h)=0Lπ​(h)=0.
  3. Every eigenvalue of KπK_\piKπ​ equals 111.
  4. If 1≤k<dz−11\le k<d_z-11≤k<dz​−1, every kkk-dimensional subspace VVV of the centred state-function space {φ:Z→R: Epφ=0}\{\varphi:Z\to\mathbb{R}:\ \mathbb{E}_p\varphi=0\}{φ:Z→R: Ep​φ=0} is the span of some global minimiser.
  5. If k=dz−1k=d_z-1k=dz​−1, every global minimiser spans the whole centred space, and any two global minimisers h,h′h,h'h,h′ satisfy h′=Qhh'=Qhh′=Qh for some Q∈O(k)Q\in O(k)Q∈O(k).
  6. If 1≤k<dz−11\le k<d_z-11≤k<dz​−1, the uniqueness premise of Theorem 1 of Balestriero and LeCun fails: there are global minimisers h,h′h,h'h,h′ such that h′≠Qhh'\ne Qhh′=Qh for every Q∈O(k)Q\in O(k)Q∈O(k).

Same-state pairs never join two different states, so the prediction term charges nothing for any function of the state.

Formalization Note The span of an encoder is the span of its coordinate functions h1,…,hkh_1,\dots,h_kh1​,…,hk​. The uniqueness premise is stated as: for all global minimisers h,h′h,h'h,h′ there is Q∈O(k)Q\in O(k)Q∈O(k) with h′(z)=Qh(z)h'(z)=Qh(z)h′(z)=Qh(z) for all zzz.

Preamble
import Mathlib
import Definitions.Def_SameStatePairs_Basic

open Matrix
Formal statement
namespace SameStatePairs

theorem same_state_kernel_is_identity {Z : Type*} [Fintype Z] [DecidableEq Z] {k : ℕ}
    (p : Z → ℝ) (hp : ∀ z, 0 < p z) (hp1 : ∑ z, p z = 1) :
    worldKernel p (sameStateLaw p) = 1 ∧ markovOp p (sameStateLaw p) = 1 ∧
    (∀ h : Z → Fin k → ℝ, IsCentered p h → IsWhitened p h →
      hardOmega p h = 0 ∧ pairLoss (sameStateLaw p) h = 0) ∧
    (∀ μ : ℝ, Module.End.HasEigenvalue (Matrix.toLin' (worldKernel p (sameStateLaw p))) μ →
      μ = 1) ∧
    (1 ≤ k → k + 1 < Fintype.card Z →
      ∀ V : Submodule ℝ (Z → ℝ), V ≤ centeredSpace p → Module.finrank ℝ V = k →
        ∃ h : Z → Fin k → ℝ, IsGlobalMin p (sameStateLaw p) h ∧ coordSpan h = V) ∧
    (k + 1 = Fintype.card Z →
      (∀ h : Z → Fin k → ℝ, IsGlobalMin p (sameStateLaw p) h → coordSpan h = centeredSpace p) ∧
      (∀ h h' : Z → Fin k → ℝ, IsGlobalMin p (sameStateLaw p) h →
        IsGlobalMin p (sameStateLaw p) h' →
        ∃ Q : Matrix.orthogonalGroup (Fin k) ℝ, ∀ z, h' z = rot Q (h z))) ∧
    (1 ≤ k → k + 1 < Fintype.card Z →
      ¬ ∀ h h' : Z → Fin k → ℝ, IsGlobalMin p (sameStateLaw p) h →
        IsGlobalMin p (sameStateLaw p) h' →
        ∃ Q : Matrix.orthogonalGroup (Fin k) ℝ, ∀ z, h' z = rot Q (h z)) := by sorry

end SameStatePairs
Source
Xin Li, Same-State Pairs Make One JEPA Proof of the Platonic Representation Hypothesis Vacuous: A Correction and a Gauge Ledger, arXiv:2611.16182v1 (2026), Section 2.1, Lemma 1, p. 3
Read-back

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

Setting. Let ZZZ be a finite set with decidable equality, and let k≥0k \ge 0k≥0 be a natural number (an implicit parameter). Let p:Z→Rp : Z \to \mathbb{R}p:Z→R satisfy

p(z)>0 for every z∈Z,∑z∈Zp(z)=1.p(z) > 0 \ \text{for every } z \in Z, \qquad \sum_{z \in Z} p(z) = 1 .p(z)>0 for every z∈Z,z∈Z∑​p(z)=1.

So ppp is a strictly positive probability vector on ZZZ. The normalisation forces ZZZ to be nonempty, so ∣Z∣≥1|Z| \ge 1∣Z∣≥1.

Objects involved.

  • Same-state law. πp(z,z′)=p(z)\pi_p(z,z') = p(z)πp​(z,z′)=p(z) if z=z′z = z'z=z′, and 000 otherwise.
  • World kernel. The Z×ZZ \times ZZ×Z matrix
K(z,z′)=πp(z,z′)p(z) p(z′).K(z,z') = \frac{\pi_p(z,z')}{\sqrt{p(z)\,p(z')}} .K(z,z′)=p(z)p(z′)​πp​(z,z′)​.
  • Markov operator. The Z×ZZ \times ZZ×Z matrix
T(z,z′)=πp(z,z′)p(z).T(z,z') = \frac{\pi_p(z,z')}{p(z)} .T(z,z′)=p(z)πp​(z,z′)​.
  • Encoder. Any function h:Z→Rkh : Z \to \mathbb{R}^kh:Z→Rk, with coordinate functions h1,…,hk:Z→Rh_1, \dots, h_k : Z \to \mathbb{R}h1​,…,hk​:Z→R.
  • Centred under ppp. ∑zp(z) hi(z)=0\sum_z p(z)\, h_i(z) = 0∑z​p(z)hi​(z)=0 for every iii.
  • Whitened under ppp. ∑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.
  • Hard anti-collapse term. Ω(h)∈{0,+∞}\Omega(h) \in \{0, +\infty\}Ω(h)∈{0,+∞}, valued in the extended reals. It equals 000 if hhh is both centred and whitened, and +∞+\infty+∞ otherwise.
  • Pair loss. With ∥⋅∥2\|\cdot\|^2∥⋅∥2 the sum of squared coordinates,
L(h)=∑z∑z′πp(z,z′) ∥h(z)−h(z′)∥2.L(h) = \sum_{z}\sum_{z'} \pi_p(z,z')\,\|h(z)-h(z')\|^2 .L(h)=z∑​z′∑​πp​(z,z′)∥h(z)−h(z′)∥2.

With this law only the diagonal terms z=z′z = z'z=z′ carry weight. So L(h)=0L(h) = 0L(h)=0 for every hhh, whether or not it is centred or whitened.

  • Global minimiser. hhh is a global minimiser if it is centred and whitened, and L(h)≤L(h′)L(h) \le L(h')L(h)≤L(h′) for every centred, whitened h′h'h′. Since LLL is identically 000 here, this amounts to "hhh is centred and whitened".
  • Coordinate span. span⁡(h)\operatorname{span}(h)span(h) is the linear span of h1,…,hkh_1, \dots, h_kh1​,…,hk​ inside RZ\mathbb{R}^ZRZ.
  • Centred space. Cp={φ:Z→R∣∑zp(z)φ(z)=0}C_p = \{\varphi : Z \to \mathbb{R} \mid \sum_z p(z)\varphi(z) = 0\}Cp​={φ:Z→R∣∑z​p(z)φ(z)=0}.
  • Orthogonal group. O(k)O(k)O(k) is the group of real k×kk \times kk×k orthogonal matrices, acting on Rk\mathbb{R}^kRk by v↦Qvv \mapsto Qvv↦Qv.

Assertion. The theorem asserts that all seven of the following hold simultaneously.

  1. K=IK = IK=I, the Z×ZZ \times ZZ×Z identity matrix.
  2. T=IT = IT=I.
  3. For every h:Z→Rkh : Z \to \mathbb{R}^kh:Z→Rk that is centred and whitened under ppp, both Ω(h)=0\Omega(h) = 0Ω(h)=0 and L(h)=0L(h) = 0L(h)=0.
    • When k=0k = 0k=0, every hhh is vacuously centred and whitened.
  4. Every real eigenvalue μ\muμ of the linear map RZ→RZ\mathbb{R}^Z \to \mathbb{R}^ZRZ→RZ, φ↦Kφ\varphi \mapsto K\varphiφ↦Kφ, satisfies μ=1\mu = 1μ=1.
  5. Suppose k≥1k \ge 1k≥1 and k+1<∣Z∣k + 1 < |Z|k+1<∣Z∣. Then for every linear subspace V⊆RZV \subseteq \mathbb{R}^ZV⊆RZ with V⊆CpV \subseteq C_pV⊆Cp​ and dim⁡V=k\dim V = kdimV=k, there exists a global minimiser hhh with span⁡(h)=V\operatorname{span}(h) = Vspan(h)=V.
  6. Suppose k+1=∣Z∣k + 1 = |Z|k+1=∣Z∣. Note that k=0k = 0k=0 is allowed here, which corresponds to ∣Z∣=1|Z| = 1∣Z∣=1. Then both of the following hold:
    • (a) every global minimiser hhh satisfies span⁡(h)=Cp\operatorname{span}(h) = C_pspan(h)=Cp​;
    • (b) for any two global minimisers h,h′h, h'h,h′ there exists Q∈O(k)Q \in O(k)Q∈O(k) with h′(z)=Q h(z)h'(z) = Q\,h(z)h′(z)=Qh(z) for all z∈Zz \in Zz∈Z.
  7. Suppose k≥1k \ge 1k≥1 and k+1<∣Z∣k + 1 < |Z|k+1<∣Z∣. Then it is not the case that every pair of global minimisers h,h′h, h'h,h′ is related by some Q∈O(k)Q \in O(k)Q∈O(k) via h′(z)=Q h(z)h'(z) = Q\,h(z)h′(z)=Qh(z) for all zzz. That is, there exist two global minimisers that no orthogonal matrix carries one onto the other.

What is left unconstrained. The theorem says nothing about the case k+1>∣Z∣k + 1 > |Z|k+1>∣Z∣ beyond clauses 1–4. In that case no centred, whitened encoder exists, so clause 3 holds vacuously there.

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