The areas / V08. Multilinear algebra and forms
Mathlib.LinearAlgebra.TensorProduct.Pi
16 declarations. Mathlib docs · Source
def TensorProduct.piRightHomBil E1 #
(R : Type u_1) →
[inst : CommSemiring R] →
(S : Type u_2) →
[inst_1 : CommSemiring S] →
[inst_2 : Algebra R S] →
(N : Type u_3) →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R N] →
[inst_5 : Module S N] →
[inst_6 : IsScalarTower R S N] →
{ι : Type u_4} →
(M : ι → Type u_5) →
[inst_7 : (i : ι) → AddCommMonoid (M i)] →
[inst_8 : (i : ι) → Module R (M i)] →
N →ₗ[S] ((i : ι) → M i) →ₗ[R] (i : ι) → TensorProduct R N (M i)
(Implementation): Bilinear map for defining TensorProduct.piRightHom.
def TensorProduct.piRightHom E1 #
(R : Type u_1) →
[inst : CommSemiring R] →
(S : Type u_2) →
[inst_1 : CommSemiring S] →
[inst_2 : Algebra R S] →
(N : Type u_3) →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R N] →
[inst_5 : Module S N] →
[inst_6 : IsScalarTower R S N] →
{ι : Type u_4} →
(M : ι → Type u_5) →
[inst_7 : (i : ι) → AddCommMonoid (M i)] →
[inst_8 : (i : ι) → Module R (M i)] →
TensorProduct R N ((i : ι) → M i) →ₗ[S] (i : ι) → TensorProduct R N (M i)
For any R-module N, index type ι and family of R-modules Mᵢ, there is a natural
linear map N ⊗[R] (∀ i, M i) →ₗ ∀ i, N ⊗[R] M i. This map is an isomorphism if ι is finite.
theorem TensorProduct.piRightHom_tmul E0 #
∀ (R : Type u_1) [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (N : Type u_3)
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] [inst_5 : Module S N] [inst_6 : IsScalarTower R S N] {ι : Type u_4}
(M : ι → Type u_5) [inst_7 : (i : ι) → AddCommMonoid (M i)] [inst_8 : (i : ι) → Module R (M i)] (x : N)
(f : (i : ι) → M i), (TensorProduct.piRightHom R S N M) (x ⊗ₜ[R] f) = fun j ↦ x ⊗ₜ[R] f j
def TensorProduct.piRightInv E1 #
(R : Type u_1) →
[inst : CommSemiring R] →
(S : Type u_2) →
[inst_1 : CommSemiring S] →
[inst_2 : Algebra R S] →
(N : Type u_3) →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R N] →
[inst_5 : Module S N] →
[inst_6 : IsScalarTower R S N] →
{ι : Type u_4} →
(M : ι → Type u_5) →
[inst_7 : (i : ι) → AddCommMonoid (M i)] →
[inst_8 : (i : ι) → Module R (M i)] →
[Fintype ι] →
[DecidableEq ι] →
((i : ι) → TensorProduct R N (M i)) →ₗ[S] TensorProduct R N ((i : ι) → M i)
(Implementation): Inverse for TensorProduct.piRight.
def TensorProduct.piRight E1 #
(R : Type u_1) →
[inst : CommSemiring R] →
(S : Type u_2) →
[inst_1 : CommSemiring S] →
[inst_2 : Algebra R S] →
(N : Type u_3) →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R N] →
[inst_5 : Module S N] →
[inst_6 : IsScalarTower R S N] →
{ι : Type u_4} →
(M : ι → Type u_5) →
[inst_7 : (i : ι) → AddCommMonoid (M i)] →
[inst_8 : (i : ι) → Module R (M i)] →
[Fintype ι] →
[DecidableEq ι] →
TensorProduct R N ((i : ι) → M i) ≃ₗ[S] (i : ι) → TensorProduct R N (M i)
Tensor product commutes with finite products on the right.
theorem TensorProduct.piRight_apply E0 #
∀ (R : Type u_1) [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (N : Type u_3)
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] [inst_5 : Module S N] [inst_6 : IsScalarTower R S N] {ι : Type u_4}
(M : ι → Type u_5) [inst_7 : (i : ι) → AddCommMonoid (M i)] [inst_8 : (i : ι) → Module R (M i)] [inst_9 : Fintype ι]
[inst_10 : DecidableEq ι] (x : TensorProduct R N ((i : ι) → M i)),
(TensorProduct.piRight R S N M) x = (TensorProduct.piRightHom R S N M) x
theorem TensorProduct.piRight_symm_apply E0 #
∀ (R : Type u_1) [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (N : Type u_3)
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] [inst_5 : Module S N] [inst_6 : IsScalarTower R S N] {ι : Type u_4}
(M : ι → Type u_5) [inst_7 : (i : ι) → AddCommMonoid (M i)] [inst_8 : (i : ι) → Module R (M i)] [inst_9 : Fintype ι]
[inst_10 : DecidableEq ι] (x : N) (m : (i : ι) → M i),
((TensorProduct.piRight R S N M).symm fun i ↦ x ⊗ₜ[R] m i) = x ⊗ₜ[R] m
theorem TensorProduct.piRight_symm_single E0 #
∀ (R : Type u_1) [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (N : Type u_3)
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] [inst_5 : Module S N] [inst_6 : IsScalarTower R S N] {ι : Type u_4}
(M : ι → Type u_5) [inst_7 : (i : ι) → AddCommMonoid (M i)] [inst_8 : (i : ι) → Module R (M i)] [inst_9 : Fintype ι]
[inst_10 : DecidableEq ι] (x : N) (i : ι) (m : M i),
(TensorProduct.piRight R S N M).symm (Pi.single i (x ⊗ₜ[R] m)) = x ⊗ₜ[R] Pi.single i m
def TensorProduct.piLeft E1 #
(R : Type u_1) →
[inst : CommSemiring R] →
(N : Type u_3) →
[inst_1 : AddCommMonoid N] →
[inst_2 : Module R N] →
{ι : Type u_4} →
(M : ι → Type u_5) →
[inst_3 : (i : ι) → AddCommMonoid (M i)] →
[inst_4 : (i : ι) → Module R (M i)] →
[Fintype ι] →
[DecidableEq ι] → TensorProduct R ((i : ι) → M i) N ≃ₗ[R] (i : ι) → TensorProduct R (M i) N
Tensor product commutes with finite products on the left.
TODO: generalize to S-linear.
def TensorProduct.piScalarRightHomBil E1 #
(R : Type u_1) →
[inst : CommSemiring R] →
(S : Type u_2) →
[inst_1 : CommSemiring S] →
[inst_2 : Algebra R S] →
(N : Type u_3) →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R N] →
[inst_5 : Module S N] → [inst_6 : IsScalarTower R S N] → (ι : Type u_4) → N →ₗ[S] (ι → R) →ₗ[R] ι → N
Internal implementation detail: we should make this private.
def TensorProduct.piScalarRightHom E1 #
(R : Type u_1) →
[inst : CommSemiring R] →
(S : Type u_2) →
[inst_1 : CommSemiring S] →
[inst_2 : Algebra R S] →
(N : Type u_3) →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R N] →
[inst_5 : Module S N] →
[inst_6 : IsScalarTower R S N] → (ι : Type u_4) → TensorProduct R N (ι → R) →ₗ[S] ι → N
For any R-module N and index type ι, there is a natural
linear map N ⊗[R] (ι → R) →ₗ (ι → N). This map is an isomorphism if ι is finite.
theorem TensorProduct.piScalarRightHom_tmul E0 #
∀ (R : Type u_1) [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (N : Type u_3)
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] [inst_5 : Module S N] [inst_6 : IsScalarTower R S N] (ι : Type u_4)
(x : N) (f : ι → R), (TensorProduct.piScalarRightHom R S N ι) (x ⊗ₜ[R] f) = fun j ↦ f j • x
def TensorProduct.piScalarRightInv E1 #
(R : Type u_1) →
[inst : CommSemiring R] →
(S : Type u_2) →
[inst_1 : CommSemiring S] →
[inst_2 : Algebra R S] →
(N : Type u_3) →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R N] →
[inst_5 : Module S N] →
[inst_6 : IsScalarTower R S N] →
(ι : Type u_4) → [Fintype ι] → [DecidableEq ι] → (ι → N) →ₗ[S] TensorProduct R N (ι → R)
(Implementation): Inverse for TensorProduct.piScalarRight.
def TensorProduct.piScalarRight E1 #
(R : Type u_1) →
[inst : CommSemiring R] →
(S : Type u_2) →
[inst_1 : CommSemiring S] →
[inst_2 : Algebra R S] →
(N : Type u_3) →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R N] →
[inst_5 : Module S N] →
[inst_6 : IsScalarTower R S N] →
(ι : Type u_4) → [Fintype ι] → [DecidableEq ι] → TensorProduct R N (ι → R) ≃ₗ[S] ι → N
For any R-module N and finite index type ι, N ⊗[R] (ι → R) is canonically
isomorphic to ι → N.
theorem TensorProduct.piScalarRight_apply E0 #
∀ (R : Type u_1) [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (N : Type u_3)
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] [inst_5 : Module S N] [inst_6 : IsScalarTower R S N] (ι : Type u_4)
[inst_7 : Fintype ι] [inst_8 : DecidableEq ι] (x : TensorProduct R N (ι → R)),
(TensorProduct.piScalarRight R S N ι) x = (TensorProduct.piScalarRightHom R S N ι) x
theorem TensorProduct.piScalarRight_symm_single E0 #
∀ (R : Type u_1) [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (N : Type u_3)
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] [inst_5 : Module S N] [inst_6 : IsScalarTower R S N] (ι : Type u_4)
[inst_7 : Fintype ι] [inst_8 : DecidableEq ι] (x : N) (i : ι),
(TensorProduct.piScalarRight R S N ι).symm (Pi.single i x) = x ⊗ₜ[R] Pi.single i 1