If then almost surely
ProvedRobustMeanCov.Projection.projection_degenerateLet and let be a real matrix with . Then for every law ,
This is the degenerate case of the general projection property: when the projected variance vanishes, every feasible projects onto the constant , and the univariate class consists of the point mass at alone.
Formalization Note The statement holds for every matrix ; positive semidefiniteness is not assumed because it is not used.
import Mathlib import Definitions.Def_RobustMeanCov_Projection_MeanCovClass import Definitions.Def_RobustMeanCov_Shared_MeanVarClass open MeasureTheory Matrix open scoped RealInnerProductSpace MatrixOrder
namespace RobustMeanCov.Projection
/-- Appendix, proof of Theorem 1, first sentence (Popescu 2007, p. 109): if `x′Σx = 0`, then
`x′R ≡ x′μ` almost surely for every law `R ∼ (μ, Σ)`. -/
theorem projection_degenerate {n : ℕ} (μ x : EuclideanSpace ℝ (Fin n))
(S : Matrix (Fin n) (Fin n) ℝ) (hq : x.ofLp ⬝ᵥ S *ᵥ x.ofLp = 0)
(P : Measure (EuclideanSpace ℝ (Fin n))) (hP : P ∈ MeanCovClass μ S) :
∀ᵐ R ∂P, ⟪x, R⟫ = ⟪x, μ⟫ := by sorry
end RobustMeanCov.Projection
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
This theorem fixes , vectors and a real matrix . It uses , the set of probability measures on that satisfy:
- every coordinate is square-integrable;
- for every ;
- for all .
The hypotheses are:
- the quadratic form vanishes: ;
- is a measure on with .
The conclusion is that for -almost every ,
where . There is no hypothesis that is symmetric or positive semidefinite.
Degenerate cases: if is empty, no exists and the statement is vacuous. If or , both sides are and the conclusion holds trivially.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.