The areas / V08. Multilinear algebra and forms
Mathlib.LinearAlgebra.TensorAlgebra.ToTensorPower
20 declarations. Mathlib docs · Source
def TensorPower.toTensorAlgebra E1 #
{R : Type u_1} →
{M : Type u_2} →
[inst : CommSemiring R] →
[inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → {n : ℕ} → TensorPower R n M →ₗ[R] TensorAlgebra R M
The canonical embedding from a tensor power to the tensor algebra
theorem TensorPower.toTensorAlgebra_tprod E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {n : ℕ}
(x : Fin n → M), TensorPower.toTensorAlgebra ((PiTensorProduct.tprod R) x) = (TensorAlgebra.tprod R M n) x
theorem TensorPower.toTensorAlgebra_gOne E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
TensorPower.toTensorAlgebra GradedMonoid.GOne.one = 1
theorem TensorPower.toTensorAlgebra_gMul E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {i j : ℕ}
(a : TensorPower R i M) (b : TensorPower R j M),
TensorPower.toTensorAlgebra (GradedMonoid.GMul.mul a b) =
TensorPower.toTensorAlgebra a * TensorPower.toTensorAlgebra b
theorem TensorPower.toTensorAlgebra_galgebra_toFun E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (r : R),
TensorPower.toTensorAlgebra (DirectSum.GAlgebra.toFun r) = (algebraMap R (TensorAlgebra R M)) r
def TensorAlgebra.ofDirectSum E1 #
{R : Type u_1} →
{M : Type u_2} →
[inst : CommSemiring R] →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] → (DirectSum ℕ fun n ↦ TensorPower R n M) →ₐ[R] TensorAlgebra R M
The canonical map from a direct sum of tensor powers to the tensor algebra.
theorem TensorAlgebra.ofDirectSum_of_tprod E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {n : ℕ}
(x : Fin n → M),
TensorAlgebra.ofDirectSum ((DirectSum.of (fun n ↦ TensorPower R n M) n) ((PiTensorProduct.tprod R) x)) =
(TensorAlgebra.tprod R M n) x
def TensorAlgebra.toDirectSum E1 #
{R : Type u_1} →
{M : Type u_2} →
[inst : CommSemiring R] →
[inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → TensorAlgebra R M →ₐ[R] DirectSum ℕ fun n ↦ TensorPower R n M
The canonical map from the tensor algebra to a direct sum of tensor powers.
theorem TensorAlgebra.toDirectSum_ι E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (x : M),
TensorAlgebra.toDirectSum ((TensorAlgebra.ι R) x) =
(DirectSum.of (fun n ↦ TensorPower R n M) 1) ((PiTensorProduct.tprod R) fun x_1 ↦ x)
theorem TensorAlgebra.ofDirectSum_comp_toDirectSum E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
TensorAlgebra.ofDirectSum.comp TensorAlgebra.toDirectSum = AlgHom.id R (TensorAlgebra R M)
theorem TensorAlgebra.ofDirectSum_toDirectSum E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
(x : TensorAlgebra R M), TensorAlgebra.ofDirectSum (TensorAlgebra.toDirectSum x) = x
theorem TensorAlgebra.mk_reindex_cast E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {n m : ℕ}
(h : n = m) (x : TensorPower R n M),
GradedMonoid.mk m ((PiTensorProduct.reindex R (fun x ↦ M) (Equiv.cast ⋯)) x) = GradedMonoid.mk n x
theorem TensorAlgebra.mk_reindex_fin_cast E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {n m : ℕ}
(h : n = m) (x : TensorPower R n M),
GradedMonoid.mk m ((PiTensorProduct.reindex R (fun x ↦ M) (finCongr h)) x) = GradedMonoid.mk n x
theorem TensorPower.list_prod_gradedMonoid_mk_single E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (n : ℕ)
(x : Fin n → M),
(List.map (fun a ↦ GradedMonoid.mk 1 ((PiTensorProduct.tprod R) fun x_1 ↦ x a)) (List.finRange n)).prod =
GradedMonoid.mk n ((PiTensorProduct.tprod R) x)
The product of tensor products made of a single vector is the same as a single product of all the vectors.
theorem TensorAlgebra.toDirectSum_tensorPower_tprod E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {n : ℕ}
(x : Fin n → M),
TensorAlgebra.toDirectSum ((TensorAlgebra.tprod R M n) x) =
(DirectSum.of (fun i ↦ TensorPower R i M) n) ((PiTensorProduct.tprod R) x)
theorem TensorAlgebra.toDirectSum_comp_ofDirectSum E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
TensorAlgebra.toDirectSum.comp TensorAlgebra.ofDirectSum = AlgHom.id R (DirectSum ℕ fun n ↦ TensorPower R n M)
theorem TensorAlgebra.toDirectSum_ofDirectSum E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
(x : DirectSum ℕ fun n ↦ TensorPower R n M), TensorAlgebra.toDirectSum (TensorAlgebra.ofDirectSum x) = x
def TensorAlgebra.equivDirectSum E1 #
{R : Type u_1} →
{M : Type u_2} →
[inst : CommSemiring R] →
[inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → TensorAlgebra R M ≃ₐ[R] DirectSum ℕ fun n ↦ TensorPower R n M
The tensor algebra is isomorphic to a direct sum of tensor powers.
theorem TensorAlgebra.equivDirectSum_apply E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
(a : TensorAlgebra R M), TensorAlgebra.equivDirectSum a = TensorAlgebra.toDirectSum a
theorem TensorAlgebra.equivDirectSum_symm_apply E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
(a : DirectSum ℕ fun n ↦ TensorPower R n M), TensorAlgebra.equivDirectSum.symm a = TensorAlgebra.ofDirectSum a