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 / V07. Linear algebra

Mathlib.Algebra.Module.Presentation.Tensor

13 declarations. Mathlib docs · Source

def Module.Relations.tensor E1 #

{A : Type u} → [inst : CommRing A] → Module.Relations A → Module.Relations A → Module.Relations A

The tensor product of systems of linear equations.

theorem Module.Relations.tensor_R E0 #

∀ {A : Type u} [inst : CommRing A] (relations₁ : Module.Relations A) (relations₂ : Module.Relations A),
  (relations₁.tensor relations₂).R = (relations₁.R × relations₂.G ⊕ relations₁.G × relations₂.R)

theorem Module.Relations.tensor_G E0 #

∀ {A : Type u} [inst : CommRing A] (relations₁ : Module.Relations A) (relations₂ : Module.Relations A),
  (relations₁.tensor relations₂).G = (relations₁.G × relations₂.G)

theorem Module.Relations.tensor_relation E0 #

∀ {A : Type u} [inst : CommRing A] (relations₁ : Module.Relations A) (relations₂ : Module.Relations A)
  (x : relations₁.R × relations₂.G ⊕ relations₁.G × relations₂.R),
  (relations₁.tensor relations₂).relation x =
    match x with
    | Sum.inl (r₁, g₂) => Finsupp.embDomain (Function.Embedding.sectL relations₁.G g₂) (relations₁.relation r₁)
    | Sum.inr (g₁, r₂) => Finsupp.embDomain (Function.Embedding.sectR g₁ relations₂.G) (relations₂.relation r₂)

def Module.Relations.Solution.tensor E1 #

{A : Type u} →
  [inst : CommRing A] →
    {M₁ : Type v₁} →
      {M₂ : Type v₂} →
        [inst_1 : AddCommGroup M₁] →
          [inst_2 : AddCommGroup M₂] →
            [inst_3 : Module A M₁] →
              [inst_4 : Module A M₂] →
                {relations₁ : Module.Relations A} →
                  {relations₂ : Module.Relations A} →
                    relations₁.Solution M₁ →
                      relations₂.Solution M₂ → (relations₁.tensor relations₂).Solution (TensorProduct A M₁ M₂)

Given solutions in M₁ and M₂ to systems of linear equations, this is the obvious solution to the tensor product of these systems in M₁ ⊗[A] M₂.

theorem Module.Relations.Solution.tensor_var E0 #

∀ {A : Type u} [inst : CommRing A] {M₁ : Type v₁} {M₂ : Type v₂} [inst_1 : AddCommGroup M₁] [inst_2 : AddCommGroup M₂]
  [inst_3 : Module A M₁] [inst_4 : Module A M₂] {relations₁ : Module.Relations A} {relations₂ : Module.Relations A}
  (solution₁ : relations₁.Solution M₁) (solution₂ : relations₂.Solution M₂) (x : (relations₁.tensor relations₂).G),
  (solution₁.tensor solution₂).var x =
    match x with
    | (g₁, g₂) => solution₁.var g₁ ⊗ₜ[A] solution₂.var g₂

def Module.Relations.Solution.isPresentationCoreTensor E1 #

{A : Type u} →
  [inst : CommRing A] →
    {M₁ : Type v₁} →
      {M₂ : Type v₂} →
        [inst_1 : AddCommGroup M₁] →
          [inst_2 : AddCommGroup M₂] →
            [inst_3 : Module A M₁] →
              [inst_4 : Module A M₂] →
                {relations₁ : Module.Relations A} →
                  {relations₂ : Module.Relations A} →
                    {solution₁ : relations₁.Solution M₁} →
                      {solution₂ : relations₂.Solution M₂} →
                        solution₁.IsPresentation →
                          solution₂.IsPresentation → (solution₁.tensor solution₂).IsPresentationCore

The tensor product of two modules admits a presentation by generators and relations.

