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 / V26. Homological algebra

Mathlib.Algebra.Category.Grp.Colimits

33 declarations. Mathlib docs · Source

theorem QuotientAddGroup.lift.congr_simp E1 #

∀ {G : Type u_1} {M : Type u_4} [inst : AddGroup G] [inst_1 : AddMonoid M] (N : AddSubgroup G) [nN : N.Normal]
  (φ φ_1 : G →+ M) (e_φ : φ = φ_1) (HN : N ≤ φ.ker), QuotientAddGroup.lift N φ HN = QuotientAddGroup.lift N φ_1 ⋯

theorem AddEquiv.ofBijective.congr_simp E1 #

∀ {M : Type u_9} {N : Type u_10} {F : Type u_11} [inst : Add M] [inst_1 : Add N] [inst_2 : FunLike F M N]
  [inst_3 : AddHomClass F M N] (f f_1 : F) (e_f : f = f_1) (hf : Function.Bijective ⇑f),
  AddEquiv.ofBijective f hf = AddEquiv.ofBijective f_1 ⋯

abbrev AddCommGrpCat.Colimits.Relations E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    (F : CategoryTheory.Functor J AddCommGrpCat) → [DecidableEq J] → AddSubgroup (Π₀ (j : J), ↑(F.obj j))

The relations between elements of the direct sum of the F.obj j given by the morphisms in the diagram J.

def AddCommGrpCat.Colimits.Quot E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] → CategoryTheory.Functor J AddCommGrpCat → [DecidableEq J] → Type (max u w)

The candidate for the colimit of F, defined as the quotient of the direct sum of the commutative groups F.obj j by the relations given by the morphisms in the diagram.

instance AddCommGrpCat.Colimits.instAddCommGroupQuot E0 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    (F : CategoryTheory.Functor J AddCommGrpCat) →
      [inst_1 : DecidableEq J] → AddCommGroup (AddCommGrpCat.Colimits.Quot F)

def AddCommGrpCat.Colimits.Quot.ι E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    (F : CategoryTheory.Functor J AddCommGrpCat) →
      [inst_1 : DecidableEq J] → (j : J) → ↑(F.obj j) →+ AddCommGrpCat.Colimits.Quot F

Inclusion of F.obj j into the candidate colimit.

theorem AddCommGrpCat.Colimits.Quot.addMonoidHom_ext E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] (F : CategoryTheory.Functor J AddCommGrpCat)
  [inst_1 : DecidableEq J] {α : Type u_1} [inst_2 : AddMonoid α] {f g : AddCommGrpCat.Colimits.Quot F →+ α},
  (∀ (j : J) (x : ↑(F.obj j)), f ((AddCommGrpCat.Colimits.Quot.ι F j) x) = g ((AddCommGrpCat.Colimits.Quot.ι F j) x)) →
    f = g

def AddCommGrpCat.Colimits.Quot.desc E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    (F : CategoryTheory.Functor J AddCommGrpCat) →
      (c : CategoryTheory.Limits.Cocone F) → [inst_1 : DecidableEq J] → AddCommGrpCat.Colimits.Quot F →+ ↑c.pt

(implementation detail) Part of the universal property of the colimit cocone, but without assuming that Quot F lives in the correct universe.

theorem AddCommGrpCat.Colimits.Quot.ι_desc E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] (F : CategoryTheory.Functor J AddCommGrpCat)
  (c : CategoryTheory.Limits.Cocone F) [inst_1 : DecidableEq J] (j : J) (x : ↑(F.obj j)),
  (AddCommGrpCat.Colimits.Quot.desc F c) ((AddCommGrpCat.Colimits.Quot.ι F j) x) =
    (CategoryTheory.ConcreteCategory.hom (c.ι.app j)) x

