The areas / V16. Normed spaces and functional analysis
Mathlib.Analysis.Matrix.Normed
87 declarations and 24 deprecated aliases. Mathlib docs · Source
Matrices as a normed space
In this file we provide the following non-instances for norms on matrices:
-
The elementwise norm (with
open scoped Matrix.Norms.Elementwise):Matrix.seminormedAddCommGroupMatrix.normedAddCommGroupMatrix.normedSpaceMatrix.isBoundedSMulMatrix.normSMulClass
-
The Frobenius norm (with
open scoped Matrix.Norms.Frobenius):Matrix.frobeniusSeminormedAddCommGroupMatrix.frobeniusNormedAddCommGroupMatrix.frobeniusNormedSpaceMatrix.frobeniusNormedRingMatrix.frobeniusNormedAlgebraMatrix.frobeniusIsBoundedSMulMatrix.frobeniusNormSMulClass
-
The $L^\infty$ operator norm (with
open scoped Matrix.Norms.Operator):Matrix.linftyOpSeminormedAddCommGroupMatrix.linftyOpNormedAddCommGroupMatrix.linftyOpNormedSpaceMatrix.linftyOpIsBoundedSMulMatrix.linftyOpNormSMulClassMatrix.linftyOpNonUnitalSemiNormedRingMatrix.linftyOpSemiNormedRingMatrix.linftyOpNonUnitalNormedRingMatrix.linftyOpNormedRingMatrix.linftyOpNormedAlgebra
These are not declared as instances because there are several natural choices for defining the norm of a matrix.
The norm induced by the identification of Matrix m n 𝕜 with
EuclideanSpace n 𝕜 →L[𝕜] EuclideanSpace m 𝕜 (i.e., the ℓ² operator norm) can be found in
Mathlib/Analysis/CStarAlgebra/Matrix.lean and open scoped Matrix.Norms.L2Operator.
It is separated to avoid extraneous imports in this file.
The elementwise supremum norm
The $L_\infty$ operator norm
This section defines the matrix norm $|A|_\infty = \operatorname{sup}i (\sum_j |A{ij}|)$.
Note that this is equivalent to the operator norm, considering $A$ as a linear map between two $L^\infty$ spaces.
For a matrix over a field, the norm defined in this section agrees with the operator norm on
ContinuousLinearMaps between function types (which have the infinity norm).
The Frobenius norm
This is defined as $|A| = \sqrt{\sum_{i,j} |A_{ij}|^2}$. When the matrix is over the real or complex numbers, this norm is submultiplicative.
def Matrix.seminormedAddCommGroup E1 #
{m : Type u_3} →
{n : Type u_4} →
{α : Type u_5} → [Fintype m] → [Fintype n] → [SeminormedAddCommGroup α] → SeminormedAddCommGroup (Matrix m n α)
Seminormed group instance (using sup norm of sup norm) for matrices over a seminormed group. Not declared as an instance because there are several natural choices for defining the norm of a matrix.
theorem Matrix.norm_def E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] (A : Matrix m n α), ‖A‖ = ‖fun i j ↦ A i j‖
theorem Matrix.norm_eq_sup_sup_nnNorm E1 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] (A : Matrix m n α),
‖A‖ = ↑(Finset.univ.sup fun i ↦ Finset.univ.sup fun j ↦ ‖A i j‖₊)
The norm of a matrix is the sup of the sup of the nnNorm of the entries
theorem Matrix.nnNorm_def E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] (A : Matrix m n α), ‖A‖₊ = ‖fun i j ↦ A i j‖₊
theorem Matrix.norm_le_iff E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] {r : ℝ}, 0 ≤ r → ∀ {A : Matrix m n α}, ‖A‖ ≤ r ↔ ∀ (i : m) (j : n), ‖A i j‖ ≤ r
theorem Matrix.nnNorm_le_iff E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] {r : NNReal} {A : Matrix m n α}, ‖A‖₊ ≤ r ↔ ∀ (i : m) (j : n), ‖A i j‖₊ ≤ r
theorem Matrix.norm_lt_iff E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] {r : ℝ}, 0 < r → ∀ {A : Matrix m n α}, ‖A‖ < r ↔ ∀ (i : m) (j : n), ‖A i j‖ < r
theorem Matrix.nnNorm_lt_iff E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] {r : NNReal},
0 < r → ∀ {A : Matrix m n α}, ‖A‖₊ < r ↔ ∀ (i : m) (j : n), ‖A i j‖₊ < r
theorem Matrix.norm_apply_le_norm E1 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] (A : Matrix m n α) {i : m} {j : n}, ‖A i j‖ ≤ ‖A‖
theorem Matrix.nnNorm_apply_le_nnNorm E1 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] (A : Matrix m n α) {i : m} {j : n}, ‖A i j‖₊ ≤ ‖A‖₊
theorem Matrix.nnNorm_map_eq E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} {β : Type u_6} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] [inst_3 : SeminormedAddCommGroup β] (A : Matrix m n α) (f : α → β),
(∀ (a : α), ‖f a‖₊ = ‖a‖₊) → ‖A.map f‖₊ = ‖A‖₊
theorem Matrix.norm_map_eq E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} {β : Type u_6} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] [inst_3 : SeminormedAddCommGroup β] (A : Matrix m n α) (f : α → β),
(∀ (a : α), ‖f a‖ = ‖a‖) → ‖A.map f‖ = ‖A‖
theorem Matrix.nnNorm_transpose E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] (A : Matrix m n α), ‖A.transpose‖₊ = ‖A‖₊
theorem Matrix.norm_transpose E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] (A : Matrix m n α), ‖A.transpose‖ = ‖A‖
theorem Matrix.nnNorm_conjTranspose E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] [inst_3 : StarAddMonoid α] [NormedStarGroup α] (A : Matrix m n α),
‖A.conjTranspose‖₊ = ‖A‖₊
theorem Matrix.norm_conjTranspose E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] [inst_3 : StarAddMonoid α] [NormedStarGroup α] (A : Matrix m n α),
‖A.conjTranspose‖ = ‖A‖
instance Matrix.instNormedStarGroup E0 #
∀ {m : Type u_3} {α : Type u_5} [inst : Fintype m] [inst_1 : SeminormedAddCommGroup α] [inst_2 : StarAddMonoid α]
[NormedStarGroup α], NormedStarGroup (Matrix m m α)
theorem Matrix.nnNorm_replicateCol E0 #
∀ {m : Type u_3} {α : Type u_5} {ι : Type u_7} [inst : Fintype m] [inst_1 : Unique ι]
[inst_2 : SeminormedAddCommGroup α] (v : m → α), ‖Matrix.replicateCol ι v‖₊ = ‖v‖₊
theorem Matrix.norm_replicateCol E0 #
∀ {m : Type u_3} {α : Type u_5} {ι : Type u_7} [inst : Fintype m] [inst_1 : Unique ι]
[inst_2 : SeminormedAddCommGroup α] (v : m → α), ‖Matrix.replicateCol ι v‖ = ‖v‖
theorem Matrix.nnNorm_replicateRow E0 #
∀ {n : Type u_4} {α : Type u_5} {ι : Type u_7} [inst : Fintype n] [inst_1 : Unique ι]
[inst_2 : SeminormedAddCommGroup α] (v : n → α), ‖Matrix.replicateRow ι v‖₊ = ‖v‖₊
theorem Matrix.norm_replicateRow E0 #
∀ {n : Type u_4} {α : Type u_5} {ι : Type u_7} [inst : Fintype n] [inst_1 : Unique ι]
[inst_2 : SeminormedAddCommGroup α] (v : n → α), ‖Matrix.replicateRow ι v‖ = ‖v‖
theorem Matrix.nnNorm_diagonal E0 #
∀ {n : Type u_4} {α : Type u_5} [inst : Fintype n] [inst_1 : SeminormedAddCommGroup α] [inst_2 : DecidableEq n]
(v : n → α), ‖Matrix.diagonal v‖₊ = ‖v‖₊
theorem Matrix.norm_diagonal E0 #
∀ {n : Type u_4} {α : Type u_5} [inst : Fintype n] [inst_1 : SeminormedAddCommGroup α] [inst_2 : DecidableEq n]
(v : n → α), ‖Matrix.diagonal v‖ = ‖v‖
instance Matrix.instNormOneClassOfNonempty E0 #
∀ {n : Type u_4} {α : Type u_5} [inst : Fintype n] [inst_1 : SeminormedAddCommGroup α] [Nonempty n]
[inst_3 : DecidableEq n] [inst_4 : One α] [NormOneClass α], NormOneClass (Matrix n n α)
Note this is safe as an instance as it carries no data.
def Matrix.normedAddCommGroup E1 #
{m : Type u_3} →
{n : Type u_4} →
{α : Type u_5} → [Fintype m] → [Fintype n] → [NormedAddCommGroup α] → NormedAddCommGroup (Matrix m n α)
Normed group instance (using sup norm of sup norm) for matrices over a normed group. Not declared as an instance because there are several natural choices for defining the norm of a matrix.
theorem Matrix.isBoundedSMul E1 #
∀ {R : Type u_1} {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedRing R] [inst_3 : SeminormedAddCommGroup α] [inst_4 : Module R α] [IsBoundedSMul R α],
IsBoundedSMul R (Matrix m n α)
This applies to the sup norm of sup norm.
theorem Matrix.normSMulClass E1 #
∀ {R : Type u_1} {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedRing R] [inst_3 : SeminormedAddCommGroup α] [inst_4 : Module R α] [NormSMulClass R α],
NormSMulClass R (Matrix m n α)
This applies to the sup norm of sup norm.
def Matrix.normedSpace E1 #
{R : Type u_1} →
{m : Type u_3} →
{n : Type u_4} →
{α : Type u_5} →
[inst : Fintype m] →
[inst_1 : Fintype n] →
[inst_2 : NormedField R] →
[inst_3 : SeminormedAddCommGroup α] → [NormedSpace R α] → NormedSpace R (Matrix m n α)
Normed space instance (using sup norm of sup norm) for matrices over a normed space. Not declared as an instance because there are several natural choices for defining the norm of a matrix.
def Matrix.linftyOpSeminormedAddCommGroup E1 #
{m : Type u_3} →
{n : Type u_4} →
{α : Type u_5} → [Fintype m] → [Fintype n] → [SeminormedAddCommGroup α] → SeminormedAddCommGroup (Matrix m n α)
Seminormed group instance (using sup norm of L1 norm) for matrices over a seminormed group. Not declared as an instance because there are several natural choices for defining the norm of a matrix.
def Matrix.linftyOpNormedAddCommGroup E1 #
{m : Type u_3} →
{n : Type u_4} →
{α : Type u_5} → [Fintype m] → [Fintype n] → [NormedAddCommGroup α] → NormedAddCommGroup (Matrix m n α)
Normed group instance (using sup norm of L1 norm) for matrices over a normed ring. Not declared as an instance because there are several natural choices for defining the norm of a matrix.
theorem Matrix.linftyOpIsBoundedSMul E1 #
∀ {R : Type u_1} {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedRing R] [inst_3 : SeminormedAddCommGroup α] [inst_4 : Module R α] [IsBoundedSMul R α],
IsBoundedSMul R (Matrix m n α)
This applies to the sup norm of L1 norm.
theorem Matrix.linftyOpNormSMulClass E1 #
∀ {R : Type u_1} {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedRing R] [inst_3 : SeminormedAddCommGroup α] [inst_4 : Module R α] [NormSMulClass R α],
NormSMulClass R (Matrix m n α)
This applies to the sup norm of L1 norm.
def Matrix.linftyOpNormedSpace E1 #
{R : Type u_1} →
{m : Type u_3} →
{n : Type u_4} →
{α : Type u_5} →
[inst : Fintype m] →
[inst_1 : Fintype n] →
[inst_2 : NormedField R] →
[inst_3 : SeminormedAddCommGroup α] → [NormedSpace R α] → NormedSpace R (Matrix m n α)
Normed space instance (using sup norm of L1 norm) for matrices over a normed space. Not declared as an instance because there are several natural choices for defining the norm of a matrix.
theorem Matrix.linfty_opNorm_def E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] (A : Matrix m n α), ‖A‖ = ↑(Finset.univ.sup fun i ↦ ∑ j, ‖A i j‖₊)
theorem Matrix.linfty_opNNNorm_def E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] (A : Matrix m n α), ‖A‖₊ = Finset.univ.sup fun i ↦ ∑ j, ‖A i j‖₊
theorem Matrix.nnNorm_apply_le_linfty_opNNNorm E1 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] (A : Matrix m n α) (i : m) (j : n), ‖A i j‖₊ ≤ ‖A‖₊
theorem Matrix.norm_apply_le_linfty_opNorm E1 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] (A : Matrix m n α) (i : m) (j : n), ‖A i j‖ ≤ ‖A‖
theorem Matrix.linfty_opNNNorm_replicateCol E0 #
∀ {m : Type u_3} {α : Type u_5} {ι : Type u_7} [inst : Fintype m] [inst_1 : Unique ι]
[inst_2 : SeminormedAddCommGroup α] (v : m → α), ‖Matrix.replicateCol ι v‖₊ = ‖v‖₊
theorem Matrix.linfty_opNorm_replicateCol E0 #
∀ {m : Type u_3} {α : Type u_5} {ι : Type u_7} [inst : Fintype m] [inst_1 : Unique ι]
[inst_2 : SeminormedAddCommGroup α] (v : m → α), ‖Matrix.replicateCol ι v‖ = ‖v‖
theorem Matrix.linfty_opNNNorm_replicateRow E0 #
∀ {n : Type u_4} {α : Type u_5} {ι : Type u_7} [inst : Fintype n] [inst_1 : Unique ι]
[inst_2 : SeminormedAddCommGroup α] (v : n → α), ‖Matrix.replicateRow ι v‖₊ = ∑ i, ‖v i‖₊
theorem Matrix.linfty_opNorm_replicateRow E0 #
∀ {n : Type u_4} {α : Type u_5} {ι : Type u_7} [inst : Fintype n] [inst_1 : Unique ι]
[inst_2 : SeminormedAddCommGroup α] (v : n → α), ‖Matrix.replicateRow ι v‖ = ∑ i, ‖v i‖
theorem Matrix.linfty_opNNNorm_diagonal E0 #
∀ {m : Type u_3} {α : Type u_5} [inst : Fintype m] [inst_1 : SeminormedAddCommGroup α] [inst_2 : DecidableEq m]
(v : m → α), ‖Matrix.diagonal v‖₊ = ‖v‖₊
theorem Matrix.linfty_opNorm_diagonal E0 #
∀ {m : Type u_3} {α : Type u_5} [inst : Fintype m] [inst_1 : SeminormedAddCommGroup α] [inst_2 : DecidableEq m]
(v : m → α), ‖Matrix.diagonal v‖ = ‖v‖
theorem Matrix.linfty_opNNNorm_blockDiagonal E0 #
∀ {l : Type u_2} {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype l] [inst_1 : Fintype m]
[inst_2 : Fintype n] [inst_3 : SeminormedAddCommGroup α] [inst_4 : DecidableEq l] (M : l → Matrix m n α),
‖Matrix.blockDiagonal M‖₊ = ‖M‖₊
theorem Matrix.linfty_opNorm_blockDiagonal E0 #
∀ {l : Type u_2} {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype l] [inst_1 : Fintype m]
[inst_2 : Fintype n] [inst_3 : SeminormedAddCommGroup α] [inst_4 : DecidableEq l] (M : l → Matrix m n α),
‖Matrix.blockDiagonal M‖ = ‖M‖
theorem Matrix.linfty_opNorm_isometry_blockDiagonal E1 #
∀ {l : Type u_2} {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype l] [inst_1 : Fintype m]
[inst_2 : Fintype n] [inst_3 : SeminormedAddCommGroup α] [inst_4 : DecidableEq l], Isometry Matrix.blockDiagonal
theorem Matrix.linfty_opNNNorm_mul E1 #
∀ {l : Type u_2} {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype l] [inst_1 : Fintype m]
[inst_2 : Fintype n] [inst_3 : NonUnitalSeminormedRing α] (A : Matrix l m α) (B : Matrix m n α),
‖A * B‖₊ ≤ ‖A‖₊ * ‖B‖₊
theorem Matrix.linfty_opNorm_mul E1 #
∀ {l : Type u_2} {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype l] [inst_1 : Fintype m]
[inst_2 : Fintype n] [inst_3 : NonUnitalSeminormedRing α] (A : Matrix l m α) (B : Matrix m n α), ‖A * B‖ ≤ ‖A‖ * ‖B‖
theorem Matrix.linfty_opNNNorm_mulVec E1 #
∀ {l : Type u_2} {m : Type u_3} {α : Type u_5} [inst : Fintype l] [inst_1 : Fintype m]
[inst_2 : NonUnitalSeminormedRing α] (A : Matrix l m α) (v : m → α), ‖A.mulVec v‖₊ ≤ ‖A‖₊ * ‖v‖₊
theorem Matrix.linfty_opNorm_mulVec E1 #
∀ {l : Type u_2} {m : Type u_3} {α : Type u_5} [inst : Fintype l] [inst_1 : Fintype m]
[inst_2 : NonUnitalSeminormedRing α] (A : Matrix l m α) (v : m → α), ‖A.mulVec v‖ ≤ ‖A‖ * ‖v‖
def Matrix.linftyOpNonUnitalSemiNormedRing E1 #
{n : Type u_4} → {α : Type u_5} → [Fintype n] → [NonUnitalSeminormedRing α] → NonUnitalSeminormedRing (Matrix n n α)
Seminormed non-unital ring instance (using sup norm of L1 norm) for matrices over a seminormed non-unital ring. Not declared as an instance because there are several natural choices for defining the norm of a matrix.
instance Matrix.linfty_opNormOneClass E0 #
∀ {n : Type u_4} {α : Type u_5} [inst : Fintype n] [inst_1 : SeminormedRing α] [NormOneClass α] [inst_3 : DecidableEq n]
[Nonempty n], NormOneClass (Matrix n n α)
The L₁-L∞ norm preserves one on non-empty matrices. Note this is safe as an instance, as it
carries no data.
def Matrix.linftyOpSemiNormedRing E1 #
{n : Type u_4} → {α : Type u_5} → [Fintype n] → [SeminormedRing α] → [DecidableEq n] → SeminormedRing (Matrix n n α)
Seminormed ring instance (using sup norm of L1 norm) for matrices over a seminormed ring. Not declared as an instance because there are several natural choices for defining the norm of a matrix.
def Matrix.linftyOpNonUnitalNormedRing E1 #
{n : Type u_4} → {α : Type u_5} → [Fintype n] → [NonUnitalNormedRing α] → NonUnitalNormedRing (Matrix n n α)
Normed non-unital ring instance (using sup norm of L1 norm) for matrices over a normed non-unital ring. Not declared as an instance because there are several natural choices for defining the norm of a matrix.
def Matrix.linftyOpNormedRing E1 #
{n : Type u_4} → {α : Type u_5} → [Fintype n] → [NormedRing α] → [DecidableEq n] → NormedRing (Matrix n n α)
Normed ring instance (using sup norm of L1 norm) for matrices over a normed ring. Not declared as an instance because there are several natural choices for defining the norm of a matrix.
def Matrix.linftyOpNormedAlgebra E1 #
{R : Type u_1} →
{n : Type u_4} →
{α : Type u_5} →
[inst : Fintype n] →
[inst_1 : NormedField R] →
[inst_2 : SeminormedRing α] → [NormedAlgebra R α] → [inst_4 : DecidableEq n] → NormedAlgebra R (Matrix n n α)
Normed algebra instance (using sup norm of L1 norm) for matrices over a normed algebra. Not declared as an instance because there are several natural choices for defining the norm of a matrix.
theorem Matrix.linfty_opNNNorm_eq_opNNNorm E1 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : NontriviallyNormedField α] [NormedAlgebra ℝ α] (A : Matrix m n α),
‖A‖₊ = ‖{ toLinearMap := A.mulVecLin, cont := ⋯ }‖₊
theorem Matrix.linfty_opNorm_eq_opNorm E1 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : NontriviallyNormedField α] [NormedAlgebra ℝ α] (A : Matrix m n α),
‖A‖ = ‖{ toLinearMap := A.mulVecLin, cont := ⋯ }‖
theorem Matrix.linfty_opNNNorm_toMatrix E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : NontriviallyNormedField α] [NormedAlgebra ℝ α] [inst_4 : DecidableEq n] (f : (n → α) →L[α] m → α),
‖LinearMap.toMatrix' ↑f‖₊ = ‖f‖₊
theorem Matrix.linfty_opNorm_toMatrix E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : NontriviallyNormedField α] [NormedAlgebra ℝ α] [inst_4 : DecidableEq n] (f : (n → α) →L[α] m → α),
‖LinearMap.toMatrix' ↑f‖ = ‖f‖
def Matrix.frobeniusSeminormedAddCommGroup E1 #
{m : Type u_3} →
{n : Type u_4} →
{α : Type u_5} → [Fintype m] → [Fintype n] → [SeminormedAddCommGroup α] → SeminormedAddCommGroup (Matrix m n α)
Seminormed group instance (using the Frobenius norm) for matrices over a seminormed group. Not declared as an instance because there are several natural choices for defining the norm of a matrix.
def Matrix.frobeniusNormedAddCommGroup E1 #
{m : Type u_3} →
{n : Type u_4} →
{α : Type u_5} → [Fintype m] → [Fintype n] → [NormedAddCommGroup α] → NormedAddCommGroup (Matrix m n α)
Normed group instance (using the Frobenius norm) for matrices over a normed group. Not declared as an instance because there are several natural choices for defining the norm of a matrix.
theorem Matrix.frobeniusIsBoundedSMul E1 #
∀ {R : Type u_1} {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedRing R] [inst_3 : SeminormedAddCommGroup α] [inst_4 : Module R α] [IsBoundedSMul R α],
IsBoundedSMul R (Matrix m n α)
This applies to the Frobenius norm.
theorem Matrix.frobeniusNormSMulClass E1 #
∀ {R : Type u_1} {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedRing R] [inst_3 : SeminormedAddCommGroup α] [inst_4 : Module R α] [NormSMulClass R α],
NormSMulClass R (Matrix m n α)
This applies to the Frobenius norm.
def Matrix.frobeniusNormedSpace E1 #
{R : Type u_1} →
{m : Type u_3} →
{n : Type u_4} →
{α : Type u_5} →
[inst : Fintype m] →
[inst_1 : Fintype n] →
[inst_2 : NormedField R] →
[inst_3 : SeminormedAddCommGroup α] → [NormedSpace R α] → NormedSpace R (Matrix m n α)
Normed space instance (using the Frobenius norm) for matrices over a normed space. Not declared as an instance because there are several natural choices for defining the norm of a matrix.
theorem Matrix.frobenius_nnNorm_def E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] (A : Matrix m n α), ‖A‖₊ = (∑ i, ∑ j, ‖A i j‖₊ ^ 2) ^ (1 / 2)
theorem Matrix.frobenius_norm_def E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] (A : Matrix m n α), ‖A‖ = (∑ i, ∑ j, ‖A i j‖ ^ 2) ^ (1 / 2)
theorem Matrix.nnNorm_apply_le_frobenius_nnNorm E1 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] (A : Matrix m n α) (i : m) (j : n), ‖A i j‖₊ ≤ ‖A‖₊
theorem Matrix.norm_apply_le_frobenius_norm E1 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] (A : Matrix m n α) (i : m) (j : n), ‖A i j‖ ≤ ‖A‖
theorem Matrix.frobenius_nnNorm_map_eq E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} {β : Type u_6} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] [inst_3 : SeminormedAddCommGroup β] (A : Matrix m n α) (f : α → β),
(∀ (a : α), ‖f a‖₊ = ‖a‖₊) → ‖A.map f‖₊ = ‖A‖₊
theorem Matrix.frobenius_norm_map_eq E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} {β : Type u_6} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] [inst_3 : SeminormedAddCommGroup β] (A : Matrix m n α) (f : α → β),
(∀ (a : α), ‖f a‖ = ‖a‖) → ‖A.map f‖ = ‖A‖
theorem Matrix.frobenius_nnNorm_transpose E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] (A : Matrix m n α), ‖A.transpose‖₊ = ‖A‖₊
theorem Matrix.frobenius_norm_transpose E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] (A : Matrix m n α), ‖A.transpose‖ = ‖A‖
theorem Matrix.frobenius_nnNorm_conjTranspose E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] [inst_3 : StarAddMonoid α] [NormedStarGroup α] (A : Matrix m n α),
‖A.conjTranspose‖₊ = ‖A‖₊
theorem Matrix.frobenius_norm_conjTranspose E0 #
∀ {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : SeminormedAddCommGroup α] [inst_3 : StarAddMonoid α] [NormedStarGroup α] (A : Matrix m n α),
‖A.conjTranspose‖ = ‖A‖
instance Matrix.frobenius_normedStarGroup E0 #
∀ {m : Type u_3} {α : Type u_5} [inst : Fintype m] [inst_1 : SeminormedAddCommGroup α] [inst_2 : StarAddMonoid α]
[NormedStarGroup α], NormedStarGroup (Matrix m m α)
theorem Matrix.frobenius_norm_replicateRow E0 #
∀ {m : Type u_3} {α : Type u_5} {ι : Type u_7} [inst : Fintype m] [inst_1 : Unique ι]
[inst_2 : SeminormedAddCommGroup α] (v : m → α), ‖Matrix.replicateRow ι v‖ = ‖WithLp.toLp 2 v‖
theorem Matrix.frobenius_nnNorm_replicateRow E0 #
∀ {m : Type u_3} {α : Type u_5} {ι : Type u_7} [inst : Fintype m] [inst_1 : Unique ι]
[inst_2 : SeminormedAddCommGroup α] (v : m → α), ‖Matrix.replicateRow ι v‖₊ = ‖WithLp.toLp 2 v‖₊
theorem Matrix.frobenius_norm_replicateCol E0 #
∀ {n : Type u_4} {α : Type u_5} {ι : Type u_7} [inst : Fintype n] [inst_1 : Unique ι]
[inst_2 : SeminormedAddCommGroup α] (v : n → α), ‖Matrix.replicateCol ι v‖ = ‖WithLp.toLp 2 v‖
theorem Matrix.frobenius_nnNorm_replicateCol E0 #
∀ {n : Type u_4} {α : Type u_5} {ι : Type u_7} [inst : Fintype n] [inst_1 : Unique ι]
[inst_2 : SeminormedAddCommGroup α] (v : n → α), ‖Matrix.replicateCol ι v‖₊ = ‖WithLp.toLp 2 v‖₊
theorem Matrix.frobenius_nnNorm_diagonal E0 #
∀ {n : Type u_4} {α : Type u_5} [inst : Fintype n] [inst_1 : SeminormedAddCommGroup α] [inst_2 : DecidableEq n]
(v : n → α), ‖Matrix.diagonal v‖₊ = ‖WithLp.toLp 2 v‖₊
theorem Matrix.frobenius_norm_diagonal E0 #
∀ {n : Type u_4} {α : Type u_5} [inst : Fintype n] [inst_1 : SeminormedAddCommGroup α] [inst_2 : DecidableEq n]
(v : n → α), ‖Matrix.diagonal v‖ = ‖WithLp.toLp 2 v‖
theorem Matrix.frobenius_nnNorm_one E1 #
∀ {n : Type u_4} {α : Type u_5} [inst : Fintype n] [inst_1 : DecidableEq n] [inst_2 : SeminormedAddCommGroup α]
[inst_3 : One α], ‖1‖₊ = NNReal.sqrt ↑(Fintype.card n) * ‖1‖₊
theorem Matrix.frobenius_nnNorm_mul E1 #
∀ {l : Type u_2} {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype l] [inst_1 : Fintype m]
[inst_2 : Fintype n] [inst_3 : RCLike α] (A : Matrix l m α) (B : Matrix m n α), ‖A * B‖₊ ≤ ‖A‖₊ * ‖B‖₊
theorem Matrix.frobenius_norm_mul E1 #
∀ {l : Type u_2} {m : Type u_3} {n : Type u_4} {α : Type u_5} [inst : Fintype l] [inst_1 : Fintype m]
[inst_2 : Fintype n] [inst_3 : RCLike α] (A : Matrix l m α) (B : Matrix m n α), ‖A * B‖ ≤ ‖A‖ * ‖B‖
def Matrix.frobeniusNormedRing E1 #
{m : Type u_3} → {α : Type u_5} → [Fintype m] → [RCLike α] → [DecidableEq m] → NormedRing (Matrix m m α)
Normed ring instance (using the Frobenius norm) for matrices over ℝ or ℂ. Not
declared as an instance because there are several natural choices for defining the norm of a
matrix.
def Matrix.frobeniusNormedAlgebra E1 #
{R : Type u_1} →
{m : Type u_3} →
{α : Type u_5} →
[inst : Fintype m] →
[inst_1 : RCLike α] →
[inst_2 : DecidableEq m] → [inst_3 : NormedField R] → [NormedAlgebra R α] → NormedAlgebra R (Matrix m m α)
Normed algebra instance (using the Frobenius norm) for matrices over ℝ or ℂ. Not
declared as an instance because there are several natural choices for defining the norm of a
matrix.
Deprecated aliases
| Name | New name | Since |
|---|---|---|
Matrix.frobenius_nnnorm_conjTranspose | Matrix.frobenius_nnNorm_conjTranspose | 2026-10-31 |
Matrix.frobenius_nnnorm_def | Matrix.frobenius_nnNorm_def | 2026-10-31 |
Matrix.frobenius_nnnorm_diagonal | Matrix.frobenius_nnNorm_diagonal | 2026-10-31 |
Matrix.frobenius_nnnorm_map_eq | Matrix.frobenius_nnNorm_map_eq | 2026-10-31 |
Matrix.frobenius_nnnorm_mul | Matrix.frobenius_nnNorm_mul | 2026-10-31 |
Matrix.frobenius_nnnorm_one | Matrix.frobenius_nnNorm_one | 2026-10-31 |
Matrix.frobenius_nnnorm_replicateCol | Matrix.frobenius_nnNorm_replicateCol | 2026-10-31 |
Matrix.frobenius_nnnorm_replicateRow | Matrix.frobenius_nnNorm_replicateRow | 2026-10-31 |
Matrix.frobenius_nnnorm_transpose | Matrix.frobenius_nnNorm_transpose | 2026-10-31 |
Matrix.nnnorm_apply_le_frobenius_nnnorm | Matrix.nnNorm_apply_le_frobenius_nnNorm | 2026-10-31 |
Matrix.nnnorm_apply_le_linfty_opNNNorm | Matrix.nnNorm_apply_le_linfty_opNNNorm | 2026-10-31 |
Matrix.nnnorm_apply_le_nnnorm | Matrix.nnNorm_apply_le_nnNorm | 2026-10-31 |
Matrix.nnnorm_conjTranspose | Matrix.nnNorm_conjTranspose | 2026-10-31 |
Matrix.nnnorm_def | Matrix.nnNorm_def | 2026-10-31 |
Matrix.nnnorm_diagonal | Matrix.nnNorm_diagonal | 2026-10-31 |
Matrix.nnnorm_entry_le_entrywise_sup_nnnorm | Matrix.nnNorm_apply_le_nnNorm | 2026-10-19 |
Matrix.nnnorm_le_iff | Matrix.nnNorm_le_iff | 2026-10-31 |
Matrix.nnnorm_lt_iff | Matrix.nnNorm_lt_iff | 2026-10-31 |
Matrix.nnnorm_map_eq | Matrix.nnNorm_map_eq | 2026-10-31 |
Matrix.nnnorm_replicateCol | Matrix.nnNorm_replicateCol | 2026-10-31 |
Matrix.nnnorm_replicateRow | Matrix.nnNorm_replicateRow | 2026-10-31 |
Matrix.nnnorm_transpose | Matrix.nnNorm_transpose | 2026-10-31 |
Matrix.norm_entry_le_entrywise_sup_norm | Matrix.norm_apply_le_norm | 2026-10-19 |
Matrix.norm_eq_sup_sup_nnnorm | Matrix.norm_eq_sup_sup_nnNorm | 2026-10-31 |