Unnumbered Motzkin matrix identity and inequality, Eqs.(70)–(71)
OpenQAlgorithms.Papers.Independent.Extend50.P13.motzkin_square_identity_and_positivityAll matrices are complex, , with . Write for the identity and for the ordinary, unnormalized trace. Matrix inequalities use the Löwner order, so includes Hermiticity. Let be Hermitian and set . Then
Consequently,
In particular, and suffice. No normalization of is needed beyond its Hermiticity. The identity and positivity argument are the proof communicated by Jurij Volčič and reproduced in the source.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P13
noncomputable section
open scoped Matrix ComplexConjugate ComplexOrder
namespace QAlgorithms.Papers.Independent.Extend50.P13
attribute [local instance] Classical.propDecidable
/-- Motzkin identity and inequality, Eqs.70–71, including the communicated proof
by Jurij Volcic (PDF p.17). Hermitian B is essential to the square-positivity
reading; no normalization is imposed on B. Matrix bounds are Loewner bounds. -/
theorem motzkin_square_identity_and_positivity {d : ℕ} (hd : 0 < d)
(A B : (Matrix (Fin d) (Fin d) ℂ)) (hA : A.IsHermitian) (hB : B.IsHermitian) :
motzkin A B = motzkinSquares A B ∧
(((A-((1-Real.sqrt 2 : ℝ) : ℂ) • (1 : (Matrix (Fin d) (Fin d) ℂ))).PosSemidef ∧
((((1+Real.sqrt 2 : ℝ) : ℂ) • (1 : (Matrix (Fin d) (Fin d) ℂ)))-A).PosSemidef) →
(motzkin A B).PosSemidef) ∧
(QAlgorithms.IsDensityMatrix A → (motzkin A B).PosSemidef) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P13
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number and every pair of Hermitian complex matrices , with denoting the identity matrix, one has
If both and are positive semidefinite, then the matrix on the left is positive semidefinite. The same positivity conclusion holds if is a density matrix, meaning that is positive semidefinite and ; remains subject only to the stated Hermitian assumption.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.