The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V16. Normed spaces and functional analysis

Mathlib.Analysis.CStarAlgebra.CStarMatrix

143 declarations. Mathlib docs · Source

Matrices with entries in a C⋆-algebra

This file creates a type copy of Matrix m n A called CStarMatrix m n A meant for matrices with entries in a C⋆-algebra A. Its action on C⋆ᵐᵒᵈ (n → A) (via Matrix.mulVec) gives it the operator norm, and this norm makes CStarMatrix n n A a C⋆-algebra.

Main declarations

  • CStarMatrix m n A: the type copy
  • CStarMatrix.instNonUnitalCStarAlgebra: square matrices with entries in a non-unital C⋆-algebra form a non-unital C⋆-algebra
  • CStarMatrix.instCStarAlgebra: square matrices with entries in a unital C⋆-algebra form a unital C⋆-algebra

Implementation notes

The norm on this type induces the product uniformity and bornology, but these are not defeq to Pi.uniformSpace and Pi.instBornology. Hence, we prove the equality to the Pi instances and replace the uniformity and bornology by the Pi ones when registering the NormedAddCommGroup (CStarMatrix m n A) instance. See the docstring of the TopologyAux section below for more details.

simp-normal form pulls of to the outside, to match the Matrix API.

def CStarMatrix E1 #

Type u_1 → Type u_2 → Type u_3 → Type (max u_1 u_2 u_3)

Type copy Matrix m n A meant for matrices with entries in a C⋆-algebra. This is a C⋆-algebra when m = n.

def CStarMatrix.ofMatrix E1 #

{m : Type u_7} → {n : Type u_8} → {A : Type u_9} → Matrix m n A ≃ CStarMatrix m n A

The equivalence between Matrix m n A and CStarMatrix m n A.

theorem CStarMatrix.ofMatrix_apply E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} {M : Matrix m n A} {i : m}, CStarMatrix.ofMatrix M i = M i

theorem CStarMatrix.ofMatrix_symm_apply E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} {M : CStarMatrix m n A} {i : m}, CStarMatrix.ofMatrix.symm M i = M i

theorem CStarMatrix.ext_iff E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} {M N : CStarMatrix m n A}, (∀ (i : m) (j : n), M i j = N i j) ↔ M = N

theorem CStarMatrix.ext E1 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} {M₁ M₂ : CStarMatrix m n A},
  (∀ (i : m) (j : n), M₁ i j = M₂ i j) → M₁ = M₂

def CStarMatrix.map E1 #

{m : Type u_1} → {n : Type u_2} → {A : Type u_5} → {B : Type u_6} → CStarMatrix m n A → (A → B) → CStarMatrix m n B

M.map f is the matrix obtained by applying f to each entry of the matrix M.

theorem CStarMatrix.map_apply E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} {B : Type u_6} {M : CStarMatrix m n A} {f : A → B} {i : m} {j : n},
  M.map f i j = f (M i j)

theorem CStarMatrix.map_id E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} (M : CStarMatrix m n A), M.map id = M

theorem CStarMatrix.map_id' E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} (M : CStarMatrix m n A), (M.map fun x ↦ x) = M

theorem CStarMatrix.map_map E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} {B : Type u_6} {C : Type u_7} {M : CStarMatrix m n A} {f : A → B}
  {g : B → C}, (M.map f).map g = M.map (g ∘ f)

theorem CStarMatrix.map_injective E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} {B : Type u_6} {f : A → B},
  Function.Injective f → Function.Injective fun M ↦ M.map f

def CStarMatrix.transpose E1 #

{m : Type u_1} → {n : Type u_2} → {A : Type u_5} → CStarMatrix m n A → CStarMatrix n m A

The transpose of a matrix.

theorem CStarMatrix.transpose_apply E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} (M : CStarMatrix m n A) (i : n) (j : m), M.transpose i j = M j i

def CStarMatrix.conjTranspose E1 #

{m : Type u_1} → {n : Type u_2} → {A : Type u_5} → [Star A] → CStarMatrix m n A → CStarMatrix n m A

The conjugate transpose of a matrix defined in term of star.

theorem CStarMatrix.conjTranspose_apply E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [inst : Star A] (M : CStarMatrix m n A) (i : n) (j : m),
  M.conjTranspose i j = star (M j i)

instance CStarMatrix.instStar E0 #

{n : Type u_2} → {A : Type u_5} → [Star A] → Star (CStarMatrix n n A)

theorem CStarMatrix.star_eq_conjTranspose E1 #

∀ {n : Type u_2} {A : Type u_5} [inst : Star A] {M : CStarMatrix n n A}, star M = M.conjTranspose

instance CStarMatrix.instInvolutiveStar E0 #

{n : Type u_2} → {A : Type u_5} → [InvolutiveStar A] → InvolutiveStar (CStarMatrix n n A)

instance CStarMatrix.instInhabited E0 #

{m : Type u_1} → {n : Type u_2} → {A : Type u_5} → [Inhabited A] → Inhabited (CStarMatrix m n A)

instance CStarMatrix.instDecidableEq E0 #

{m : Type u_1} →
  {n : Type u_2} → {A : Type u_5} → [DecidableEq A] → [Fintype m] → [Fintype n] → DecidableEq (CStarMatrix m n A)

instance CStarMatrix.instFintypeOfDecidableEq E0 #

{n : Type u_7} →
  {m : Type u_8} →
    [Fintype m] →
      [DecidableEq m] → [Fintype n] → [DecidableEq n] → (α : Type u_9) → [Fintype α] → Fintype (CStarMatrix m n α)

