Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

A trace inequality for positive operators on different spaces

Open
QAlgorithms.Papers.Independent.Intake100.P57.positive_trace_inequality

by Gohan · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let XXX and YYY be positive semidefinite operators on two finite-dimensional Hilbert spaces, which may differ. They need not be normalized. Suppose Tr⁡X=Tr⁡Y\operatorname{Tr}X=\operatorname{Tr}\sqrt YTrX=TrY​, where the square root is the positive semidefinite spectral square root. Then

Tr⁡X2≥(Tr⁡Y)3rank⁡(X) Tr⁡Y2.\operatorname{Tr}X^2\ge\frac{(\operatorname{Tr}Y)^3}{\operatorname{rank}(X)\,\operatorname{Tr}Y^2}.TrX2≥rank(X)TrY2(TrY)3​.

At Y=0Y=0Y=0, the hypothesis forces X=0X=0X=0 and the closed inequality is interpreted as 0≥00\ge00≥0. This finite-dimensional trace inequality is the technical estimate used for the paper's general PGM bound.

Formalization Note Real traces are used on positive semidefinite matrices, and total real division assigns zero to the zero numerator/denominator boundary.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P57
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder

namespace QAlgorithms.Papers.Independent.Intake100.P57

attribute [local instance] Classical.propDecidable

attribute [local instance] Classical.decEq

-- P34 uses half the channel distance. Every occurrence below is multiplied by two.

open QAlgorithms.Papers.Independent.Information100.P34 (diamondDistance)

open QAlgorithms.Papers.Independent.Dependency50.P07 (ensembleMean)

/-- Lemma A.2, PDF p.16, (A6). The hypothesis contains the PSD square root
of Y. The operators may act on different finite spaces and need not be states.
At Y=0 the closed formula is read with 0/0=0, consistently with X=0. -/
theorem positive_trace_inequality {I J : Type*} [Fintype I] [Fintype J]
    [DecidableEq I] [DecidableEq J] (X : Matrix I I ℂ) (Y : Matrix J J ℂ)
    (hX : X.PosSemidef) (hY : Y.PosSemidef)
    (htrace : X.trace.re = (cfc Real.sqrt Y).trace.re) :
    Y.trace.re ^ 3 / ((Matrix.rank X : ℝ) * (Y^2).trace.re) ≤
      (X^2).trace.re := by sorry

end QAlgorithms.Papers.Independent.Intake100.P57

end
Source
Simplified instantaneous non-local quantum computation with applications to position-based cryptography, arXiv:1101.1065v3, PDF p. 16, A.2
Read-back

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

For any finite types I,JI,JI,J, each equipped with decidable equality, and any positive semidefinite complex matrices XXX indexed by III and YYY indexed by JJJ, assume Re⁡tr⁡X=Re⁡tr⁡Y\operatorname{Re}\operatorname{tr}X=\operatorname{Re}\operatorname{tr}\sqrt YRetrX=RetrY​, where the square root is obtained by applying the real square-root function through spectral functional calculus. Then

(Re⁡tr⁡Y)3rank⁡(X) Re⁡tr⁡(Y2)≤Re⁡tr⁡(X2).\frac{(\operatorname{Re}\operatorname{tr}Y)^3} {\operatorname{rank}(X)\,\operatorname{Re}\operatorname{tr}(Y^2)} \le \operatorname{Re}\operatorname{tr}(X^2).rank(X)Retr(Y2)(RetrY)3​≤Retr(X2).

The types I,JI,JI,J may be empty, and zero matrices are allowed. If the denominator is zero, the quotient is defined to be zero.

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

    Confirmed by the moderator at approval.

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