Section 2, Eq. (21) —
ProvedRandomGradFree.Nonsmooth.smoothing_hasGradientLet be Lipschitz continuous with constant and let . Then the Gaussian smoothing is differentiable at every , and its gradient is the expectation of the finite-difference oracle:
In other words, the random oracle is an unbiased estimator of ; this is the identity that turns the random search method into a stochastic gradient method for .
Formalization Note "Differentiable with this gradient" is Mathlib's HasGradientAt, with the gradient taken with respect to the inner product of (the paper's , so the paper's ). The paper assumes only that has directional derivatives and differentiates under the integral sign; Lipschitz continuity is assumed here, which justifies that step and is the setting of Theorem 6.
import Mathlib import Definitions.Def_RandomGradFree_Shared_smoothing import Definitions.Def_RandomGradFree_Nonsmooth_oracle open MeasureTheory ProbabilityTheory
namespace RandomGradFree.Nonsmooth
theorem smoothing_hasGradient {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) :
HasGradientAt (RandomGradFree.Shared.smoothing f μ) (∫ u, oracle f μ x u ∂(stdGaussian E)) x := by sorry
end RandomGradFree.Nonsmooth
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
The setting is:
- is a finite-dimensional real inner product space with its Borel σ-algebra.
- is the standard Gaussian measure on .
- is any function (convexity is not assumed) satisfying, for a real , for all .
- (strictly) is a real number and is a point.
The statement asserts that is (Fréchet) differentiable at and that its gradient there is
with the integral taken as a vector-valued (Bochner) integral in . The gradient is the vector representing the derivative through the inner product. The function is defined in a separate shared definition not included in this declaration's code, so its formula cannot be expanded here.
The statement does not separately assert that the integrand is integrable. By convention, the integral of a non-integrable function is the zero vector. In that case the claim would read .
Degenerate cases:
- : the integrand is , so the claim is that has gradient at . On the one-point space this holds for any function.
- : is constant, the integrand is identically , and the claim is that has gradient at .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.