Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

If Z∼(0,In)\mathbf Z\sim(0,I_n)Z∼(0,In​) and Σ⪰0\Sigma\succeq 0Σ⪰0 then μ+Σ1/2Z∼(μ,Σ)\mu+\Sigma^{1/2}\mathbf Z\sim(\mu,\Sigma)μ+Σ1/2Z∼(μ,Σ)

Proved
RobustMeanCov.Projection.affine_image_mem

by mikedeng1 · Sep 26, 2026 · Mathlib 0df444a (Lean v4.33.1)

matrix-square-rootmoment-classp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let μ∈Rn\mu\in\mathbb{R}^nμ∈Rn, let Σ\SigmaΣ be a real positive semidefinite n×nn\times nn×n matrix with positive semidefinite square root Σ1/2\Sigma^{1/2}Σ1/2, and let Q∈M(0,In)nQ\in \mathbb{M}^n_{(0,I_n)}Q∈M(0,In​)n​. If Z\mathbf ZZ has law QQQ, then

R=μ+Σ1/2Z\mathbf R = \mu + \Sigma^{1/2}\mathbf ZR=μ+Σ1/2Z

has a law in M(μ,Σ)n\mathbb{M}^n_{(\mu,\Sigma)}M(μ,Σ)n​.

This is the step that turns the isotropic lift into a feasible random vector of the original mean-covariance class.

Formalization Note Σ1/2\Sigma^{1/2}Σ1/2 is CFC.sqrt S acting through Matrix.toEuclideanCLM, as in Mathlib's multivariateGaussian. The law of R\mathbf RR is the pushforward of QQQ under the continuous affine map Z↦μ+Σ1/2ZZ\mapsto \mu+\Sigma^{1/2}ZZ↦μ+Σ1/2Z. The hypothesis Σ⪰0\Sigma\succeq 0Σ⪰0 is Theorem 1's.

Preamble
import Mathlib
import Definitions.Def_RobustMeanCov_Projection_MeanCovClass
import Definitions.Def_RobustMeanCov_Shared_MeanVarClass
open MeasureTheory Matrix
open scoped RealInnerProductSpace MatrixOrder
Formal statement
namespace RobustMeanCov.Projection

/-- Appendix, proof of Theorem 1, final sentence (Popescu 2007, p. 110): if `Z ∼ (0, Iₙ)` and
`Σ ⪰ 0`, then `R = μ + Σ^{1/2} Z ∼ (μ, Σ)`. -/
theorem affine_image_mem {n : ℕ} (μ : EuclideanSpace ℝ (Fin n))
    (S : Matrix (Fin n) (Fin n) ℝ) (hS : S.PosSemidef)
    (Q : Measure (EuclideanSpace ℝ (Fin n)))
    (hQ : Q ∈ MeanCovClass (0 : EuclideanSpace ℝ (Fin n)) (1 : Matrix (Fin n) (Fin n) ℝ)) :
    Q.map (fun Z => μ + toEuclideanCLM (𝕜 := ℝ) (CFC.sqrt S) Z) ∈ MeanCovClass μ S := by sorry

end RobustMeanCov.Projection
Source
Popescu, Robust Mean-Covariance Solutions for Stochastic Optimization, Oper. Res. 55(1), 2007, https://doi.org/10.1287/opre.1060.0353, p. 110, Appendix, proof of Theorem 1, final sentence ('Defining R = μ + Σ^{1/2}Z')
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

This theorem fixes n∈Nn \in \mathbb{N}n∈N, a vector μ∈Rn\mu \in \mathbb{R}^nμ∈Rn and a real n×nn\times nn×n matrix SSS that is positive semidefinite (symmetric, with z⊤Sz≥0z^\top S z \ge 0z⊤Sz≥0 for all zzz). It also fixes a measure QQQ on Rn\mathbb{R}^nRn with Q∈M(0,In)nQ \in \mathbb{M}^n_{(0, I_n)}Q∈M(0,In​)n​. That membership means:

  • QQQ is a probability measure;
  • every coordinate is square-integrable;
  • ∫Zi dQ=0\int Z_i\,dQ = 0∫Zi​dQ=0 for every iii;
  • ∫ZiZj dQ=δij\int Z_i Z_j\,dQ = \delta_{ij}∫Zi​Zj​dQ=δij​ for all i,ji, ji,j.

S1/2S^{1/2}S1/2 is the functional-calculus square root of SSS, which is the unique positive semidefinite square root. The conclusion is that the pushforward of QQQ under the affine map

Z↦μ+S1/2ZZ \mapsto \mu + S^{1/2} ZZ↦μ+S1/2Z

lies in M(μ,S)n\mathbb{M}^n_{(\mu, S)}M(μ,S)n​. That is, it satisfies all of the following:

  • it is a probability measure;
  • its coordinates are square-integrable;
  • its coordinate means are μi\mu_iμi​;
  • ∫(Ri−μi)(Rj−μj)=Sij\int (R_i-\mu_i)(R_j-\mu_j) = S_{ij}∫(Ri​−μi​)(Rj​−μj​)=Sij​ for all i,ji, ji,j.

Degenerate cases: when n=0n = 0n=0, both classes consist of the single probability measure on the one-point space, and the statement holds trivially. When S=0S = 0S=0, the claim is that the Dirac measure at μ\muμ lies in M(μ,0)n\mathbb{M}^n_{(\mu, 0)}M(μ,0)n​.

Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me