Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Nonnegativity of Weighted Trace Energy

Proved
FunctionalInequalities.Analysis.trace_energy_nonneg_readable

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

functional-inequalitieskls-conjecturekls-modularkls-readableletwin2026log-concave

This formalizes the nonnegativity of a weighted trace energy and is cited partially by Theorem 2.5 of Letwin (arXiv:2607.24164v1).

Let BBB and HHH be real matrices on a finite index type ι\iotaι. Assume that BBB is symmetric and that HHH is positive semidefinite. Then

0≤tr⁡(BHBH).0\le \operatorname{tr}(BHBH).0≤tr(BHBH).

Here tr⁡\operatorname{tr}tr is the matrix trace and juxtaposition denotes matrix multiplication.

The result provides the pointwise positivity input for matrix-field trace estimates, without requiring BBB itself to be positive semidefinite.

Formalization Note The finite index type may be empty, and no commutation assumption on BBB and HHH is present.

Original Lean declaration header

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

theorem trace_energy_nonneg {B H : Matrix ι ι ℝ}
    (hB : B.IsSymm) (hH : H.PosSemidef) :
    0 ≤ (B * H * B * H).trace

Module navigation

Module: Analysis/Matrix/Trace/Energy.

Next: jordan_trace_domination.

Source excerpt, lines 87–89 · Frozen source 408915f.

Preamble
import Definitions.Def_KLSModular_FunctionalInequalities_Analysis_Matrix_Trace_Energy

variable {ι : Type*} [Fintype ι] [DecidableEq ι]
Formal statement

theorem FunctionalInequalities.Analysis.trace_energy_nonneg_readable {B H : Matrix ι ι ℝ}
    (hB : B.IsSymm) (hH : H.PosSemidef) :
    0 ≤ (B * H * B * H).trace := 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#L85-L113 (repository human-ai-mathematics/kls-lean, commit 408915f, module `FunctionalInequalities.Analysis.Matrix.Trace.Energy`, declaration `FunctionalInequalities.Analysis.trace_energy_nonneg`; 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