instance CStarMatrix.instFinite E0 #

∀ {n : Type u_7} {m : Type u_8} [Finite m] [Finite n] (α : Type u_9) [Finite α], Finite (CStarMatrix m n α)

instance CStarMatrix.instAdd E0 #

{m : Type u_1} → {n : Type u_2} → {A : Type u_5} → [Add A] → Add (CStarMatrix m n A)

instance CStarMatrix.instAddSemigroup E0 #

{m : Type u_1} → {n : Type u_2} → {A : Type u_5} → [AddSemigroup A] → AddSemigroup (CStarMatrix m n A)

instance CStarMatrix.instAddCommSemigroup E0 #

{m : Type u_1} → {n : Type u_2} → {A : Type u_5} → [AddCommSemigroup A] → AddCommSemigroup (CStarMatrix m n A)

instance CStarMatrix.instZero E0 #

{m : Type u_1} → {n : Type u_2} → {A : Type u_5} → [Zero A] → Zero (CStarMatrix m n A)

instance CStarMatrix.instAddZeroClass E0 #

{m : Type u_1} → {n : Type u_2} → {A : Type u_5} → [AddZeroClass A] → AddZeroClass (CStarMatrix m n A)

instance CStarMatrix.instSMul E0 #

{m : Type u_1} → {n : Type u_2} → {R : Type u_3} → {A : Type u_5} → [SMul R A] → SMul R (CStarMatrix m n A)

instance CStarMatrix.instAddMonoid E0 #

{m : Type u_1} → {n : Type u_2} → {A : Type u_5} → [AddMonoid A] → AddMonoid (CStarMatrix m n A)

instance CStarMatrix.instAddCommMonoid E0 #

{m : Type u_1} → {n : Type u_2} → {A : Type u_5} → [AddCommMonoid A] → AddCommMonoid (CStarMatrix m n A)

instance CStarMatrix.instNeg E0 #

{m : Type u_1} → {n : Type u_2} → {A : Type u_5} → [Neg A] → Neg (CStarMatrix m n A)

instance CStarMatrix.instSub E0 #

{m : Type u_1} → {n : Type u_2} → {A : Type u_5} → [Sub A] → Sub (CStarMatrix m n A)

instance CStarMatrix.instAddGroup E0 #

{m : Type u_1} → {n : Type u_2} → {A : Type u_5} → [AddGroup A] → AddGroup (CStarMatrix m n A)

instance CStarMatrix.instAddCommGroup E0 #

{m : Type u_1} → {n : Type u_2} → {A : Type u_5} → [AddCommGroup A] → AddCommGroup (CStarMatrix m n A)

instance CStarMatrix.instUnique E0 #

{m : Type u_1} → {n : Type u_2} → {A : Type u_5} → [Unique A] → Unique (CStarMatrix m n A)

instance CStarMatrix.instSubsingleton E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [Subsingleton A], Subsingleton (CStarMatrix m n A)

instance CStarMatrix.instNontrivial E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [Nonempty m] [Nonempty n] [Nontrivial A], Nontrivial (CStarMatrix m n A)

instance CStarMatrix.instSMulCommClass E0 #

∀ {m : Type u_1} {n : Type u_2} {R : Type u_3} {S : Type u_4} {A : Type u_5} [inst : SMul R A] [inst_1 : SMul S A]
  [SMulCommClass R S A], SMulCommClass R S (CStarMatrix m n A)

instance CStarMatrix.instIsScalarTower E0 #

∀ {m : Type u_1} {n : Type u_2} {R : Type u_3} {S : Type u_4} {A : Type u_5} [inst : SMul R S] [inst_1 : SMul R A]
  [inst_2 : SMul S A] [IsScalarTower R S A], IsScalarTower R S (CStarMatrix m n A)

instance CStarMatrix.instIsCentralScalar E0 #

∀ {m : Type u_1} {n : Type u_2} {R : Type u_3} {A : Type u_5} [inst : SMul R A] [inst_1 : SMul Rᵐᵒᵖ A]
  [IsCentralScalar R A], IsCentralScalar R (CStarMatrix m n A)

instance CStarMatrix.instMulAction E0 #

{m : Type u_1} →
  {n : Type u_2} →
    {R : Type u_3} → {A : Type u_5} → [inst : Monoid R] → [MulAction R A] → MulAction R (CStarMatrix m n A)

instance CStarMatrix.instDistribMulAction E0 #

{m : Type u_1} →
  {n : Type u_2} →
    {R : Type u_3} →
      {A : Type u_5} →
        [inst : Monoid R] → [inst_1 : AddMonoid A] → [DistribMulAction R A] → DistribMulAction R (CStarMatrix m n A)

instance CStarMatrix.instModule E0 #

{m : Type u_1} →
  {n : Type u_2} →
    {R : Type u_3} →
      {A : Type u_5} → [inst : Semiring R] → [inst_1 : AddCommMonoid A] → [Module R A] → Module R (CStarMatrix m n A)

theorem CStarMatrix.zero_apply E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [inst : Zero A] (i : m) (j : n), 0 i j = 0

theorem CStarMatrix.add_apply E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [inst : Add A] (M N : CStarMatrix m n A) (i : m) (j : n),
  (M + N) i j = M i j + N i j

theorem CStarMatrix.smul_apply E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} {B : Type u_6} [inst : SMul B A] (r : B) (M : CStarMatrix m n A) (i : m)
  (j : n), (r • M) i j = r • M i j

