All proofs
Project-declaredLean 4.28.0 ยท mathlib@8f9d9cff6bd7

Dual unique

MatrixMap.dual_unique

Plain-language statement

If two matrix maps satisfy the trace duality property, they are equal.

Exact Lean statement

lemma dual_unique
    (M : MatrixMap dIn dOut ๐•œ) (M' : MatrixMap dOut dIn ๐•œ)
    (h : โˆ€ A B, (M A * B).trace = (A * M' B).trace) : M.dual = M'

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma dual_unique    (M : MatrixMap dIn dOut ๐•œ) (M' : MatrixMap dOut dIn ๐•œ)    (h : โˆ€ A B, (M A * B).trace = (A * M' B).trace) : M.dual = M' := by  -- By definition of dual, we know that for any A and B, the trace of (M A) * B equals the trace of A * (M.dual B).  have h_dual : โˆ€ A : Matrix dIn dIn ๐•œ, โˆ€ B : Matrix dOut dOut ๐•œ, (M A * B).trace = (A * M.dual B).trace := by    exact fun A B => Dual.trace_eq M A B;  -- Since these two linear maps agree on all bases, they must be equal.  have h_eq : โˆ€ A : Matrix dIn dIn ๐•œ, โˆ€ B : Matrix dOut dOut ๐•œ, (A * M.dual B).trace = (A * M' B).trace := by    exact fun A B => h_dual A B โ–ธ h A B;  refine' LinearMap.ext fun B => _;  exact Matrix.ext_iff_trace_mul_left.mpr fun x => h_eq x B
Project
quantumInfo
License
MIT
Commit
56e83a9288a3
Source
QuantumInfo/Finite/CPTPMap/Dual.lean:102-112

Reuse this declaration

Bring the exact result into your workflow

The import identifies the source module. Your project still needs the pinned package dependency shown on this page.

What this badge means

This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.

Continue in this project

Related declarations

Project-declaredLean 4.28.0

Conj Transpose isometry mul isometry le one

conjTranspose_isometry_mul_isometry_le_one

Project documentation

The operator norm of the conjugate transpose is equal to the operator norm. -/ theorem Matrix.opNorm_conjTranspose_eq_opNorm {m n : Type*} [Fintype m] [Fintype n] [DecidableEq m] [DecidableEq n] (A : Matrix m n ๐•œ) : Matrix.opNorm Aแดด = Matrix.opNorm A := by unfold Matrix.opNorm rw [โ† ContinuousLinearMap.adjoint.norm_map (toEuclideanLin A).toContinuousLine...

quantum informationentropyquantum channels

Source project: quantumInfo

Person-level attribution pending.

View proof record
Project-declaredLean 4.28.0

Convex roof of pure

convex_roof_of_pure

Plain-language statement

The convex roof extension of g : KetUpToPhase d โ†’ โ„โ‰ฅ0 applied to a pure state ฯˆ is g (KetUpToPhase.mk ฯˆ).

quantum informationentropyquantum channels

Source project: quantumInfo

Person-level attribution pending.

View proof record
Project-declaredLean 4.28.0

Id achieves Rate log dim

CPTPMap.id_achievesRate_log_dim

Plain-language statement

The identity channel on D dimensional space achieves a rate of log2(D).

quantum informationentropyquantum channels

Source project: quantumInfo

Person-level attribution pending.

View proof record