Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Almost-Everywhere Symmetry of Weak Third Derivatives

Proved
FunctionalInequalities.Analysis.ae_weak_third_derivative_symm_readable

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

functional-inequalitieskls-conjecturekls-modularkls-readableletwin2026log-concave

This is a weak-coordinate symmetry statement for third derivatives.

Let u:EuclideanSpace⁡(R,Fin⁡(n))→Ru:\operatorname{EuclideanSpace}(\mathbb R,\operatorname{Fin}(n))\to\mathbb Ru:EuclideanSpace(R,Fin(n))→R be C1C^1C1 with Lipschitz gradient. Let T(x,k,i,j)T(x,k,i,j)T(x,k,i,j) be such that, for every k,i,j<nk,i,j<nk,i,j<n, the function T(⋅,k,i,j)T(\cdot,k,i,j)T(⋅,k,i,j) is a weak derivative along eke_kek​ of the Hessian entry Hij=hessianMatrix⁡(u,⋅)ijH_{ij}=\operatorname{hessianMatrix}(u,\cdot)_{ij}Hij​=hessianMatrix(u,⋅)ij​. Then, for almost every xxx, simultaneously for all k,i,jk,i,jk,i,j,

T(x,k,i,j)=T(x,i,k,j),T(x,k,i,j)=T(x,k,j,i).T(x,k,i,j)=T(x,i,k,j), \qquad T(x,k,i,j)=T(x,k,j,i).T(x,k,i,j)=T(x,i,k,j),T(x,k,i,j)=T(x,k,j,i).

The first equality exchanges the derivative and first Hessian indices; the second expresses symmetry in the Hessian indices. The declaration ae_weak_third_derivative_symm_readable is an almost-everywhere identification result and does not assert that a classical third derivative exists.

Original Lean declaration header

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

theorem ae_weak_third_derivative_symm {n : ℕ} {u : EuclideanSpace ℝ (Fin n) → ℝ} (hu : ContDiff ℝ 1 u)
    {G : NNReal} (hG : LipschitzWith G (gradient u))
    {T : EuclideanSpace ℝ (Fin n) → Fin n → Fin n → Fin n → ℝ}
    (hT : ∀ k i j, HasWeakDerivAlong (fun x => hessianMatrix u x i j) (fun x => T x k i j)
      (EuclideanSpace.basisFun (Fin n) ℝ k)) :
    ∀ᵐ x ∂(volume : Measure (EuclideanSpace ℝ (Fin n))),
      ∀ k i j, T x k i j = T x i k j ∧ T x k i j = T x k j i

Module navigation

Module: Analysis/BakryEmery/WeakHessian.

Definition modules: Analysis/BakryEmery/HessianOperator, Analysis/WeakDerivative/Basic.

Supporting theorems: hasWeakDerivAlong_of_lipschitz.

Next: norm_hessianMatrix_entry_le_of_lipschitz_gradient.

Source excerpt, lines 160–166 · Frozen source 408915f.

Preamble
import Definitions.Def_KLSModular_FunctionalInequalities_Analysis_BakryEmery_WeakHessian

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

theorem FunctionalInequalities.Analysis.ae_weak_third_derivative_symm_readable {n : ℕ} {u : EuclideanSpace ℝ (Fin n) → ℝ} (hu : ContDiff ℝ 1 u)
    {G : NNReal} (hG : LipschitzWith G (gradient u))
    {T : EuclideanSpace ℝ (Fin n) → Fin n → Fin n → Fin n → ℝ}
    (hT : ∀ k i j, HasWeakDerivAlong (fun x => hessianMatrix u x i j) (fun x => T x k i j)
      (EuclideanSpace.basisFun (Fin n) ℝ k)) :
    ∀ᵐ x ∂(volume : Measure (EuclideanSpace ℝ (Fin n))),
      ∀ k i j, T x k i j = T x i k j ∧ T x k i j = T x k j i := by sorry
Source
Source: Letwin, The KLS constant is O(log^(1/4) n) (arXiv:2607.24164v1), Theorem 2.5. Lean source: https://github.com/human-ai-mathematics/kls-lean/blob/408915f/formalization/FunctionalInequalities/Analysis/BakryEmery/WeakHessian.lean#L157-L281 (repository human-ai-mathematics/kls-lean, commit 408915f, module `FunctionalInequalities.Analysis.BakryEmery.WeakHessian`, declaration `FunctionalInequalities.Analysis.ae_weak_third_derivative_symm`; 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