Theorem 3.1 — second moment of the directional-derivative oracle, (Eq. (32))
ProvedRandomGradFree.Accelerated.directional_oracle_second_momentLet be a real inner product space of dimension , a standard Gaussian vector in , and differentiable at the point . The limiting oracle satisfies
Applied to the Gaussian approximation , this is the step of the proof of Lemma 5 that controls the variance of the oracle.
Formalization Note The directional derivative is fderiv ℝ f x u, and is the norm of Mathlib's gradient f x (Riesz identification).
import Mathlib open MeasureTheory ProbabilityTheory
namespace RandomGradFree.Accelerated
theorem directional_oracle_second_moment {E : Type*} [NormedAddCommGroup E]
[InnerProductSpace ℝ E] [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E]
(f : E → ℝ) (x : E) (hfx : DifferentiableAt ℝ f x) :
∫ u, ‖fderiv ℝ f x u • u‖ ^ 2 ∂(stdGaussian E)
≤ ((Module.finrank ℝ E : ℝ) + 4) * ‖gradient f x‖ ^ 2 := by sorry
end RandomGradFree.Accelerated
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting:
- : a finite-dimensional real inner product space with its Borel σ-algebra, of dimension , carrying the standard Gaussian probability measure (Mathlib's
stdGaussian). - : any function.
- : a point at which is assumed to be (Fréchet) differentiable. Nothing is assumed about elsewhere.
denotes the derivative of at and its gradient, so . The theorem asserts
The integral is a Lebesgue (Bochner) integral of a nonnegative real function. If that function were not integrable, the integral would be assigned the value .
Degenerate cases: for , and , so both sides are . If , the claim says the left-hand integral is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.