Documentation

Mathlib.Algebra.Category.ModuleCat.Colimits

The category of R-modules has all colimits. #

From the existence of colimits in AddCommGrpCat, we deduce the existence of colimits in ModuleCat R. This way, we get for free that the functor forget₂ (ModuleCat R) AddCommGrpCat commutes with colimits.

Note that finite colimits can already be obtained from the instance Abelian (Module R).

TODO: In fact, in ModuleCat R there is a much nicer model of colimits as quotients of finitely supported functions, and we really should implement this as well.

The induced scalar multiplication on colimit (F ⋙ forget₂ _ AddCommGrpCat).

Equations
    Instances For

      The cocone for F constructed from the colimit of (F ⋙ forget₂ (ModuleCat R) AddCommGrpCat).

      Equations
        Instances For

          The cocone for F constructed from the colimit of (F ⋙ forget₂ (ModuleCat R) AddCommGrpCat) is a colimit cocone.

          Equations
            Instances For
              noncomputable def ModuleCat.finsuppCocone (R : Type w) [CommRing R] (M ι : Type u) [AddCommGroup M] [Module R M] :
              CategoryTheory.Limits.Cofan fun (x : ι) => of R M

              The coproduct cone induced by the concrete coproduct.

              Equations
                Instances For

                  The concrete cocoproduct cone is colimiting.

                  Equations
                    Instances For