theorem CStarMatrix.sub_apply E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [inst : Sub A] (M N : CStarMatrix m n A) (i : m) (j : n),
  (M - N) i j = M i j - N i j

theorem CStarMatrix.neg_apply E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [inst : Neg A] (M : CStarMatrix m n A) (i : m) (j : n), (-M) i j = -M i j

theorem CStarMatrix.conjTranspose_zero E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [inst : AddMonoid A] [inst_1 : StarAddMonoid A],
  CStarMatrix.conjTranspose 0 = 0

theorem CStarMatrix.of_zero E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [inst : Zero A], CStarMatrix.ofMatrix 0 = 0

theorem CStarMatrix.of_add_of E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [inst : Add A] (f g : Matrix m n A),
  CStarMatrix.ofMatrix f + CStarMatrix.ofMatrix g = CStarMatrix.ofMatrix (f + g)

theorem CStarMatrix.of_sub_of E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [inst : Sub A] (f g : Matrix m n A),
  CStarMatrix.ofMatrix f - CStarMatrix.ofMatrix g = CStarMatrix.ofMatrix (f - g)

theorem CStarMatrix.neg_of E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [inst : Neg A] (f : Matrix m n A),
  -CStarMatrix.ofMatrix f = CStarMatrix.ofMatrix (-f)

theorem CStarMatrix.smul_of E0 #

∀ {m : Type u_1} {n : Type u_2} {R : Type u_3} {A : Type u_5} [inst : SMul R A] (r : R) (f : Matrix m n A),
  r • CStarMatrix.ofMatrix f = CStarMatrix.ofMatrix (r • f)

theorem CStarMatrix.star_apply E0 #

∀ {n : Type u_2} {A : Type u_5} [inst : Star A] {f : CStarMatrix n n A} {i j : n}, star f i j = star (f j i)

theorem CStarMatrix.star_apply_of_isSelfAdjoint E1 #

∀ {n : Type u_2} {A : Type u_5} [inst : Star A] {f : CStarMatrix n n A},
  IsSelfAdjoint f → ∀ {i j : n}, star (f i j) = f j i

instance CStarMatrix.instStarAddMonoid E0 #

{n : Type u_2} → {A : Type u_5} → [inst : AddMonoid A] → [StarAddMonoid A] → StarAddMonoid (CStarMatrix n n A)

instance CStarMatrix.instStarModule E0 #

∀ {n : Type u_2} {R : Type u_3} {A : Type u_5} [inst : Star R] [inst_1 : Star A] [inst_2 : SMul R A] [StarModule R A],
  StarModule R (CStarMatrix n n A)

def CStarMatrix.ofMatrixₗ E1 #

{m : Type u_1} →
  {n : Type u_2} →
    {R : Type u_3} →
      {A : Type u_5} →
        [inst : AddCommMonoid A] → [inst_1 : Semiring R] → [inst_2 : Module R A] → Matrix m n A ≃ₗ[R] CStarMatrix m n A

The equivalence to matrices, bundled as a linear equivalence.

def CStarMatrix.mapₗ E1 #

{m : Type u_1} →
  {n : Type u_2} →
    {R : Type u_3} →
      {S : Type u_4} →
        {A : Type u_5} →
          {B : Type u_6} →
            [inst : Semiring R] →
              [inst_1 : Semiring S] →
                {σ : R →+* S} →
                  [inst_2 : AddCommMonoid A] →
                    [inst_3 : AddCommMonoid B] →
                      [inst_4 : Module R A] →
                        [inst_5 : Module S B] → (A →ₛₗ[σ] B) → CStarMatrix m n A →ₛₗ[σ] CStarMatrix m n B

The semilinear map constructed by applying a semilinear map to all the entries of the matrix.

theorem CStarMatrix.mapₗ_apply E0 #

∀ {m : Type u_1} {n : Type u_2} {R : Type u_3} {S : Type u_4} {A : Type u_5} {B : Type u_6} [inst : Semiring R]
  [inst_1 : Semiring S] {σ : R →+* S} [inst_2 : AddCommMonoid A] [inst_3 : AddCommMonoid B] [inst_4 : Module R A]
  [inst_5 : Module S B] (f : A →ₛₗ[σ] B) (M : CStarMatrix m n A), (CStarMatrix.mapₗ f) M = M.map ⇑f

instance CStarMatrix.instOne E0 #

{n : Type u_2} → {A : Type u_5} → [DecidableEq n] → [Zero A] → [One A] → One (CStarMatrix n n A)

theorem CStarMatrix.one_apply E0 #

∀ {n : Type u_2} {A : Type u_5} [inst : DecidableEq n] [inst_1 : Zero A] [inst_2 : One A] {i j : n},
  1 i j = if i = j then 1 else 0

theorem CStarMatrix.one_apply_eq E0 #

∀ {n : Type u_2} {A : Type u_5} [inst : DecidableEq n] [inst_1 : Zero A] [inst_2 : One A] (i : n), 1 i i = 1

theorem CStarMatrix.one_apply_ne E0 #

∀ {n : Type u_2} {A : Type u_5} [inst : DecidableEq n] [inst_1 : Zero A] [inst_2 : One A] {i j : n}, i ≠ j → 1 i j = 0

theorem CStarMatrix.one_apply_ne' E1 #

∀ {n : Type u_2} {A : Type u_5} [inst : DecidableEq n] [inst_1 : Zero A] [inst_2 : One A] {i j : n}, j ≠ i → 1 i j = 0

