Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma A.4 — λ1(A)Tr(B)≤Tr(AB)≤λn(A)Tr(B)\lambda_1(A)\mathrm{Tr}(B)\le\mathrm{Tr}(AB)\le\lambda_n(A)\mathrm{Tr}(B)λ1​(A)Tr(B)≤Tr(AB)≤λn​(A)Tr(B) for positive semidefinite A,BA,BA,B

Proved
FatkhullinPolyak.Discrete.trace_mul_eigen_bounds

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

matrix-analysisp2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1trace-inequality

Let A,B∈Rn×nA,B\in\mathbb R^{n\times n}A,B∈Rn×n be symmetric positive semidefinite, and let λ1(A)\lambda_1(A)λ1​(A), λn(A)\lambda_n(A)λn​(A) be the smallest and largest eigenvalues of AAA. Then

λ1(A) Tr(B)≤Tr(AB)≤λn(A) Tr(B).\lambda_1(A)\,\mathrm{Tr}(B)\le\mathrm{Tr}(AB)\le\lambda_n(A)\,\mathrm{Tr}(B).λ1​(A)Tr(B)≤Tr(AB)≤λn​(A)Tr(B).

This trace sandwich is the elementary estimate behind every eigenvalue bound on the LQR cost in the paper (Lemma 3.8, Lemma C.1, Lemma C.2).

Preamble
import Mathlib
import Definitions.Def_FatkhullinPolyak_Discrete_Matrix
Formal statement
namespace FatkhullinPolyak.Discrete

/-- Lemma A.4 (p. 15): for positive semidefinite `A`, `B`,
`λ₁(A) Tr(B) ≤ Tr(AB) ≤ λₙ(A) Tr(B)`. -/
theorem trace_mul_eigen_bounds {n : ℕ} (A B : Matrix (Fin n) (Fin n) ℝ)
    (hA : A.PosSemidef) (hB : B.PosSemidef) :
    lamMin A * Matrix.trace B ≤ Matrix.trace (A * B) ∧
      Matrix.trace (A * B) ≤ lamMax A * Matrix.trace B := by sorry

end FatkhullinPolyak.Discrete
Source
Fatkhullin, Polyak, Optimizing Static Linear Feedback: Gradient Method, arXiv:2004.09875v2, p. 15, Lemma A.4
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Let nnn be a natural number and let A,BA, BA,B be real n×nn\times nn×n matrices. Assume both are positive semidefinite: symmetric, with x⊤Ax≥0x^\top A x \ge 0x⊤Ax≥0 and x⊤Bx≥0x^\top B x \ge 0x⊤Bx≥0 for all x∈Rnx \in \mathbb{R}^nx∈Rn. Then

λmin⁡(A) tr⁡(B)  ≤  tr⁡(AB)  ≤  λmax⁡(A) tr⁡(B),\lambda_{\min}(A)\,\operatorname{tr}(B) \;\le\; \operatorname{tr}(AB) \;\le\; \lambda_{\max}(A)\,\operatorname{tr}(B),λmin​(A)tr(B)≤tr(AB)≤λmax​(A)tr(B),

where λmin⁡(A)\lambda_{\min}(A)λmin​(A) and λmax⁡(A)\lambda_{\max}(A)λmax​(A) are the smallest and largest eigenvalues of the symmetric matrix AAA.

Degenerate cases: if n=0n = 0n=0, then λmin⁡=λmax⁡=0\lambda_{\min} = \lambda_{\max} = 0λmin​=λmax​=0 by convention and all traces are 000, so the claim reads 0≤0≤00 \le 0 \le 00≤0≤0. Because AAA is assumed symmetric, the convention "λmin⁡=λmax⁡=0\lambda_{\min} = \lambda_{\max} = 0λmin​=λmax​=0 for non-symmetric matrices" never applies.

Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 2026

    Confirmed by the mission captain (proposal self-audit).

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me