The areas / V16. Normed spaces and functional analysis
Mathlib.Analysis.CStarAlgebra.Matrix
32 declarations and 1 deprecated aliases. Mathlib docs Β· Source
Analytic properties of the star operation on matrices
This transports the operator norm on EuclideanSpace π n βL[π] EuclideanSpace π m to
Matrix m n π. See the file Mathlib/Analysis/Matrix.lean for many other matrix norms.
Main definitions
Matrix.instNormedRingL2Op: the (necessarily unique) normed ring structure onMatrix n n πwhich ensure it is aCStarRinginMatrix.instCStarRing. This is a scoped instance in the namespaceMatrix.Norms.L2Operatorin order to avoid choosing a global norm forMatrix.
Main statements
entry_norm_bound_of_unitary: the entries of a unitary matrix are uniformly bound by1.
Implementation notes
We take care to ensure the topology and uniformity induced by Matrix.instMetricSpaceL2Op
coincide with the existing topology and uniformity on matrices.
theorem entry_norm_bound_of_unitary E3 #
β {π : Type u_1} {n : Type u_3} [inst : RCLike π] [inst_1 : Fintype n] [inst_2 : DecidableEq n] {U : Matrix n n π},
U β Matrix.unitaryGroup n π β β (i j : n), βU i jβ β€ 1
theorem entrywise_sup_norm_bound_of_unitary E1 #
β {π : Type u_1} {n : Type u_3} [inst : RCLike π] [inst_1 : Fintype n] [inst_2 : DecidableEq n] {U : Matrix n n π},
U β Matrix.unitaryGroup n π β βUβ β€ 1
The entrywise sup norm of a unitary matrix is at most 1.
def Matrix.toEuclideanCLM E1 #
{π : Type u_1} β
{n : Type u_3} β
[inst : RCLike π] β
[inst_1 : Fintype n] β [DecidableEq n] β Matrix n n π βββ[π] EuclideanSpace π n βL[π] EuclideanSpace π n
The natural star algebra equivalence between matrices and continuous linear endomorphisms
of Euclidean space induced by the orthonormal basis EuclideanSpace.basisFun.
This is a more-bundled version of Matrix.toEuclideanLin, for the special case of square matrices,
followed by a more-bundled version of LinearMap.toContinuousLinearMap.
theorem Matrix.continuous_uncurry_toEuclideanCLM E1 #
β {π : Type u_1} {n : Type u_3} [inst : RCLike π] [inst_1 : Fintype n] [inst_2 : DecidableEq n],
Continuous fun x β¦
match x with
| (S, x) => (Matrix.toEuclideanCLM S) x
theorem Matrix.coe_toEuclideanCLM_eq_toEuclideanLin E0 #
β {π : Type u_1} {n : Type u_3} [inst : RCLike π] [inst_1 : Fintype n] [inst_2 : DecidableEq n] (A : Matrix n n π),
β(Matrix.toEuclideanCLM A) = Matrix.toEuclideanLin A
theorem Matrix.toEuclideanCLM_toLp E0 #
β {π : Type u_1} {n : Type u_3} [inst : RCLike π] [inst_1 : Fintype n] [inst_2 : DecidableEq n] (A : Matrix n n π)
(x : n β π), (Matrix.toEuclideanCLM A) (WithLp.toLp 2 x) = WithLp.toLp 2 (A.mulVec x)
theorem Matrix.ofLp_toEuclideanCLM E0 #
β {π : Type u_1} {n : Type u_3} [inst : RCLike π] [inst_1 : Fintype n] [inst_2 : DecidableEq n] (A : Matrix n n π)
(x : EuclideanSpace π n), ((Matrix.toEuclideanCLM A) x).ofLp = A.mulVec x.ofLp
theorem Matrix.inner_toEuclideanCLM E1 #
β {n : Type u_3} [inst : Fintype n] [inst_1 : DecidableEq n] (A : Matrix n n β) (x y : EuclideanSpace β n),
inner β x ((Matrix.toEuclideanCLM A) y) = x.ofLp β¬α΅₯ A.mulVec y.ofLp
def Matrix.l2OpNormedAddCommGroupAux E0 #
{π : Type u_1} β
{m : Type u_2} β
{n : Type u_3} β [RCLike π] β [Fintype m] β [Fintype n] β [DecidableEq n] β NormedAddCommGroup (Matrix m n π)
An auxiliary definition used only to construct the true NormedAddCommGroup (and Metric)
structure provided by Matrix.instMetricSpaceL2Op and Matrix.instNormedAddCommGroupL2Op.
def Matrix.l2OpNormedRingAux E0 #
{π : Type u_1} β {n : Type u_3} β [RCLike π] β [Fintype n] β [DecidableEq n] β NormedRing (Matrix n n π)
An auxiliary definition used only to construct the true NormedRing (and Metric) structure
provided by Matrix.instMetricSpaceL2Op and Matrix.instNormedRingL2Op.
def Matrix.instL2OpMetricSpace E1 #
{π : Type u_1} β
{m : Type u_2} β
{n : Type u_3} β [RCLike π] β [Fintype m] β [Fintype n] β [DecidableEq n] β MetricSpace (Matrix m n π)
The metric on Matrix m n π arising from the operator norm given by the identification with
(continuous) linear maps of EuclideanSpace.
def Matrix.instL2OpNormedAddCommGroup E1 #
{π : Type u_1} β
{m : Type u_2} β
{n : Type u_3} β [RCLike π] β [Fintype m] β [Fintype n] β [DecidableEq n] β NormedAddCommGroup (Matrix m n π)
The norm structure on Matrix m n π arising from the operator norm given by the identification
with (continuous) linear maps of EuclideanSpace.
theorem Matrix.l2_opNorm_def E0 #
β {π : Type u_1} {m : Type u_2} {n : Type u_3} [inst : RCLike π] [inst_1 : Fintype m] [inst_2 : Fintype n]
[inst_3 : DecidableEq n] (A : Matrix m n π), βAβ = β(Matrix.toEuclideanLin βͺβ«β LinearMap.toContinuousLinearMap) Aβ
theorem Matrix.l2_opNNNorm_def E0 #
β {π : Type u_1} {m : Type u_2} {n : Type u_3} [inst : RCLike π] [inst_1 : Fintype m] [inst_2 : Fintype n]
[inst_3 : DecidableEq n] (A : Matrix m n π), βAββ = β(Matrix.toEuclideanLin βͺβ«β LinearMap.toContinuousLinearMap) Aββ
theorem Matrix.l2_opNorm_conjTranspose E1 #
β {π : Type u_1} {m : Type u_2} {n : Type u_3} [inst : RCLike π] [inst_1 : Fintype m] [inst_2 : Fintype n]
[inst_3 : DecidableEq n] [inst_4 : DecidableEq m] (A : Matrix m n π), βA.conjTransposeβ = βAβ
theorem Matrix.l2_opNNNorm_conjTranspose E1 #
β {π : Type u_1} {m : Type u_2} {n : Type u_3} [inst : RCLike π] [inst_1 : Fintype m] [inst_2 : Fintype n]
[inst_3 : DecidableEq n] [inst_4 : DecidableEq m] (A : Matrix m n π), βA.conjTransposeββ = βAββ
theorem Matrix.l2_opNorm_conjTranspose_mul_self E1 #
β {π : Type u_1} {m : Type u_2} {n : Type u_3} [inst : RCLike π] [inst_1 : Fintype m] [inst_2 : Fintype n]
[inst_3 : DecidableEq n] (A : Matrix m n π), βA.conjTranspose * Aβ = βAβ * βAβ
theorem Matrix.l2_opNNNorm_conjTranspose_mul_self E1 #
β {π : Type u_1} {m : Type u_2} {n : Type u_3} [inst : RCLike π] [inst_1 : Fintype m] [inst_2 : Fintype n]
[inst_3 : DecidableEq n] (A : Matrix m n π), βA.conjTranspose * Aββ = βAββ * βAββ
theorem Matrix.l2_opNorm_mulVec E1 #
β {π : Type u_1} {m : Type u_2} {n : Type u_3} [inst : RCLike π] [inst_1 : Fintype m] [inst_2 : Fintype n]
[inst_3 : DecidableEq n] (A : Matrix m n π) (x : EuclideanSpace π n),
β(EuclideanSpace.equiv m π).symm (A.mulVec x.ofLp)β β€ βAβ * βxβ
theorem Matrix.l2_opNNNorm_mulVec E1 #
β {π : Type u_1} {m : Type u_2} {n : Type u_3} [inst : RCLike π] [inst_1 : Fintype m] [inst_2 : Fintype n]
[inst_3 : DecidableEq n] (A : Matrix m n π) (x : EuclideanSpace π n),
β(EuclideanSpace.equiv m π).symm (A.mulVec x.ofLp)ββ β€ βAββ * βxββ
theorem Matrix.l2_opNorm_mul E1 #
β {π : Type u_1} {m : Type u_2} {n : Type u_3} {l : Type u_4} [inst : RCLike π] [inst_1 : Fintype m]
[inst_2 : Fintype n] [inst_3 : DecidableEq n] [inst_4 : Fintype l] [inst_5 : DecidableEq l] (A : Matrix m n π)
(B : Matrix n l π), βA * Bβ β€ βAβ * βBβ
theorem Matrix.l2_opNNNorm_mul E1 #
β {π : Type u_1} {m : Type u_2} {n : Type u_3} {l : Type u_4} [inst : RCLike π] [inst_1 : Fintype m]
[inst_2 : Fintype n] [inst_3 : DecidableEq n] [inst_4 : Fintype l] [inst_5 : DecidableEq l] (A : Matrix m n π)
(B : Matrix n l π), βA * Bββ β€ βAββ * βBββ
theorem Matrix.l2_opNorm_toEuclideanCLM E1 #
β {π : Type u_1} {n : Type u_3} [inst : RCLike π] [inst_1 : Fintype n] [inst_2 : DecidableEq n] (A : Matrix n n π),
βMatrix.toEuclideanCLM Aβ = βAβ
theorem Matrix.l2_opNorm_diagonal E0 #
β {π : Type u_1} {n : Type u_3} [inst : RCLike π] [inst_1 : Fintype n] [inst_2 : DecidableEq n] (v : n β π),
βMatrix.diagonal vβ = βvβ
theorem Matrix.l2_opNNNorm_diagonal E0 #
β {π : Type u_1} {n : Type u_3} [inst : RCLike π] [inst_1 : Fintype n] [inst_2 : DecidableEq n] (v : n β π),
βMatrix.diagonal vββ = βvββ
def Matrix.instL2OpNormedSpace E1 #
{π : Type u_1} β
{m : Type u_2} β
{n : Type u_3} β
[inst : RCLike π] β
[inst_1 : Fintype m] β [inst_2 : Fintype n] β [inst_3 : DecidableEq n] β NormedSpace π (Matrix m n π)
The normed algebra structure on Matrix n n π arising from the operator norm given by the
identification with (continuous) linear endomorphisms of EuclideanSpace π n.
def Matrix.instL2OpNormedRing E1 #
{π : Type u_1} β {n : Type u_3} β [RCLike π] β [Fintype n] β [DecidableEq n] β NormedRing (Matrix n n π)
The normed ring structure on Matrix n n π arising from the operator norm given by the
identification with (continuous) linear endomorphisms of EuclideanSpace π n.
theorem Matrix.cstar_norm_def E0 #
β {π : Type u_1} {n : Type u_3} [inst : RCLike π] [inst_1 : Fintype n] [inst_2 : DecidableEq n] (A : Matrix n n π),
βAβ = βMatrix.toEuclideanCLM Aβ
This is the same as Matrix.l2_opNorm_def, but with a more bundled RHS for square matrices.
theorem Matrix.cstar_nnNorm_def E0 #
β {π : Type u_1} {n : Type u_3} [inst : RCLike π] [inst_1 : Fintype n] [inst_2 : DecidableEq n] (A : Matrix n n π),
βAββ = βMatrix.toEuclideanCLM Aββ
This is the same as Matrix.l2_opNNNorm_def, but with a more bundled RHS for square
matrices.
def Matrix.instL2OpNormedAlgebra E1 #
{π : Type u_1} β
{n : Type u_3} β [inst : RCLike π] β [inst_1 : Fintype n] β [inst_2 : DecidableEq n] β NormedAlgebra π (Matrix n n π)
The normed algebra structure on Matrix n n π arising from the operator norm given by the
identification with (continuous) linear endomorphisms of EuclideanSpace π n.
theorem Matrix.instCStarRing E3 #
β {π : Type u_1} {n : Type u_3} [inst : RCLike π] [inst_1 : Fintype n] [inst_2 : DecidableEq n],
CStarRing (Matrix n n π)
The operator norm on Matrix n n π given by the identification with (continuous) linear
endomorphisms of EuclideanSpace π n makes it into a L2OpRing.
def Matrix.instCStarAlgebra E1 #
{n : Type u_5} β [Fintype n] β [DecidableEq n] β CStarAlgebra (Matrix n n β)
The matrices Matrix n n β with the L2 operator norm form a CStarAlgebra.
Deprecated aliases
| Name | New name | Since |
|---|---|---|
Matrix.cstar_nnnorm_def | Matrix.cstar_nnNorm_def | 2026-10-31 |