instance CStarMatrix.instAddMonoidWithOne E0 #

{n : Type u_2} → {A : Type u_5} → [DecidableEq n] → [AddMonoidWithOne A] → AddMonoidWithOne (CStarMatrix n n A)

instance CStarMatrix.instAddGroupWithOne E0 #

{n : Type u_2} → {A : Type u_5} → [DecidableEq n] → [AddGroupWithOne A] → AddGroupWithOne (CStarMatrix n n A)

instance CStarMatrix.instAddCommMonoidWithOne E0 #

{n : Type u_2} → {A : Type u_5} → [DecidableEq n] → [AddCommMonoidWithOne A] → AddCommMonoidWithOne (CStarMatrix n n A)

instance CStarMatrix.instAddCommGroupWithOne E0 #

{n : Type u_2} → {A : Type u_5} → [DecidableEq n] → [AddCommGroupWithOne A] → AddCommGroupWithOne (CStarMatrix n n A)

instance CStarMatrix.instHMulOfFintypeOfMulOfAddCommMonoid E0 #

{m : Type u_1} →
  {n : Type u_2} →
    {A : Type u_5} →
      {l : Type u_7} →
        [Fintype m] → [Mul A] → [AddCommMonoid A] → HMul (CStarMatrix l m A) (CStarMatrix m n A) (CStarMatrix l n A)

instance CStarMatrix.instMulOfFintypeOfAddCommMonoid E0 #

{n : Type u_2} → {A : Type u_5} → [Fintype n] → [Mul A] → [AddCommMonoid A] → Mul (CStarMatrix n n A)

theorem CStarMatrix.mul_apply E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} {l : Type u_7} [inst : Fintype m] [inst_1 : Mul A]
  [inst_2 : AddCommMonoid A] {M : CStarMatrix l m A} {N : CStarMatrix m n A} {i : l} {k : n},
  (M * N) i k = ∑ j, M i j * N j k

theorem CStarMatrix.mul_apply' E1 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} {l : Type u_7} [inst : Fintype m] [inst_1 : Mul A]
  [inst_2 : AddCommMonoid A] {M : CStarMatrix l m A} {N : CStarMatrix m n A} {i : l} {k : n},
  (M * N) i k = (fun j ↦ M i j) ⬝ᵥ fun j ↦ N j k

theorem CStarMatrix.smul_mul E0 #

∀ {m : Type u_1} {n : Type u_2} {R : Type u_3} {A : Type u_5} {l : Type u_7} [inst : Fintype n] [inst_1 : Monoid R]
  [inst_2 : AddCommMonoid A] [inst_3 : Mul A] [inst_4 : DistribMulAction R A] [IsScalarTower R A A] (a : R)
  (M : CStarMatrix m n A) (N : CStarMatrix n l A), a • M * N = a • (M * N)

theorem CStarMatrix.mul_smul E1 #

∀ {m : Type u_1} {n : Type u_2} {R : Type u_3} {A : Type u_5} {l : Type u_7} [inst : Fintype n] [inst_1 : Monoid R]
  [inst_2 : AddCommMonoid A] [inst_3 : Mul A] [inst_4 : DistribMulAction R A] [SMulCommClass R A A]
  (M : CStarMatrix m n A) (a : R) (N : CStarMatrix n l A), M * a • N = a • (M * N)

theorem CStarMatrix.mul_zero E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} {o : Type u_7} [inst : Fintype n] [inst_1 : NonUnitalNonAssocSemiring A]
  (M : CStarMatrix m n A), M * 0 = 0

theorem CStarMatrix.zero_mul E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} {l : Type u_7} [inst : Fintype m] [inst_1 : NonUnitalNonAssocSemiring A]
  (M : CStarMatrix m n A), 0 * M = 0

theorem CStarMatrix.mul_add E1 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} {o : Type u_7} [inst : Fintype n] [inst_1 : NonUnitalNonAssocSemiring A]
  (L : CStarMatrix m n A) (M N : CStarMatrix n o A), L * (M + N) = L * M + L * N

theorem CStarMatrix.add_mul E1 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} {l : Type u_7} [inst : Fintype m] [inst_1 : NonUnitalNonAssocSemiring A]
  (L M : CStarMatrix l m A) (N : CStarMatrix m n A), (L + M) * N = L * N + M * N

instance CStarMatrix.instNonUnitalNonAssocSemiring E0 #

{n : Type u_2} →
  {A : Type u_5} → [Fintype n] → [NonUnitalNonAssocSemiring A] → NonUnitalNonAssocSemiring (CStarMatrix n n A)

instance CStarMatrix.instNonUnitalNonAssocRing E0 #

{n : Type u_2} → {A : Type u_5} → [Fintype n] → [NonUnitalNonAssocRing A] → NonUnitalNonAssocRing (CStarMatrix n n A)

instance CStarMatrix.instNonUnitalSemiring E0 #

{n : Type u_2} → {A : Type u_5} → [Fintype n] → [NonUnitalSemiring A] → NonUnitalSemiring (CStarMatrix n n A)

instance CStarMatrix.instNonAssocSemiring E0 #

{n : Type u_2} →
  {A : Type u_5} → [Fintype n] → [DecidableEq n] → [NonAssocSemiring A] → NonAssocSemiring (CStarMatrix n n A)

instance CStarMatrix.instNonUnitalRing E0 #

{n : Type u_2} → {A : Type u_5} → [Fintype n] → [NonUnitalRing A] → NonUnitalRing (CStarMatrix n n A)

