Proposition 1: spectral JEPAs are unique up to rotation
OpenPlatonicJEPA.spectral_jepa_unique_up_to_rotationLet , let whiten the embeddings, and let . Then the spectral objective has a minimiser, and its minimum is
If (with ), the minimisers are exactly the whitened embeddings for which every coordinate lies in the span of the eigenvectors of with eigenvalue at least . These are the rotations , , of the spectral embedding , so any two minimisers differ by a rotation.
Formalization Note The paper's description "exactly " is stated as the equivalent condition on the coordinates, which does not require choosing eigenvectors.
import Mathlib import Definitions.Def_PlatonicJEPA_Basic open MeasureTheory Filter Topology
namespace PlatonicJEPA
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) :
(∃ h : Z → Fin k → ℝ, IsSpectralMin p π h) ∧
(∀ h : Z → Fin k → ℝ, IsSpectralMin p π h →
predLoss π h = 2 * ∑ i ∈ Finset.Icc 1 k, (1 - eigs p π i)) ∧
((k + 1 < Fintype.card Z → eigs p π (k + 1) < eigs p π k) →
(∀ h : Z → Fin k → ℝ, IsSpectralMin p π h ↔
(IsWhitened p h ∧ ∀ i : Fin k, (fun z => Real.sqrt (p z) * h z i) ∈ topSpace p π k)) ∧
(∀ h h' : Z → Fin k → ℝ, IsSpectralMin p π h → IsSpectralMin p π h' →
∃ Q : Matrix.orthogonalGroup (Fin k) ℝ, ∀ z, h' z = rot Q (h z))) := by sorry
end PlatonicJEPARead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a finite set (with decidable equality), and let be a natural number. Let and be arbitrary real-valued functions. Embeddings are maps , with coordinates for .
Hypotheses.
- is a pair law. This means all of the following hold:
- for every ;
- ;
- for all ;
- for all ;
- for every .
- .
- , strictly.
Notions used.
- Whitened. is whitened under if, for all coordinates ,
- Prediction loss. This is the real number
where is the squared Euclidean norm on .
- Spectral minimiser. is a spectral minimiser if is whitened and for every whitened . Comparison is only against whitened competitors.
- Normalised adjacency. is the matrix
- Eigenvalue list. is defined as follows. Take the real roots of the characteristic polynomial of , counted with multiplicity, and sort them in non-increasing order. If is at least the number of such roots, set .
- Top space. is the linear span of the union of the eigenspaces over all real with . These are the eigenvectors whose eigenvalue is at least .
- Orthogonal matrices. is the group of real matrices with .
Conclusion. Under the hypotheses, all three of the following hold.
(a) Existence. There exists a spectral minimiser .
(b) Value of the minimum. Every spectral minimiser satisfies
The sum runs over the indices ; it excludes and includes .
(c) Conditional characterisation. Assume the following gap condition:
This condition is automatically satisfied when . Note that it compares with . Under this assumption, both of the following hold.
- (c1) Characterisation. For every , is a spectral minimiser if and only if both of these hold:
- is whitened;
- for each coordinate , the vector lies in .
- (c2) Uniqueness up to rotation. For any two spectral minimisers , there exists such that
If the gap condition fails, part (c) asserts nothing. Parts (a) and (b) do not depend on the gap condition.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.