Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Derivative of the Graph Logarithmic Integral at Zero

Proved
FunctionalInequalities.KLS.LogConcave.Suspension.graph_log_integral_hasDerivAt_zero_readable

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

functional-inequalitieskls-conjecturekls-modularkls-readablelog-concave

This auxiliary lemma identifies a local scalar derivative of a logarithmic exponential integral.

Let n∈Nn\in\mathbb Nn∈N, E=RnE=\mathbb R^nE=Rn (EuclideanSpace ℝ (Fin n)), μ\muμ a probability measure on EEE, and f:E→Rf:E\to\mathbb Rf:E→R measurable. Let G(x)=(f(x),x)G(x)=(f(x),x)G(x)=(f(x),x) in the Euclidean space indexed by Option⁡(Fin⁡n)\operatorname{Option}(\operatorname{Fin}n)Option(Finn), and put Γ=G∗μ\Gamma=G_*\muΓ=G∗​μ (Measure.map). Assume r>0r>0r>0 and y↦er∥y∥∈L1(Γ)y\mapsto e^{r\|y\|}\in L^1(\Gamma)y↦er∥y∥∈L1(Γ).

For every z∈Ez\in Ez∈E with ∥z∥<r\|z\|<r∥z∥<r, the real function w↦log⁡∫ewf(x)+⟨z,x⟩ dμ(x)w\mapsto\log\int e^{wf(x)+\langle z,x\rangle}\,d\mu(x)w↦log∫ewf(x)+⟨z,x⟩dμ(x) has derivative at w=0w=0w=0 equal to the tilted average Ff(z)F_f(z)Ff​(z) (tiltAverage):

ddw∣w=0log⁡(∫ewf(x)+⟨z,x⟩ dμ(x))=Ff(z),Ff(z)=∫e⟨z,x⟩f(x) dμ(x)∫e⟨z,x⟩ dμ(x).\left.\frac{d}{dw}\right|_{w=0}\log\left(\int e^{wf(x)+\langle z,x\rangle}\,d\mu(x)\right) =F_f(z),\qquad F_f(z)=\frac{\int e^{\langle z,x\rangle}f(x)\,d\mu(x)}{\int e^{\langle z,x\rangle}\,d\mu(x)}.dwd​​w=0​log(∫ewf(x)+⟨z,x⟩dμ(x))=Ff​(z),Ff​(z)=∫e⟨z,x⟩dμ(x)∫e⟨z,x⟩f(x)dμ(x)​.

The formal conclusion is HasDerivAt, so it includes existence of the derivative. This is a local derivative interface under a graph-law exponential norm moment.

Original Lean declaration header

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

private theorem graph_log_integral_hasDerivAt_zero {n : ℕ}
    (μ : Measure (EuclideanSpace ℝ (Fin n))) [IsProbabilityMeasure μ]
    {f : EuclideanSpace ℝ (Fin n) → ℝ} (hf : Measurable f) {r : ℝ} (_hr : 0 < r)
    (hexp : Integrable (fun y : EuclideanSpace ℝ (Option (Fin n)) => Real.exp (r * ‖y‖))
      (μ.map (fun x : EuclideanSpace ℝ (Fin n) =>
        (WithLp.toLp 2 fun o => Option.elim o (f x) fun j => x j :
          EuclideanSpace ℝ (Option (Fin n))))))
    (z : EuclideanSpace ℝ (Fin n)) (hz : ‖z‖ < r) :
    HasDerivAt (fun w : ℝ => Real.log (∫ x, Real.exp (w * f x + ⟪z, x⟫) ∂μ))
      (tiltAverage μ f z) 0

Module navigation

Module: KLS/BKL/Suspension/Derivatives.

Definition modules: Analysis/BakryEmery/Tilt/Basic.

Next: joint_first_derivative_of_radii.

Source excerpt, lines 64–73 · Frozen source 408915f.

Preamble
import Definitions.Def_KLSModular_FunctionalInequalities_KLS_BKL_Suspension_Derivatives

open MeasureTheory FunctionalInequalities FunctionalInequalities.Analysis.BakryEmery
open scoped RealInnerProductSpace
Formal statement

 theorem FunctionalInequalities.KLS.LogConcave.Suspension.graph_log_integral_hasDerivAt_zero_readable {n : ℕ}
    (μ : Measure (EuclideanSpace ℝ (Fin n))) [IsProbabilityMeasure μ]
    {f : EuclideanSpace ℝ (Fin n) → ℝ} (hf : Measurable f) {r : ℝ} (_hr : 0 < r)
    (hexp : Integrable (fun y : EuclideanSpace ℝ (Option (Fin n)) => Real.exp (r * ‖y‖))
      (μ.map (fun x : EuclideanSpace ℝ (Fin n) =>
        (WithLp.toLp 2 fun o => Option.elim o (f x) fun j => x j :
          EuclideanSpace ℝ (Option (Fin n))))))
    (z : EuclideanSpace ℝ (Fin n)) (hz : ‖z‖ < r) :
    HasDerivAt (fun w : ℝ => Real.log (∫ x, Real.exp (w * f x + ⟪z, x⟫) ∂μ))
      (tiltAverage μ f z) 0 := by sorry
Source
Lean source: https://github.com/human-ai-mathematics/kls-lean/blob/408915f/formalization/FunctionalInequalities/KLS/BKL/Suspension/Derivatives.lean#L63-L160 (repository human-ai-mathematics/kls-lean, commit 408915f, module `FunctionalInequalities.KLS.BKL.Suspension.Derivatives`, declaration `_private.FunctionalInequalities.KLS.BKL.Suspension.Derivatives.0.FunctionalInequalities.KLS.LogConcave.Suspension.graph_log_integral_hasDerivAt_zero`; 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