Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1 (rank below kkk, and ε=0\varepsilon = 0ε=0): no kernel direction is identified

Proved
SameStatePairs.top_k_rank_deficient

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

identifiabilityjepaorthogonal-procrustesrepresentation-learningspectral-methods

In the setting of Theorem 1 (finite world and observation space, p>0p>0p>0, PX>0P_X>0PX​>0, k≥1k\ge1k≥1), with r=rank⁡(Ts)r=\operatorname{rank}(T_s)r=rank(Ts​) on the centred subspace:

  1. If r<kr<kr<k, then for every 0<ε≤10<\varepsilon\le10<ε≤1:
    • the top-kkk sum is the sum of all positive eigenvalues: ∑i=1kλi=∑i:λi>0λi\sum_{i=1}^k\lambda_i=\sum_{i:\lambda_i>0}\lambda_i∑i=1k​λi​=∑i:λi​>0​λi​;
    • the span of every global minimiser of LεL_\varepsilonLε​ contains the positive eigenspace E+E_+E+​ and equals E+⊕WE_+\oplus WE+​⊕W for some (k−r)(k-r)(k−r)-dimensional subspace WWW of ker⁡Ts\ker T_skerTs​;
    • for every (k−r)(k-r)(k−r)-dimensional subspace WWW of ker⁡Ts\ker T_skerTs​ there is a global minimiser with span E+⊕WE_+\oplus WE+​⊕W.
  2. At ε=0\varepsilon=0ε=0, L0(f)=2kL_0(f)=2kL0​(f)=2k for every centred, whitened fff.

So in the rank-deficient case no direction in the kernel is identified, and at ε=0\varepsilon=0ε=0 no direction is identified at all.

Formalization Note E+E_+E+​ and ker⁡Ts\ker T_skerTs​ are taken on the centred subspace. The sum over positive eigenvalues runs over the indices 1≤i≤∣X∣−11\le i\le|X|-11≤i≤∣X∣−1. The informal conclusions "no direction is identified/identifiable" are not separate formal claims; they are the content of the stated items.

Preamble
import Mathlib
import Definitions.Def_SameStatePairs_Basic

open Matrix
Formal statement
namespace SameStatePairs

theorem top_k_rank_deficient {Z X : Type*} [Fintype Z] [Fintype X] [DecidableEq X] {k : ℕ}
    (p : Z → ℝ) (hp : ∀ z, 0 < p z) (hp1 : ∑ z, p z = 1)
    (κ : Z → X → ℝ) (hκ : IsChannel κ) (hX : ∀ x, 0 < obsLaw p κ x) (hk : 1 ≤ k) :
    (obsRank p κ < k → ∀ ε : ℝ, 0 < ε → ε ≤ 1 →
      (∑ i ∈ Finset.Icc 1 k, obsEig p κ i =
        ∑ i ∈ (Finset.Icc 1 (Fintype.card X - 1)).filter (fun i => 0 < obsEig p κ i),
          obsEig p κ i) ∧
      (∀ f : X → Fin k → ℝ, IsGlobalMin (obsLaw p κ) (mixPairLaw p κ ε) f →
        posSpace p κ ≤ coordSpan f ∧
        ∃ W : Submodule ℝ (X → ℝ), W ≤ obsKerSpace p κ ∧
          Module.finrank ℝ W = k - obsRank p κ ∧ coordSpan f = posSpace p κ ⊔ W) ∧
      (∀ W : Submodule ℝ (X → ℝ), W ≤ obsKerSpace p κ → Module.finrank ℝ W = k - obsRank p κ →
        ∃ f : X → Fin k → ℝ, IsGlobalMin (obsLaw p κ) (mixPairLaw p κ ε) f ∧
          coordSpan f = posSpace p κ ⊔ W)) ∧
    (∀ f : X → Fin k → ℝ, IsCentered (obsLaw p κ) f → IsWhitened (obsLaw p κ) f →
      pairLoss (mixPairLaw p κ 0) f = 2 * k) := 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 4.1, Theorem 1, eq. (3), p. 6; proof in Appendix A.1, p. 11
