Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Standardizing a (m,v)(m,v)(m,v) law with v>0v>0v>0 gives a (0,1)(0,1)(0,1) law

Proved
RobustMeanCov.Projection.standardize_mem

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

moment-classp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1standardization

Let m∈Rm\in\mathbb{R}m∈R and v>0v>0v>0. If a random variable r\mathbf rr has a law in M(m,v)\mathbb{M}_{(m,v)}M(m,v)​, then

z=v−1/2(r−m)\mathbf z = v^{-1/2}(\mathbf r - m)z=v−1/2(r−m)

has a law in M(0,1)\mathbb{M}_{(0,1)}M(0,1)​, that is, E[z]=0E[\mathbf z]=0E[z]=0 and Var⁡[z]=1\operatorname{Var}[\mathbf z]=1Var[z]=1.

In the proof of the general projection property this is applied with m=x′μm = x'\mum=x′μ and v=x′Σxv = x'\Sigma xv=x′Σx, reducing the target law to a standardized one.

Formalization Note The hypothesis v>0v>0v>0 is the case the proof is in after its first sentence; it also keeps the real power v−1/2v^{-1/2}v−1/2 away from its default value at non-positive arguments.

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, (1) (Popescu 2007, p. 109): standardizing a law with mean `m`
and variance `v > 0` by `z = v^{-1/2}(r - m)` gives a law with mean 0 and variance 1. -/
theorem standardize_mem (m v : ℝ) (hv : 0 < v) (ν : Measure ℝ) (hν : ν ∈ RobustMeanCov.Shared.MeanVarClass m v) :
    ν.map (fun r => v ^ (-(1 / 2 : ℝ)) * (r - m)) ∈ RobustMeanCov.Shared.MeanVarClass 0 1 := 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. 109, Appendix, proof of Theorem 1, (1) and the sentence after it
Read-back

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

This theorem fixes real numbers mmm and vvv with v>0v > 0v>0, and a measure ν\nuν on R\mathbb{R}R with ν∈MeanVarClass(m,v)\nu \in \mathrm{MeanVarClass}(m, v)ν∈MeanVarClass(m,v). MeanVarClass(m,v)\mathrm{MeanVarClass}(m, v)MeanVarClass(m,v) is a set of measures on R\mathbb{R}R indexed by two reals. Its definition is imported from another file and is not included in the code provided. Its name suggests "laws on R\mathbb{R}R with mean mmm and variance vvv", but this read-back cannot confirm what membership requires.

The conclusion is that the pushforward of ν\nuν under the affine map

r↦v−1/2(r−m)r \mapsto v^{-1/2}(r - m)r↦v−1/2(r−m)

lies in MeanVarClass(0,1)\mathrm{MeanVarClass}(0, 1)MeanVarClass(0,1). Because v>0v > 0v>0, the real power v−1/2v^{-1/2}v−1/2 is the ordinary value 1/v1/\sqrt{v}1/v​.

Degenerate cases: v=0v = 0v=0 and v<0v < 0v<0 are excluded by hypothesis. If MeanVarClass(m,v)\mathrm{MeanVarClass}(m, v)MeanVarClass(m,v) is empty for some (m,v)(m, v)(m,v), the statement is vacuous for those parameters. Whether that happens cannot be determined from the code shown.

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