theorem Module.Relations.Solution.IsPresentation.tensor E1 #

∀ {A : Type u} [inst : CommRing A] {M₁ : Type v₁} {M₂ : Type v₂} [inst_1 : AddCommGroup M₁] [inst_2 : AddCommGroup M₂]
  [inst_3 : Module A M₁] [inst_4 : Module A M₂] {relations₁ : Module.Relations A} {relations₂ : Module.Relations A}
  {solution₁ : relations₁.Solution M₁} {solution₂ : relations₂.Solution M₂},
  solution₁.IsPresentation → solution₂.IsPresentation → (solution₁.tensor solution₂).IsPresentation

def Module.Presentation.tensor E1 #

{A : Type u} →
  [inst : CommRing A] →
    {M₁ : Type v₁} →
      {M₂ : Type v₂} →
        [inst_1 : AddCommGroup M₁] →
          [inst_2 : AddCommGroup M₂] →
            [inst_3 : Module A M₁] →
              [inst_4 : Module A M₂] →
                Module.Presentation A M₁ → Module.Presentation A M₂ → Module.Presentation A (TensorProduct A M₁ M₂)

The presentation of the A-module M₁ ⊗[A] M₂ that is deduced from a presentation of M₁ and a presentation of M₂.

theorem Module.Presentation.tensor_R E0 #

∀ {A : Type u} [inst : CommRing A] {M₁ : Type v₁} {M₂ : Type v₂} [inst_1 : AddCommGroup M₁] [inst_2 : AddCommGroup M₂]
  [inst_3 : Module A M₁] [inst_4 : Module A M₂] (pres₁ : Module.Presentation A M₁) (pres₂ : Module.Presentation A M₂),
  (pres₁.tensor pres₂).R = (pres₁.R × pres₂.G ⊕ pres₁.G × pres₂.R)

theorem Module.Presentation.tensor_G E0 #

∀ {A : Type u} [inst : CommRing A] {M₁ : Type v₁} {M₂ : Type v₂} [inst_1 : AddCommGroup M₁] [inst_2 : AddCommGroup M₂]
  [inst_3 : Module A M₁] [inst_4 : Module A M₂] (pres₁ : Module.Presentation A M₁) (pres₂ : Module.Presentation A M₂),
  (pres₁.tensor pres₂).G = (pres₁.G × pres₂.G)

theorem Module.Presentation.tensor_relation E0 #

∀ {A : Type u} [inst : CommRing A] {M₁ : Type v₁} {M₂ : Type v₂} [inst_1 : AddCommGroup M₁] [inst_2 : AddCommGroup M₂]
  [inst_3 : Module A M₁] [inst_4 : Module A M₂] (pres₁ : Module.Presentation A M₁) (pres₂ : Module.Presentation A M₂)
  (x : pres₁.R × pres₂.G ⊕ pres₁.G × pres₂.R),
  (pres₁.tensor pres₂).relation x =
    match x with
    | Sum.inl (r₁, g₂) => Finsupp.embDomain (Function.Embedding.sectL pres₁.G g₂) (pres₁.relation r₁)
    | Sum.inr (g₁, r₂) => Finsupp.embDomain (Function.Embedding.sectR g₁ pres₂.G) (pres₂.relation r₂)

theorem Module.Presentation.tensor_var E0 #

∀ {A : Type u} [inst : CommRing A] {M₁ : Type v₁} {M₂ : Type v₂} [inst_1 : AddCommGroup M₁] [inst_2 : AddCommGroup M₂]
  [inst_3 : Module A M₁] [inst_4 : Module A M₂] (pres₁ : Module.Presentation A M₁) (pres₂ : Module.Presentation A M₂)
  (x : (pres₁.tensor pres₂.toRelations).G),
  (pres₁.tensor pres₂).var x =
    match x with
    | (g₁, g₂) => pres₁.var g₁ ⊗ₜ[A] pres₂.var g₂