Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Gluing Local Weak Derivatives From Compact Cutoffs

Proved
FunctionalInequalities.Analysis.exists_hasWeakDerivAlong_of_forall_cutoff_readable

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

functional-inequalitieskls-conjecturekls-modularkls-readablelog-concave

This is a generic gluing theorem for weak derivatives.

Let EEE be a finite-dimensional real inner-product normed space with its Borel measurable structure, and let f:E→Rf:E\to\mathbb Rf:E→R. Assume:

  1. for every compact set SSS, the restriction of fff to SSS belongs to L2L^2L2 with respect to restricted volume;
  2. for every C1C^1C1 compactly supported cutoff χ\chiχ, there is a globally L2L^2L2 function gχg_\chigχ​ such that χf\chi fχf has weak derivative gχg_\chigχ​ along a fixed vector vvv.

Then there exists g:E→Rg:E\to\mathbb Rg:E→R such that ggg is a weak derivative of fff along vvv, and for every compact SSS, ggg belongs to L2L^2L2 with respect to volume restricted to SSS.

The conclusion is local L2L^2L2 regularity of the derivative rather than global L2L^2L2 regularity. It provides a cutoff-gluing interface for weak derivative constructions.

Original Lean declaration header

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

theorem exists_hasWeakDerivAlong_of_forall_cutoff {E : Type*} [NormedAddCommGroup E]
    [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E]
    {f : E → ℝ} (hf : ∀ S : Set E, IsCompact S → MemLp f 2 ((volume : Measure E).restrict S)) (v : E)
    (hloc : ∀ χ : E → ℝ, ContDiff ℝ 1 χ → HasCompactSupport χ →
      ∃ g : E → ℝ, HasWeakDerivAlong (fun x => χ x * f x) g v ∧ MemLp g 2 (volume : Measure E)) :
    ∃ g : E → ℝ, HasWeakDerivAlong f g v ∧
      ∀ S : Set E, IsCompact S → MemLp g 2 ((volume : Measure E).restrict S)

Module navigation

Module: Analysis/WeakDerivative/Approximation.

Definition modules: Analysis/WeakDerivative/Basic.

Supporting theorems: HasWeakDerivAlong.mul_contDiff.

Next: exists_contDiff_compact_weak_deriv_approximation.

Source excerpt, lines 27–33 · Frozen source 408915f.

Preamble
import Definitions.Def_KLSModular_FunctionalInequalities_Analysis_WeakDerivative_Approximation

open MeasureTheory Set Filter Metric
Formal statement

theorem FunctionalInequalities.Analysis.exists_hasWeakDerivAlong_of_forall_cutoff_readable {E : Type*} [NormedAddCommGroup E]
    [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E]
    {f : E → ℝ} (hf : ∀ S : Set E, IsCompact S → MemLp f 2 ((volume : Measure E).restrict S)) (v : E)
    (hloc : ∀ χ : E → ℝ, ContDiff ℝ 1 χ → HasCompactSupport χ →
      ∃ g : E → ℝ, HasWeakDerivAlong (fun x => χ x * f x) g v ∧ MemLp g 2 (volume : Measure E)) :
    ∃ g : E → ℝ, HasWeakDerivAlong f g v ∧
      ∀ S : Set E, IsCompact S → MemLp g 2 ((volume : Measure E).restrict S) := by sorry
Source
Lean source: https://github.com/human-ai-mathematics/kls-lean/blob/408915f/formalization/FunctionalInequalities/Analysis/WeakDerivative/Approximation.lean#L24-L139 (repository human-ai-mathematics/kls-lean, commit 408915f, module `FunctionalInequalities.Analysis.WeakDerivative.Approximation`, declaration `FunctionalInequalities.Analysis.exists_hasWeakDerivAlong_of_forall_cutoff`; 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