Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Mathlib/Analysis/CStarAlgebra/Matrix.lean
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Authors: Hans Parshall
-/
module

public import Mathlib.Analysis.CStarAlgebra.Classes
public import Mathlib.Analysis.InnerProductSpace.Adjoint
public import Mathlib.Analysis.Matrix.Normed
public import Mathlib.Analysis.RCLike.Basic
Expand Down Expand Up @@ -289,6 +290,12 @@ lemma instCStarRing : CStarRing (Matrix n n 𝕜) where

scoped[Matrix.Norms.L2Operator] attribute [instance] Matrix.instCStarRing

/-- The matrices Matrix n n ℂ with the L2 operator norm form a CStarAlgebra. -/
@[instance_reducible] noncomputable def instCStarAlgebra {n : Type*} [Fintype n] [DecidableEq n] :
CStarAlgebra (Matrix n n ℂ) where

scoped[Matrix.Norms.L2Operator] attribute [instance] Matrix.instCStarAlgebra

end Matrix

end L2OpNorm
Loading