Section 2, Eq. (21) —
ProvedRandomGradFree.Smooth.smoothing_hasGradientLet be a finite-dimensional real inner product space, differentiable with -Lipschitz gradient, and . Then the Gaussian approximation is differentiable at every , and its gradient is the expected finite-difference oracle:
This identity says that the random oracle is an unbiased estimator of , so the random gradient method is a stochastic gradient method for .
Formalization Note The paper's formula has (a dual vector); after identifying with via the inner product this is the vector . The paper asks only that be continuous enough to differentiate under the integral and leaves integrability implicit; here (the setting of Theorem 8) guarantees it.
import Mathlib import Definitions.Def_RandomGradFree_Shared_smoothing import Definitions.Def_RandomGradFree_Shared_oracle open MeasureTheory ProbabilityTheory
namespace RandomGradFree.Smooth
theorem smoothing_hasGradient {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E]
[FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E]
(f : E → ℝ)
(L₁ : ℝ) (hL₁ : 0 ≤ L₁) (hdiff : Differentiable ℝ f)
(hgrad : ∀ x y, ‖gradient f x - gradient f y‖ ≤ L₁ * ‖x - y‖)
(μ : ℝ) (hμ : 0 < μ) (x : E) :
HasGradientAt (RandomGradFree.Shared.smoothing f μ) (∫ u, RandomGradFree.Shared.oracle f μ x u ∂(stdGaussian E)) x := by sorry
end RandomGradFree.Smooth
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. is a finite-dimensional real inner product space with its Borel σ-algebra, and is the standard Gaussian measure on .
Hypotheses.
- is differentiable everywhere.
- Its gradient is -Lipschitz, with : for all .
- .
- is arbitrary.
Convexity of is not assumed.
Claim. Let and be the imported definitions RandomGradFree.Shared.smoothing and RandomGradFree.Shared.oracle. Their bodies are not included in the code provided, so this read-back cannot unfold them. The theorem asserts that is Fréchet differentiable at with gradient equal to the -valued Bochner integral
Degenerate cases.
- Integral convention. If were not Bochner-integrable, the integral would be defined as . The claim would then say that has gradient at .
- . This is allowed and forces to be affine.
- . This is excluded.
- . The claim reduces to the right-hand side being the zero vector, which holds automatically.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.