The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V10. Commutative algebra II: valuations, Dedekind domains, local algebra

Mathlib.RingTheory.MatrixAlgebra

41 declarations. Mathlib docs · Source

Algebra isomorphisms between tensor products and matrices

Main definitions

  • matrixEquivTensor : Matrix n n A ≃ₐ[R] (A ⊗[R] Matrix n n R).
  • Matrix.kroneckerTMulAlgEquiv : Matrix m m A ⊗[R] Matrix n n B ≃ₐ[S] Matrix (m × n) (m × n) (A ⊗[R] B), where the forward map is the (tensor-ified) Kronecker product.

def kroneckerTMulLinearEquiv E1 #

(l : Type u_1) →
  (m : Type u_2) →
    (n : Type u_3) →
      (p : Type u_4) →
        (R : Type u_5) →
          (S : Type u_6) →
            (M : Type u_9) →
              (N : Type u_10) →
                [inst : CommSemiring R] →
                  [inst_1 : Semiring S] →
                    [inst_2 : AddCommMonoid M] →
                      [inst_3 : AddCommMonoid N] →
                        [inst_4 : Algebra R S] →
                          [inst_5 : Module R M] →
                            [inst_6 : Module S M] →
                              [inst_7 : Module R N] →
                                [inst_8 : IsScalarTower R S M] →
                                  [Fintype l] →
                                    [Fintype m] →
                                      [Fintype n] →
                                        [Fintype p] →
                                          [DecidableEq l] →
                                            [DecidableEq m] →
                                              [DecidableEq n] →
                                                [DecidableEq p] →
                                                  TensorProduct R (Matrix l m M) (Matrix n p N) ≃ₗ[S]
                                                    Matrix (l × n) (m × p) (TensorProduct R M N)

Matrix.kroneckerTMul as a linear equivalence, when the two arguments are tensored.

theorem kroneckerTMulLinearEquiv_tmul E0 #

∀ (l : Type u_1) (m : Type u_2) (n : Type u_3) (p : Type u_4) (R : Type u_5) (S : Type u_6) (M : Type u_9)
  (N : Type u_10) [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N]
  [inst_4 : Algebra R S] [inst_5 : Module R M] [inst_6 : Module S M] [inst_7 : Module R N]
  [inst_8 : IsScalarTower R S M] [inst_9 : Fintype l] [inst_10 : Fintype m] [inst_11 : Fintype n] [inst_12 : Fintype p]
  [inst_13 : DecidableEq l] [inst_14 : DecidableEq m] [inst_15 : DecidableEq n] [inst_16 : DecidableEq p]
  (a : Matrix l m M) (b : Matrix n p N),
  (kroneckerTMulLinearEquiv l m n p R S M N) (a ⊗ₜ[R] b) = Matrix.kroneckerMap (TensorProduct.tmul R) a b

theorem kroneckerTMulLinearEquiv_symm_kroneckerTMul E0 #

∀ (l : Type u_1) (m : Type u_2) (n : Type u_3) (p : Type u_4) (R : Type u_5) (S : Type u_6) (M : Type u_9)
  (N : Type u_10) [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N]
  [inst_4 : Algebra R S] [inst_5 : Module R M] [inst_6 : Module S M] [inst_7 : Module R N]
  [inst_8 : IsScalarTower R S M] [inst_9 : Fintype l] [inst_10 : Fintype m] [inst_11 : Fintype n] [inst_12 : Fintype p]
  [inst_13 : DecidableEq l] [inst_14 : DecidableEq m] [inst_15 : DecidableEq n] [inst_16 : DecidableEq p]
  (a : Matrix l m M) (b : Matrix n p N),
  (kroneckerTMulLinearEquiv l m n p R S M N).symm (Matrix.kroneckerMap (TensorProduct.tmul R) a b) = a ⊗ₜ[R] b

theorem kroneckerTMulAlgEquiv_symm_single_tmul E0 #

∀ (l : Type u_1) (m : Type u_2) (n : Type u_3) (p : Type u_4) (R : Type u_5) (S : Type u_6) (M : Type u_9)
  (N : Type u_10) [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N]
  [inst_4 : Algebra R S] [inst_5 : Module R M] [inst_6 : Module S M] [inst_7 : Module R N]
  [inst_8 : IsScalarTower R S M] [inst_9 : Fintype l] [inst_10 : Fintype m] [inst_11 : Fintype n] [inst_12 : Fintype p]
  [inst_13 : DecidableEq l] [inst_14 : DecidableEq m] [inst_15 : DecidableEq n] [inst_16 : DecidableEq p] (ia : l)
  (ja : m) (ib : n) (jb : p) (a : M) (b : N),
  (kroneckerTMulLinearEquiv l m n p R S M N).symm (Matrix.single (ia, ib) (ja, jb) (a ⊗ₜ[R] b)) =
    Matrix.single ia ja a ⊗ₜ[R] Matrix.single ib jb b

