The areas / V07. Linear algebra
Mathlib.LinearAlgebra.Matrix.ToLinearEquiv
30 declarations and 1 deprecated aliases. Mathlib docs · Source
Matrices and linear equivalences
This file gives the map Matrix.toLinearEquiv from matrices with invertible determinant,
to linear equivs.
Main definitions
Matrix.toLinearEquiv: a matrix with an invertible determinant forms a linear equiv
Main results
Matrix.exists_mulVec_eq_zero_iff:Mmaps somev ≠ 0to zero iffdet M = 0
Tags
matrix, linear equivalence, linear isomorphism, determinant, inverse
theorem Matrix.SeparatingLeft.card_le E1 #
∀ {m : Type u_1} {n : Type u_2} {R : Type u_3} [inst : Fintype m] [inst_1 : Fintype n] [inst_2 : Ring R]
[StrongRankCondition R] {N : Matrix m n R}, N.SeparatingLeft → Fintype.card m ≤ Fintype.card n
theorem Matrix.SeparatingRight.card_le E1 #
∀ {m : Type u_1} {n : Type u_2} {R : Type u_3} [inst : Fintype m] [inst_1 : Fintype n] [inst_2 : Ring R]
[StrongRankCondition Rᵐᵒᵖ] {N : Matrix m n R}, N.SeparatingRight → Fintype.card n ≤ Fintype.card m
theorem Matrix.Nondegenerate.nonempty_equiv E1 #
∀ {m : Type u_1} {n : Type u_2} {R : Type u_3} [inst : Finite m] [inst_1 : Finite n] [inst_2 : Ring R]
[StrongRankCondition R] [StrongRankCondition Rᵐᵒᵖ] {N : Matrix m n R}, N.Nondegenerate → Nonempty (m ≃ n)
Nondegenerate matrices are square.
def Matrix.toLinearEquiv' E1 #
{n : Type u_2} →
{R : Type u_3} →
[inst : Fintype n] →
[inst_1 : CommRing R] → [inst_2 : DecidableEq n] → (P : Matrix n n R) → Invertible P → (n → R) ≃ₗ[R] n → R
An invertible matrix yields a linear equivalence from the free module to itself.
See Matrix.toLinearEquiv for the same map on arbitrary modules.
theorem Matrix.toLinearEquiv'_apply E0 #
∀ {n : Type u_2} {R : Type u_3} [inst : Fintype n] [inst_1 : CommRing R] [inst_2 : DecidableEq n] (P : Matrix n n R)
(h : Invertible P), ↑(P.toLinearEquiv' h) = Matrix.toLin' P
theorem Matrix.toLinearEquiv'_symm_apply E0 #
∀ {n : Type u_2} {R : Type u_3} [inst : Fintype n] [inst_1 : CommRing R] [inst_2 : DecidableEq n] (P : Matrix n n R)
(h : Invertible P), ↑(P.toLinearEquiv' h).symm = Matrix.toLin' ⅟P
def Matrix.toLinearEquiv E3 #
{n : Type u_2} →
{R : Type u_3} →
[inst : Fintype n] →
{M : Type u_4} →
[inst_1 : CommRing R] →
[inst_2 : AddCommGroup M] →
[inst_3 : Module R M] →
Module.Basis n R M → [inst_4 : DecidableEq n] → (A : Matrix n n R) → IsUnit A.det → M ≃ₗ[R] M
Given hA : IsUnit A.det and b : Basis R b, A.toLinearEquiv b hA is
the LinearEquiv arising from toLin b b A.
See Matrix.toLinearEquiv' for this result on n → R.
theorem Matrix.toLinearEquiv_apply E0 #
∀ {n : Type u_2} {R : Type u_3} [inst : Fintype n] {M : Type u_4} [inst_1 : CommRing R] [inst_2 : AddCommGroup M]
[inst_3 : Module R M] (b : Module.Basis n R M) [inst_4 : DecidableEq n] (A : Matrix n n R) (hA : IsUnit A.det)
(a : M), (Matrix.toLinearEquiv b A hA) a = ((Matrix.toLin b b) A) a
theorem Matrix.ker_toLin_eq_bot E1 #
∀ {n : Type u_2} {R : Type u_3} [inst : Fintype n] {M : Type u_4} [inst_1 : CommRing R] [inst_2 : AddCommGroup M]
[inst_3 : Module R M] (b : Module.Basis n R M) [inst_4 : DecidableEq n] (A : Matrix n n R),
IsUnit A.det → ((Matrix.toLin b b) A).ker = ⊥
theorem Matrix.range_toLin_eq_top E1 #
∀ {n : Type u_2} {R : Type u_3} [inst : Fintype n] {M : Type u_4} [inst_1 : CommRing R] [inst_2 : AddCommGroup M]
[inst_3 : Module R M] (b : Module.Basis n R M) [inst_4 : DecidableEq n] (A : Matrix n n R),
IsUnit A.det → ((Matrix.toLin b b) A).range = ⊤
theorem Matrix.exists_mulVec_eq_zero_iff E3 #
∀ {n : Type u_2} [inst : Fintype n] {A : Type u_5} [inst_1 : CommRing A] [IsDomain A] {M : Matrix n n A}
[inst_3 : DecidableEq n], (∃ v, v ≠ 0 ∧ M.mulVec v = 0) ↔ M.det = 0
theorem Matrix.exists_vecMul_eq_zero_iff E0 #
∀ {n : Type u_2} [inst : Fintype n] {A : Type u_5} [inst_1 : CommRing A] [IsDomain A] {M : Matrix n n A}
[inst_3 : DecidableEq n], (∃ v, v ≠ 0 ∧ Matrix.vecMul v M = 0) ↔ M.det = 0
theorem Matrix.nondegenerate_iff_det_ne_zero E1 #
∀ {n : Type u_2} [inst : Fintype n] {A : Type u_5} [inst_1 : CommRing A] [IsDomain A] {M : Matrix n n A}
[inst_3 : DecidableEq n], M.Nondegenerate ↔ M.det ≠ 0
theorem Matrix.Nondegenerate.det_ne_zero E1 #
∀ {n : Type u_2} [inst : Fintype n] {A : Type u_5} [inst_1 : CommRing A] [IsDomain A] {M : Matrix n n A}
[inst_3 : DecidableEq n], M.Nondegenerate → M.det ≠ 0
Alias of the forward direction of Matrix.nondegenerate_iff_det_ne_zero.
theorem Matrix.separatingLeft_iff_det_ne_zero E1 #
∀ {n : Type u_2} [inst : Fintype n] {A : Type u_5} [inst_1 : CommRing A] [IsDomain A] {M : Matrix n n A}
[inst_3 : DecidableEq n], M.SeparatingLeft ↔ M.det ≠ 0
theorem Matrix.separatingRight_iff_det_ne_zero E1 #
∀ {n : Type u_2} [inst : Fintype n] {A : Type u_5} [inst_1 : CommRing A] [IsDomain A] {M : Matrix n n A}
[inst_3 : DecidableEq n], M.SeparatingRight ↔ M.det ≠ 0
theorem Matrix.separatingLeft_iff_separatingRight E1 #
∀ {n : Type u_2} {R : Type u_3} [inst : CommRing R] [inst_1 : Finite n] {M : Matrix n n R},
M.SeparatingLeft ↔ M.SeparatingRight
theorem Matrix.SeparatingRight.separatingLeft E1 #
∀ {n : Type u_2} {R : Type u_3} [inst : CommRing R] [inst_1 : Finite n] {M : Matrix n n R},
M.SeparatingRight → M.SeparatingLeft
Alias of the reverse direction of Matrix.separatingLeft_iff_separatingRight.
theorem Matrix.SeparatingLeft.separatingRight E1 #
∀ {n : Type u_2} {R : Type u_3} [inst : CommRing R] [inst_1 : Finite n] {M : Matrix n n R},
M.SeparatingLeft → M.SeparatingRight
Alias of the forward direction of Matrix.separatingLeft_iff_separatingRight.
theorem Matrix.nondegenerate_iff_separatingLeft E1 #
∀ {n : Type u_2} {R : Type u_3} [inst : CommRing R] [inst_1 : Finite n] {M : Matrix n n R},
M.Nondegenerate ↔ M.SeparatingLeft
theorem Matrix.SeparatingLeft.nondegenerate E1 #
∀ {n : Type u_2} {R : Type u_3} [inst : CommRing R] [inst_1 : Finite n] {M : Matrix n n R},
M.SeparatingLeft → M.Nondegenerate
Alias of the reverse direction of Matrix.nondegenerate_iff_separatingLeft.
theorem Matrix.nondegenerate_iff_separatingRight E1 #
∀ {n : Type u_2} {R : Type u_3} [inst : CommRing R] [inst_1 : Finite n] {M : Matrix n n R},
M.Nondegenerate ↔ M.SeparatingRight
theorem Matrix.SeparatingRight.nondegenerate E1 #
∀ {n : Type u_2} {R : Type u_3} [inst : CommRing R] [inst_1 : Finite n] {M : Matrix n n R},
M.SeparatingRight → M.Nondegenerate
Alias of the reverse direction of Matrix.nondegenerate_iff_separatingRight.
theorem Matrix.nondegenerate_iff_nonsingular E1 #
∀ {n : Type u_2} {R : Type u_3} [inst : Fintype n] [inst_1 : CommRing R] [inst_2 : DecidableEq n] {M : Matrix n n R},
M.Nondegenerate ↔ M.Nonsingular
theorem Matrix.Nonsingular.nondegenerate E1 #
∀ {n : Type u_2} {R : Type u_3} [inst : Fintype n] [inst_1 : CommRing R] [inst_2 : DecidableEq n] {M : Matrix n n R},
M.Nonsingular → M.Nondegenerate
Alias of the reverse direction of Matrix.nondegenerate_iff_nonsingular.
theorem Matrix.Nondegenerate.nonsingular E1 #
∀ {n : Type u_2} {R : Type u_3} [inst : Fintype n] [inst_1 : CommRing R] [inst_2 : DecidableEq n] {M : Matrix n n R},
M.Nondegenerate → M.Nonsingular
Alias of the forward direction of Matrix.nondegenerate_iff_nonsingular.
theorem Matrix.Nondegenerate.mul_iff_right E1 #
∀ {n : Type u_2} {R : Type u_3} [inst : CommRing R] {l : Type u_5} {m : Type u_6} [inst_1 : Finite l]
[inst_2 : Fintype m] [inst_3 : Finite n] {M : Matrix l m R} {N : Matrix m n R},
N.Nondegenerate → ((M * N).Nondegenerate ↔ M.Nondegenerate)
theorem Matrix.Nondegenerate.mul_iff_left E1 #
∀ {n : Type u_2} {R : Type u_3} [inst : CommRing R] {l : Type u_5} {m : Type u_6} [inst_1 : Finite l]
[inst_2 : Fintype m] [inst_3 : Finite n] {M : Matrix l m R} {N : Matrix m n R},
M.Nondegenerate → ((M * N).Nondegenerate ↔ N.Nondegenerate)
theorem Matrix.det_ne_zero_of_sum_col_pos E1 #
∀ {n : Type u_2} [inst : Fintype n] [inst_1 : DecidableEq n] {S : Type u_4} [inst_2 : CommRing S]
[inst_3 : LinearOrder S] [IsStrictOrderedRing S] {A : Matrix n n S},
(Pairwise fun i j ↦ A i j < 0) → (∀ (j : n), 0 < ∑ i, A i j) → A.det ≠ 0
A matrix whose nondiagonal entries are negative with the sum of the entries of each column positive has nonzero determinant.
theorem Matrix.det_ne_zero_of_sum_row_pos E1 #
∀ {n : Type u_2} [inst : Fintype n] [inst_1 : DecidableEq n] {S : Type u_4} [inst_2 : CommRing S]
[inst_3 : LinearOrder S] [IsStrictOrderedRing S] {A : Matrix n n S},
(Pairwise fun i j ↦ A i j < 0) → (∀ (i : n), 0 < ∑ j, A i j) → A.det ≠ 0
A matrix whose nondiagonal entries are negative with the sum of the entries of each row positive has nonzero determinant.
Deprecated aliases
| Name | New name | Since |
|---|---|---|
Matrix.Nondegenerate.smul_iff | Matrix.nondegenerate_smul_iff | 2026-11-24 |