theorem AddCommGrpCat.Colimits.Quot.map_ι E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] (F : CategoryTheory.Functor J AddCommGrpCat)
  [inst_1 : DecidableEq J] {j j' : J} {f : j ⟶ j'} (x : ↑(F.obj j)),
  (AddCommGrpCat.Colimits.Quot.ι F j') ((CategoryTheory.ConcreteCategory.hom (F.map f)) x) =
    (AddCommGrpCat.Colimits.Quot.ι F j) x

def AddCommGrpCat.Colimits.quotToQuotUlift E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    (F : CategoryTheory.Functor J AddCommGrpCat) →
      [inst_1 : DecidableEq J] →
        AddCommGrpCat.Colimits.Quot F →+ AddCommGrpCat.Colimits.Quot (F.comp AddCommGrpCat.uliftFunctor)

The obvious additive map from Quot F to Quot (F ⋙ uliftFunctor.{u'}).

theorem AddCommGrpCat.Colimits.quotToQuotUlift_ι E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] (F : CategoryTheory.Functor J AddCommGrpCat)
  [inst_1 : DecidableEq J] (j : J) (x : ↑(F.obj j)),
  (AddCommGrpCat.Colimits.quotToQuotUlift F) ((AddCommGrpCat.Colimits.Quot.ι F j) x) =
    (AddCommGrpCat.Colimits.Quot.ι (F.comp AddCommGrpCat.uliftFunctor) j) { down := x }

def AddCommGrpCat.Colimits.quotUliftToQuot E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    (F : CategoryTheory.Functor J AddCommGrpCat) →
      [inst_1 : DecidableEq J] →
        AddCommGrpCat.Colimits.Quot (F.comp AddCommGrpCat.uliftFunctor) →+ AddCommGrpCat.Colimits.Quot F

The obvious additive map from Quot (F ⋙ uliftFunctor.{u'}) to Quot F.

theorem AddCommGrpCat.Colimits.quotUliftToQuot_ι E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] (F : CategoryTheory.Functor J AddCommGrpCat)
  [inst_1 : DecidableEq J] (j : J) (x : ↑((F.comp AddCommGrpCat.uliftFunctor).obj j)),
  (AddCommGrpCat.Colimits.quotUliftToQuot F) ((AddCommGrpCat.Colimits.Quot.ι (F.comp AddCommGrpCat.uliftFunctor) j) x) =
    (AddCommGrpCat.Colimits.Quot.ι F j) x.down

def AddCommGrpCat.Colimits.quotQuotUliftAddEquiv E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    (F : CategoryTheory.Functor J AddCommGrpCat) →
      [inst_1 : DecidableEq J] →
        AddCommGrpCat.Colimits.Quot F ≃+ AddCommGrpCat.Colimits.Quot (F.comp AddCommGrpCat.uliftFunctor)

The additive equivalence between Quot F and Quot (F ⋙ uliftFunctor.{u'}).

theorem AddCommGrpCat.Colimits.Quot.desc_quotQuotUliftAddEquiv E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] (F : CategoryTheory.Functor J AddCommGrpCat)
  [inst_1 : DecidableEq J] (c : CategoryTheory.Limits.Cocone F),
  (AddCommGrpCat.Colimits.Quot.desc (F.comp AddCommGrpCat.uliftFunctor) (AddCommGrpCat.uliftFunctor.mapCocone c)).comp
      (AddCommGrpCat.Colimits.quotQuotUliftAddEquiv F).toAddMonoidHom =
    AddEquiv.ulift.symm.toAddMonoidHom.comp (AddCommGrpCat.Colimits.Quot.desc F c)

def AddCommGrpCat.Colimits.toCocone E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    (F : CategoryTheory.Functor J AddCommGrpCat) →
      [inst_1 : DecidableEq J] →
        {A : Type w} → [inst_2 : AddCommGroup A] → (AddCommGrpCat.Colimits.Quot F →+ A) → CategoryTheory.Limits.Cocone F

(implementation detail) A morphism of commutative additive groups Quot F →+ A induces a cocone on F as long as the universes work out.

theorem AddCommGrpCat.Colimits.toCocone_ι_app E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] (F : CategoryTheory.Functor J AddCommGrpCat)
  [inst_1 : DecidableEq J] {A : Type w} [inst_2 : AddCommGroup A] (f : AddCommGrpCat.Colimits.Quot F →+ A) (j : J),
  (AddCommGrpCat.Colimits.toCocone F f).ι.app j = AddCommGrpCat.ofHom (f.comp (AddCommGrpCat.Colimits.Quot.ι F j))

theorem AddCommGrpCat.Colimits.toCocone_pt_coe E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] (F : CategoryTheory.Functor J AddCommGrpCat)
  [inst_1 : DecidableEq J] {A : Type w} [inst_2 : AddCommGroup A] (f : AddCommGrpCat.Colimits.Quot F →+ A),
  ↑(AddCommGrpCat.Colimits.toCocone F f).pt = A

theorem AddCommGrpCat.Colimits.Quot.desc_toCocone_desc E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] (F : CategoryTheory.Functor J AddCommGrpCat)
  (c : CategoryTheory.Limits.Cocone F) [inst_1 : DecidableEq J] {A : Type w} [inst_2 : AddCommGroup A]
  (f : AddCommGrpCat.Colimits.Quot F →+ A) (hc : CategoryTheory.Limits.IsColimit c),
  (AddCommGrpCat.Hom.hom (hc.desc (AddCommGrpCat.Colimits.toCocone F f))).comp (AddCommGrpCat.Colimits.Quot.desc F c) =
    f

theorem AddCommGrpCat.Colimits.Quot.desc_toCocone_desc_app E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] (F : CategoryTheory.Functor J AddCommGrpCat)
  (c : CategoryTheory.Limits.Cocone F) [inst_1 : DecidableEq J] {A : Type w} [inst_2 : AddCommGroup A]
  (f : AddCommGrpCat.Colimits.Quot F →+ A) (hc : CategoryTheory.Limits.IsColimit c) (x : AddCommGrpCat.Colimits.Quot F),
  (CategoryTheory.ConcreteCategory.hom (hc.desc (AddCommGrpCat.Colimits.toCocone F f)))
      ((AddCommGrpCat.Colimits.Quot.desc F c) x) =
    f x

