Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Weak Divergence Identity for the Inverse Hessian

Proved
FunctionalInequalities.Analysis.sum_integral_inv_hessianMatrix_mul_fderiv_eq_readable

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

functional-inequalitieskls-conjecturekls-modularkls-readablelog-concave

This is the weak inverse-Hessian divergence identity, supporting the inverse-Hessian integration-by-parts route.

Let u,F:EuclideanSpace⁡(R,Fin⁡(n))→Ru,F:\operatorname{EuclideanSpace}(\mathbb R,\operatorname{Fin}(n))\to\mathbb Ru,F:EuclideanSpace(R,Fin(n))→R. Assume:

  1. uuu is C1C^1C1 and has Lipschitz gradient.
  2. FFF is Lipschitz.
  3. Almost everywhere,
det⁡(hessianMatrix⁡(u,x))=eF(x).\det(\operatorname{hessianMatrix}(u,x))=e^{F(x)}.det(hessianMatrix(u,x))=eF(x).
  1. ψ\psiψ is Lipschitz and compactly supported.

For every i<ni<ni<n,

∑j<n∫H(x)ij−1 Dψ(x)ej dx=∑j<n∫H(x)ij−1 DF(x)ej ψ(x) dx,\sum_{j<n}\int H(x)^{-1}_{ij}\,D\psi(x)e_j\,dx =\sum_{j<n}\int H(x)^{-1}_{ij}\,DF(x)e_j\,\psi(x)\,dx,j<n∑​∫H(x)ij−1​Dψ(x)ej​dx=j<n∑​∫H(x)ij−1​DF(x)ej​ψ(x)dx,

where H(x)=hessianMatrix⁡(u,x)H(x)=\operatorname{hessianMatrix}(u,x)H(x)=hessianMatrix(u,x) and all integrals use Lebesgue measure. The statement does not assume pointwise positive definiteness of HHH; matrix inversion is the Lean matrix inverse and the determinant identity is only almost everywhere.

Original Lean declaration header

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

theorem sum_integral_inv_hessianMatrix_mul_fderiv_eq {n : ℕ}
    {u F : EuclideanSpace ℝ (Fin n) → ℝ} (hu : ContDiff ℝ 1 u) {G : NNReal}
    (hG : LipschitzWith G (gradient u)) {LF : NNReal} (hF : LipschitzWith LF F)
    (hdet : ∀ᵐ x ∂(volume : Measure (EuclideanSpace ℝ (Fin n))),
      (hessianMatrix u x).det = Real.exp (F x))
    {ψ : EuclideanSpace ℝ (Fin n) → ℝ} {Lψ : NNReal} (hψ : LipschitzWith Lψ ψ)
    (hψc : HasCompactSupport ψ) (i : Fin n) :
    ∑ j, ∫ x, (hessianMatrix u x)⁻¹ i j * fderiv ℝ ψ x (EuclideanSpace.basisFun (Fin n) ℝ j)
        ∂(volume : Measure (EuclideanSpace ℝ (Fin n))) =
      ∑ j, ∫ x, (hessianMatrix u x)⁻¹ i j * fderiv ℝ F x (EuclideanSpace.basisFun (Fin n) ℝ j) * ψ x
        ∂(volume : Measure (EuclideanSpace ℝ (Fin n)))

Module navigation

Module: Analysis/Matrix/Piola.

Definition modules: Analysis/BakryEmery/HessianOperator, Analysis/Operator/Coordinates.

Supporting theorems: sum_integral_adjugate_hessianMatrix_mul_fderiv_eq_zero_of_lipschitz.

Previous: sum_integral_adjugate_hessianMatrix_mul_fderiv_eq_zero_of_lipschitz · Next: integrable_inv_hessianMatrix_mul_of_bounded_compact.

Source excerpt, lines 916–926 · Frozen source 408915f.

Preamble
import Definitions.Def_KLSModular_FunctionalInequalities_Analysis_Matrix_Piola

open FunctionalInequalities.Probability.Stein
open MeasureTheory Set Filter
Formal statement

theorem FunctionalInequalities.Analysis.sum_integral_inv_hessianMatrix_mul_fderiv_eq_readable {n : ℕ}
    {u F : EuclideanSpace ℝ (Fin n) → ℝ} (hu : ContDiff ℝ 1 u) {G : NNReal}
    (hG : LipschitzWith G (gradient u)) {LF : NNReal} (hF : LipschitzWith LF F)
    (hdet : ∀ᵐ x ∂(volume : Measure (EuclideanSpace ℝ (Fin n))),
      (hessianMatrix u x).det = Real.exp (F x))
    {ψ : EuclideanSpace ℝ (Fin n) → ℝ} {Lψ : NNReal} (hψ : LipschitzWith Lψ ψ)
    (hψc : HasCompactSupport ψ) (i : Fin n) :
    ∑ j, ∫ x, (hessianMatrix u x)⁻¹ i j * fderiv ℝ ψ x (EuclideanSpace.basisFun (Fin n) ℝ j)
        ∂(volume : Measure (EuclideanSpace ℝ (Fin n))) =
      ∑ j, ∫ x, (hessianMatrix u x)⁻¹ i j * fderiv ℝ F x (EuclideanSpace.basisFun (Fin n) ℝ j) * ψ x
        ∂(volume : Measure (EuclideanSpace ℝ (Fin n))) := by sorry
Source
Lean source: https://github.com/human-ai-mathematics/kls-lean/blob/408915f/formalization/FunctionalInequalities/Analysis/Matrix/Piola.lean#L913-L1015 (repository human-ai-mathematics/kls-lean, commit 408915f, module `FunctionalInequalities.Analysis.Matrix.Piola`, declaration `FunctionalInequalities.Analysis.sum_integral_inv_hessianMatrix_mul_fderiv_eq`; 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