Theorem 3: eigenspace alignment
ProvedSSLWithoutPairs.eigenspace_alignmentLet , , , and let be any real function. Let (positive semidefinite) and (symmetric), , be matrices solving the symmetrised dynamics (7):
Then the commutator satisfies
If moreover , then for all
In words, the eigenspaces of the predictor and of its input correlation matrix align.
Formalization Note Symmetry of (Assumption 3) and positive semidefiniteness of are assumed for all . The paper's condition "" is written as " for all "; the two forms are equivalent.
import Mathlib import Definitions.Def_SSLWithoutPairs_Basic open MeasureTheory ProbabilityTheory Filter Topology Matrix
namespace SSLWithoutPairs
theorem eigenspace_alignment {d : ℕ} (αp σ η : ℝ) (hαp : 0 < αp) (hη : 0 ≤ η) (τ : ℝ → ℝ)
(F Wp : ℝ → Matrix (Fin d) (Fin d) ℝ)
(hF : ∀ t : ℝ, 0 ≤ t → (F t).PosSemidef) (hWp : ∀ t : ℝ, 0 ≤ t → (Wp t)ᵀ = Wp t)
(hdWp : HasMatDerivOn Wp (fun t => symFlowWp αp σ η (τ t) (Wp t) (F t)))
(hdF : HasMatDerivOn F (fun t => symFlowF σ η (τ t) (Wp t) (F t))) :
HasMatDerivOn (fun t => commutator (F t) (Wp t))
(fun t => -(commutator (F t) (Wp t) * alignK αp σ η (τ t) (F t) (Wp t)) -
alignK αp σ η (τ t) (F t) (Wp t) * commutator (F t) (Wp t)) ∧
∀ lam0 : ℝ, 0 < lam0 → (∀ t : ℝ, 0 ≤ t → lam0 ≤ minEig (alignK αp σ η (τ t) (F t) (Wp t))) →
∀ t : ℝ, 0 ≤ t → frobNorm (commutator (F t) (Wp t)) ≤
Real.exp (-2 * lam0 * t) * frobNorm (commutator (F 0) (Wp 0)) := by sorry
end SSLWithoutPairsRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix:
- a dimension , which may be ;
- real constants with and . is an arbitrary real number and enters only through , so ;
- an arbitrary function , with no continuity, measurability or sign assumption;
- two matrix-valued trajectories .
Hypotheses. All of them concern only times ; nothing is assumed about .
- For every , is positive semidefinite. This means it is symmetric and for all .
- For every , is symmetric: .
- For every , every entry of is differentiable at relative to . The derivative is one-sided from the right at and ordinary for . It satisfies
- In the same sense, every entry of is differentiable at each with
These hypotheses are satisfiable. For example, and satisfy all of them for any .
Notation. Write the commutator as
Write for the matrix
This equals .
The norm is the Frobenius norm, .
is defined as the infimum of the set of real roots of the characteristic polynomial of . For , is symmetric and, when , this is its smallest eigenvalue. When , the characteristic polynomial is , which has no roots, and by the convention for the infimum of the empty set, .
Conclusion. The theorem asserts both of the following.
(i) Derivative of the commutator. For every , every entry of is differentiable at relative to , with
(ii) Exponential decay of the commutator. Let be any real number such that for every . Then for every ,
When , the hypothesis of (ii) requires , which contradicts , so (ii) is vacuous; (i) is then also trivial, since all matrices are empty.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.