instance CStarMatrix.instNonAssocRing E0 #

{n : Type u_2} → {A : Type u_5} → [Fintype n] → [DecidableEq n] → [NonAssocRing A] → NonAssocRing (CStarMatrix n n A)

instance CStarMatrix.instSemiring E0 #

{n : Type u_2} → {A : Type u_5} → [Fintype n] → [DecidableEq n] → [Semiring A] → Semiring (CStarMatrix n n A)

instance CStarMatrix.instRing E0 #

{n : Type u_2} → {A : Type u_5} → [Fintype n] → [DecidableEq n] → [Ring A] → Ring (CStarMatrix n n A)

def CStarMatrix.ofMatrixRingEquiv E1 #

{n : Type u_2} → {A : Type u_5} → [inst : Fintype n] → [inst_1 : Semiring A] → Matrix n n A ≃+* CStarMatrix n n A

ofMatrix bundled as a ring equivalence.

instance CStarMatrix.instStarRing E0 #

{n : Type u_2} →
  {A : Type u_5} → [inst : Fintype n] → [inst_1 : NonUnitalSemiring A] → [StarRing A] → StarRing (CStarMatrix n n A)

instance CStarMatrix.instAlgebra E0 #

{n : Type u_2} →
  {R : Type u_3} →
    {A : Type u_5} →
      [inst : Fintype n] →
        [inst_1 : DecidableEq n] →
          [inst_2 : CommSemiring R] → [inst_3 : Semiring A] → [Algebra R A] → Algebra R (CStarMatrix n n A)

def CStarMatrix.ofMatrixStarAlgEquiv E1 #

{n : Type u_2} →
  {A : Type u_5} →
    [inst : Fintype n] →
      [inst_1 : SMul ℂ A] → [inst_2 : Semiring A] → [inst_3 : StarRing A] → Matrix n n A ≃⋆ₐ[ℂ] CStarMatrix n n A

ofMatrix bundled as a star algebra equivalence.

theorem CStarMatrix.ofMatrix_eq_ofMatrixStarAlgEquiv E1 #

∀ {n : Type u_2} {A : Type u_5} [inst : Fintype n] [inst_1 : SMul ℂ A] [inst_2 : Semiring A] [inst_3 : StarRing A],
  ⇑CStarMatrix.ofMatrix = ⇑CStarMatrix.ofMatrixStarAlgEquiv

def CStarMatrix.reindexₗ E1 #

{m : Type u_1} →
  {n : Type u_2} →
    (R : Type u_3) →
      (A : Type u_5) →
        {l : Type u_7} →
          {o : Type u_8} →
            [inst : Semiring R] →
              [inst_1 : AddCommMonoid A] →
                [inst_2 : Module R A] → m ≃ l → n ≃ o → CStarMatrix m n A ≃ₗ[R] CStarMatrix l o A

The natural map that reindexes a matrix's rows and columns with equivalent types is an equivalence.

theorem CStarMatrix.reindexₗ_apply E0 #

∀ {m : Type u_1} {n : Type u_2} {R : Type u_3} {A : Type u_5} {l : Type u_7} {o : Type u_8} [inst : Semiring R]
  [inst_1 : AddCommMonoid A] [inst_2 : Module R A] {eₘ : m ≃ l} {eₙ : n ≃ o} {M : CStarMatrix m n A} {i : l} {j : o},
  (CStarMatrix.reindexₗ R A eₘ eₙ) M i j = (Matrix.reindex eₘ eₙ) M i j

def CStarMatrix.reindexₐ E1 #

{m : Type u_1} →
  {n : Type u_2} →
    (R : Type u_7) →
      (A : Type u_8) →
        [inst : Fintype m] →
          [inst_1 : Fintype n] →
            [inst_2 : Semiring R] →
              [inst_3 : AddCommMonoid A] →
                [inst_4 : Mul A] →
                  [inst_5 : Module R A] → [inst_6 : Star A] → m ≃ n → CStarMatrix m m A ≃⋆ₐ[R] CStarMatrix n n A

The natural map that reindexes a matrix's rows and columns with equivalent types is an equivalence.

theorem CStarMatrix.reindexₐ_apply E0 #