Read-back

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

Setting. Let ZZZ (world states) and XXX (observations) be finite sets, and let kkk be a natural number with k≥1k \ge 1k≥1. The hypotheses are:

  • p:Z→Rp : Z \to \mathbb{R}p:Z→R satisfies p(z)>0p(z) > 0p(z)>0 for every zzz and ∑zp(z)=1\sum_z p(z) = 1∑z​p(z)=1. This forces ZZZ to be nonempty.
  • κ:Z×X→R\kappa : Z \times X \to \mathbb{R}κ:Z×X→R is a channel: κ(z,x)≥0\kappa(z,x) \ge 0κ(z,x)≥0 for all z,xz, xz,x, and ∑xκ(z,x)=1\sum_x \kappa(z,x) = 1∑x​κ(z,x)=1 for every zzz. Since ZZZ is nonempty, this forces XXX to be nonempty.
  • The observation law
PX(x)=∑zp(z) κ(z,x)P_X(x) = \sum_z p(z)\,\kappa(z,x)PX​(x)=z∑​p(z)κ(z,x)

satisfies PX(x)>0P_X(x) > 0PX​(x)>0 for every x∈Xx \in Xx∈X.

Derived objects.

  • The same-state pair law is
Ps(x,x′)=∑zp(z) κ(z,x) κ(z,x′).P_s(x,x') = \sum_z p(z)\,\kappa(z,x)\,\kappa(z,x').Ps​(x,x′)=z∑​p(z)κ(z,x)κ(z,x′).
  • For a real number ε\varepsilonε, the mixed pair law is
P+ε(x,x′)=ε Ps(x,x′)+(1−ε) PX(x) PX(x′).P_+^{\varepsilon}(x,x') = \varepsilon\,P_s(x,x') + (1-\varepsilon)\,P_X(x)\,P_X(x').P+ε​(x,x′)=εPs​(x,x′)+(1−ε)PX​(x)PX​(x′).
  • TsT_sTs​ is the X×XX\times XX×X matrix
Ts(x,x′)=Ps(x,x′)PX(x),T_s(x,x') = \frac{P_s(x,x')}{P_X(x)},Ts​(x,x′)=PX​(x)Ps​(x,x′)​,

