Matrix.PosSemidef.traceNorm_eq_trace
theoremverifiedformalizationimported Lean
A positive semidefinite matrix has trace norm equal to its trace.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Matrix in open BigOperators in open Classical in open scoped ComplexOrder in variable {m n R : Type*} in variable [Fintype m] [Fintype n] in variable [RCLike R] in open MatrixOrder Isometry in theorem Matrix.PosSemidef.traceNorm_eq_trace {A : Matrix m m R} (hA : A.PosSemidef) : A.traceNorm = A.trace
- Formalizes
- QuantumInfo, `Matrix.PosSemidef.traceNorm_eq_trace`
- Lean proof
- By Alex Meiburg, from github.com/leanprover-community/physlib at
e411c6e89692(Copyright (c) 2025 Alex Meiburg. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.Matrix.PosSemidef.traceNorm_eq_trace← Matrix.PosSemidef.traceNorm_eq_trace (QuantumInfo/ForMathlib/MatrixNorm/TraceNorm.lean:477): verbatim
- Verified
- 17 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 6
- Matrix.IsHermitian.re_trace_eq_traceMatrix.IsHermitian.re_trace_eq_trace
- Matrix.traceNormThe trace norm of a matrix: Tr[√(A† A)].
- Matrix.traceNorm_negThe trace norm of the negative is equal to the trace norm.
- Matrix.traceNorm_unitary_conjThe trace norm is invariant under unitary conjugation.
- Matrix.traceNorm_zeroMatrix.traceNorm_zero
- Matrix.IsometryAn isometry is a matrix
Asuch thatAAᴴ = 1. Compare with a unitary, which requiresAAᴴ = AᴴA = 1. It is common to claim that, in a…
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Matrix in open BigOperators in open Classical in open scoped ComplexOrder in variable {m n R : Type*} in variable [Fintype m] [Fintype n] in variable [RCLike R] in open MatrixOrder Isometry in /-- A positive semidefinite matrix has trace norm equal to its trace. -/ theorem Matrix.PosSemidef.traceNorm_eq_trace {A : Matrix m m R} (hA : A.PosSemidef) : A.traceNorm = A.trace := by have : Aᴴ * A = A^2 := by rw [hA.1, pow_two] open MatrixOrder in rw [traceNorm, this, CFC.sqrt_sq A, hA.1.re_trace_eq_trace]