Proposition 2: pairs identify the rotation
ProvedPlatonicJEPA.k_pairs_identify_rotation(i) Every rotation of a whitened embedding is whitened, so no statistic of the first two moments of unpaired samples identifies the rotation between two modalities.
(ii) Suppose for some , as for two minimisers in the setting of Theorem 1 and Proposition 1. If the embeddings of world states span , then is the unique minimiser over of
(orthogonal Procrustes).
import Mathlib import Definitions.Def_PlatonicJEPA_Basic open MeasureTheory Filter Topology
namespace PlatonicJEPA
theorem k_pairs_identify_rotation {Z : Type*} [Fintype Z] [DecidableEq Z] {k : ℕ}
(p : Z → ℝ) (h₁ h₂ : Z → Fin k → ℝ) :
(∀ Q : Matrix.orthogonalGroup (Fin k) ℝ,
IsWhitened p h₁ → IsWhitened p (fun z => rot Q (h₁ z))) ∧
(∀ (Q : Matrix.orthogonalGroup (Fin k) ℝ), (∀ z, h₁ z = rot Q (h₂ z)) →
∀ (n : ℕ) (zs : Fin n → Z), k ≤ n →
Submodule.span ℝ (Set.range fun i => h₂ (zs i)) = ⊤ →
∀ R : Matrix.orthogonalGroup (Fin k) ℝ,
((∀ R' : Matrix.orthogonalGroup (Fin k) ℝ,
∑ i, sqNorm (h₁ (zs i) - rot R (h₂ (zs i))) ≤
∑ i, sqNorm (h₁ (zs i) - rot R' (h₂ (zs i)))) ↔ R = Q)) := by sorry
end PlatonicJEPARead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Fix a finite set (possibly empty, with decidable equality), a natural number (possibly ), an arbitrary real-valued function , and two arbitrary maps . Nothing is assumed about : it need not be positive, need not sum to , and need not be a probability. Let denote the real orthogonal matrices, . For and , is the ordinary matrix–vector product, and is the squared Euclidean norm.
Call a map whitened under if both of the following hold:
Here the weights are the arbitrary real numbers above.
The theorem asserts the conjunction of two statements.
(1) Rotation invariance of whitening. For every , if is whitened under , then the map is also whitened under . This part concerns only and ; plays no role.
(2) Identification of the rotation from finitely many points. Let satisfy for every . Such a exists only if is an exact orthogonal transform of ; otherwise this part is vacuous.
Then for every and every finite sequence (repetitions allowed) satisfying both
- , and
- the vectors linearly span all of ,
and for every , the following equivalence holds:
In words, is a global minimiser of the sum of squared residuals over all orthogonal matrices if and only if equals . Hence is the unique orthogonal minimiser.
Several features of part (2) are worth noting:
- It makes no use of and does not assume that or is whitened.
- The condition is implied by the spanning condition.
- When , the space is spanned by any family, including the empty one with . In that case has a single element, so the equivalence holds trivially.
- If is empty, only is possible, and the spanning condition can then hold only when .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.