Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Lemma 1 — Gaussian moment bounds Mp≤np/2M_p \le n^{p/2}Mp​≤np/2 (p∈[0,2]p\in[0,2]p∈[0,2]), np/2≤Mp≤(p+n)p/2n^{p/2}\le M_p\le (p+n)^{p/2}np/2≤Mp​≤(p+n)p/2 (p≥2p\ge2p≥2)

Proved
RandomGradFree.Nonsmooth.gaussian_moment_bound

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

gaussian-momentsgaussian-smoothingp2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let EEE be a real inner product space of dimension nnn, uuu a standard Gaussian vector in EEE, and Mp=Eu∥u∥pM_p = \mathbb E_u\|u\|^pMp​=Eu​∥u∥p. Then:

  1. for p∈[0,2]p \in [0,2]p∈[0,2],
Mp≤np/2;M_p \le n^{p/2};Mp​≤np/2;
  1. for p≥2p \ge 2p≥2,
np/2≤Mp≤(p+n)p/2.n^{p/2} \le M_p \le (p+n)^{p/2}.np/2≤Mp​≤(p+n)p/2.

These bounds turn every moment of the Gaussian direction that appears in the variance of the gradient-free oracles into an explicit function of the dimension; p=1p = 1p=1 gives the approximation error of Gaussian smoothing and p=4p = 4p=4 the second moment of the oracle.

Formalization Note Powers are real powers (Real.rpow) and nnn is Module.finrank ℝ E; no lower bound on nnn is assumed (at n=0n = 0n=0 all bounds hold).

Preamble
import Mathlib
import Definitions.Def_RandomGradFree_Shared_moment
Formal statement
namespace RandomGradFree.Nonsmooth

theorem gaussian_moment_bound (E : Type*) [NormedAddCommGroup E] [InnerProductSpace ℝ E]
    [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] (p : ℝ) :
    (0 ≤ p → p ≤ 2 → RandomGradFree.Shared.moment E p ≤ (Module.finrank ℝ E : ℝ) ^ (p / 2)) ∧
    (2 ≤ p → (Module.finrank ℝ E : ℝ) ^ (p / 2) ≤ RandomGradFree.Shared.moment E p ∧
      RandomGradFree.Shared.moment E p ≤ (p + Module.finrank ℝ E) ^ (p / 2)) := by sorry

end RandomGradFree.Nonsmooth
Source
Nesterov, Spokoiny, Random Gradient-Free Minimization of Convex Functions, Found. Comput. Math. 17 (2017), p. 534, Lemma 1, Eqs. (16)-(17)
Read-back

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

The setting is:

  • EEE is a finite-dimensional real inner product space with its Borel σ-algebra.
  • n=dim⁡REn = \dim_{\mathbb{R}} En=dimR​E, viewed as a real number.
  • ppp is any real number.

The statement concerns a quantity Mp=moment(E,p)M_p = \mathrm{moment}(E, p)Mp​=moment(E,p), a real number. It is defined in a separate shared definition that is not included in this declaration's code, so its meaning cannot be expanded here. The statement asserts both of the following:

  • If 0≤p≤20 \le p \le 20≤p≤2, then
Mp≤np/2.M_p \le n^{p/2}.Mp​≤np/2.
  • If p≥2p \ge 2p≥2, then
np/2≤Mp≤(p+n)p/2.n^{p/2} \le M_p \le (p+n)^{p/2}.np/2≤Mp​≤(p+n)p/2.

Powers are real powers of nonnegative reals.

Degenerate cases:

  • p<0p < 0p<0: both implications are vacuous, so nothing is asserted.
  • p=2p = 2p=2: both parts apply, giving M2≤nM_2 \le nM2​≤n and n≤M2≤n+2n \le M_2 \le n+2n≤M2​≤n+2. Hence M2=nM_2 = nM2​=n exactly.
  • p=0p = 0p=0: n0=1n^0 = 1n0=1 (including 00=10^0 = 100=1), so the claim is M0≤1M_0 \le 1M0​≤1.
  • n=0n = 0n=0 (E={0}E = \{0\}E={0}), 0<p≤20 < p \le 20<p≤2: 0p/2=00^{p/2} = 00p/2=0, so the claim is Mp≤0M_p \le 0Mp​≤0.
  • n=0n = 0n=0, p≥2p \ge 2p≥2: the claim is 0≤Mp≤pp/20 \le M_p \le p^{p/2}0≤Mp​≤pp/2.
Human review
  • Endorsed by Shuze Chen · Sep 28, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 28, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me