Theorem 1: LeJEPA linear identifiability
ProvedLeJEPAWorldModel.lejepa_linear_identifiabilityConsider the Gaussian world with . A positive pair is and , with independent of . Let be measurable with , and let . Then:
- ;
- equality holds if and only if there is an orthogonal with for -almost every ;
- at any such optimum, .
In words, any representation that satisfies both LeJEPA objectives recovers the latent variables up to a global rotation, together with their transition.
Formalization Note The identity is between random variables, so it is stated -almost everywhere. Since , the conditional law in item 3 is equivalent to the statement that the pair has the same joint law as . The Lean statement uses this joint-law form.
import Mathlib import Definitions.Def_LeJEPAWorldModel_Basic open MeasureTheory ProbabilityTheory Filter Topology open scoped ENNReal
namespace LeJEPAWorldModel
theorem lejepa_linear_identifiability (N : ℕ) (ρ : ℝ) (hρ0 : 0 < ρ) (hρ1 : ρ < 1)
(h : (Fin N → ℝ) → Fin N → ℝ) (hmeas : Measurable h)
(hlaw : (stdGaussian N).map h = stdGaussian N) :
2 * (1 - ρ) * N ≤ alignLoss N ρ h ∧
(alignLoss N ρ h = 2 * (1 - ρ) * N ↔
∃ Q ∈ Matrix.orthogonalGroup (Fin N) ℝ, ∀ᵐ z ∂stdGaussian N, h z = Q.mulVec z) ∧
(alignLoss N ρ h = 2 * (1 - ρ) * N →
(ouPairLaw N ρ).map (fun p => (h p.1, h p.2)) = ouPairLaw N ρ) := by sorry
end LeJEPAWorldModelRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Fix a natural number ; the case is allowed, and then is a single point. Fix a real number with
Let be a Borel-measurable map. Let be the standard Gaussian on , the product of copies of the one-dimensional normal law . The theorem assumes that preserves : if , then , i.e. . No other hypothesis is made on . In particular, is not assumed continuous, linear or invertible.
The pair law. Let be the joint law of on , defined by:
- and are independent, each with law ;
- .
The alignment loss. Write . The loss of is the integral
It is taken as a real-valued Bochner integral, so by convention it would equal if the integrand were not integrable.
The three conclusions. Under these hypotheses, all of the following hold:
- Lower bound:
- Characterization of equality: holds if and only if there is a real orthogonal matrix (so ) such that
- Preservation of the pair law at equality: if , then the joint law of for equals itself.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.