The projection of has mean and variance
ProvedRobustMeanCov.Projection.projection_mapsToLet and let be a real matrix. If the law of a random vector belongs to , then the law of the scalar belongs to the univariate class with mean and variance :
This is the easy half of the general projection property: it gives the lower bound of display (4).
Formalization Note The projected law is the pushforward P.map (fun R => ⟪x, R⟫); the map is continuous, hence measurable, so the pushforward is not the junk zero measure. is written x.ofLp ⬝ᵥ S *ᵥ x.ofLp. No hypothesis on or is needed.
import Mathlib import Definitions.Def_RobustMeanCov_Projection_MeanCovClass import Definitions.Def_RobustMeanCov_Shared_MeanVarClass open MeasureTheory Matrix open scoped RealInnerProductSpace MatrixOrder
namespace RobustMeanCov.Projection
/-- §2.1, justification of (4) (Popescu 2007, p. 100): the projected law of `x′R` has mean
`x′μ` and variance `x′Σx`. -/
theorem projection_mapsTo {n : ℕ} (μ x : EuclideanSpace ℝ (Fin n))
(S : Matrix (Fin n) (Fin n) ℝ) :
Set.MapsTo (fun P : Measure (EuclideanSpace ℝ (Fin n)) => P.map (fun R => ⟪x, R⟫))
(MeanCovClass μ S) (RobustMeanCov.Shared.MeanVarClass ⟪x, μ⟫ (x.ofLp ⬝ᵥ S *ᵥ x.ofLp)) := 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 all of the following:
- every coordinate is square-integrable;
- the coordinate means are ;
- the second central moments are for all .
- , a set of measures on indexed by two reals. Its definition is imported from another file and is not included in the code provided. Its name suggests "laws on with mean and variance ", but this read-back cannot confirm what membership requires.
The theorem says that for every , the pushforward (image measure) of under the linear functional lies in the imported class:
There is no hypothesis that is symmetric or positive semidefinite.
Degenerate cases: if is empty (for example, is not a covariance matrix), the statement is vacuous. When or , the claim is that the Dirac measure at lies in . Whether that holds depends on the unseen definition of .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.