The areas / V16. Normed spaces and functional analysis
Mathlib.Analysis.CStarAlgebra.CompletelyPositiveMap
20 declarations and 1 deprecated aliases. Mathlib docs · Source
Completely positive maps
A linear map φ : A₁ →ₗ[ℂ] A₂ (where A₁ and A₂ are C⋆-algebras) is called
completely positive (CP) if CStarMatrix.map (Fin k) (Fin k) φ (i.e. applying φ to all
entries of a k × k matrix) is also positive for every k : ℕ.
This file defines completely positive maps and develops their basic API.
Main results
NonUnitalStarAlgHomClass.instCompletelyPositiveMapClass: Non-unital star algebra homomorphisms are completely positive.
Notation
A₁ →CP A₂denotes the type of CP maps fromA₁toA₂. This notation is scoped toCStarAlgebra.
Implementation notes
The morphism class CompletelyPositiveMapClass is designed to be part of the order hierarchy,
and only includes the order property; linearity is not mentioned at all. It is therefore meant
to be used in conjunction with LinearMapClass. This is meant to avoid mixing order and algebra
as much as possible.
theorem CompletelyPositiveMap.mk.injEq E0 #
∀ {A₁ : Type u_1} {A₂ : Type u_2} [inst : NonUnitalCStarAlgebra A₁] [inst_1 : NonUnitalCStarAlgebra A₂]
[inst_2 : PartialOrder A₁] [inst_3 : PartialOrder A₂] [inst_4 : StarOrderedRing A₁] [inst_5 : StarOrderedRing A₂]
(toLinearMap : A₁ →ₗ[ℂ] A₂)
(map_cstarMatrix_nonneg' : ∀ (k : ℕ) (M : CStarMatrix (Fin k) (Fin k) A₁), 0 ≤ M → 0 ≤ M.map toLinearMap.toFun)
(toLinearMap_1 : A₁ →ₗ[ℂ] A₂)
(map_cstarMatrix_nonneg'_1 : ∀ (k : ℕ) (M : CStarMatrix (Fin k) (Fin k) A₁), 0 ≤ M → 0 ≤ M.map toLinearMap_1.toFun),
({ toLinearMap := toLinearMap, map_cstarMatrix_nonneg' := map_cstarMatrix_nonneg' } =
{ toLinearMap := toLinearMap_1, map_cstarMatrix_nonneg' := map_cstarMatrix_nonneg'_1 }) =
(toLinearMap = toLinearMap_1)
def CompletelyPositiveMap.ctorIdx E1 #
{A₁ : Type u_1} →
{A₂ : Type u_2} →
{inst : NonUnitalCStarAlgebra A₁} →
{inst_1 : NonUnitalCStarAlgebra A₂} →
{inst_2 : PartialOrder A₁} →
{inst_3 : PartialOrder A₂} →
{inst_4 : StarOrderedRing A₁} → {inst_5 : StarOrderedRing A₂} → CompletelyPositiveMap A₁ A₂ → ℕ
theorem CompletelyPositiveMap.mk.inj E1 #
∀ {A₁ : Type u_1} {A₂ : Type u_2} {inst : NonUnitalCStarAlgebra A₁} {inst_1 : NonUnitalCStarAlgebra A₂}
{inst_2 : PartialOrder A₁} {inst_3 : PartialOrder A₂} {inst_4 : StarOrderedRing A₁} {inst_5 : StarOrderedRing A₂}
{toLinearMap : A₁ →ₗ[ℂ] A₂}
{map_cstarMatrix_nonneg' : ∀ (k : ℕ) (M : CStarMatrix (Fin k) (Fin k) A₁), 0 ≤ M → 0 ≤ M.map toLinearMap.toFun}
{toLinearMap_1 : A₁ →ₗ[ℂ] A₂}
{map_cstarMatrix_nonneg'_1 : ∀ (k : ℕ) (M : CStarMatrix (Fin k) (Fin k) A₁), 0 ≤ M → 0 ≤ M.map toLinearMap_1.toFun},
{ toLinearMap := toLinearMap, map_cstarMatrix_nonneg' := map_cstarMatrix_nonneg' } =
{ toLinearMap := toLinearMap_1, map_cstarMatrix_nonneg' := map_cstarMatrix_nonneg'_1 } →
toLinearMap = toLinearMap_1
structure CompletelyPositiveMap E1 #
(A₁ : Type u_1) →
(A₂ : Type u_2) →
[inst : NonUnitalCStarAlgebra A₁] →
[inst_1 : NonUnitalCStarAlgebra A₂] →
[inst_2 : PartialOrder A₁] →
[inst_3 : PartialOrder A₂] → [StarOrderedRing A₁] → [StarOrderedRing A₂] → Type (max u_1 u_2)
A linear map φ : A₁ →ₗ[ℂ] A₂ is called completely positive (CP) if
CStarMatrix.map (Fin k) (Fin k) φ (i.e. applying φ to all entries of a k × k matrix) is also
positive for every k ∈ ℕ.
Note that Fin k here is hardcoded to avoid having to quantify over types and introduce a new
universe parameter. See CompletelyPositiveMap.map_cstarMatrix_nonneg for a version of the
property that holds for matrices indexed by any finite type.
ctor CompletelyPositiveMap.mk E0 #
{A₁ : Type u_1} →
{A₂ : Type u_2} →
[inst : NonUnitalCStarAlgebra A₁] →
[inst_1 : NonUnitalCStarAlgebra A₂] →
[inst_2 : PartialOrder A₁] →
[inst_3 : PartialOrder A₂] →
[inst_4 : StarOrderedRing A₁] →
[inst_5 : StarOrderedRing A₂] →
(toLinearMap : A₁ →ₗ[ℂ] A₂) →
(∀ (k : ℕ) (M : CStarMatrix (Fin k) (Fin k) A₁), 0 ≤ M → 0 ≤ M.map toLinearMap.toFun) →
CompletelyPositiveMap A₁ A₂
abbrev CompletelyPositiveMap.toLinearMap E1 #
{A₁ : Type u_1} →
{A₂ : Type u_2} →
[inst : NonUnitalCStarAlgebra A₁] →
[inst_1 : NonUnitalCStarAlgebra A₂] →
[inst_2 : PartialOrder A₁] →
[inst_3 : PartialOrder A₂] →
[inst_4 : StarOrderedRing A₁] → [inst_5 : StarOrderedRing A₂] → CompletelyPositiveMap A₁ A₂ → A₁ →ₗ[ℂ] A₂
theorem CompletelyPositiveMap.map_cstarMatrix_nonneg' E0 #
∀ {A₁ : Type u_1} {A₂ : Type u_2} [inst : NonUnitalCStarAlgebra A₁] [inst_1 : NonUnitalCStarAlgebra A₂]
[inst_2 : PartialOrder A₁] [inst_3 : PartialOrder A₂] [inst_4 : StarOrderedRing A₁] [inst_5 : StarOrderedRing A₂]
(self : CompletelyPositiveMap A₁ A₂) (k : ℕ) (M : CStarMatrix (Fin k) (Fin k) A₁), 0 ≤ M → 0 ≤ M.map self.toFun
class CompletelyPositiveMapClass E1 #
(F : Type u_1) →
(A₁ : Type u_2) →
(A₂ : Type u_3) →
[inst : NonUnitalCStarAlgebra A₁] →
[inst_1 : NonUnitalCStarAlgebra A₂] →
[inst_2 : PartialOrder A₁] →
[inst_3 : PartialOrder A₂] → [StarOrderedRing A₁] → [StarOrderedRing A₂] → [FunLike F A₁ A₂] → Prop
A linear map φ : A₁ →ₗ[ℂ] A₂ is called completely positive (CP) if
CStarMatrix.map (Fin k) (Fin k) φ (i.e. applying φ to all entries of a k × k matrix) is also
positive for every k ∈ ℕ.
Note that Fin k here is hardcoded to avoid having to quantify over types and introduce a new
universe parameter. See CompletelyPositiveMap.map_cstarMatrix_nonneg for a version of the
property that holds for matrices indexed by any finite type.
ctor CompletelyPositiveMapClass.mk E0 #
∀ {F : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} [inst : NonUnitalCStarAlgebra A₁] [inst_1 : NonUnitalCStarAlgebra A₂]
[inst_2 : PartialOrder A₁] [inst_3 : PartialOrder A₂] [inst_4 : StarOrderedRing A₁] [inst_5 : StarOrderedRing A₂]
[inst_6 : FunLike F A₁ A₂],
(∀ (φ : F) (k : ℕ) (M : CStarMatrix (Fin k) (Fin k) A₁), 0 ≤ M → 0 ≤ M.map ⇑φ) → CompletelyPositiveMapClass F A₁ A₂
theorem CompletelyPositiveMapClass.map_cstarMatrix_nonneg' E0 #
∀ {F : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} {inst : NonUnitalCStarAlgebra A₁} {inst_1 : NonUnitalCStarAlgebra A₂}
{inst_2 : PartialOrder A₁} {inst_3 : PartialOrder A₂} {inst_4 : StarOrderedRing A₁} {inst_5 : StarOrderedRing A₂}
{inst_6 : FunLike F A₁ A₂} [self : CompletelyPositiveMapClass F A₁ A₂] (φ : F) (k : ℕ)
(M : CStarMatrix (Fin k) (Fin k) A₁), 0 ≤ M → 0 ≤ M.map ⇑φ
def CStarAlgebra.«term_→CP_» E1 #
Lean.TrailingParserDescr
Notation for a CompletelyPositiveMap.
def CompletelyPositiveMap.ofClass E1 #
{F : Type u_1} →
{A₁ : Type u_2} →
{A₂ : Type u_3} →
[inst : NonUnitalCStarAlgebra A₁] →
[inst_1 : NonUnitalCStarAlgebra A₂] →
[inst_2 : PartialOrder A₁] →
[inst_3 : PartialOrder A₂] →
[inst_4 : StarOrderedRing A₁] →
[inst_5 : StarOrderedRing A₂] →
[inst_6 : FunLike F A₁ A₂] →
[LinearMapClass F ℂ A₁ A₂] → [CompletelyPositiveMapClass F A₁ A₂] → F → CompletelyPositiveMap A₁ A₂
Reinterpret an element of a type of completely positive maps as a completely positive linear map.
theorem OrderHomClass.of_map_cstarMatrix_nonneg E1 #
∀ {F : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} [inst : NonUnitalCStarAlgebra A₁] [inst_1 : NonUnitalCStarAlgebra A₂]
[inst_2 : PartialOrder A₁] [inst_3 : PartialOrder A₂] [inst_4 : StarOrderedRing A₁] [inst_5 : StarOrderedRing A₂]
[inst_6 : FunLike F A₁ A₂] [LinearMapClass F ℂ A₁ A₂],
(∀ (φ : F) (k : ℕ) (M : CStarMatrix (Fin k) (Fin k) A₁), 0 ≤ M → 0 ≤ M.map ⇑φ) → OrderHomClass F A₁ A₂
Linear maps which are completely positive are order homomorphisms (i.e., positive maps).
instance CompletelyPositiveMapClass.instOrderHomClass E0 #
∀ {F : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} [inst : NonUnitalCStarAlgebra A₁] [inst_1 : NonUnitalCStarAlgebra A₂]
[inst_2 : PartialOrder A₁] [inst_3 : PartialOrder A₂] [inst_4 : StarOrderedRing A₁] [inst_5 : StarOrderedRing A₂]
[inst_6 : FunLike F A₁ A₂] [LinearMapClass F ℂ A₁ A₂] [CompletelyPositiveMapClass F A₁ A₂], OrderHomClass F A₁ A₂
instance CompletelyPositiveMap.instFunLike E0 #
{A₁ : Type u_1} →
{A₂ : Type u_2} →
[inst : NonUnitalCStarAlgebra A₁] →
[inst_1 : NonUnitalCStarAlgebra A₂] →
[inst_2 : PartialOrder A₁] →
[inst_3 : PartialOrder A₂] →
[inst_4 : StarOrderedRing A₁] → [inst_5 : StarOrderedRing A₂] → FunLike (CompletelyPositiveMap A₁ A₂) A₁ A₂
instance CompletelyPositiveMap.instLinearMapClassComplex E0 #
∀ {A₁ : Type u_1} {A₂ : Type u_2} [inst : NonUnitalCStarAlgebra A₁] [inst_1 : NonUnitalCStarAlgebra A₂]
[inst_2 : PartialOrder A₁] [inst_3 : PartialOrder A₂] [inst_4 : StarOrderedRing A₁] [inst_5 : StarOrderedRing A₂],
LinearMapClass (CompletelyPositiveMap A₁ A₂) ℂ A₁ A₂
instance CompletelyPositiveMap.instCompletelyPositiveMapClass E0 #
∀ {A₁ : Type u_1} {A₂ : Type u_2} [inst : NonUnitalCStarAlgebra A₁] [inst_1 : NonUnitalCStarAlgebra A₂]
[inst_2 : PartialOrder A₁] [inst_3 : PartialOrder A₂] [inst_4 : StarOrderedRing A₁] [inst_5 : StarOrderedRing A₂],
CompletelyPositiveMapClass (CompletelyPositiveMap A₁ A₂) A₁ A₂
theorem CompletelyPositiveMap.coe_ofClass E0 #
∀ {A₁ : Type u_1} {A₂ : Type u_2} [inst : NonUnitalCStarAlgebra A₁] [inst_1 : NonUnitalCStarAlgebra A₂]
[inst_2 : PartialOrder A₁] [inst_3 : PartialOrder A₂] [inst_4 : StarOrderedRing A₁] [inst_5 : StarOrderedRing A₂]
{F : Type u_3} [inst_6 : FunLike F A₁ A₂] [inst_7 : LinearMapClass F ℂ A₁ A₂]
[inst_8 : CompletelyPositiveMapClass F A₁ A₂] (f : F), ⇑(CompletelyPositiveMap.ofClass f) = ⇑f
theorem CompletelyPositiveMap.map_cstarMatrix_nonneg E0 #
∀ {A₁ : Type u_1} {A₂ : Type u_2} [inst : NonUnitalCStarAlgebra A₁] [inst_1 : NonUnitalCStarAlgebra A₂]
[inst_2 : PartialOrder A₁] [inst_3 : PartialOrder A₂] [inst_4 : StarOrderedRing A₁] [inst_5 : StarOrderedRing A₂]
{n : Type u_3} [inst_6 : Fintype n] (φ : CompletelyPositiveMap A₁ A₂) (M : CStarMatrix n n A₁), 0 ≤ M → 0 ≤ M.map ⇑φ
instance NonUnitalStarAlgHomClass.instCompletelyPositiveMapClass E3 #
∀ {F : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} [inst : NonUnitalCStarAlgebra A₁] [inst_1 : NonUnitalCStarAlgebra A₂]
[inst_2 : PartialOrder A₁] [inst_3 : PartialOrder A₂] [inst_4 : StarOrderedRing A₁] [inst_5 : StarOrderedRing A₂]
[inst_6 : FunLike F A₁ A₂] [NonUnitalAlgHomClass F ℂ A₁ A₂] [StarHomClass F A₁ A₂], CompletelyPositiveMapClass F A₁ A₂
Non-unital star algebra homomorphisms are completely positive.
Deprecated aliases
| Name | New name | Since |
|---|---|---|
CompletelyPositiveMapClass.toCompletelyPositiveLinearMap | CompletelyPositiveMap.ofClass | 2026-11-22 |