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.DirectSum

21 declarations. Mathlib docs · Source

def Module.Relations.directSum E1 #

{A : Type u} → [inst : Ring A] → {ι : Type w} → (ι → Module.Relations A) → Module.Relations A

The direct sum operations on Relations A. Given a family relations : ι → Relations A, the type of generators and relations in directSum relations are the corresponding Sigma types.

theorem Module.Relations.directSum_G E0 #

∀ {A : Type u} [inst : Ring A] {ι : Type w} (relations : ι → Module.Relations A),
  (Module.Relations.directSum relations).G = ((i : ι) × (relations i).G)

theorem Module.Relations.directSum_R E0 #

∀ {A : Type u} [inst : Ring A] {ι : Type w} (relations : ι → Module.Relations A),
  (Module.Relations.directSum relations).R = ((i : ι) × (relations i).R)

theorem Module.Relations.directSum_relation E0 #

∀ {A : Type u} [inst : Ring A] {ι : Type w} (relations : ι → Module.Relations A) (x : (i : ι) × (relations i).R),
  (Module.Relations.directSum relations).relation x =
    match x with
    | ⟨i, r⟩ => Finsupp.embDomain (Function.Embedding.sigmaMk i) ((relations i).relation r)

def Module.Relations.Solution.directSumEquiv E1 #

{A : Type u} →
  [inst : Ring A] →
    {ι : Type w} →
      {relations : ι → Module.Relations A} →
        {N : Type v} →
          [inst_1 : AddCommGroup N] →
            [inst_2 : Module A N] →
              (Module.Relations.directSum relations).Solution N ≃ ((i : ι) → (relations i).Solution N)

Given an A-module N and a family relations : ι → Relations A, the data of a solution of Relations.directSum relations in N is equivalent to the data of a family of solutions of relations i in N for all i.

theorem Module.Relations.Solution.directSumEquiv_apply_var E0 #

∀ {A : Type u} [inst : Ring A] {ι : Type w} {relations : ι → Module.Relations A} {N : Type v} [inst_1 : AddCommGroup N]
  [inst_2 : Module A N] (s : (Module.Relations.directSum relations).Solution N) (i : ι) (g : (relations i).G),
  (Module.Relations.Solution.directSumEquiv s i).var g = s.var ⟨i, g⟩

theorem Module.Relations.Solution.directSumEquiv_symm_apply_var E0 #

∀ {A : Type u} [inst : Ring A] {ι : Type w} {relations : ι → Module.Relations A} {N : Type v} [inst_1 : AddCommGroup N]
  [inst_2 : Module A N] (t : (i : ι) → (relations i).Solution N) (x : (Module.Relations.directSum relations).G),
  (Module.Relations.Solution.directSumEquiv.symm t).var x =
    match x with
    | ⟨i, g⟩ => (t i).var g

def Module.Relations.Solution.directSum E1 #

{A : Type u} →
  [inst : Ring A] →
    {ι : Type w} →
      [DecidableEq ι] →
        {relations : ι → Module.Relations A} →
          {M : ι → Type v} →
            [inst_2 : (i : ι) → AddCommGroup (M i)] →
              [inst_3 : (i : ι) → Module A (M i)] →
                ((i : ι) → (relations i).Solution (M i)) →
                  (Module.Relations.directSum relations).Solution (DirectSum ι fun i ↦ M i)

Given solution : ∀ (i : ι), (relations i).Solution (M i), this is the canonical solution of Relations.directSum relations in ⨁ i, M i.

theorem Module.Relations.Solution.directSum_var E0 #

∀ {A : Type u} [inst : Ring A] {ι : Type w} [inst_1 : DecidableEq ι] {relations : ι → Module.Relations A}
  {M : ι → Type v} [inst_2 : (i : ι) → AddCommGroup (M i)] [inst_3 : (i : ι) → Module A (M i)]
  (solution : (i : ι) → (relations i).Solution (M i)) (i : ι) (g : (relations i).G),
  (Module.Relations.Solution.directSum solution).var ⟨i, g⟩ = (DirectSum.lof A ι M i) ((solution i).var g)

def Module.Relations.Solution.IsPresentation.directSum.isRepresentationCore E1 #

{A : Type u} →
  [inst : Ring A] →
    {ι : Type w} →
      [inst_1 : DecidableEq ι] →
        {relations : ι → Module.Relations A} →
          {M : ι → Type v} →
            [inst_2 : (i : ι) → AddCommGroup (M i)] →
              [inst_3 : (i : ι) → Module A (M i)] →
                {solution : (i : ι) → (relations i).Solution (M i)} →
                  (∀ (i : ι), (solution i).IsPresentation) →
                    (Module.Relations.Solution.directSum solution).IsPresentationCore

The direct sum admits a presentation by generators and relations.

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

∀ {A : Type u} [inst : Ring A] {ι : Type w} [inst_1 : DecidableEq ι] {relations : ι → Module.Relations A}
  {M : ι → Type v} [inst_2 : (i : ι) → AddCommGroup (M i)] [inst_3 : (i : ι) → Module A (M i)]
  {solution : (i : ι) → (relations i).Solution (M i)},
  (∀ (i : ι), (solution i).IsPresentation) → (Module.Relations.Solution.directSum solution).IsPresentation