∀ {m : Type u_1} {n : Type u_2} {R : Type u_3} {A : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
  [inst_2 : Semiring R] [inst_3 : AddCommMonoid A] [inst_4 : Mul A] [inst_5 : Star A] [inst_6 : Module R A] {e : m ≃ n}
  {M : CStarMatrix m m A} {i j : n}, (CStarMatrix.reindexₐ R A e) M i j = (Matrix.reindex e e) M i j

theorem CStarMatrix.mapₗ_reindexₐ E1 #

∀ {m : Type u_1} {n : Type u_2} {R : Type u_3} {A : Type u_5} {B : Type u_6} [inst : Fintype m] [inst_1 : Fintype n]
  [inst_2 : Semiring R] [inst_3 : AddCommMonoid A] [inst_4 : Mul A] [inst_5 : Module R A] [inst_6 : Star A]
  [inst_7 : AddCommMonoid B] [inst_8 : Mul B] [inst_9 : Module R B] [inst_10 : Star B] {e : m ≃ n}
  {M : CStarMatrix m m A} (φ : A →ₗ[R] B),
  (CStarMatrix.reindexₐ R B e) ((CStarMatrix.mapₗ φ) M) = (CStarMatrix.mapₗ φ) ((CStarMatrix.reindexₐ R A e) M)

theorem CStarMatrix.reindexₐ_symm E0 #

∀ {m : Type u_1} {n : Type u_2} {R : Type u_3} {A : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
  [inst_2 : Semiring R] [inst_3 : AddCommMonoid A] [inst_4 : Mul A] [inst_5 : Module R A] [inst_6 : Star A] {e : m ≃ n},
  CStarMatrix.reindexₐ R A e.symm = (CStarMatrix.reindexₐ R A e).symm

def CStarMatrix.mapₙₐ E1 #

{n : Type u_2} →
  {R : Type u_3} →
    {A : Type u_5} →
      {B : Type u_6} →
        [inst : Fintype n] →
          [inst_1 : Semiring R] →
            [inst_2 : NonUnitalNonAssocSemiring A] →
              [inst_3 : Module R A] →
                [inst_4 : Star A] →
                  [inst_5 : NonUnitalNonAssocSemiring B] →
                    [inst_6 : Module R B] →
                      [inst_7 : Star B] → (A →⋆ₙₐ[R] B) → CStarMatrix n n A →⋆ₙₐ[R] CStarMatrix n n B

Applying a non-unital ⋆-algebra homomorphism to every entry of a matrix is itself a ⋆-algebra homomorphism on matrices.

theorem CStarMatrix.mapₙₐ_apply E0 #

∀ {n : Type u_2} {R : Type u_3} {A : Type u_5} {B : Type u_6} [inst : Fintype n] [inst_1 : Semiring R]
  [inst_2 : NonUnitalNonAssocSemiring A] [inst_3 : Module R A] [inst_4 : Star A] [inst_5 : NonUnitalNonAssocSemiring B]
  [inst_6 : Module R B] [inst_7 : Star B] (f : A →⋆ₙₐ[R] B) (M : CStarMatrix n n A),
  (CStarMatrix.mapₙₐ f) M = (CStarMatrix.mapₗ ↑f) M

theorem CStarMatrix.algebraMap_apply E0 #

∀ {n : Type u_2} {R : Type u_3} {A : Type u_5} [inst : Fintype n] [inst_1 : DecidableEq n] [inst_2 : CommSemiring R]
  [inst_3 : Semiring A] [inst_4 : Algebra R A] {r : R} {i j : n},
  (algebraMap R (CStarMatrix n n A)) r i j = if i = j then (algebraMap R A) r else 0

def CStarMatrix.toOneByOne E1 #

(n : Type u_2) →
  (R : Type u_3) →
    (A : Type u_5) →
      [inst : Unique n] →
        [inst_1 : Semiring R] →
          [inst_2 : AddCommMonoid A] →
            [inst_3 : Mul A] → [inst_4 : Star A] → [inst_5 : Module R A] → A ≃⋆ₐ[R] CStarMatrix n n A

The ⋆-algebra equivalence between A and 1×1 matrices with its entry in A.

def CStarMatrix.toCLM E1 #

{m : Type u_1} →
  {n : Type u_2} →
    {A : Type u_5} →
      [Fintype m] →
        [inst : NonUnitalCStarAlgebra A] →
          CStarMatrix m n A →ₗ[ℂ] WithCStarModule A (m → A) →L[ℂ] WithCStarModule A (n → A)

Interpret a CStarMatrix m n A as a continuous linear map acting on C⋆ᵐᵒᵈ (n → A).

theorem CStarMatrix.toCLM_apply E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [inst : Fintype m] [inst_1 : NonUnitalCStarAlgebra A]
  {M : CStarMatrix m n A} {v : WithCStarModule A (m → A)},
  (CStarMatrix.toCLM M) v = (WithCStarModule.equiv A (n → A)).symm (Matrix.vecMul v M)

theorem CStarMatrix.toCLM_apply_eq_sum E1 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [inst : Fintype m] [inst_1 : NonUnitalCStarAlgebra A]
  {M : CStarMatrix m n A} {v : WithCStarModule A (m → A)},
  (CStarMatrix.toCLM M) v = (WithCStarModule.equiv A (n → A)).symm fun j ↦ ∑ i, v i * M i j

def CStarMatrix.toCLMNonUnitalAlgHom E1 #

{n : Type u_2} →
  {A : Type u_5} →
    [inst : NonUnitalCStarAlgebra A] →
      [inst_1 : Fintype n] → CStarMatrix n n A →ₙₐ[ℂ] (WithCStarModule A (n → A) →L[ℂ] WithCStarModule A (n → A))ᵐᵒᵖ

Interpret a CStarMatrix m n A as a continuous linear map acting on C⋆ᵐᵒᵈ (n → A). This version is specialized to the case m = n and is bundled as a non-unital algebra homomorphism.

theorem CStarMatrix.toCLMNonUnitalAlgHom_eq_toCLM E1 #

∀ {n : Type u_2} {A : Type u_5} [inst : NonUnitalCStarAlgebra A] [inst_1 : Fintype n] {M : CStarMatrix n n A},
  CStarMatrix.toCLMNonUnitalAlgHom M = MulOpposite.op (CStarMatrix.toCLM M)

theorem CStarMatrix.toCLM_apply_single E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [inst : Fintype m] [inst_1 : NonUnitalCStarAlgebra A]
  [inst_2 : DecidableEq m] {M : CStarMatrix m n A} {i : m} (a : A),
  (CStarMatrix.toCLM M) ((WithCStarModule.equiv A (m → A)).symm (Pi.single i a)) =
    (WithCStarModule.equiv A (n → A)).symm fun j ↦ a * M i j

theorem CStarMatrix.toCLM_apply_single_apply E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [inst : Fintype m] [inst_1 : NonUnitalCStarAlgebra A]
  [inst_2 : DecidableEq m] {M : CStarMatrix m n A} {i : m} {j : n} (a : A),
  (CStarMatrix.toCLM M) ((WithCStarModule.equiv A (m → A)).symm (Pi.single i a)) j = a * M i j

theorem CStarMatrix.toCLM_injective E1 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [inst : Fintype m] [inst_1 : NonUnitalCStarAlgebra A],
  Function.Injective ⇑CStarMatrix.toCLM

theorem CStarMatrix.mul_entry_mul_eq_inner_toCLM E1 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [inst : Fintype m] [inst_1 : NonUnitalCStarAlgebra A]
  [inst_2 : PartialOrder A] [inst_3 : StarOrderedRing A] [inst_4 : Fintype n] [inst_5 : DecidableEq m]
  [inst_6 : DecidableEq n] {M : CStarMatrix m n A} {i : m} {j : n} (a b : A),
  a * M i j * star b =
    inner A ((WithCStarModule.equiv A (n → A)).symm (Pi.single j b))
      ((CStarMatrix.toCLM M) ((WithCStarModule.equiv A (m → A)).symm (Pi.single i a)))

theorem CStarMatrix.inner_toCLM_conjTranspose_left E1 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [inst : Fintype m] [inst_1 : NonUnitalCStarAlgebra A]
  [inst_2 : PartialOrder A] [inst_3 : StarOrderedRing A] [inst_4 : Fintype n] {M : CStarMatrix m n A}
  {v : WithCStarModule A (n → A)} {w : WithCStarModule A (m → A)},
  inner A ((CStarMatrix.toCLM (Matrix.conjTranspose M)) v) w = inner A v ((CStarMatrix.toCLM M) w)

theorem CStarMatrix.inner_toCLM_conjTranspose_right E1 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [inst : Fintype m] [inst_1 : NonUnitalCStarAlgebra A]
  [inst_2 : PartialOrder A] [inst_3 : StarOrderedRing A] [inst_4 : Fintype n] {M : CStarMatrix m n A}
  {v : WithCStarModule A (m → A)} {w : WithCStarModule A (n → A)},
  inner A v ((CStarMatrix.toCLM (Matrix.conjTranspose M)) w) = inner A ((CStarMatrix.toCLM M) v) w

instance CStarMatrix.instNorm E0 #

{m : Type u_1} →
  {n : Type u_2} →
    {A : Type u_5} →
      [Fintype m] →
        [inst : NonUnitalCStarAlgebra A] →
          [inst_1 : PartialOrder A] → [StarOrderedRing A] → [Fintype n] → Norm (CStarMatrix m n A)

The operator norm on CStarMatrix m n A.

theorem CStarMatrix.norm_def E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [inst : Fintype m] [inst_1 : NonUnitalCStarAlgebra A]
  [inst_2 : PartialOrder A] [inst_3 : StarOrderedRing A] [inst_4 : Fintype n] {M : CStarMatrix m n A},
  ‖M‖ = ‖CStarMatrix.toCLM M‖

theorem CStarMatrix.norm_def' E1 #

∀ {n : Type u_2} {A : Type u_5} [inst : NonUnitalCStarAlgebra A] [inst_1 : PartialOrder A] [inst_2 : StarOrderedRing A]
  [inst_3 : Fintype n] {M : CStarMatrix n n A}, ‖M‖ = ‖CStarMatrix.toCLMNonUnitalAlgHom M‖

theorem CStarMatrix.normedSpaceCore E1 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [inst : Fintype m] [inst_1 : NonUnitalCStarAlgebra A]
  [inst_2 : PartialOrder A] [inst_3 : StarOrderedRing A] [inst_4 : Fintype n], NormedSpace.Core ℂ (CStarMatrix m n A)

theorem CStarMatrix.norm_entry_le_norm E1 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [inst : Fintype m] [inst_1 : NonUnitalCStarAlgebra A]
  [inst_2 : PartialOrder A] [inst_3 : StarOrderedRing A] [inst_4 : Fintype n] {M : CStarMatrix m n A} {i : m} {j : n},
  ‖M i j‖ ≤ ‖M‖

theorem CStarMatrix.norm_le_of_forall_inner_le E1 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_5} [inst : Fintype m] [inst_1 : NonUnitalCStarAlgebra A]
  [inst_2 : PartialOrder A] [inst_3 : StarOrderedRing A] [inst_4 : Fintype n] {M : CStarMatrix m n A} {C : NNReal},
  (∀ (v : WithCStarModule A (m → A)) (w : WithCStarModule A (n → A)),
      ‖inner A w ((CStarMatrix.toCLM M) v)‖ ≤ ↑C * ‖v‖ * ‖w‖) →
    ‖M‖ ≤ ↑C

instance CStarMatrix.instTopologicalSpace E0 #

{A : Type u_1} → [NonUnitalCStarAlgebra A] → {m : Type u_2} → {n : Type u_3} → TopologicalSpace (CStarMatrix m n A)

instance CStarMatrix.instUniformSpace E0 #

{A : Type u_1} → [NonUnitalCStarAlgebra A] → {m : Type u_2} → {n : Type u_3} → UniformSpace (CStarMatrix m n A)

instance CStarMatrix.instBornology E0 #

{A : Type u_1} → [NonUnitalCStarAlgebra A] → {m : Type u_2} → {n : Type u_3} → Bornology (CStarMatrix m n A)

instance CStarMatrix.instCompleteSpace E0 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] {m : Type u_2} {n : Type u_3}, CompleteSpace (CStarMatrix m n A)