theorem kroneckerTMulLinearEquiv_one E0 #

∀ (m : Type u_2) (n : Type u_3) (R : Type u_5) (S : Type u_6) (A : Type u_7) {B : Type u_8} [inst : CommSemiring R]
  [inst_1 : Semiring S] [inst_2 : Semiring A] [inst_3 : Semiring B] [inst_4 : Algebra R S] [inst_5 : Algebra R A]
  [inst_6 : Algebra R B] [inst_7 : Fintype m] [inst_8 : Fintype n] [inst_9 : DecidableEq m] [inst_10 : DecidableEq n]
  [inst_11 : Module S A] [inst_12 : IsScalarTower R S A], (kroneckerTMulLinearEquiv m m n n R S A B) 1 = 1

theorem kroneckerTMulLinearEquiv_mul E0 #

∀ (m : Type u_2) (n : Type u_3) (R : Type u_5) (S : Type u_6) (A : Type u_7) {B : Type u_8} [inst : CommSemiring R]
  [inst_1 : Semiring S] [inst_2 : Semiring A] [inst_3 : Semiring B] [inst_4 : Algebra R S] [inst_5 : Algebra R A]
  [inst_6 : Algebra R B] [inst_7 : Fintype m] [inst_8 : Fintype n] [inst_9 : DecidableEq m] [inst_10 : DecidableEq n]
  [inst_11 : Module S A] [inst_12 : IsScalarTower R S A] (x y : TensorProduct R (Matrix m m A) (Matrix n n B)),
  (kroneckerTMulLinearEquiv m m n n R S A B) (x * y) =
    (kroneckerTMulLinearEquiv m m n n R S A B) x * (kroneckerTMulLinearEquiv m m n n R S A B) y

Note this can't be stated for rectangular matrices because there is no HMul (TensorProduct R _ _) (TensorProduct R _ _) (TensorProduct R _ _) instance.

def kroneckerLinearEquiv E1 #

(l : Type u_1) →
  (m : Type u_2) →
    (n : Type u_3) →
      (p : Type u_4) →
        (R : Type u_5) →
          [inst : CommSemiring R] →
            [Fintype l] →
              [Fintype m] →
                [Fintype n] →
                  [Fintype p] →
                    [DecidableEq l] →
                      [DecidableEq m] →
                        [DecidableEq n] →
                          [DecidableEq p] → TensorProduct R (Matrix l m R) (Matrix n p R) ≃ₗ[R] Matrix (l × n) (m × p) R

Matrix.kronecker as a linear equivalence, when the two arguments are tensored.

theorem kroneckerLinearEquiv_tmul E0 #

∀ {l : Type u_1} {m : Type u_2} {n : Type u_3} {p : Type u_4} {R : Type u_5} [inst : CommSemiring R]
  [inst_1 : Fintype l] [inst_2 : Fintype m] [inst_3 : Fintype n] [inst_4 : Fintype p] [inst_5 : DecidableEq l]
  [inst_6 : DecidableEq m] [inst_7 : DecidableEq n] [inst_8 : DecidableEq p] (x : Matrix l m R) (y : Matrix n p R),
  (kroneckerLinearEquiv l m n p R) (x ⊗ₜ[R] y) = Matrix.kroneckerMap (fun x1 x2 ↦ x1 * x2) x y

theorem kroneckerLinearEquiv_symm_kronecker E0 #

∀ {l : Type u_1} {m : Type u_2} {n : Type u_3} {p : Type u_4} {R : Type u_5} [inst : CommSemiring R]
  [inst_1 : Fintype l] [inst_2 : Fintype m] [inst_3 : Fintype n] [inst_4 : Fintype p] [inst_5 : DecidableEq l]
  [inst_6 : DecidableEq m] [inst_7 : DecidableEq n] [inst_8 : DecidableEq p] (x : Matrix l m R) (y : Matrix n p R),
  (kroneckerLinearEquiv l m n p R).symm (Matrix.kroneckerMap (fun x1 x2 ↦ x1 * x2) x y) = x ⊗ₜ[R] y

