The areas / V06. Rings, fields and ordered algebra
Mathlib.Algebra.Algebra.Subalgebra.Matrix
2 declarations. Mathlib docs · Source
def Subalgebra.matrix E1 #
{R : Type u_1} →
{A : Type u_2} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
{n : Type u_3} →
[inst_3 : Fintype n] → [inst_4 : DecidableEq n] → Subalgebra R A → Subalgebra R (Matrix n n A)
A version of Set.matrix for Subalgebras.
Given a Subalgebra S, S.matrix is the Subalgebra of square matrices m
all of whose entries m i j belong to S.
theorem Subalgebra.coe_matrix E0 #
∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {n : Type u_3}
[inst_3 : Fintype n] [inst_4 : DecidableEq n] (S : Subalgebra R A), ↑S.matrix = S.toAddSubmonoid.matrix.carrier