The areas / V08. Multilinear algebra and forms
Mathlib.LinearAlgebra.DirectSum.TensorProduct
15 declarations. Mathlib docs · Source
def TensorProduct.directSum E1 #
(R : Type u) →
[inst : CommSemiring R] →
(S : Type u_1) →
[inst_1 : Semiring S] →
[inst_2 : Algebra R S] →
{ι₁ : Type v₁} →
{ι₂ : Type v₂} →
[DecidableEq ι₁] →
[DecidableEq ι₂] →
(M₁ : ι₁ → Type w₁) →
(M₂ : ι₂ → Type w₂) →
[inst_5 : (i₁ : ι₁) → AddCommMonoid (M₁ i₁)] →
[inst_6 : (i₂ : ι₂) → AddCommMonoid (M₂ i₂)] →
[inst_7 : (i₁ : ι₁) → Module R (M₁ i₁)] →
[inst_8 : (i₂ : ι₂) → Module R (M₂ i₂)] →
[inst_9 : (i₁ : ι₁) → Module S (M₁ i₁)] →
[inst_10 : ∀ (i₁ : ι₁), IsScalarTower R S (M₁ i₁)] →
TensorProduct R (DirectSum ι₁ fun i₁ ↦ M₁ i₁) (DirectSum ι₂ fun i₂ ↦ M₂ i₂) ≃ₗ[S]
DirectSum (ι₁ × ι₂) fun i ↦ TensorProduct R (M₁ i.1) (M₂ i.2)
The linear equivalence (⨁ i₁, M₁ i₁) ⊗ (⨁ i₂, M₂ i₂) ≃ (⨁ i₁, ⨁ i₂, M₁ i₁ ⊗ M₂ i₂), i.e.
"tensor product distributes over direct sum".
def TensorProduct.directSumLeft E1 #
(R : Type u) →
[inst : CommSemiring R] →
(S : Type u_1) →
[inst_1 : Semiring S] →
[inst_2 : Algebra R S] →
{ι₁ : Type v₁} →
[DecidableEq ι₁] →
(M₁ : ι₁ → Type w₁) →
(M₂' : Type w₂') →
[inst_4 : (i₁ : ι₁) → AddCommMonoid (M₁ i₁)] →
[inst_5 : AddCommMonoid M₂'] →
[inst_6 : (i₁ : ι₁) → Module R (M₁ i₁)] →
[inst_7 : Module R M₂'] →
[inst_8 : (i₁ : ι₁) → Module S (M₁ i₁)] →
[inst_9 : ∀ (i₁ : ι₁), IsScalarTower R S (M₁ i₁)] →
TensorProduct R (DirectSum ι₁ fun i₁ ↦ M₁ i₁) M₂' ≃ₗ[S]
DirectSum ι₁ fun i ↦ TensorProduct R (M₁ i) M₂'
Tensor products distribute over a direct sum on the left .
def TensorProduct.directSumRight E1 #
(R : Type u) →
[inst : CommSemiring R] →
(S : Type u_1) →
[inst_1 : Semiring S] →
[inst_2 : Algebra R S] →
{ι₂ : Type v₂} →
[DecidableEq ι₂] →
(M₁' : Type w₁') →
(M₂ : ι₂ → Type w₂) →
[inst_4 : AddCommMonoid M₁'] →
[inst_5 : (i₂ : ι₂) → AddCommMonoid (M₂ i₂)] →
[inst_6 : Module R M₁'] →
[inst_7 : (i₂ : ι₂) → Module R (M₂ i₂)] →
[inst_8 : Module S M₁'] →
[inst_9 : IsScalarTower R S M₁'] →
TensorProduct R M₁' (DirectSum ι₂ fun i ↦ M₂ i) ≃ₗ[S]
DirectSum ι₂ fun i ↦ TensorProduct R M₁' (M₂ i)
Tensor products distribute over a direct sum on the right.
theorem TensorProduct.directSum_lof_tmul_lof E0 #
∀ (R : Type u) [inst : CommSemiring R] (S : Type u_1) [inst_1 : Semiring S] [inst_2 : Algebra R S] {ι₁ : Type v₁}
{ι₂ : Type v₂} [inst_3 : DecidableEq ι₁] [inst_4 : DecidableEq ι₂] {M₁ : ι₁ → Type w₁} {M₂ : ι₂ → Type w₂}
[inst_5 : (i₁ : ι₁) → AddCommMonoid (M₁ i₁)] [inst_6 : (i₂ : ι₂) → AddCommMonoid (M₂ i₂)]
[inst_7 : (i₁ : ι₁) → Module R (M₁ i₁)] [inst_8 : (i₂ : ι₂) → Module R (M₂ i₂)]
[inst_9 : (i₁ : ι₁) → Module S (M₁ i₁)] [inst_10 : ∀ (i₁ : ι₁), IsScalarTower R S (M₁ i₁)] (i₁ : ι₁) (m₁ : M₁ i₁)
(i₂ : ι₂) (m₂ : M₂ i₂),
(TensorProduct.directSum R S M₁ M₂) ((DirectSum.lof S ι₁ M₁ i₁) m₁ ⊗ₜ[R] (DirectSum.lof R ι₂ M₂ i₂) m₂) =
(DirectSum.lof S (ι₁ × ι₂) (fun i ↦ TensorProduct R (M₁ i.1) (M₂ i.2)) (i₁, i₂)) (m₁ ⊗ₜ[R] m₂)
theorem TensorProduct.directSum_symm_lof_tmul E0 #
∀ (R : Type u) [inst : CommSemiring R] (S : Type u_1) [inst_1 : Semiring S] [inst_2 : Algebra R S] {ι₁ : Type v₁}
{ι₂ : Type v₂} [inst_3 : DecidableEq ι₁] [inst_4 : DecidableEq ι₂] {M₁ : ι₁ → Type w₁} {M₂ : ι₂ → Type w₂}
[inst_5 : (i₁ : ι₁) → AddCommMonoid (M₁ i₁)] [inst_6 : (i₂ : ι₂) → AddCommMonoid (M₂ i₂)]
[inst_7 : (i₁ : ι₁) → Module R (M₁ i₁)] [inst_8 : (i₂ : ι₂) → Module R (M₂ i₂)]
[inst_9 : (i₁ : ι₁) → Module S (M₁ i₁)] [inst_10 : ∀ (i₁ : ι₁), IsScalarTower R S (M₁ i₁)] (i₁ : ι₁) (m₁ : M₁ i₁)
(i₂ : ι₂) (m₂ : M₂ i₂),
(TensorProduct.directSum R S M₁ M₂).symm
((DirectSum.lof S (ι₁ × ι₂) (fun i ↦ TensorProduct R (M₁ i.1) (M₂ i.2)) (i₁, i₂)) (m₁ ⊗ₜ[R] m₂)) =
(DirectSum.lof S ι₁ M₁ i₁) m₁ ⊗ₜ[R] (DirectSum.lof R ι₂ M₂ i₂) m₂
theorem TensorProduct.directSumLeft_tmul_lof E0 #
∀ (R : Type u) [inst : CommSemiring R] (S : Type u_1) [inst_1 : Semiring S] [inst_2 : Algebra R S] {ι₁ : Type v₁}
[inst_3 : DecidableEq ι₁] {M₁ : ι₁ → Type w₁} {M₂' : Type w₂'} [inst_4 : (i₁ : ι₁) → AddCommMonoid (M₁ i₁)]
[inst_5 : AddCommMonoid M₂'] [inst_6 : (i₁ : ι₁) → Module R (M₁ i₁)] [inst_7 : Module R M₂']
[inst_8 : (i₁ : ι₁) → Module S (M₁ i₁)] [inst_9 : ∀ (i₁ : ι₁), IsScalarTower R S (M₁ i₁)] (i : ι₁) (x : M₁ i)
(y : M₂'),
(TensorProduct.directSumLeft R S M₁ M₂') ((DirectSum.lof S ι₁ M₁ i) x ⊗ₜ[R] y) =
(DirectSum.lof S ι₁ (fun i ↦ TensorProduct R (M₁ i) M₂') i) (x ⊗ₜ[R] y)
theorem TensorProduct.directSumLeft_symm_lof_tmul E0 #
∀ (R : Type u) [inst : CommSemiring R] (S : Type u_1) [inst_1 : Semiring S] [inst_2 : Algebra R S] {ι₁ : Type v₁}
[inst_3 : DecidableEq ι₁] {M₁ : ι₁ → Type w₁} {M₂' : Type w₂'} [inst_4 : (i₁ : ι₁) → AddCommMonoid (M₁ i₁)]
[inst_5 : AddCommMonoid M₂'] [inst_6 : (i₁ : ι₁) → Module R (M₁ i₁)] [inst_7 : Module R M₂']
[inst_8 : (i₁ : ι₁) → Module S (M₁ i₁)] [inst_9 : ∀ (i₁ : ι₁), IsScalarTower R S (M₁ i₁)] (i : ι₁) (x : M₁ i)
(y : M₂'),
(TensorProduct.directSumLeft R S M₁ M₂').symm
((DirectSum.lof S ι₁ (fun i ↦ TensorProduct R (M₁ i) M₂') i) (x ⊗ₜ[R] y)) =
(DirectSum.lof S ι₁ M₁ i) x ⊗ₜ[R] y
theorem TensorProduct.directSumLeft_tmul E0 #
∀ (R : Type u) [inst : CommSemiring R] (S : Type u_1) [inst_1 : Semiring S] [inst_2 : Algebra R S] {ι₁ : Type v₁}
[inst_3 : DecidableEq ι₁] {M₁ : ι₁ → Type w₁} {M₂' : Type w₂'} [inst_4 : (i₁ : ι₁) → AddCommMonoid (M₁ i₁)]
[inst_5 : AddCommMonoid M₂'] [inst_6 : (i₁ : ι₁) → Module R (M₁ i₁)] [inst_7 : Module R M₂']
[inst_8 : (i₁ : ι₁) → Module S (M₁ i₁)] [inst_9 : ∀ (i₁ : ι₁), IsScalarTower R S (M₁ i₁)]
(m : DirectSum ι₁ fun i ↦ M₁ i) (n : M₂') (i : ι₁),
((TensorProduct.directSumLeft R S M₁ M₂') (m ⊗ₜ[R] n)) i = m i ⊗ₜ[R] n
theorem TensorProduct.directSumLeft_symm_of E1 #
∀ (R : Type u) [inst : CommSemiring R] (S : Type u_1) [inst_1 : Semiring S] [inst_2 : Algebra R S] {ι₁ : Type v₁}
[inst_3 : DecidableEq ι₁] {M₁ : ι₁ → Type w₁} {M₂' : Type w₂'} [inst_4 : (i₁ : ι₁) → AddCommMonoid (M₁ i₁)]
[inst_5 : AddCommMonoid M₂'] [inst_6 : (i₁ : ι₁) → Module R (M₁ i₁)] [inst_7 : Module R M₂']
[inst_8 : (i₁ : ι₁) → Module S (M₁ i₁)] [inst_9 : ∀ (i₁ : ι₁), IsScalarTower R S (M₁ i₁)] {i : ι₁}
(x : TensorProduct R (M₁ i) M₂'),
(TensorProduct.directSumLeft R S M₁ M₂').symm ((DirectSum.of (fun i ↦ TensorProduct R (M₁ i) M₂') i) x) =
(LinearMap.rTensor M₂' (DirectSum.lof R ι₁ M₁ i)) x
theorem TensorProduct.directSumRight_tmul_lof E0 #
∀ (R : Type u) [inst : CommSemiring R] (S : Type u_1) [inst_1 : Semiring S] [inst_2 : Algebra R S] {ι₂ : Type v₂}
[inst_3 : DecidableEq ι₂] {M₁' : Type w₁'} {M₂ : ι₂ → Type w₂} [inst_4 : AddCommMonoid M₁']
[inst_5 : (i₂ : ι₂) → AddCommMonoid (M₂ i₂)] [inst_6 : Module R M₁'] [inst_7 : (i₂ : ι₂) → Module R (M₂ i₂)]
[inst_8 : Module S M₁'] [inst_9 : IsScalarTower R S M₁'] (x : M₁') (i : ι₂) (y : M₂ i),
(TensorProduct.directSumRight R S M₁' M₂) (x ⊗ₜ[R] (DirectSum.lof R ι₂ M₂ i) y) =
(DirectSum.lof S ι₂ (fun i ↦ TensorProduct R M₁' (M₂ i)) i) (x ⊗ₜ[R] y)
theorem TensorProduct.directSumRight_symm_lof_tmul E0 #
∀ (R : Type u) [inst : CommSemiring R] (S : Type u_1) [inst_1 : Semiring S] [inst_2 : Algebra R S] {ι₂ : Type v₂}
[inst_3 : DecidableEq ι₂] {M₁' : Type w₁'} {M₂ : ι₂ → Type w₂} [inst_4 : AddCommMonoid M₁']
[inst_5 : (i₂ : ι₂) → AddCommMonoid (M₂ i₂)] [inst_6 : Module R M₁'] [inst_7 : (i₂ : ι₂) → Module R (M₂ i₂)]
[inst_8 : Module S M₁'] [inst_9 : IsScalarTower R S M₁'] (x : M₁') (i : ι₂) (y : M₂ i),
(TensorProduct.directSumRight R S M₁' M₂).symm
((DirectSum.lof S ι₂ (fun i ↦ TensorProduct R M₁' (M₂ i)) i) (x ⊗ₜ[R] y)) =
x ⊗ₜ[R] (DirectSum.lof R ι₂ M₂ i) y
theorem TensorProduct.directSumRight_comp_rTensor E1 #
∀ (R : Type u) [inst : CommSemiring R] {ι₁ : Type v₁} [inst_1 : DecidableEq ι₁] {M₁ : ι₁ → Type w₁} {M₁' : Type w₁'}
{M₂' : Type w₂'} [inst_2 : (i₁ : ι₁) → AddCommMonoid (M₁ i₁)] [inst_3 : AddCommMonoid M₁']
[inst_4 : AddCommMonoid M₂'] [inst_5 : (i₁ : ι₁) → Module R (M₁ i₁)] [inst_6 : Module R M₁'] [inst_7 : Module R M₂']
(f : M₁' →ₗ[R] M₂'),
↑(TensorProduct.directSumRight R R M₂' M₁) ∘ₗ LinearMap.rTensor (DirectSum ι₁ fun i ↦ M₁ i) f =
(DirectSum.lmap fun x ↦ LinearMap.rTensor (M₁ x) f) ∘ₗ ↑(TensorProduct.directSumRight R R M₁' M₁)
theorem TensorProduct.directSumRight_tmul E0 #
∀ (R : Type u) [inst : CommSemiring R] (S : Type u_1) [inst_1 : Semiring S] [inst_2 : Algebra R S] {ι₂ : Type v₂}
[inst_3 : DecidableEq ι₂] {M₁' : Type w₁'} {M₂ : ι₂ → Type w₂} [inst_4 : AddCommMonoid M₁']
[inst_5 : (i₂ : ι₂) → AddCommMonoid (M₂ i₂)] [inst_6 : Module R M₁'] [inst_7 : (i₂ : ι₂) → Module R (M₂ i₂)]
[inst_8 : Module S M₁'] [inst_9 : IsScalarTower R S M₁'] (m : M₁') (n : DirectSum ι₂ fun i ↦ M₂ i) (i : ι₂),
((TensorProduct.directSumRight R S M₁' M₂) (m ⊗ₜ[R] n)) i = m ⊗ₜ[R] n i
theorem TensorProduct.restrictScalar_directSumRight E1 #
∀ (R : Type u) [inst : CommSemiring R] (S : Type u_2) [inst_1 : Semiring S] [inst_2 : Algebra R S] {ι₂ : Type v₂}
[inst_3 : DecidableEq ι₂] {M₁' : Type w₁'} {M₂ : ι₂ → Type w₂} [inst_4 : AddCommMonoid M₁']
[inst_5 : (i₂ : ι₂) → AddCommMonoid (M₂ i₂)] [inst_6 : Module R M₁'] [inst_7 : (i₂ : ι₂) → Module R (M₂ i₂)]
[inst_8 : Module S M₁'] [inst_9 : IsScalarTower R S M₁'] (S₀ : Type u_1) [inst_10 : CommSemiring S₀]
[inst_11 : Algebra R S₀] [inst_12 : Algebra S₀ S] [inst_13 : Module S₀ M₁'] [inst_14 : IsScalarTower R S₀ M₁']
[inst_15 : IsScalarTower S₀ S M₁'],
LinearEquiv.restrictScalars S₀ (TensorProduct.directSumRight R S M₁' M₂) = TensorProduct.directSumRight R S₀ M₁' M₂
theorem TensorProduct.coe_directSumRight E0 #
∀ (R : Type u) [inst : CommSemiring R] (S : Type u_2) [inst_1 : Semiring S] [inst_2 : Algebra R S] {ι₂ : Type v₂}
[inst_3 : DecidableEq ι₂] {M₁' : Type w₁'} {M₂ : ι₂ → Type w₂} [inst_4 : AddCommMonoid M₁']
[inst_5 : (i₂ : ι₂) → AddCommMonoid (M₂ i₂)] [inst_6 : Module R M₁'] [inst_7 : (i₂ : ι₂) → Module R (M₂ i₂)]
[inst_8 : Module S M₁'] [inst_9 : IsScalarTower R S M₁'],
⇑(TensorProduct.directSumRight R S M₁' M₂) = ⇑(TensorProduct.directSumRight R R M₁' M₂)