The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V08. Multilinear algebra and forms

Mathlib.LinearAlgebra.TensorAlgebra.Basis

9 declarations. Mathlib docs · Source

def TensorAlgebra.equivFreeAlgebra E1 #

{κ : Type uκ} →
  {R : Type uR} →
    {M : Type uM} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] → Module.Basis κ R M → TensorAlgebra R M ≃ₐ[R] FreeAlgebra R κ

A basis provides an algebra isomorphism with the free algebra, replacing each basis vector with its index.

theorem TensorAlgebra.equivFreeAlgebra_ι_apply E0 #

∀ {κ : Type uκ} {R : Type uR} {M : Type uM} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (b : Module.Basis κ R M) (i : κ), (TensorAlgebra.equivFreeAlgebra b) ((TensorAlgebra.ι R) (b i)) = FreeAlgebra.ι R i

theorem TensorAlgebra.equivFreeAlgebra_symm_ι E0 #

∀ {κ : Type uκ} {R : Type uR} {M : Type uM} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (b : Module.Basis κ R M) (i : κ),
  (TensorAlgebra.equivFreeAlgebra b).symm (FreeAlgebra.ι R i) = (TensorAlgebra.ι R) (b i)

def Module.Basis.tensorAlgebra E1 #

{κ : Type uκ} →
  {R : Type uR} →
    {M : Type uM} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] → Module.Basis κ R M → Module.Basis (FreeMonoid κ) R (TensorAlgebra R M)

A basis on M can be lifted to a basis on TensorAlgebra R M

theorem Module.Basis.tensorAlgebra_repr_apply E0 #

∀ {κ : Type uκ} {R : Type uR} {M : Type uM} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (b : Module.Basis κ R M) (x : TensorAlgebra R M),
  b.tensorAlgebra.repr x = (FreeAlgebra.basisFreeMonoid R κ).repr ((TensorAlgebra.equivFreeAlgebra b) x)

instance TensorAlgebra.instModuleFree E0 #

∀ {R : Type uR} {M : Type uM} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [Module.Free R M], Module.Free R (TensorAlgebra R M)

TensorAlgebra R M is free when M is.

instance TensorAlgebra.instNoZeroDivisors E0 #

∀ {R : Type uR} {M : Type uM} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [NoZeroDivisors R] [Module.Free R M], NoZeroDivisors (TensorAlgebra R M)

The TensorAlgebra of a free module over a commutative semiring with no zero-divisors has no zero-divisors.

instance TensorAlgebra.instIsDomain E0 #

∀ {R : Type uR} {M : Type uM} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [IsDomain R]
  [Module.Free R M], IsDomain (TensorAlgebra R M)

The TensorAlgebra of a free module over an integral domain is a domain.

theorem TensorAlgebra.rank_eq E0 #

∀ {R : Type uR} {M : Type uM} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [Nontrivial R]
  [Module.Free R M],
  Module.rank R (TensorAlgebra R M) = Cardinal.lift.{uR, uM} (Cardinal.sum fun n ↦ Module.rank R M ^ n)