def MatrixEquivTensor.toFunBilinear E1 #

(n : Type u_3) →
  (R : Type u_5) →
    (A : Type u_7) →
      [inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → A →ₗ[R] Matrix n n R →ₗ[R] Matrix n n A

(Implementation detail). The function underlying (A ⊗[R] Matrix n n R) →ₐ[R] Matrix n n A, as an R-bilinear map.

theorem MatrixEquivTensor.toFunBilinear_apply E0 #

∀ (n : Type u_3) (R : Type u_5) (A : Type u_7) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  (a : A) (m : Matrix n n R), ((MatrixEquivTensor.toFunBilinear n R A) a) m = a • m.map ⇑(algebraMap R A)

def MatrixEquivTensor.toFunLinear E1 #

(n : Type u_3) →
  (R : Type u_5) →
    (A : Type u_7) →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] → [inst_2 : Algebra R A] → TensorProduct R A (Matrix n n R) →ₗ[R] Matrix n n A

(Implementation detail). The function underlying (A ⊗[R] Matrix n n R) →ₐ[R] Matrix n n A, as an R-linear map.

def MatrixEquivTensor.toFunAlgHom E1 #

(n : Type u_3) →
  (R : Type u_5) →
    (A : Type u_7) →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Algebra R A] →
            [inst_3 : DecidableEq n] → [inst_4 : Fintype n] → TensorProduct R A (Matrix n n R) →ₐ[R] Matrix n n A

The function (A ⊗[R] Matrix n n R) →ₐ[R] Matrix n n A, as an algebra homomorphism.

theorem MatrixEquivTensor.toFunAlgHom_apply E0 #

∀ (n : Type u_3) (R : Type u_5) (A : Type u_7) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : DecidableEq n] [inst_4 : Fintype n] (a : A) (m : Matrix n n R),
  (MatrixEquivTensor.toFunAlgHom n R A) (a ⊗ₜ[R] m) = a • m.map ⇑(algebraMap R A)

def MatrixEquivTensor.invFun E1 #

(n : Type u_3) →
  (R : Type u_5) →
    (A : Type u_7) →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Algebra R A] → [DecidableEq n] → [Fintype n] → Matrix n n A → TensorProduct R A (Matrix n n R)

(Implementation detail.)

The bare function Matrix n n A → A ⊗[R] Matrix n n R. (We don't need to show that it's an algebra map, thankfully --- just that it's an inverse.)

theorem MatrixEquivTensor.invFun_zero E0 #

∀ (n : Type u_3) (R : Type u_5) (A : Type u_7) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : DecidableEq n] [inst_4 : Fintype n], MatrixEquivTensor.invFun n R A 0 = 0

theorem MatrixEquivTensor.invFun_add E0 #

∀ (n : Type u_3) (R : Type u_5) (A : Type u_7) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : DecidableEq n] [inst_4 : Fintype n] (M N : Matrix n n A),
  MatrixEquivTensor.invFun n R A (M + N) = MatrixEquivTensor.invFun n R A M + MatrixEquivTensor.invFun n R A N

theorem MatrixEquivTensor.invFun_smul E0 #

∀ (n : Type u_3) (R : Type u_5) (A : Type u_7) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : DecidableEq n] [inst_4 : Fintype n] (a : A) (M : Matrix n n A),
  MatrixEquivTensor.invFun n R A (a • M) = a ⊗ₜ[R] 1 * MatrixEquivTensor.invFun n R A M

theorem MatrixEquivTensor.invFun_algebraMap E0 #

∀ (n : Type u_3) (R : Type u_5) (A : Type u_7) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : DecidableEq n] [inst_4 : Fintype n] (M : Matrix n n R),
  MatrixEquivTensor.invFun n R A (M.map ⇑(algebraMap R A)) = 1 ⊗ₜ[R] M

theorem MatrixEquivTensor.right_inv E1 #

∀ (n : Type u_3) (R : Type u_5) (A : Type u_7) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : DecidableEq n] [inst_4 : Fintype n] (M : Matrix n n A),
  (MatrixEquivTensor.toFunAlgHom n R A) (MatrixEquivTensor.invFun n R A M) = M

theorem MatrixEquivTensor.left_inv E1 #

∀ (n : Type u_3) (R : Type u_5) (A : Type u_7) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : DecidableEq n] [inst_4 : Fintype n] (M : TensorProduct R A (Matrix n n R)),
  MatrixEquivTensor.invFun n R A ((MatrixEquivTensor.toFunAlgHom n R A) M) = M

