Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 8.1.3 — Matrix relative entropy is nonnegative

Proved
TroppMatrixConcentration.ch8_entropy_nonnegative

by tc · Oct 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

convexitymatrix-analysismatrix-concentration

For any positive-definite complex matrices A,HA,HA,H of the same positive dimension,

D(A;H)=tr⁡[A(log⁡A−log⁡H)−(A−H)]≥0.D(A;H)=\operatorname{tr}[A(\log A-\log H)-(A-H)]\ge0.D(A;H)=tr[A(logA−logH)−(A−H)]≥0.

The matrices need not commute or have trace one. The corrected entropy used here provides the nonnegativity statement underlying the variational trace formula.

Preamble
import Definitions.Def_TroppMatrixConcentration_ch8_entropy

open scoped Matrix.Norms.L2Operator ComplexOrder

Formal statement
namespace TroppMatrixConcentration

theorem ch8_entropy_nonnegative {d : ℕ} [NeZero d]
    (A H : Matrix (Fin d) (Fin d) ℂ) (hA : A.PosDef) (hH : H.PosDef) :
    0 ≤ ch8_relativeEntropy A H := by sorry

end TroppMatrixConcentration
Source
Joel A. Tropp, An Introduction to Matrix Concentration Inequalities, arXiv:1501.01571v1 (7 January 2015); https://arxiv.org/abs/1501.01571v1; Proposition 8.1.3 and Section 8.3.5, printed pp. 120 and 126.
Read-back

What the Lean code literally says, in plain math · gpt-6

For every nonzero natural number ddd and every pair of complex d×dd\times dd×d matrices AAA and HHH, with rows and columns indexed by {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1}, if AAA and HHH are positive definite (each is Hermitian and has strictly positive quadratic form on every nonzero complex vector), then Re⁡tr⁡(A(log⁡A−log⁡H)−(A−H))≥0\operatorname{Re}\operatorname{tr}\bigl(A(\log A-\log H)-(A-H)\bigr)\ge 0Retr(A(logA−logH)−(A−H))≥0. Here each matrix logarithm is obtained by applying the real natural logarithm to that matrix through continuous functional calculus; for these positive definite matrices, this applies the scalar logarithm to their positive eigenvalues. The trace is the sum of the diagonal entries, and the asserted inequality is an inequality of real numbers after taking its real part. There is no assumption that AAA and HHH commute or have a prescribed or equal trace. The dimension-zero case is excluded by the hypothesis d≠0d\ne 0d=0.

Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

  • Endorsed by tc · Oct 7, 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