Theorem 3: nuisance costs alignment
OpenPlatonicJEPA.nuisance_costs_alignmentLet and be centred, whitened encoders of two modalities into , , written on observations of state with nuisance , the state and the nuisances being independent. Over paired observations of one world state with independent nuisances, for every ,
and if and only if is a function of the world state alone.
import Mathlib import Definitions.Def_PlatonicJEPA_Basic open MeasureTheory Filter Topology
namespace PlatonicJEPA
theorem nuisance_costs_alignment {Z N₁ N₂ : Type*} [Fintype Z] [DecidableEq Z] [Fintype N₁]
[Fintype N₂] {k : ℕ} (hk : 1 ≤ k)
(p : Z → ℝ) (hp : ∀ z, 0 < p z) (hp1 : ∑ z, p z = 1)
(q₁ : N₁ → ℝ) (hq₁ : ∀ ν, 0 < q₁ ν) (hq₁1 : ∑ ν, q₁ ν = 1)
(q₂ : N₂ → ℝ) (hq₂ : ∀ ν, 0 < q₂ ν) (hq₂1 : ∑ ν, q₂ ν = 1)
(e₁ : Z → N₁ → Fin k → ℝ) (e₂ : Z → N₂ → Fin k → ℝ)
(he₁ : IsWhitenedObs p q₁ e₁) (he₂ : IsWhitenedObs p q₂ e₂) :
(∀ Q : Matrix.orthogonalGroup (Fin k) ℝ,
2 * k * (1 - min (rho p q₁ e₁) (rho p q₂ e₂)) ≤
∑ z, ∑ ν₁, ∑ ν₂, p z * q₁ ν₁ * q₂ ν₂ * sqNorm (rot Q (e₁ z ν₁) - e₂ z ν₂)) ∧
(rho p q₁ e₁ = 1 ↔ ∀ z ν ν', e₁ z ν = e₁ z ν') ∧
(rho p q₂ e₂ = 1 ↔ ∀ z ν ν', e₂ z ν = e₂ z ν') := by sorry
end PlatonicJEPARead-back
What the Lean code literally says, in plain math · claude-opus-5-5
The statement concerns the following objects:
- Spaces. A finite set of world states with decidable equality, two finite nuisance sets and , and a natural number with . The embedding space is , with .
- Probabilities. is a function on with for every and . For , is a function on with for every and . These normalisations force , and to be non-empty.
- Encoders. For , is an arbitrary function, written . No relation between and is assumed, other than that both are tied to the same .
Whitening hypothesis. Each is assumed centred and whitened under the product law on . That is, for all coordinates :
This hypothesis can only hold if has at least elements. If , no such exists and the theorem is vacuous.
The quantity . Define the conditional mean
and the matrix
Then
where the sum runs over the real roots of the characteristic polynomial of , counted with multiplicity. The square root of a negative number is taken to be . Since is symmetric positive semidefinite, its roots are real and non-negative, so .
Conclusion. Under these hypotheses, all three of the following hold.
- For every orthogonal matrix (that is, ):
The right-hand side is the expected squared distance between the rotated first embedding and the second embedding. Here a single state is shared, and the nuisances and are drawn independently.
-
if and only if for all and all , i.e. does not depend on its nuisance argument.
-
if and only if for all and all .
When has a single element, the right-hand side of item 2 (respectively 3) holds trivially, so is asserted in that case.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.