Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Gaussian Directional Integration by Parts

Proved
FunctionalInequalities.KLS.LogConcave.GaussianSmoothing.gaussianLaw_directional_identity_of_bounded_lipschitz_test_readable

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

functional-inequalitieskls-conjecturekls-modularkls-readablelog-concave

This statement gives Gaussian integration by parts for bounded globally Lipschitz C1C^1C1 tests.

Let n∈Nn\in\mathbb Nn∈N, let s>0s>0s>0, let f:Rn→Rf:\mathbb R^n\to\mathbb Rf:Rn→R be C1C^1C1 and globally Lipschitz with Lipschitz constant represented by L : NNReal, and suppose there is C∈RC\in\mathbb RC∈R such that ∥f(x)∥≤C\|f(x)\|\le C∥f(x)∥≤C for every xxx. For every v∈Rnv\in\mathbb R^nv∈Rn, both functions x↦⟨x,v⟩f(x)x\mapsto\langle x,v\rangle f(x)x↦⟨x,v⟩f(x) and x↦Dvf(x)x\mapsto D_vf(x)x↦Dv​f(x) are integrable with respect to gaussianLaw s, and

∫⟨x,v⟩f(x) dγs(x)=(2s)−1∫Dvf(x) dγs(x).\int \langle x,v\rangle f(x)\,d\gamma_s(x) = (2s)^{-1}\int D_vf(x)\,d\gamma_s(x).∫⟨x,v⟩f(x)dγs​(x)=(2s)−1∫Dv​f(x)dγs​(x).

This is the directional Gaussian identity with the exact parameterization used by gaussianLaw s, valid in all finite dimensions including n=0n=0n=0.

Original Lean declaration header

Within namespace FunctionalInequalities.KLS.LogConcave.GaussianSmoothing. Shown in its original module context. Proof omitted.

theorem gaussianLaw_directional_identity_of_bounded_lipschitz_test {n : ℕ}
    {s : ℝ} (hs : 0 < s) {f : EuclideanSpace ℝ (Fin n) → ℝ} {L : NNReal}
    (hf : ContDiff ℝ 1 f) (hLip : LipschitzWith L f) (C : ℝ) (hbound : ∀ x, ‖f x‖ ≤ C)
    (v : EuclideanSpace ℝ (Fin n)) :
    Integrable (fun x => ⟪x, v⟫ * f x) (gaussianLaw s) ∧
    Integrable (fun x => fderiv ℝ f x v) (gaussianLaw s) ∧
    (∫ x, ⟪x, v⟫ * f x ∂(gaussianLaw s)) =
      (2 * s)⁻¹ * ∫ x, fderiv ℝ f x v ∂(gaussianLaw s)

Module navigation

Module: KLS/LogConcave/Density/GaussianSmoothing/Moments.

Definition modules: KLS/LogConcave/Density/GaussianSmoothing/Basic.

Supporting theorems: hasWeakDerivAlong_of_contDiff, integral_eq_zero_of_integrable_weak_derivative, gaussianLaw_exp_norm_integrable.

Previous: smoothedLaw_norm_sq · Next: gaussianLaw_translated_directional_identity_of_bounded_lipschitz_test.

Source excerpt, lines 409–416 · Frozen source 408915f.

Preamble
import Definitions.Def_KLSModular_FunctionalInequalities_KLS_LogConcave_Density_GaussianSmoothing_Moments

open MeasureTheory Filter
open scoped ContDiff Topology RealInnerProductSpace
set_option maxHeartbeats 800000
Formal statement

theorem FunctionalInequalities.KLS.LogConcave.GaussianSmoothing.gaussianLaw_directional_identity_of_bounded_lipschitz_test_readable {n : ℕ}
    {s : ℝ} (hs : 0 < s) {f : EuclideanSpace ℝ (Fin n) → ℝ} {L : NNReal}
    (hf : ContDiff ℝ 1 f) (hLip : LipschitzWith L f) (C : ℝ) (hbound : ∀ x, ‖f x‖ ≤ C)
    (v : EuclideanSpace ℝ (Fin n)) :
    Integrable (fun x => ⟪x, v⟫ * f x) (gaussianLaw s) ∧
    Integrable (fun x => fderiv ℝ f x v) (gaussianLaw s) ∧
    (∫ x, ⟪x, v⟫ * f x ∂(gaussianLaw s)) =
      (2 * s)⁻¹ * ∫ x, fderiv ℝ f x v ∂(gaussianLaw s) := by sorry
Source
Lean source: https://github.com/human-ai-mathematics/kls-lean/blob/408915f/formalization/FunctionalInequalities/KLS/LogConcave/Density/GaussianSmoothing/Moments.lean#L406-L478 (repository human-ai-mathematics/kls-lean, commit 408915f, module `FunctionalInequalities.KLS.LogConcave.Density.GaussianSmoothing.Moments`, declaration `FunctionalInequalities.KLS.LogConcave.GaussianSmoothing.gaussianLaw_directional_identity_of_bounded_lipschitz_test`; 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