def MatrixEquivTensor.equiv E1 #

(n : Type u_3) →
  (R : Type u_5) →
    (A : Type u_7) →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Algebra R A] → [DecidableEq n] → [Fintype n] → TensorProduct R A (Matrix n n R) ≃ Matrix n n A

(Implementation detail)

The equivalence, ignoring the algebra structure, (A ⊗[R] Matrix n n R) ≃ Matrix n n A.

def matrixEquivTensor E1 #

(n : Type u_3) →
  (R : Type u_5) →
    (A : Type u_7) →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Algebra R A] →
            [inst_3 : Fintype n] → [inst_4 : DecidableEq n] → Matrix n n A ≃ₐ[R] TensorProduct R A (Matrix n n R)

The R-algebra isomorphism Matrix n n A ≃ₐ[R] (A ⊗[R] Matrix n n R).

theorem matrixEquivTensor_apply E0 #

∀ (n : Type u_3) (R : Type u_5) (A : Type u_7) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Fintype n] [inst_4 : DecidableEq n] (M : Matrix n n A),
  (matrixEquivTensor n R A) M = ∑ p, M p.1 p.2 ⊗ₜ[R] Matrix.single p.1 p.2 1

theorem matrixEquivTensor_apply_single E0 #

∀ (n : Type u_3) (R : Type u_5) (A : Type u_7) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Fintype n] [inst_4 : DecidableEq n] (i j : n) (x : A),
  (matrixEquivTensor n R A) (Matrix.single i j x) = x ⊗ₜ[R] Matrix.single i j 1

theorem matrixEquivTensor_apply_symm E0 #

∀ (n : Type u_3) (R : Type u_5) (A : Type u_7) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Fintype n] [inst_4 : DecidableEq n] (a : A) (M : Matrix n n R),
  (matrixEquivTensor n R A).symm (a ⊗ₜ[R] M) = a • M.map ⇑(algebraMap R A)

def Matrix.kroneckerTMulAlgEquiv E1 #

(m : Type u_2) →
  (n : Type u_3) →
    (R : Type u_5) →
      (S : Type u_6) →
        (A : Type u_7) →
          (B : Type u_8) →
            [inst : CommSemiring R] →
              [inst_1 : Semiring A] →
                [inst_2 : Semiring B] →
                  [inst_3 : Algebra R A] →
                    [inst_4 : Algebra R B] →
                      [inst_5 : Fintype n] →
                        [inst_6 : DecidableEq n] →
                          [inst_7 : CommSemiring S] →
                            [inst_8 : Algebra R S] →
                              [inst_9 : Algebra S A] →
                                [inst_10 : IsScalarTower R S A] →
                                  [inst_11 : Fintype m] →
                                    [inst_12 : DecidableEq m] →
                                      TensorProduct R (Matrix m m A) (Matrix n n B) ≃ₐ[S]
                                        Matrix (m × n) (m × n) (TensorProduct R A B)

Matrix.kroneckerTMul as an algebra equivalence, when the two arguments are tensored.

theorem Matrix.kroneckerTMulAlgEquiv_apply E0 #

∀ {m : Type u_2} {n : Type u_3} (R : Type u_5) (S : Type u_6) {A : Type u_7} {B : Type u_8} [inst : CommSemiring R]
  [inst_1 : Semiring A] [inst_2 : Semiring B] [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : Fintype n]
  [inst_6 : DecidableEq n] [inst_7 : CommSemiring S] [inst_8 : Algebra R S] [inst_9 : Algebra S A]
  [inst_10 : IsScalarTower R S A] [inst_11 : Fintype m] [inst_12 : DecidableEq m]
  (x : TensorProduct R (Matrix m m A) (Matrix n n B)),
  (Matrix.kroneckerTMulAlgEquiv m n R S A B) x = (kroneckerTMulLinearEquiv m m n n R S A B) x

theorem Matrix.kroneckerTMulAlgEquiv_symm_apply E0 #

∀ {m : Type u_2} {n : Type u_3} (R : Type u_5) (S : Type u_6) {A : Type u_7} {B : Type u_8} [inst : CommSemiring R]
  [inst_1 : Semiring A] [inst_2 : Semiring B] [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : Fintype n]
  [inst_6 : DecidableEq n] [inst_7 : CommSemiring S] [inst_8 : Algebra R S] [inst_9 : Algebra S A]
  [inst_10 : IsScalarTower R S A] [inst_11 : Fintype m] [inst_12 : DecidableEq m]
  (x : Matrix (m × n) (m × n) (TensorProduct R A B)),
  (Matrix.kroneckerTMulAlgEquiv m n R S A B).symm x = (kroneckerTMulLinearEquiv m m n n R S A B).symm x

