The areas / V07. Linear algebra
Mathlib.LinearAlgebra.Matrix.StdBasis
5 declarations. Mathlib docs · Source
def Module.Basis.matrix E1 #
{ι : Type u_1} →
{R : Type u_2} →
{M : Type u_3} →
(m : Type u_4) →
(n : Type u_5) →
[Fintype m] →
[Fintype n] →
[inst : Semiring R] →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] → Module.Basis ι R M → Module.Basis (m × n × ι) R (Matrix m n M)
The standard basis of Matrix m n M given a basis on M.
theorem Module.Basis.matrix_apply E0 #
∀ {ι : Type u_1} {R : Type u_2} {M : Type u_3} {m : Type u_4} {n : Type u_5} [inst : Fintype m] [inst_1 : Fintype n]
[inst_2 : Semiring R] [inst_3 : AddCommMonoid M] [inst_4 : Module R M] (b : Module.Basis ι R M) (i : m) (j : n)
(k : ι) [inst_5 : DecidableEq m] [inst_6 : DecidableEq n],
(Module.Basis.matrix m n b) (i, j, k) = Matrix.single i j (b k)
def Matrix.stdBasis E1 #
(R : Type u_1) →
(m : Type u_2) →
(n : Type u_3) → [Fintype m] → [Finite n] → [inst : Semiring R] → Module.Basis (m × n) R (Matrix m n R)
The standard basis of Matrix m n R.
theorem Matrix.stdBasis_eq_single E1 #
∀ (R : Type u_1) {m : Type u_2} {n : Type u_3} [inst : Fintype m] [inst_1 : Finite n] [inst_2 : Semiring R] (i : m)
(j : n) [inst_3 : DecidableEq m] [inst_4 : DecidableEq n], (Matrix.stdBasis R m n) (i, j) = Matrix.single i j 1
instance Module.Free.matrix E0 #
∀ (R : Type u_1) (M : Type u_2) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [Module.Free R M]
{m : Type u_3} {n : Type u_4} [Finite m] [Finite n], Module.Free R (Matrix m n M)
The module of finite matrices is free.