All proofs
Project-declaredLean 4.28.0 · mathlib@8f9d9cff6bd7

Of Fintype

MatrixMap.IsCompletelyPositive.of_Fintype

Plain-language statement

Definition of a CP map, but with Fintype T in the definition instead of a Fin n.

Exact Lean statement

theorem of_Fintype  {M : MatrixMap A B R} (h : IsCompletelyPositive M)
    (T : Type*) [Fintype T] [DecidableEq T] :
    (M.kron (LinearMap.id : MatrixMap T T R)).IsPositive

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
theorem of_Fintype  {M : MatrixMap A B R} (h : IsCompletelyPositive M)    (T : Type*) [Fintype T] [DecidableEq T] :    (M.kron (LinearMap.id : MatrixMap T T R)).IsPositive := by  obtain n, e⟩⟩ :  n : , Nonempty (T ≃ Fin n) :=    Finite.exists_equiv_fin T  convert h n using 1  have h_submatrix : (M ⊗ₖₘ (LinearMap.id : MatrixMap T T R)) = (MatrixMap.submatrix R (fun p : B × T => (p.1, e p.2)) ∘ₗ (M ⊗ₖₘ (LinearMap.id : MatrixMap (Fin n) (Fin n) R)) ∘ₗ MatrixMap.submatrix R (fun p : A × Fin n => (p.1, e.symm p.2))) := by    ext    simp only [submatrix, LinearMap.coe_comp, LinearMap.coe_mk, AddHom.coe_mk, Function.comp_apply,      Matrix.submatrix_apply]    rw [MatrixMap.kron_def, MatrixMap.kron_def]    simp only [Matrix.single, LinearMap.id_coe, id_eq, Matrix.of_apply, mul_ite, mul_one, mul_zero,      ite_mul, zero_mul, Matrix.submatrix];    congr! 4    rw [ Equiv.sum_comp e]    congr! 2    rw [ Equiv.sum_comp e]    simp only [EmbeddingLike.apply_eq_iff_eq, Equiv.symm_apply_apply]  constructor  · intro h₂    simp [MatrixMap.IsPositive]    exact h n  · intro h x hx    specialize h (hx.submatrix (fun p : A × Fin n => (p.1, e.symm p.2)))    rw [h_submatrix]    simp only [LinearMap.coe_comp, Function.comp_apply, submatrix_apply]    exact h.submatrix _
Project
quantumInfo
License
MIT
Commit
56e83a9288a3
Source
QuantumInfo/Finite/CPTPMap/Unbundled.lean:248-274

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