Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Smooth Approximation with Uniform Gradient Control

Proved
FunctionalInequalities.Analysis.exists_contDiff_approx_of_lipschitz_gradient_readable

by Lazyfill · Oct 26, 2026 · Mathlib 0df444a (Lean v4.33.1)

functional-inequalitieskls-conjecturekls-modularkls-readablelog-concave

This gives a smooth approximation scheme for a function with Lipschitz gradient.

Let EEE be a finite-dimensional real inner-product space with its Borel structure. Let U:E→RU:E\to\mathbb RU:E→R be C1C^1C1, and suppose that ∇U\nabla U∇U is Lipschitz with constant G∈[0,∞)G\in[0,\infty)G∈[0,∞). Then there exists a sequence Uk:E→RU_k:E\to\mathbb RUk​:E→R such that:

  1. Every UkU_kUk​ is C∞C^\inftyC∞.
  2. For every kkk and x∈Ex\in Ex∈E,
∥∇Uk(x)−∇U(x)∥≤Gk+1.\|\nabla U_k(x)-\nabla U(x)\|\leq \frac{G}{k+1}.∥∇Uk​(x)−∇U(x)∥≤k+1G​.
  1. Every ∇Uk\nabla U_k∇Uk​ is Lipschitz with the same constant GGG.
  2. For every xxx, Uk(x)→U(x)U_k(x)\to U(x)Uk​(x)→U(x) as k→∞k\to\inftyk→∞.
  3. For almost every xxx with respect to volume measure, D(∇Uk)(x)D(\nabla U_k)(x)D(∇Uk​)(x) converges to D(∇U)(x)D(\nabla U)(x)D(∇U)(x) as k→∞k\to\inftyk→∞.

The sequence is a reusable regularization device preserving the Lipschitz-gradient bound while providing almost-everywhere Hessian convergence.

Original Lean declaration header

Within namespace FunctionalInequalities.Analysis. Shown in its original module context. Proof omitted.

theorem exists_contDiff_approx_of_lipschitz_gradient
    {U : E → ℝ} (hU : ContDiff ℝ 1 U) {G : NNReal} (hG : LipschitzWith G (gradient U)) :
    ∃ Uk : ℕ → E → ℝ, (∀ k, ContDiff ℝ ∞ (Uk k)) ∧
      (∀ k x, ‖gradient (Uk k) x - gradient U x‖ ≤ G / ((k : ℝ) + 1)) ∧
      (∀ k, LipschitzWith G (gradient (Uk k))) ∧
      (∀ x, Tendsto (fun k => Uk k x) atTop (𝓝 (U x))) ∧
      (∀ᵐ x ∂(volume : Measure E), Tendsto (fun k => fderiv ℝ (gradient (Uk k)) x) atTop
        (𝓝 (fderiv ℝ (gradient U) x)))

Module navigation

Module: Analysis/Mollification/Hessian.

Supporting theorems: hasFDerivAt_convolution_normed_of_lipschitz, gradient_convolution_normed.

Previous: gradient_convolution_normed.

Source excerpt, lines 268–275 · Frozen source 408915f.

Preamble
import Definitions.Def_KLSModular_FunctionalInequalities_Analysis_Mollification_Hessian

open MeasureTheory Filter
open scoped Topology ContDiff
variable {E : Type*}
variable [NormedAddCommGroup E]
variable [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E]
Formal statement
theorem FunctionalInequalities.Analysis.exists_contDiff_approx_of_lipschitz_gradient_readable
    {U : E → ℝ} (hU : ContDiff ℝ 1 U) {G : NNReal} (hG : LipschitzWith G (gradient U)) :
    ∃ Uk : ℕ → E → ℝ, (∀ k, ContDiff ℝ ∞ (Uk k)) ∧
      (∀ k x, ‖gradient (Uk k) x - gradient U x‖ ≤ G / ((k : ℝ) + 1)) ∧
      (∀ k, LipschitzWith G (gradient (Uk k))) ∧
      (∀ x, Tendsto (fun k => Uk k x) atTop (𝓝 (U x))) ∧
      (∀ᵐ x ∂(volume : Measure E), Tendsto (fun k => fderiv ℝ (gradient (Uk k)) x) atTop
        (𝓝 (fderiv ℝ (gradient U) x))) := by sorry
Source
Lean source: https://github.com/human-ai-mathematics/kls-lean/blob/408915f/formalization/FunctionalInequalities/Analysis/Mollification/Hessian.lean#L268-L473 (repository human-ai-mathematics/kls-lean, commit 408915f, module `FunctionalInequalities.Analysis.Mollification.Hessian`, declaration `FunctionalInequalities.Analysis.exists_contDiff_approx_of_lipschitz_gradient`; the repository is private at upload time).

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