acting on functions φ:X→R\varphi : X \to \mathbb{R}φ:X→R by (Tsφ)(x)=∑x′Ts(x,x′) φ(x′)(T_s\varphi)(x) = \sum_{x'} T_s(x,x')\,\varphi(x')(Ts​φ)(x)=∑x′​Ts​(x,x′)φ(x′).

  • λ0≥λ1≥λ2≥⋯\lambda_0 \ge \lambda_1 \ge \lambda_2 \ge \cdotsλ0​≥λ1​≥λ2​≥⋯ are the real roots of the characteristic polynomial of TsT_sTs​, counted with multiplicity and listed in decreasing order. Index 000 is the largest real root, and λi:=0\lambda_i := 0λi​:=0 for any index beyond the number of real roots.
  • rrr is the rank of the matrix TsT_sTs​ minus one, computed in the natural numbers, so r=0r = 0r=0 if rank⁡Ts=0\operatorname{rank} T_s = 0rankTs​=0.
  • The centred space is
C={φ:X→R:∑xPX(x) φ(x)=0}.\mathcal{C} = \{\varphi : X \to \mathbb{R} : \textstyle\sum_x P_X(x)\,\varphi(x) = 0\}.C={φ:X→R:∑x​PX​(x)φ(x)=0}.
  • V+V_+V+​ is the intersection of C\mathcal{C}C with the span of all eigenvectors of TsT_sTs​ having strictly positive real eigenvalue.
  • V0=ker⁡Ts∩CV_0 = \ker T_s \cap \mathcal{C}V0​=kerTs​∩C.

Encoders. An encoder is a map f:X→Rkf : X \to \mathbb{R}^kf:X→Rk with coordinate functions f1,…,fk:X→Rf_1,\dots,f_k : X\to\mathbb{R}f1​,…,fk​:X→R.

  • span⁡(f)\operatorname{span}(f)span(f) is the linear span of f1,…,fkf_1,\dots,f_kf1​,…,fk​ in RX\mathbb{R}^XRX.
  • fff is centred if ∑xPX(x)fj(x)=0\sum_x P_X(x) f_j(x) = 0∑x​PX​(x)fj​(x)=0 for every jjj.
  • fff is whitened if ∑xPX(x)fi(x)fj(x)=δij\sum_x P_X(x) f_i(x) f_j(x) = \delta_{ij}∑x​PX​(x)fi​(x)fj​(x)=δij​ for all i,ji,ji,j.
  • For a pair law π\piπ, the pair loss is
Lπ(f)=∑x,x′π(x,x′) ∥f(x)−f(x′)∥2.L_\pi(f) = \sum_{x,x'} \pi(x,x')\,\|f(x)-f(x')\|^2.Lπ​(f)=x,x′∑​π(x,x′)∥f(x)−f(x′)∥2.
  • fff is a global minimiser for π\piπ if fff is centred and whitened, and Lπ(f)≤Lπ(f′)L_\pi(f) \le L_\pi(f')Lπ​(f)≤Lπ​(f′) for every centred, whitened f′f'f′.

A centred whitened encoder has kkk coordinates that are orthonormal in C\mathcal{C}C under the PXP_XPX​-weighted inner product. Since dim⁡C=∣X∣−1\dim \mathcal{C} = |X|-1dimC=∣X∣−1, no such encoder exists when k>∣X∣−1k > |X|-1k>∣X∣−1.

The theorem asserts two things.

(A) Suppose r<kr < kr<k. Then for every ε\varepsilonε with 0<ε≤10 < \varepsilon \le 10<ε≤1, all three of the following hold:

  1. The eigenvalue sums agree:
∑i=1kλi  =  ∑1≤i≤∣X∣−1λi>0λi.\sum_{i=1}^{k} \lambda_i \;=\; \sum_{\substack{1 \le i \le |X|-1 \\ \lambda_i > 0}} \lambda_i .i=1∑k​λi​=1≤i≤∣X∣−1λi​>0​∑​λi​.

The left sum may include indices iii beyond the available real roots, where λi=0\lambda_i = 0λi​=0.

  1. Every global minimiser fff for P+εP_+^{\varepsilon}P+ε​ satisfies V+⊆span⁡(f)V_+ \subseteq \operatorname{span}(f)V+​⊆span(f). Moreover, there is a subspace W⊆V0W \subseteq V_0W⊆V0​ with dim⁡W=k−r\dim W = k - rdimW=k−r such that
span⁡(f)=V++W.\operatorname{span}(f) = V_+ + W.span(f)=V+​+W.
  1. Conversely, for every subspace W⊆V0W \subseteq V_0W⊆V0​ with dim⁡W=k−r\dim W = k - rdimW=k−r, there exists a global minimiser fff for P+εP_+^{\varepsilon}P+ε​ with
span⁡(f)=V++W.\operatorname{span}(f) = V_+ + W.span(f)=V+​+W.

(B) This part holds unconditionally, without assuming r<kr<kr<k. Every centred, whitened encoder fff satisfies

LP+0(f)=2k,L_{P_+^{0}}(f) = 2k,LP+0​​(f)=2k,

where P+0(x,x′)=PX(x)PX(x′)P_+^0(x,x') = P_X(x)P_X(x')P+0​(x,x′)=PX​(x)PX​(x′) is the product law. If k>∣X∣−1k > |X|-1k>∣X∣−1, this statement is vacuous, and so is item 2 of (A).

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