The areas / V08. Multilinear algebra and forms
Mathlib.RingTheory.TensorProduct.Free
12 declarations. Mathlib docs · Source
Results on bases of tensor products
In the file we construct a basis for the base change of a module to an algebra,
and deduce that Module.Free is stable under base change.
Main declarations
Algebra.TensorProduct.basis: given a basis of a moduleMover a commutative semiringR, and anR-algebraA, this provides a basis forA ⊗[R] MoverA.Algebra.TensorProduct.instFree: ifMis free, then so isA ⊗[R] M.
def Algebra.TensorProduct.basisAux E0 #
{R : Type u_1} →
(A : Type u_2) →
{M : Type uM} →
{ι : Type uι} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
[inst_3 : AddCommMonoid M] → [inst_4 : Module R M] → Module.Basis ι R M → TensorProduct R A M ≃ₗ[R] ι →₀ A
Given an R-algebra A and an R-basis of M, this is an R-linear isomorphism
A ⊗[R] M ≃ (ι →₀ A) (which is in fact A-linear).
theorem Algebra.TensorProduct.basisAux_tmul E1 #
∀ {R : Type u_1} {A : Type u_2} {M : Type uM} {ι : Type uι} [inst : CommSemiring R] [inst_1 : Semiring A]
[inst_2 : Algebra R A] [inst_3 : AddCommMonoid M] [inst_4 : Module R M] (b : Module.Basis ι R M) (a : A) (m : M),
(Algebra.TensorProduct.basisAux A b) (a ⊗ₜ[R] m) = a • Finsupp.mapRange ⇑(algebraMap R A) ⋯ (b.repr m)
theorem Algebra.TensorProduct.basisAux_map_smul E1 #
∀ {R : Type u_1} {A : Type u_2} {M : Type uM} {ι : Type uι} [inst : CommSemiring R] [inst_1 : Semiring A]
[inst_2 : Algebra R A] [inst_3 : AddCommMonoid M] [inst_4 : Module R M] (b : Module.Basis ι R M) (a : A)
(x : TensorProduct R A M), (Algebra.TensorProduct.basisAux A b) (a • x) = a • (Algebra.TensorProduct.basisAux A b) x
def Algebra.TensorProduct.basis E3 #
{R : Type u_1} →
(A : Type u_2) →
{M : Type uM} →
{ι : Type uι} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
[inst_3 : AddCommMonoid M] →
[inst_4 : Module R M] → Module.Basis ι R M → Module.Basis ι A (TensorProduct R A M)
Given an R-algebra A, this is the A-basis of A ⊗[R] M induced by an R-basis of M.
theorem Algebra.TensorProduct.basis_repr_tmul E0 #
∀ {R : Type u_1} {A : Type u_2} {M : Type uM} {ι : Type uι} [inst : CommSemiring R] [inst_1 : Semiring A]
[inst_2 : Algebra R A] [inst_3 : AddCommMonoid M] [inst_4 : Module R M] (b : Module.Basis ι R M) (a : A) (m : M),
(Algebra.TensorProduct.basis A b).repr (a ⊗ₜ[R] m) = a • Finsupp.mapRange ⇑(algebraMap R A) ⋯ (b.repr m)
theorem Algebra.TensorProduct.basis_repr_symm_apply E0 #
∀ {R : Type u_1} {A : Type u_2} {M : Type uM} {ι : Type uι} [inst : CommSemiring R] [inst_1 : Semiring A]
[inst_2 : Algebra R A] [inst_3 : AddCommMonoid M] [inst_4 : Module R M] (b : Module.Basis ι R M) (a : A) (i : ι),
((Algebra.TensorProduct.basis A b).repr.symm fun₀ | i => a) = a ⊗ₜ[R] b.repr.symm fun₀ | i => 1
theorem Algebra.TensorProduct.basis_apply E0 #
∀ {R : Type u_1} {A : Type u_2} {M : Type uM} {ι : Type uι} [inst : CommSemiring R] [inst_1 : Semiring A]
[inst_2 : Algebra R A] [inst_3 : AddCommMonoid M] [inst_4 : Module R M] (b : Module.Basis ι R M) (i : ι),
(Algebra.TensorProduct.basis A b) i = 1 ⊗ₜ[R] b i
theorem Algebra.TensorProduct.basis_repr_symm_apply' E1 #
∀ {R : Type u_1} {A : Type u_2} {M : Type uM} {ι : Type uι} [inst : CommSemiring R] [inst_1 : Semiring A]
[inst_2 : Algebra R A] [inst_3 : AddCommMonoid M] [inst_4 : Module R M] (b : Module.Basis ι R M) (a : A) (i : ι),
a • (Algebra.TensorProduct.basis A b) i = a ⊗ₜ[R] b i
theorem Module.Basis.baseChange_linearMap E1 #
∀ {R : Type u_1} {M : Type uM} {ι : Type uι} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
[inst_3 : Fintype ι] {ι' : Type u_3} {N : Type u_4} [inst_4 : Fintype ι'] [inst_5 : DecidableEq ι']
[inst_6 : AddCommMonoid N] [inst_7 : Module R N] (A : Type u_5) [inst_8 : CommSemiring A] [inst_9 : Algebra R A]
(b : Module.Basis ι R M) (b' : Module.Basis ι' R N) (ij : ι × ι'),
LinearMap.baseChange A ((b'.linearMap b) ij) =
((Algebra.TensorProduct.basis A b').linearMap (Algebra.TensorProduct.basis A b)) ij
theorem Module.Basis.baseChange_end E1 #
∀ {R : Type u_1} {M : Type uM} {ι : Type uι} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
[inst_3 : Fintype ι] (A : Type u_5) [inst_4 : CommSemiring A] [inst_5 : Algebra R A] [inst_6 : DecidableEq ι]
(b : Module.Basis ι R M) (ij : ι × ι), LinearMap.baseChange A (b.end ij) = (Algebra.TensorProduct.basis A b).end ij
instance Algebra.TensorProduct.instFree E3 #
∀ (R : Type u_3) (A : Type u_4) (M : Type u_5) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
[Module.Free R M] [inst_4 : CommSemiring A] [inst_5 : Algebra R A], Module.Free A (TensorProduct R A M)
theorem LinearMap.toMatrix_baseChange E0 #
∀ {R : Type u_1} {M₁ : Type u_2} {M₂ : Type u_3} {ι : Type u_4} {ι₂ : Type u_5} (A : Type u_6) [inst : Fintype ι]
[inst_1 : Finite ι₂] [inst_2 : DecidableEq ι] [inst_3 : CommSemiring R] [inst_4 : CommSemiring A]
[inst_5 : Algebra R A] [inst_6 : AddCommMonoid M₁] [inst_7 : Module R M₁] [inst_8 : AddCommMonoid M₂]
[inst_9 : Module R M₂] (f : M₁ →ₗ[R] M₂) (b₁ : Module.Basis ι R M₁) (b₂ : Module.Basis ι₂ R M₂),
(LinearMap.toMatrix (Algebra.TensorProduct.basis A b₁) (Algebra.TensorProduct.basis A b₂))
(LinearMap.baseChange A f) =
((LinearMap.toMatrix b₁ b₂) f).map ⇑(algebraMap R A)