Lemma 2: anisotropy amplifies the variance of the least-squares probe
ProvedLeJEPA.anisotropy_amplifies_varianceLet () have the same column span. Let be positive definite and not a multiple of the identity, and let . For noise variance , the least-squares probe () has strictly larger total variance on the anisotropic embedding:
import Mathlib import Definitions.Def_LeJEPA_Basic open MeasureTheory Matrix Filter Topology open scoped ENNReal InnerProductSpace
namespace LeJEPA
theorem anisotropy_amplifies_variance {N K : ℕ} (hK : 0 < K) (Zaniso Ziso : Matrix (Fin N) (Fin K) ℝ)
(hspan : LinearMap.range (Matrix.toLin' Zaniso) = LinearMap.range (Matrix.toLin' Ziso))
(hpos : (Zanisoᵀ * Zaniso).PosDef)
(hiso : Zisoᵀ * Ziso = ((Zanisoᵀ * Zaniso).trace / K) • (1 : Matrix (Fin K) (Fin K) ℝ))
(haniso : Zanisoᵀ * Zaniso ≠ ((Zanisoᵀ * Zaniso).trace / K) • (1 : Matrix (Fin K) (Fin K) ℝ))
(σ : ℝ) (hσ : 0 < σ) :
olsTotalVariance Ziso σ < olsTotalVariance Zaniso σ := by sorry
end LeJEPARead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Fix natural numbers (number of rows) and (number of columns), with the hypothesis . Let and be arbitrary real matrices. Write
for the Gram matrix of . Let be a real number.
Hypotheses. The statement assumes all of the following:
- Equal column spaces. The column spaces coincide as subspaces of :
- is positive definite. is symmetric and for every nonzero . This can only hold when and has full column rank ; for the hypothesis is unsatisfiable.
- has a scalar Gram matrix. The Gram matrix of is the scalar matrix whose scalar is the average diagonal entry of :
Here is ordinary real division, which is well-defined since . 4. is not scalar. is not equal to that same scalar matrix:
When , every matrix equals its trace times . So this hypothesis cannot hold for , and the theorem is vacuous in that case. Non-vacuous instances require and . 5. Positive . .
Definition used. For a real matrix and a real , the quantity "OLS total variance" is defined purely algebraically as
The inverse is the total matrix inverse: it is the usual inverse when is invertible, and is the zero matrix (giving ) when is singular. No random variables, noise model, or estimator appear in the statement. is just a real parameter, and the word "variance" comes only from the name of this definition.
Conclusion. Under these hypotheses, the following strict inequality holds:
Both inverses are genuine inverses here:
- is invertible because it is positive definite.
- with , because the trace of a positive definite matrix is positive.
So the left-hand side equals .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.