def Module.Presentation.directSum E1 #

{A : Type u} →
  [inst : Ring A] →
    {ι : Type w} →
      [DecidableEq ι] →
        {M : ι → Type v} →
          [inst_2 : (i : ι) → AddCommGroup (M i)] →
            [inst_3 : (i : ι) → Module A (M i)] →
              ((i : ι) → Module.Presentation A (M i)) → Module.Presentation A (DirectSum ι fun i ↦ M i)

The obvious presentation of the module ⨁ i, M i that is obtained from the data of presentations of the module M i for each i.

theorem Module.Presentation.directSum_relation E0 #

∀ {A : Type u} [inst : Ring A] {ι : Type w} [inst_1 : DecidableEq ι] {M : ι → Type v}
  [inst_2 : (i : ι) → AddCommGroup (M i)] [inst_3 : (i : ι) → Module A (M i)]
  (pres : (i : ι) → Module.Presentation A (M i)) (x : (i : ι) × ((fun i ↦ (pres i).toRelations) i).R),
  (Module.Presentation.directSum pres).relation x =
    Finsupp.embDomain (Function.Embedding.sigmaMk x.fst) ((pres x.fst).relation x.snd)

theorem Module.Presentation.directSum_G E0 #

∀ {A : Type u} [inst : Ring A] {ι : Type w} [inst_1 : DecidableEq ι] {M : ι → Type v}
  [inst_2 : (i : ι) → AddCommGroup (M i)] [inst_3 : (i : ι) → Module A (M i)]
  (pres : (i : ι) → Module.Presentation A (M i)), (Module.Presentation.directSum pres).G = ((i : ι) × (pres i).G)

theorem Module.Presentation.directSum_R E0 #

∀ {A : Type u} [inst : Ring A] {ι : Type w} [inst_1 : DecidableEq ι] {M : ι → Type v}
  [inst_2 : (i : ι) → AddCommGroup (M i)] [inst_3 : (i : ι) → Module A (M i)]
  (pres : (i : ι) → Module.Presentation A (M i)), (Module.Presentation.directSum pres).R = ((i : ι) × (pres i).R)

theorem Module.Presentation.directSum_var E0 #

∀ {A : Type u} [inst : Ring A] {ι : Type w} [inst_1 : DecidableEq ι] {M : ι → Type v}
  [inst_2 : (i : ι) → AddCommGroup (M i)] [inst_3 : (i : ι) → Module A (M i)]
  (pres : (i : ι) → Module.Presentation A (M i)) (i : ι) (g : (pres i).G),
  (Module.Presentation.directSum pres).var ⟨i, g⟩ = (DirectSum.lof A ι M i) ((pres i).var g)

def Module.Presentation.finsupp E1 #

{A : Type u} →
  [inst : Ring A] →
    {N : Type v} →
      [inst_1 : AddCommGroup N] →
        [inst_2 : Module A N] →
          Module.Presentation A N → (ι : Type w) → [DecidableEq ι] → [DecidableEq N] → Module.Presentation A (ι →₀ N)

The obvious presentation of the module ι →₀ N that is deduced from a presentation of the module N.

theorem Module.Presentation.finsupp_R E0 #

∀ {A : Type u} [inst : Ring A] {N : Type v} [inst_1 : AddCommGroup N] [inst_2 : Module A N]
  (pres : Module.Presentation A N) (ι : Type w) [inst_3 : DecidableEq ι] [inst_4 : DecidableEq N],
  (pres.finsupp ι).R = ((i : ι) × pres.R)

theorem Module.Presentation.finsupp_G E0 #

∀ {A : Type u} [inst : Ring A] {N : Type v} [inst_1 : AddCommGroup N] [inst_2 : Module A N]
  (pres : Module.Presentation A N) (ι : Type w) [inst_3 : DecidableEq ι] [inst_4 : DecidableEq N],
  (pres.finsupp ι).G = ((i : ι) × pres.G)

theorem Module.Presentation.finsupp_relation E0 #

∀ {A : Type u} [inst : Ring A] {N : Type v} [inst_1 : AddCommGroup N] [inst_2 : Module A N]
  (pres : Module.Presentation A N) (ι : Type w) [inst_3 : DecidableEq ι] [inst_4 : DecidableEq N]
  (x : (i : ι) × ((fun i ↦ ((fun x ↦ pres) i).toRelations) i).R),
  (pres.finsupp ι).relation x = Finsupp.embDomain (Function.Embedding.sigmaMk x.fst) (pres.relation x.snd)

theorem Module.Presentation.finsupp_var E0 #

∀ {A : Type u} [inst : Ring A] {N : Type v} [inst_1 : AddCommGroup N] [inst_2 : Module A N]
  (pres : Module.Presentation A N) (ι : Type w) [inst_3 : DecidableEq ι] [inst_4 : DecidableEq N] (i : ι) (g : pres.G),
  (pres.finsupp ι).var ⟨i, g⟩ = fun₀ | i => pres.var g