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 / V08. Multilinear algebra and forms

Mathlib.LinearAlgebra.PiTensorProduct.DirectSum

4 declarations. Mathlib docs · Source

def PiTensorProduct.ofDirectSumEquiv E1 #

{R : Type u_1} →
  {ι : Type u_2} →
    {κ : ι → Type u_3} →
      {M : (i : ι) → κ i → Type u_4} →
        [inst : CommSemiring R] →
          [inst_1 : (i : ι) → (j : κ i) → AddCommMonoid (M i j)] →
            [inst_2 : (i : ι) → (j : κ i) → Module R (M i j)] →
              [Finite ι] →
                (PiTensorProduct R fun i ↦ DirectSum (κ i) fun j ↦ M i j) ≃ₗ[R]
                  DirectSum ((i : ι) → κ i) fun p ↦ PiTensorProduct R fun i ↦ M i (p i)

The n-ary tensor product distributes over m-ary direct sums.

theorem PiTensorProduct.ofDirectSumEquiv_tprod_lof E0 #

∀ {R : Type u_1} {ι : Type u_2} {κ : ι → Type u_3} {M : (i : ι) → κ i → Type u_4} [inst : CommSemiring R]
  [inst_1 : (i : ι) → (j : κ i) → AddCommMonoid (M i j)] [inst_2 : (i : ι) → (j : κ i) → Module R (M i j)]
  [inst_3 : Fintype ι] [inst_4 : (i : ι) → DecidableEq (κ i)] (p : (i : ι) → κ i) (x : (i : ι) → M i (p i)),
  PiTensorProduct.ofDirectSumEquiv ((PiTensorProduct.tprod R) fun i ↦ (DirectSum.lof R (κ i) (M i) (p i)) (x i)) =
    (DirectSum.lof R ((i : ι) → κ i) (fun i ↦ PiTensorProduct R fun i_1 ↦ M i_1 (i i_1)) p)
      ((PiTensorProduct.tprod R) fun i ↦ x i)

theorem PiTensorProduct.ofDirectSumEquiv_symm_lof_tprod E0 #

∀ {R : Type u_1} {ι : Type u_2} {κ : ι → Type u_3} {M : (i : ι) → κ i → Type u_4} [inst : CommSemiring R]
  [inst_1 : (i : ι) → (j : κ i) → AddCommMonoid (M i j)] [inst_2 : (i : ι) → (j : κ i) → Module R (M i j)]
  [inst_3 : Fintype ι] [inst_4 : (i : ι) → DecidableEq (κ i)] (p : (i : ι) → κ i) (x : (i : ι) → M i (p i)),
  PiTensorProduct.ofDirectSumEquiv.symm
      ((DirectSum.lof R ((i : ι) → κ i) (fun p ↦ PiTensorProduct R fun i ↦ M i (p i)) p)
        ((PiTensorProduct.tprod R) x)) =
    (PiTensorProduct.tprod R) fun i ↦ (DirectSum.lof R (κ i) (M i) (p i)) (x i)

theorem PiTensorProduct.ofDirectSumEquiv_tprod_apply E0 #

∀ {R : Type u_1} {ι : Type u_2} {κ : ι → Type u_3} {M : (i : ι) → κ i → Type u_4} [inst : CommSemiring R]
  [inst_1 : (i : ι) → (j : κ i) → AddCommMonoid (M i j)] [inst_2 : (i : ι) → (j : κ i) → Module R (M i j)]
  [inst_3 : Finite ι] (x : (i : ι) → DirectSum (κ i) fun j ↦ M i j) (p : (i : ι) → κ i),
  (PiTensorProduct.ofDirectSumEquiv ((PiTensorProduct.tprod R) x)) p = (PiTensorProduct.tprod R) fun i ↦ (x i) (p i)