def AddCommGrpCat.Colimits.isColimit_of_bijective_desc E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    (F : CategoryTheory.Functor J AddCommGrpCat) →
      (c : CategoryTheory.Limits.Cocone F) →
        [inst_1 : DecidableEq J] →
          Function.Bijective ⇑(AddCommGrpCat.Colimits.Quot.desc F c) → CategoryTheory.Limits.IsColimit c

If c is a cocone of F such that Quot.desc F c is bijective, then c is a colimit cocone of F.

def AddCommGrpCat.Colimits.colimitCocone E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    (F : CategoryTheory.Functor J AddCommGrpCat) →
      [inst_1 : DecidableEq J] → [Small.{w, max w u} (AddCommGrpCat.Colimits.Quot F)] → CategoryTheory.Limits.Cocone F

(internal implementation) The colimit cocone of a functor F, implemented as a quotient of DFinsupp (fun j ↦ F.obj j), under the assumption that said quotient is small.

theorem AddCommGrpCat.Colimits.colimitCocone_ι_app E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] (F : CategoryTheory.Functor J AddCommGrpCat)
  [inst_1 : DecidableEq J] [inst_2 : Small.{w, max w u} (AddCommGrpCat.Colimits.Quot F)] (j : J),
  (AddCommGrpCat.Colimits.colimitCocone F).ι.app j =
    AddCommGrpCat.ofHom (Shrink.addEquiv.symm.toAddMonoidHom.comp (AddCommGrpCat.Colimits.Quot.ι F j))

theorem AddCommGrpCat.Colimits.colimitCocone_pt E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] (F : CategoryTheory.Functor J AddCommGrpCat)
  [inst_1 : DecidableEq J] [inst_2 : Small.{w, max w u} (AddCommGrpCat.Colimits.Quot F)],
  (AddCommGrpCat.Colimits.colimitCocone F).pt = ↧(Shrink.{w, max u w} (AddCommGrpCat.Colimits.Quot F))

theorem AddCommGrpCat.Colimits.Quot.desc_colimitCocone E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] [inst_1 : DecidableEq J]
  (F : CategoryTheory.Functor J AddCommGrpCat) [inst_2 : Small.{w, max u w} (AddCommGrpCat.Colimits.Quot F)],
  AddCommGrpCat.Colimits.Quot.desc F (AddCommGrpCat.Colimits.colimitCocone F) = Shrink.addEquiv.symm.toAddMonoidHom

def AddCommGrpCat.Colimits.colimitCoconeIsColimit E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    (F : CategoryTheory.Functor J AddCommGrpCat) →
      [inst_1 : DecidableEq J] →
        [inst_2 : Small.{w, max u w} (AddCommGrpCat.Colimits.Quot F)] →
          CategoryTheory.Limits.IsColimit (AddCommGrpCat.Colimits.colimitCocone F)

(internal implementation) The fact that the candidate colimit cocone constructed in colimitCocone is the colimit.

theorem AddCommGrpCat.hasColimit_of_small_quot E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] (F : CategoryTheory.Functor J AddCommGrpCat)
  [inst_1 : DecidableEq J], Small.{w, max u w} (AddCommGrpCat.Colimits.Quot F) → CategoryTheory.Limits.HasColimit F

instance AddCommGrpCat.instSmallQuot E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] (F : CategoryTheory.Functor J AddCommGrpCat)
  [inst_1 : DecidableEq J] [Small.{w, u} J], Small.{w, max u w} (AddCommGrpCat.Colimits.Quot F)

instance AddCommGrpCat.hasColimit E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] [Small.{w, u} J] (F : CategoryTheory.Functor J AddCommGrpCat),
  CategoryTheory.Limits.HasColimit F

instance AddCommGrpCat.hasColimitsOfShape E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] [Small.{w, u} J],
  CategoryTheory.Limits.HasColimitsOfShape J AddCommGrpCat

If J is w-small, then any functor J ⥤ AddCommGrpCat.{w} has a colimit.

instance AddCommGrpCat.hasColimitsOfSize E0 #

∀ [UnivLE.{u, w}], CategoryTheory.Limits.HasColimitsOfSize.{v, u, w, w + 1} AddCommGrpCat

The category of additive commutative groups has all small colimits.

def AddCommGrpCat.cokernelIsoQuotient E1 #

{G H : AddCommGrpCat} → (f : G ⟶ H) → CategoryTheory.Limits.cokernel f ≅ ↧(↑H ⧸ (AddCommGrpCat.Hom.hom f).range)

The categorical cokernel of a morphism in AddCommGrpCat agrees with the usual group-theoretical quotient.