instance CStarMatrix.instT2Space E0 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] {m : Type u_2} {n : Type u_3}, T2Space (CStarMatrix m n A)

instance CStarMatrix.instT3Space E0 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] {m : Type u_2} {n : Type u_3}, T3Space (CStarMatrix m n A)

instance CStarMatrix.instIsTopologicalAddGroup E0 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] {m : Type u_2} {n : Type u_3},
  IsTopologicalAddGroup (CStarMatrix m n A)

instance CStarMatrix.instIsUniformAddGroup E0 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] {m : Type u_2} {n : Type u_3}, IsUniformAddGroup (CStarMatrix m n A)

instance CStarMatrix.instContinuousSMul E0 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] {m : Type u_2} {n : Type u_3} {R : Type u_4} [inst_1 : SMul R A]
  [inst_2 : TopologicalSpace R] [ContinuousSMul R A], ContinuousSMul R (CStarMatrix m n A)

instance CStarMatrix.instNormedAddCommGroup E0 #

{A : Type u_1} →
  [inst : NonUnitalCStarAlgebra A] →
    [inst_1 : PartialOrder A] →
      [StarOrderedRing A] →
        {m : Type u_2} → {n : Type u_3} → [Fintype m] → [Fintype n] → NormedAddCommGroup (CStarMatrix m n A)

