The areas / V08. Multilinear algebra and forms
Mathlib.LinearAlgebra.Multilinear.TensorProduct
9 declarations. Mathlib docs · Source
def MultilinearMap.domCoprodDep E1 #
{R : Type u_1} →
{S : Type u_2} →
{ι₁ : Type u_3} →
{ι₂ : Type u_4} →
[inst : Semiring R] →
[inst_1 : CommSemiring S] →
{σ : R →+* S} →
{N₁ : Type u_7} →
[inst_2 : AddCommMonoid N₁] →
[inst_3 : Module S N₁] →
{N₂ : Type u_8} →
[inst_4 : AddCommMonoid N₂] →
[inst_5 : Module S N₂] →
{N : ι₁ ⊕ ι₂ → Type u_9} →
[inst_6 : (i : ι₁ ⊕ ι₂) → AddCommMonoid (N i)] →
[inst_7 : (i : ι₁ ⊕ ι₂) → Module R (N i)] →
((Π (i₁ : ι₁), N (Sum.inl i₁)) →ₘₛₗ[σ] N₁) →
((Π (i₂ : ι₂), N (Sum.inr i₂)) →ₘₛₗ[σ] N₂) →
(Π (i : ι₁ ⊕ ι₂), N i) →ₘₛₗ[σ] TensorProduct S N₁ N₂
Given a family of modules N indexed by a type ι₁ ⊕ ι₂,
a multilinear map from the modules N (.inl i₁) to N₁ and
a multilinear map from the modules N (.inr i₁) to N₂, this
is the induced multilinear map from all the modules N i to N₁ ⊗ N₂.
theorem MultilinearMap.domCoprodDep_apply E0 #
∀ {R : Type u_1} {S : Type u_2} {ι₁ : Type u_3} {ι₂ : Type u_4} [inst : Semiring R] [inst_1 : CommSemiring S]
{σ : R →+* S} {N₁ : Type u_7} [inst_2 : AddCommMonoid N₁] [inst_3 : Module S N₁] {N₂ : Type u_8}
[inst_4 : AddCommMonoid N₂] [inst_5 : Module S N₂] {N : ι₁ ⊕ ι₂ → Type u_9}
[inst_6 : (i : ι₁ ⊕ ι₂) → AddCommMonoid (N i)] [inst_7 : (i : ι₁ ⊕ ι₂) → Module R (N i)]
(a : (Π (i₁ : ι₁), N (Sum.inl i₁)) →ₘₛₗ[σ] N₁) (b : (Π (i₂ : ι₂), N (Sum.inr i₂)) →ₘₛₗ[σ] N₂)
(v : (i : ι₁ ⊕ ι₂) → N i), (a.domCoprodDep b) v = (a fun i₁ ↦ v (Sum.inl i₁)) ⊗ₜ[S] b fun i₂ ↦ v (Sum.inr i₂)
def MultilinearMap.domCoprodDep' E1 #
{R : Type u_1} →
{S : Type u_2} →
{ι₁ : Type u_3} →
{ι₂ : Type u_4} →
[inst : Semiring R] →
[inst_1 : CommSemiring S] →
{σ : R →+* S} →
{N₁ : Type u_7} →
[inst_2 : AddCommMonoid N₁] →
[inst_3 : Module S N₁] →
{N₂ : Type u_8} →
[inst_4 : AddCommMonoid N₂] →
[inst_5 : Module S N₂] →
{N : ι₁ ⊕ ι₂ → Type u_9} →
[inst_6 : (i : ι₁ ⊕ ι₂) → AddCommMonoid (N i)] →
[inst_7 : (i : ι₁ ⊕ ι₂) → Module R (N i)] →
TensorProduct S ((Π (i₁ : ι₁), N (Sum.inl i₁)) →ₘₛₗ[σ] N₁)
((Π (i₂ : ι₂), N (Sum.inr i₂)) →ₘₛₗ[σ] N₂) →ₗ[S]
(Π (i : ι₁ ⊕ ι₂), N i) →ₘₛₗ[σ] TensorProduct S N₁ N₂
A more bundled version of MultilinearMap.domCoprodDep, as a linear map
from the tensor product of spaces of multilinear maps.
theorem MultilinearMap.domCoprodDep'_apply E0 #
∀ {R : Type u_1} {S : Type u_2} {ι₁ : Type u_3} {ι₂ : Type u_4} [inst : Semiring R] [inst_1 : CommSemiring S]
{σ : R →+* S} {N₁ : Type u_7} [inst_2 : AddCommMonoid N₁] [inst_3 : Module S N₁] {N₂ : Type u_8}
[inst_4 : AddCommMonoid N₂] [inst_5 : Module S N₂] {N : ι₁ ⊕ ι₂ → Type u_9}
[inst_6 : (i : ι₁ ⊕ ι₂) → AddCommMonoid (N i)] [inst_7 : (i : ι₁ ⊕ ι₂) → Module R (N i)]
(a : (Π (i₁ : ι₁), N (Sum.inl i₁)) →ₘₛₗ[σ] N₁) (b : (Π (i₂ : ι₂), N (Sum.inr i₂)) →ₘₛₗ[σ] N₂),
MultilinearMap.domCoprodDep' (a ⊗ₜ[S] b) = a.domCoprodDep b
def MultilinearMap.domCoprod E1 #
{R : Type u_1} →
{S : Type u_2} →
{ι₁ : Type u_3} →
{ι₂ : Type u_4} →
[inst : Semiring R] →
[inst_1 : CommSemiring S] →
{σ : R →+* S} →
{N₁ : Type u_7} →
[inst_2 : AddCommMonoid N₁] →
[inst_3 : Module S N₁] →
{N₂ : Type u_8} →
[inst_4 : AddCommMonoid N₂] →
[inst_5 : Module S N₂] →
{N : Type u_9} →
[inst_6 : AddCommMonoid N] →
[inst_7 : Module R N] →
((ι₁ → N) →ₘₛₗ[σ] N₁) →
((ι₂ → N) →ₘₛₗ[σ] N₂) → (ι₁ ⊕ ι₂ → N) →ₘₛₗ[σ] TensorProduct S N₁ N₂
Given two multilinear maps (ι₁ → N) → N₁ and (ι₂ → N) → N₂, this produces the map
(ι₁ ⊕ ι₂ → N) → N₁ ⊗ N₂ by taking the coproduct of the domain and the tensor product
of the codomain.
This can be thought of as combining Equiv.sumArrowEquivProdArrow.symm with
TensorProduct.map, noting that the two operations can't be separated as the intermediate result
is not a MultilinearMap.
While this can be generalized to work for dependent Π i : ι₁, N'₁ i instead of ι₁ → N, doing so
introduces Sum.elim N'₁ N'₂ types in the result which are difficult to work with and not defeq
to the simple case defined here. See
this zulip thread.
theorem MultilinearMap.domCoprod_apply E0 #
∀ {R : Type u_1} {S : Type u_2} {ι₁ : Type u_3} {ι₂ : Type u_4} [inst : Semiring R] [inst_1 : CommSemiring S]
{σ : R →+* S} {N₁ : Type u_7} [inst_2 : AddCommMonoid N₁] [inst_3 : Module S N₁] {N₂ : Type u_8}
[inst_4 : AddCommMonoid N₂] [inst_5 : Module S N₂] {N : Type u_9} [inst_6 : AddCommMonoid N] [inst_7 : Module R N]
(a : (ι₁ → N) →ₘₛₗ[σ] N₁) (b : (ι₂ → N) →ₘₛₗ[σ] N₂) (v : (i : ι₁ ⊕ ι₂) → (fun a ↦ N) i),
(a.domCoprod b) v = (a fun i₁ ↦ v (Sum.inl i₁)) ⊗ₜ[S] b fun i₂ ↦ v (Sum.inr i₂)
def MultilinearMap.domCoprod' E1 #
{R : Type u_1} →
{S : Type u_2} →
{ι₁ : Type u_3} →
{ι₂ : Type u_4} →
[inst : Semiring R] →
[inst_1 : CommSemiring S] →
{σ : R →+* S} →
{N₁ : Type u_7} →
[inst_2 : AddCommMonoid N₁] →
[inst_3 : Module S N₁] →
{N₂ : Type u_8} →
[inst_4 : AddCommMonoid N₂] →
[inst_5 : Module S N₂] →
{N : Type u_9} →
[inst_6 : AddCommMonoid N] →
[inst_7 : Module R N] →
TensorProduct S ((ι₁ → N) →ₘₛₗ[σ] N₁) ((ι₂ → N) →ₘₛₗ[σ] N₂) →ₗ[S]
(ι₁ ⊕ ι₂ → N) →ₘₛₗ[σ] TensorProduct S N₁ N₂
A more bundled version of MultilinearMap.domCoprod that maps
((ι₁ → N) → N₁) ⊗ ((ι₂ → N) → N₂) to (ι₁ ⊕ ι₂ → N) → N₁ ⊗ N₂.
theorem MultilinearMap.domCoprod'_apply E0 #
∀ {R : Type u_1} {S : Type u_2} {ι₁ : Type u_3} {ι₂ : Type u_4} [inst : Semiring R] [inst_1 : CommSemiring S]
{σ : R →+* S} {N₁ : Type u_7} [inst_2 : AddCommMonoid N₁] [inst_3 : Module S N₁] {N₂ : Type u_8}
[inst_4 : AddCommMonoid N₂] [inst_5 : Module S N₂] {N : Type u_9} [inst_6 : AddCommMonoid N] [inst_7 : Module R N]
(a : (ι₁ → N) →ₘₛₗ[σ] N₁) (b : (ι₂ → N) →ₘₛₗ[σ] N₂), MultilinearMap.domCoprod' (a ⊗ₜ[S] b) = a.domCoprod b
theorem MultilinearMap.domCoprod_domDomCongr_sumCongr E1 #
∀ {R : Type u_1} {S : Type u_2} {ι₁ : Type u_3} {ι₂ : Type u_4} {ι₃ : Type u_5} {ι₄ : Type u_6} [inst : Semiring R]
[inst_1 : CommSemiring S] {σ : R →+* S} {N₁ : Type u_7} [inst_2 : AddCommMonoid N₁] [inst_3 : Module S N₁]
{N₂ : Type u_8} [inst_4 : AddCommMonoid N₂] [inst_5 : Module S N₂] {N : Type u_9} [inst_6 : AddCommMonoid N]
[inst_7 : Module R N] (a : (ι₁ → N) →ₘₛₗ[σ] N₁) (b : (ι₂ → N) →ₘₛₗ[σ] N₂) (σa : ι₁ ≃ ι₃) (σb : ι₂ ≃ ι₄),
MultilinearMap.domDomCongr (σa.sumCongr σb) (a.domCoprod b) =
(MultilinearMap.domDomCongr σa a).domCoprod (MultilinearMap.domDomCongr σb b)
When passed an Equiv.sumCongr, MultilinearMap.domDomCongr distributes over
MultilinearMap.domCoprod.