Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1 (18) — ∣fμ(x)−f(x)∣≤μL0(f) n1/2|f_\mu(x)-f(x)| \le \mu L_0(f)\, n^{1/2}∣fμ​(x)−f(x)∣≤μL0​(f)n1/2 for Lipschitz fff

Proved
RandomGradFree.Nonsmooth.smoothing_approx

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

gaussian-smoothinglipschitzp2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let EEE be a real inner product space of dimension nnn and let f:E→Rf : E \to \mathbb Rf:E→R be Lipschitz continuous with constant L0≥0L_0 \ge 0L0​≥0, i.e. ∣f(x)−f(y)∣≤L0∥x−y∥|f(x) - f(y)| \le L_0\|x-y\|∣f(x)−f(y)∣≤L0​∥x−y∥ for all x,yx, yx,y. Let μ≥0\mu \ge 0μ≥0 and let fμ(x)=Euf(x+μu)f_\mu(x) = \mathbb E_u f(x+\mu u)fμ​(x)=Eu​f(x+μu) be the Gaussian smoothing of fff. Then for every x∈Ex \in Ex∈E,

∣fμ(x)−f(x)∣≤μL0 n1/2.|f_\mu(x) - f(x)| \le \mu L_0\, n^{1/2}.∣fμ​(x)−f(x)∣≤μL0​n1/2.

This quantifies how far the smoothed function is from the original one; in the random search method it bounds the gap between fμ(x∗)f_\mu(x^*)fμ​(x∗) and the optimal value f∗f^*f∗.

Formalization Note The paper writes L0(f)L_0(f)L0​(f) for the Lipschitz constant of f∈C0,0(E)f \in C^{0,0}(E)f∈C0,0(E); here L0L_0L0​ is any constant satisfying the Lipschitz inequality, which is what the bound needs (it is monotone in L0L_0L0​).

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

theorem smoothing_approx {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E]
    [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E]
    (f : E → ℝ) (L₀ : ℝ) (hL₀ : 0 ≤ L₀) (hLip : ∀ x y, |f x - f y| ≤ L₀ * ‖x - y‖)
    (μ : ℝ) (hμ : 0 ≤ μ) (x : E) :
    |RandomGradFree.Shared.smoothing f μ x - f x| ≤ μ * L₀ * Real.sqrt (Module.finrank ℝ E) := by sorry

end RandomGradFree.Nonsmooth
Source
Nesterov, Spokoiny, Random Gradient-Free Minimization of Convex Functions, Found. Comput. Math. 17 (2017), p. 534, Theorem 1, Eq. (18)
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, and n=dim⁡REn = \dim_{\mathbb{R}} En=dimR​E.
  • f:E→Rf : E \to \mathbb{R}f:E→R is any function (convexity is not assumed) satisfying a global Lipschitz condition: for a real L0≥0L_0 \ge 0L0​≥0,
∣f(x)−f(y)∣≤L0∥x−y∥for all x,y∈E.|f(x) - f(y)| \le L_0 \|x-y\| \quad \text{for all } x, y \in E .∣f(x)−f(y)∣≤L0​∥x−y∥for all x,y∈E.
  • μ≥0\mu \ge 0μ≥0 is a real number and x∈Ex \in Ex∈E is a point.

The statement uses fμ=smoothing(f,μ)f_\mu = \mathrm{smoothing}(f, \mu)fμ​=smoothing(f,μ), a function E→RE \to \mathbb{R}E→R. It is defined in a separate shared definition that is not included in this declaration's code, so its formula cannot be expanded here. The statement asserts

∣fμ(x)−f(x)∣≤μ L0n.|f_\mu(x) - f(x)| \le \mu\, L_0 \sqrt{n}.∣fμ​(x)−f(x)∣≤μL0​n​.

Degenerate cases:

  • μ=0\mu = 0μ=0: the claim is f0(x)=f(x)f_0(x) = f(x)f0​(x)=f(x).
  • n=0n = 0n=0 (E={0}E = \{0\}E={0}): the claim is fμ(x)=f(x)f_\mu(x) = f(x)fμ​(x)=f(x).
  • L0=0L_0 = 0L0​=0: the Lipschitz hypothesis forces fff to be constant, and the claim is fμ(x)=f(x)f_\mu(x) = f(x)fμ​(x)=f(x).
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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me