instance CStarMatrix.instNormedSpace E0 #

{A : Type u_1} →
  [inst : NonUnitalCStarAlgebra A] →
    [inst_1 : PartialOrder A] →
      [inst_2 : StarOrderedRing A] →
        {m : Type u_2} →
          {n : Type u_3} → [inst_3 : Fintype m] → [inst_4 : Fintype n] → NormedSpace ℂ (CStarMatrix m n A)

instance CStarMatrix.instNonUnitalNormedRing E0 #

{A : Type u_1} →
  [inst : NonUnitalCStarAlgebra A] →
    [inst_1 : PartialOrder A] →
      [StarOrderedRing A] → {n : Type u_3} → [Fintype n] → NonUnitalNormedRing (CStarMatrix n n A)

instance CStarMatrix.instCStarRing E0 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] [inst_1 : PartialOrder A] [inst_2 : StarOrderedRing A] {n : Type u_3}
  [inst_3 : Fintype n], CStarRing (CStarMatrix n n A)

Matrices with entries in a C⋆-algebra form a C⋆-algebra.

instance CStarMatrix.instNonUnitalCStarAlgebra E3 #

{A : Type u_1} →
  [inst : NonUnitalCStarAlgebra A] →
    [inst_1 : PartialOrder A] →
      [StarOrderedRing A] → {n : Type u_3} → [Fintype n] → NonUnitalCStarAlgebra (CStarMatrix n n A)

Matrices with entries in a non-unital C⋆-algebra form a non-unital C⋆-algebra.

instance CStarMatrix.instPartialOrder E0 #

{A : Type u_1} →
  [inst : NonUnitalCStarAlgebra A] →
    [inst_1 : PartialOrder A] → [StarOrderedRing A] → {n : Type u_3} → [Fintype n] → PartialOrder (CStarMatrix n n A)

instance CStarMatrix.instStarOrderedRing E0 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] [inst_1 : PartialOrder A] [inst_2 : StarOrderedRing A] {n : Type u_3}
  [inst_3 : Fintype n], StarOrderedRing (CStarMatrix n n A)

instance CStarMatrix.instNormedRing E0 #

{A : Type u_1} →
  [inst : CStarAlgebra A] →
    [inst_1 : PartialOrder A] →
      [StarOrderedRing A] → {n : Type u_2} → [Fintype n] → [DecidableEq n] → NormedRing (CStarMatrix n n A)

instance CStarMatrix.instNormedAlgebra E0 #

{A : Type u_1} →
  [inst : CStarAlgebra A] →
    [inst_1 : PartialOrder A] →
      [inst_2 : StarOrderedRing A] →
        {n : Type u_2} → [inst_3 : Fintype n] → [inst_4 : DecidableEq n] → NormedAlgebra ℂ (CStarMatrix n n A)

instance CStarMatrix.instCStarAlgebra E3 #

{A : Type u_1} →
  [inst : CStarAlgebra A] →
    [inst_1 : PartialOrder A] →
      [StarOrderedRing A] → {n : Type u_2} → [Fintype n] → [DecidableEq n] → CStarAlgebra (CStarMatrix n n A)

Matrices with entries in a unital C⋆-algebra form a unital C⋆-algebra.

theorem CStarMatrix.uniformEmbedding_ofMatrix E1 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_3} [inst : NonUnitalCStarAlgebra A],
  IsUniformEmbedding ⇑CStarMatrix.ofMatrix

def CStarMatrix.ofMatrixL E1 #

{m : Type u_1} →
  {n : Type u_2} → {A : Type u_3} → [inst : NonUnitalCStarAlgebra A] → Matrix m n A ≃L[ℂ] CStarMatrix m n A

ofMatrix bundled as a continuous linear equivalence.

theorem CStarMatrix.ofMatrix_eq_ofMatrixL E1 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_3} [inst : NonUnitalCStarAlgebra A],
  ⇑CStarMatrix.ofMatrix = ⇑CStarMatrix.ofMatrixL