def Matrix.kroneckerTMulStarAlgEquiv E1 #

(m : Type u_2) →
  (n : Type u_3) →
    (R : Type u_5) →
      (S : Type u_6) →
        (A : Type u_7) →
          (B : Type u_8) →
            [inst : CommSemiring R] →
              [inst_1 : Semiring A] →
                [inst_2 : Semiring B] →
                  [inst_3 : Algebra R A] →
                    [inst_4 : Algebra R B] →
                      [inst_5 : Fintype n] →
                        [inst_6 : DecidableEq n] →
                          [inst_7 : CommSemiring S] →
                            [inst_8 : Algebra R S] →
                              [inst_9 : Algebra S A] →
                                [inst_10 : IsScalarTower R S A] →
                                  [inst_11 : Fintype m] →
                                    [inst_12 : DecidableEq m] →
                                      [inst_13 : StarRing R] →
                                        [inst_14 : StarAddMonoid A] →
                                          [inst_15 : StarAddMonoid B] →
                                            [inst_16 : StarModule R A] →
                                              [inst_17 : StarModule R B] →
                                                TensorProduct R (Matrix m m A) (Matrix n n B) ≃⋆ₐ[S]
                                                  Matrix (m × n) (m × n) (TensorProduct R A B)

Matrix.kroneckerTMul as a ⋆-algebra equivalence, when the two arguments are tensored.

theorem Matrix.toAlgEquiv_kroneckerTMulStarAlgEquiv E0 #

∀ {m : Type u_2} {n : Type u_3} (R : Type u_5) (S : Type u_6) {A : Type u_7} {B : Type u_8} [inst : CommSemiring R]
  [inst_1 : Semiring A] [inst_2 : Semiring B] [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : Fintype n]
  [inst_6 : DecidableEq n] [inst_7 : CommSemiring S] [inst_8 : Algebra R S] [inst_9 : Algebra S A]
  [inst_10 : IsScalarTower R S A] [inst_11 : Fintype m] [inst_12 : DecidableEq m] [inst_13 : StarRing R]
  [inst_14 : StarAddMonoid A] [inst_15 : StarAddMonoid B] [inst_16 : StarModule R A] [inst_17 : StarModule R B],
  (Matrix.kroneckerTMulStarAlgEquiv m n R S A B).toAlgEquiv = Matrix.kroneckerTMulAlgEquiv m n R S A B

theorem Matrix.kroneckerTMulStarAlgEquiv_apply E0 #

∀ {m : Type u_2} {n : Type u_3} (R : Type u_5) (S : Type u_6) {A : Type u_7} {B : Type u_8} [inst : CommSemiring R]
  [inst_1 : Semiring A] [inst_2 : Semiring B] [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : Fintype n]
  [inst_6 : DecidableEq n] [inst_7 : CommSemiring S] [inst_8 : Algebra R S] [inst_9 : Algebra S A]
  [inst_10 : IsScalarTower R S A] [inst_11 : Fintype m] [inst_12 : DecidableEq m] [inst_13 : StarRing R]
  [inst_14 : StarAddMonoid A] [inst_15 : StarAddMonoid B] [inst_16 : StarModule R A] [inst_17 : StarModule R B]
  (x : TensorProduct R (Matrix m m A) (Matrix n n B)),
  (Matrix.kroneckerTMulStarAlgEquiv m n R S A B) x = (kroneckerTMulLinearEquiv m m n n R S A B) x

theorem Matrix.kroneckerTMulStarAlgEquiv_symm_apply E0 #

∀ {m : Type u_2} {n : Type u_3} (R : Type u_5) (S : Type u_6) {A : Type u_7} {B : Type u_8} [inst : CommSemiring R]
  [inst_1 : Semiring A] [inst_2 : Semiring B] [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : Fintype n]
  [inst_6 : DecidableEq n] [inst_7 : CommSemiring S] [inst_8 : Algebra R S] [inst_9 : Algebra S A]
  [inst_10 : IsScalarTower R S A] [inst_11 : Fintype m] [inst_12 : DecidableEq m] [inst_13 : StarRing R]
  [inst_14 : StarAddMonoid A] [inst_15 : StarAddMonoid B] [inst_16 : StarModule R A] [inst_17 : StarModule R B]
  (x : Matrix (m × n) (m × n) (TensorProduct R A B)),
  (Matrix.kroneckerTMulStarAlgEquiv m n R S A B).symm x = (kroneckerTMulLinearEquiv m m n n R S A B).symm x

