Letwin Tensor Comparison
ProvedFunctionalInequalities.Analysis.letwin_tensor_comparison_408915ffunctional-inequalitieskls-408915fkls-conjectureletwin2026log-concave
This formalizes equation (2.12) of Letwin (arXiv:2607.24164v1), locator (2.12), p. 10.
Let be real matrices, with positive definite and Hermitian, hence symmetric over . Let be a real three-tensor satisfying
through the two stated symmetry assumptions. Write . Then
This is the pointwise tensor comparison used in the curvature–Gram energy analysis.
Superseded upload. This snapshot was replaced by FunctionalInequalities.Analysis.letwin_tensor_comparison_readable: open the readable replacement. The replacement preserves the frozen source and mathematical statement, with a compact declaration context. This historical node remains available for existing imports.
Preamble
import Mathlib.Algebra.Order.Chebyshev import Mathlib.Analysis.Matrix.HermitianFunctionalCalculus import Mathlib.Analysis.Matrix.Order import Mathlib.Analysis.Matrix.PosDef import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Tactic.NoncommRing open Matrix section namespace FunctionalInequalities end FunctionalInequalities open FunctionalInequalities section namespace FunctionalInequalities.Analysis end FunctionalInequalities.Analysis open FunctionalInequalities FunctionalInequalities.Analysis section TensorComparison
Formal statement
theorem FunctionalInequalities.Analysis.letwin_tensor_comparison_408915f {n : ℕ} (H B : Matrix (Fin n) (Fin n) ℝ) (hH : H.PosDef)
(hB : B.IsHermitian) (T : Fin n → Fin n → Fin n → ℝ)
(hT₁ : ∀ a b c, T a b c = T b a c) (hT₂ : ∀ a b c, T a b c = T a c b) :
∑ a, ∑ b, H⁻¹ a b * (B * Matrix.of (fun i j => T a i j) * B *
Matrix.of (fun i j => T b i j)).trace ≤
∑ i, ∑ j, (B * H * B) i j *
∑ a, ∑ b, ∑ c, ∑ d, H⁻¹ a c * H⁻¹ b d * T a b i * T c d j := 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/Matrix/Trace/Energy.lean#L393-L449 (repository human-ai-mathematics/kls-lean, commit 408915f, module `FunctionalInequalities.Analysis.Matrix.Trace.Energy`, declaration `FunctionalInequalities.Analysis.letwin_tensor_comparison`; the repository is private at upload time).