def Matrix.kroneckerAlgEquiv E1 #

(m : Type u_2) →
  (n : Type u_3) →
    (R : Type u_5) →
      [inst : CommSemiring R] →
        [inst_1 : Fintype n] →
          [inst_2 : DecidableEq n] →
            [inst_3 : Fintype m] →
              [inst_4 : DecidableEq m] → TensorProduct R (Matrix m m R) (Matrix n n R) ≃ₐ[R] Matrix (m × n) (m × n) R

Matrix.kronecker as an algebra equivalence, when the two arguments are tensored.

theorem Matrix.toLinearEquiv_kroneckerAlgEquiv E0 #

∀ {m : Type u_2} {n : Type u_3} (R : Type u_5) [inst : CommSemiring R] [inst_1 : Fintype n] [inst_2 : DecidableEq n]
  [inst_3 : Fintype m] [inst_4 : DecidableEq m], ↑(Matrix.kroneckerAlgEquiv m n R) = kroneckerLinearEquiv m m n n R

theorem Matrix.kroneckerAlgEquiv_apply E0 #

∀ {m : Type u_2} {n : Type u_3} (R : Type u_5) [inst : CommSemiring R] [inst_1 : Fintype n] [inst_2 : DecidableEq n]
  [inst_3 : Fintype m] [inst_4 : DecidableEq m] (x : TensorProduct R (Matrix m m R) (Matrix n n R)),
  (Matrix.kroneckerAlgEquiv m n R) x = (kroneckerLinearEquiv m m n n R) x

theorem Matrix.kroneckerAlgEquiv_symm_apply E0 #

∀ {m : Type u_2} {n : Type u_3} (R : Type u_5) [inst : CommSemiring R] [inst_1 : Fintype n] [inst_2 : DecidableEq n]
  [inst_3 : Fintype m] [inst_4 : DecidableEq m] (x : Matrix (m × n) (m × n) R),
  (Matrix.kroneckerAlgEquiv m n R).symm x = (kroneckerLinearEquiv m m n n R).symm x

def Matrix.kroneckerStarAlgEquiv E1 #

(m : Type u_2) →
  (n : Type u_3) →
    (R : Type u_5) →
      [inst : CommSemiring R] →
        [inst_1 : Fintype n] →
          [inst_2 : DecidableEq n] →
            [inst_3 : Fintype m] →
              [inst_4 : DecidableEq m] →
                [inst_5 : StarRing R] → TensorProduct R (Matrix m m R) (Matrix n n R) ≃⋆ₐ[R] Matrix (m × n) (m × n) R

Matrix.kronecker as a ⋆-algebra equivalence, when the two arguments are tensored.

theorem Matrix.toAlgEquiv_kroneckerStarAlgEquiv E0 #

∀ {m : Type u_2} {n : Type u_3} (R : Type u_5) [inst : CommSemiring R] [inst_1 : Fintype n] [inst_2 : DecidableEq n]
  [inst_3 : Fintype m] [inst_4 : DecidableEq m] [inst_5 : StarRing R],
  (Matrix.kroneckerStarAlgEquiv m n R).toAlgEquiv = Matrix.kroneckerAlgEquiv m n R

theorem Matrix.kroneckerStarAlgEquiv_apply E0 #

∀ {m : Type u_2} {n : Type u_3} (R : Type u_5) [inst : CommSemiring R] [inst_1 : Fintype n] [inst_2 : DecidableEq n]
  [inst_3 : Fintype m] [inst_4 : DecidableEq m] [inst_5 : StarRing R]
  (x : TensorProduct R (Matrix m m R) (Matrix n n R)),
  (Matrix.kroneckerStarAlgEquiv m n R) x = (kroneckerLinearEquiv m m n n R) x

theorem Matrix.kroneckerStarAlgEquiv_symm_apply E0 #

∀ {m : Type u_2} {n : Type u_3} (R : Type u_5) [inst : CommSemiring R] [inst_1 : Fintype n] [inst_2 : DecidableEq n]
  [inst_3 : Fintype m] [inst_4 : DecidableEq m] [inst_5 : StarRing R] (x : Matrix (m × n) (m × n) R),
  (Matrix.kroneckerStarAlgEquiv m n R).symm x = (kroneckerLinearEquiv m m n n R).symm x