The areas / V26. Homological algebra
Mathlib.Algebra.Category.MonCat.Limits
74 declarations. Mathlib docs · Source
The category of (commutative) (additive) monoids has all limits
Further, these limits are preserved by the forgetful functor --- that is, the underlying types are just the limits in the category of types.
instance AddMonCat.addMonoidObj E0 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] → (F : CategoryTheory.Functor J AddMonCat) → (j : J) → AddMonoid ↑(F.obj j)
instance MonCat.monoidObj E0 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] → (F : CategoryTheory.Functor J MonCat) → (j : J) → Monoid ↑(F.obj j)
def MonCat.sectionsSubmonoid E1 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] → (F : CategoryTheory.Functor J MonCat) → Submonoid ((j : J) → ↑(F.obj j))
The flat sections of a functor into MonCat form a submonoid of all sections.
def AddMonCat.sectionsAddSubmonoid E1 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J AddMonCat) → AddSubmonoid ((j : J) → ↑(F.obj j))
The flat sections of a functor into AddMonCat form an additive submonoid of all sections.
instance MonCat.sectionsMonoid E0 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J MonCat) → Monoid ↑(F.comp (CategoryTheory.forget MonCat)).sections
instance AddMonCat.sectionsAddMonoid E0 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J AddMonCat) → AddMonoid ↑(F.comp (CategoryTheory.forget AddMonCat)).sections
instance MonCat.limitMonoid E0 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J MonCat) →
[inst_1 : Small.{u, max u v} ↑(F.comp (CategoryTheory.forget MonCat)).sections] →
Monoid (CategoryTheory.Limits.Types.Small.limitCone (F.comp (CategoryTheory.forget MonCat))).pt
instance AddMonCat.limitAddMonoid E0 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J AddMonCat) →
[inst_1 : Small.{u, max u v} ↑(F.comp (CategoryTheory.forget AddMonCat)).sections] →
AddMonoid (CategoryTheory.Limits.Types.Small.limitCone (F.comp (CategoryTheory.forget AddMonCat))).pt
def MonCat.limitπMonoidHom E1 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J MonCat) →
[inst_1 : Small.{u, max u v} ↑(F.comp (CategoryTheory.forget MonCat)).sections] →
(j : J) → (CategoryTheory.Limits.Types.Small.limitCone (F.comp (CategoryTheory.forget MonCat))).pt →* ↑(F.obj j)
limit.π (F ⋙ forget MonCat) j as a MonoidHom.
def AddMonCat.limitπAddMonoidHom E1 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J AddMonCat) →
[inst_1 : Small.{u, max u v} ↑(F.comp (CategoryTheory.forget AddMonCat)).sections] →
(j : J) →
(CategoryTheory.Limits.Types.Small.limitCone (F.comp (CategoryTheory.forget AddMonCat))).pt →+ ↑(F.obj j)
limit.π (F ⋙ forget AddMonCat) j as an AddMonoidHom.
def MonCat.HasLimits.limitCone E1 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J MonCat) →
[Small.{u, max u v} ↑(F.comp (CategoryTheory.forget MonCat)).sections] → CategoryTheory.Limits.Cone F
Construction of a limit cone in MonCat.
(Internal use only; use the limits API.)
def AddMonCat.HasLimits.limitCone E1 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J AddMonCat) →
[Small.{u, max u v} ↑(F.comp (CategoryTheory.forget AddMonCat)).sections] → CategoryTheory.Limits.Cone F
(Internal use only; use the limits API.)
def MonCat.HasLimits.limitConeIsLimit E1 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J MonCat) →
[inst_1 : Small.{u, max u v} ↑(F.comp (CategoryTheory.forget MonCat)).sections] →
CategoryTheory.Limits.IsLimit (MonCat.HasLimits.limitCone F)
Witness that the limit cone in MonCat is a limit cone.
(Internal use only; use the limits API.)
def AddMonCat.HasLimits.limitConeIsLimit E1 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J AddMonCat) →
[inst_1 : Small.{u, max u v} ↑(F.comp (CategoryTheory.forget AddMonCat)).sections] →
CategoryTheory.Limits.IsLimit (AddMonCat.HasLimits.limitCone F)
(Internal use only; use the limits API.)
instance MonCat.HasLimits.hasLimit E0 #
∀ {J : Type v} [inst : CategoryTheory.Category.{w, v} J] (F : CategoryTheory.Functor J MonCat)
[Small.{u, max u v} ↑(F.comp (CategoryTheory.forget MonCat)).sections], CategoryTheory.Limits.HasLimit F
If (F ⋙ forget MonCat).sections is u-small, F has a limit.
instance AddMonCat.HasLimits.hasLimit E0 #
∀ {J : Type v} [inst : CategoryTheory.Category.{w, v} J] (F : CategoryTheory.Functor J AddMonCat)
[Small.{u, max u v} ↑(F.comp (CategoryTheory.forget AddMonCat)).sections], CategoryTheory.Limits.HasLimit F
If (F ⋙ forget AddMonCat).sections is u-small, F has a limit.
instance MonCat.HasLimits.hasLimitsOfShape E0 #
∀ {J : Type v} [inst : CategoryTheory.Category.{w, v} J] [Small.{u, v} J],
CategoryTheory.Limits.HasLimitsOfShape J MonCat
If J is u-small, MonCat.{u} has limits of shape J.
instance AddMonCat.HasLimits.hasLimitsOfShape E0 #
∀ {J : Type v} [inst : CategoryTheory.Category.{w, v} J] [Small.{u, v} J],
CategoryTheory.Limits.HasLimitsOfShape J AddMonCat
If J is u-small, AddMonCat.{u} has limits of shape J.
instance MonCat.hasLimitsOfSize E0 #
∀ [UnivLE.{v, u}], CategoryTheory.Limits.HasLimitsOfSize.{w, v, u, u + 1} MonCat
The category of monoids has all limits.
instance AddMonCat.hasLimitsOfSize E0 #
∀ [UnivLE.{v, u}], CategoryTheory.Limits.HasLimitsOfSize.{w, v, u, u + 1} AddMonCat
The category of additive monoids has all limits.
instance AddMonCat.hasLimits E0 #
CategoryTheory.Limits.HasLimits AddMonCat
instance MonCat.hasLimits E0 #
CategoryTheory.Limits.HasLimits MonCat
instance MonCat.forget_preservesLimitsOfShape E0 #
∀ {J : Type v} [inst : CategoryTheory.Category.{w, v} J] [Small.{u, v} J],
CategoryTheory.Limits.PreservesLimitsOfShape J (CategoryTheory.forget MonCat)
If J is u-small, the forgetful functor from MonCat.{u} preserves limits of shape J.
instance AddMonCat.forget_preservesLimitsOfShape E0 #
∀ {J : Type v} [inst : CategoryTheory.Category.{w, v} J] [Small.{u, v} J],
CategoryTheory.Limits.PreservesLimitsOfShape J (CategoryTheory.forget AddMonCat)
If J is u-small, the forgetful functor from AddMonCat.{u} preserves limits
of shape J.
instance MonCat.forget_preservesLimitsOfSize E0 #
∀ [UnivLE.{v, u}], CategoryTheory.Limits.PreservesLimitsOfSize.{w, v, u, u, u + 1, u + 1} (CategoryTheory.forget MonCat)
The forgetful functor from monoids to types preserves all limits.
This means the underlying type of a limit can be computed as a limit in the category of types.
instance AddMonCat.forget_preservesLimitsOfSize E0 #
∀ [UnivLE.{v, u}],
CategoryTheory.Limits.PreservesLimitsOfSize.{w, v, u, u, u + 1, u + 1} (CategoryTheory.forget AddMonCat)
The forgetful functor from additive monoids to types preserves all limits.
This means the underlying type of a limit can be computed as a limit in the category of types.
instance AddMonCat.forget_preservesLimits E0 #
CategoryTheory.Limits.PreservesLimits (CategoryTheory.forget AddMonCat)
instance MonCat.forget_preservesLimits E0 #
CategoryTheory.Limits.PreservesLimits (CategoryTheory.forget MonCat)
instance AddMonCat.forget_createsLimit E0 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J AddMonCat) → CategoryTheory.CreatesLimit F (CategoryTheory.forget AddMonCat)
instance MonCat.forget_createsLimit E0 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J MonCat) → CategoryTheory.CreatesLimit F (CategoryTheory.forget MonCat)
instance MonCat.forget_createsLimitsOfShape E0 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] → CategoryTheory.CreatesLimitsOfShape J (CategoryTheory.forget MonCat)
instance AddMonCat.forget_createsLimitsOfShape E0 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] → CategoryTheory.CreatesLimitsOfShape J (CategoryTheory.forget AddMonCat)
instance MonCat.forget_createsLimitsOfSize E0 #
CategoryTheory.CreatesLimitsOfSize.{w, v, u, u, u + 1, u + 1} (CategoryTheory.forget MonCat)
The forgetful functor from monoids to types preserves all limits.
instance AddMonCat.forget_createsLimitsOfSize E0 #
CategoryTheory.CreatesLimitsOfSize.{w, v, u, u, u + 1, u + 1} (CategoryTheory.forget AddMonCat)
The forgetful functor from additive monoids to types preserves all limits.
instance AddMonCat.forget_createsLimits E0 #
CategoryTheory.CreatesLimits (CategoryTheory.forget AddMonCat)
instance MonCat.forget_createsLimits E0 #
CategoryTheory.CreatesLimits (CategoryTheory.forget MonCat)
instance AddCommMonCat.addCommMonoidObj E0 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J AddCommMonCat) →
(j : J) → AddCommMonoid ((F.comp (CategoryTheory.forget AddCommMonCat)).obj j)
instance CommMonCat.commMonoidObj E0 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J CommMonCat) → (j : J) → CommMonoid ((F.comp (CategoryTheory.forget CommMonCat)).obj j)
instance AddCommMonCat.limitAddCommMonoid E0 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J AddCommMonCat) →
[inst_1 : Small.{u, max u v} ↑(F.comp (CategoryTheory.forget AddCommMonCat)).sections] →
AddCommMonoid (CategoryTheory.Limits.Types.Small.limitCone (F.comp (CategoryTheory.forget AddCommMonCat))).pt
instance CommMonCat.limitCommMonoid E0 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J CommMonCat) →
[inst_1 : Small.{u, max u v} ↑(F.comp (CategoryTheory.forget CommMonCat)).sections] →
CommMonoid (CategoryTheory.Limits.Types.Small.limitCone (F.comp (CategoryTheory.forget CommMonCat))).pt
instance CommMonCat.instSmallElemForallObjCompMonCatForget₂MonoidHomCarrierCarrierForgetSections E0 #
∀ {J : Type v} [inst : CategoryTheory.Category.{w, v} J] (F : CategoryTheory.Functor J CommMonCat)
[Small.{u, max u v} ↑(F.comp (CategoryTheory.forget CommMonCat)).sections],
Small.{u, max u v} ↑((F.comp (CategoryTheory.forget₂ CommMonCat MonCat)).comp (CategoryTheory.forget MonCat)).sections
instance AddCommMonCat.instSmallElemForallObjCompMonCatForget₂AddMonoidHomCarrierCarrierForgetSections E0 #
∀ {J : Type v} [inst : CategoryTheory.Category.{w, v} J] (F : CategoryTheory.Functor J AddCommMonCat)
[Small.{u, max u v} ↑(F.comp (CategoryTheory.forget AddCommMonCat)).sections],
Small.{u, max u v}
↑((F.comp (CategoryTheory.forget₂ AddCommMonCat AddMonCat)).comp (CategoryTheory.forget AddMonCat)).sections
instance CommMonCat.forget₂CreatesLimit E0 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J CommMonCat) →
[Small.{u, max u v} ↑(F.comp (CategoryTheory.forget CommMonCat)).sections] →
CategoryTheory.CreatesLimit F (CategoryTheory.forget₂ CommMonCat MonCat)
We show that the forgetful functor CommMonCat ⥤ MonCat creates limits.
All we need to do is notice that the limit point has a CommMonoid instance available,
and then reuse the existing limit.
instance AddCommMonCat.forget₂CreatesLimit E0 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J AddCommMonCat) →
[Small.{u, max u v} ↑(F.comp (CategoryTheory.forget AddCommMonCat)).sections] →
CategoryTheory.CreatesLimit F (CategoryTheory.forget₂ AddCommMonCat AddMonCat)
We show that the forgetful functor AddCommMonCat ⥤ AddMonCat creates limits.
All we need to do is notice that the limit point has an AddCommMonoid instance available,
and then reuse the existing limit.
def CommMonCat.limitCone E1 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J CommMonCat) →
[Small.{u, max u v} ↑(F.comp (CategoryTheory.forget CommMonCat)).sections] → CategoryTheory.Limits.Cone F
A choice of limit cone for a functor into CommMonCat.
(Generally, you'll just want to use limit F.)
def AddCommMonCat.limitCone E1 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J AddCommMonCat) →
[Small.{u, max u v} ↑(F.comp (CategoryTheory.forget AddCommMonCat)).sections] → CategoryTheory.Limits.Cone F
A choice of limit cone for a functor into AddCommMonCat.
(Generally, you'll just want to use limit F.)
def CommMonCat.limitConeIsLimit E1 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J CommMonCat) →
[inst_1 : Small.{u, max u v} ↑(F.comp (CategoryTheory.forget CommMonCat)).sections] →
CategoryTheory.Limits.IsLimit (CommMonCat.limitCone F)
The chosen cone is a limit cone.
(Generally, you'll just want to use limit.cone F.)
def AddCommMonCat.limitConeIsLimit E1 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J AddCommMonCat) →
[inst_1 : Small.{u, max u v} ↑(F.comp (CategoryTheory.forget AddCommMonCat)).sections] →
CategoryTheory.Limits.IsLimit (AddCommMonCat.limitCone F)
The chosen cone is a limit cone.
(Generally, you'll just want to use limit.cone F.)
instance CommMonCat.hasLimit E0 #
∀ {J : Type v} [inst : CategoryTheory.Category.{w, v} J] (F : CategoryTheory.Functor J CommMonCat)
[Small.{u, max u v} ↑(F.comp (CategoryTheory.forget CommMonCat)).sections], CategoryTheory.Limits.HasLimit F
If (F ⋙ forget CommMonCat).sections is u-small, F has a limit.
instance AddCommMonCat.hasLimit E0 #
∀ {J : Type v} [inst : CategoryTheory.Category.{w, v} J] (F : CategoryTheory.Functor J AddCommMonCat)
[Small.{u, max u v} ↑(F.comp (CategoryTheory.forget AddCommMonCat)).sections], CategoryTheory.Limits.HasLimit F
If (F ⋙ forget AddCommMonCat).sections is u-small, F has a limit.
instance CommMonCat.hasLimitsOfShape E0 #
∀ {J : Type v} [inst : CategoryTheory.Category.{w, v} J] [Small.{u, v} J],
CategoryTheory.Limits.HasLimitsOfShape J CommMonCat
If J is u-small, CommMonCat.{u} has limits of shape J.
instance AddCommMonCat.hasLimitsOfShape E0 #
∀ {J : Type v} [inst : CategoryTheory.Category.{w, v} J] [Small.{u, v} J],
CategoryTheory.Limits.HasLimitsOfShape J AddCommMonCat
If J is u-small, AddCommMonCat.{u} has limits of shape J.
instance CommMonCat.hasLimitsOfSize E0 #
∀ [UnivLE.{v, u}], CategoryTheory.Limits.HasLimitsOfSize.{w, v, u, u + 1} CommMonCat
The category of commutative monoids has all limits.
instance AddCommMonCat.hasLimitsOfSize E0 #
∀ [UnivLE.{v, u}], CategoryTheory.Limits.HasLimitsOfSize.{w, v, u, u + 1} AddCommMonCat
The category of additive commutative monoids has all limits.
instance CommMonCat.hasLimits E0 #
CategoryTheory.Limits.HasLimits CommMonCat
instance AddCommMonCat.hasLimits E0 #
CategoryTheory.Limits.HasLimits AddCommMonCat
instance CommMonCat.forget₂Mon_preservesLimitsOfSize E0 #
∀ [UnivLE.{v, u}],
CategoryTheory.Limits.PreservesLimitsOfSize.{w, v, u, u, u + 1, u + 1} (CategoryTheory.forget₂ CommMonCat MonCat)
The forgetful functor from commutative monoids to monoids preserves all limits.
This means the underlying type of a limit can be computed as a limit in the category of monoids.
instance AddCommMonCat.forget₂AddMonPreservesLimitsOfSize E0 #
∀ [UnivLE.{v, u}],
CategoryTheory.Limits.PreservesLimitsOfSize.{w, v, u, u, u + 1, u + 1}
(CategoryTheory.forget₂ AddCommMonCat AddMonCat)
The forgetful functor from additive commutative monoids to additive monoids preserves all limits.
This means the underlying type of a limit can be computed as a limit in the category of additive monoids.
instance AddCommMonCat.forget₂Mon_preservesLimits E0 #
CategoryTheory.Limits.PreservesLimits (CategoryTheory.forget₂ AddCommMonCat AddMonCat)
instance CommMonCat.forget₂Mon_preservesLimits E0 #
CategoryTheory.Limits.PreservesLimits (CategoryTheory.forget₂ CommMonCat MonCat)
instance CommMonCat.forget_preservesLimitsOfShape E0 #
∀ {J : Type v} [inst : CategoryTheory.Category.{w, v} J] [Small.{u, v} J],
CategoryTheory.Limits.PreservesLimitsOfShape J (CategoryTheory.forget CommMonCat)
If J is u-small, the forgetful functor from CommMonCat.{u} preserves limits of
shape J.
instance AddCommMonCat.forget_preservesLimitsOfShape E0 #
∀ {J : Type v} [inst : CategoryTheory.Category.{w, v} J] [Small.{u, v} J],
CategoryTheory.Limits.PreservesLimitsOfShape J (CategoryTheory.forget AddCommMonCat)
If J is u-small, the forgetful functor from AddCommMonCat.{u}
preserves limits of shape J.
instance CommMonCat.forget_preservesLimitsOfSize E0 #
∀ [UnivLE.{v, u}],
CategoryTheory.Limits.PreservesLimitsOfSize.{v, v, u, u, u + 1, u + 1} (CategoryTheory.forget CommMonCat)
The forgetful functor from commutative monoids to types preserves all limits.
This means the underlying type of a limit can be computed as a limit in the category of types.
instance AddCommMonCat.forget_preservesLimitsOfSize E0 #
∀ [UnivLE.{v, u}],
CategoryTheory.Limits.PreservesLimitsOfSize.{v, v, u, u, u + 1, u + 1} (CategoryTheory.forget AddCommMonCat)
The forgetful functor from additive commutative monoids to types preserves all limits.
This means the underlying type of a limit can be computed as a limit in the category of types.
instance AddCommMonCat.forget_preservesLimits E0 #
CategoryTheory.Limits.PreservesLimits (CategoryTheory.forget AddCommMonCat)
instance CommMonCat.forget_preservesLimits E0 #
CategoryTheory.Limits.PreservesLimits (CategoryTheory.forget CommMonCat)
instance AddCommMonCat.forget_createsLimit E0 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J AddCommMonCat) →
[Small.{u, max u v} ↑(F.comp (CategoryTheory.forget AddCommMonCat)).sections] →
CategoryTheory.CreatesLimit F (CategoryTheory.forget AddCommMonCat)
instance CommMonCat.forget_createsLimit E0 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
(F : CategoryTheory.Functor J CommMonCat) →
[Small.{u, max u v} ↑(F.comp (CategoryTheory.forget CommMonCat)).sections] →
CategoryTheory.CreatesLimit F (CategoryTheory.forget CommMonCat)
instance AddCommMonCat.forget_createsLimitsOfShape E0 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
[UnivLE.{v, u}] → CategoryTheory.CreatesLimitsOfShape J (CategoryTheory.forget AddCommMonCat)
instance CommMonCat.forget_createsLimitsOfShape E0 #
{J : Type v} →
[inst : CategoryTheory.Category.{w, v} J] →
[UnivLE.{v, u}] → CategoryTheory.CreatesLimitsOfShape J (CategoryTheory.forget CommMonCat)
instance CommMonCat.forget_createsLimitsOfSize E0 #
[UnivLE.{v, u}] → CategoryTheory.CreatesLimitsOfSize.{w, v, u, u, u + 1, u + 1} (CategoryTheory.forget CommMonCat)
The forgetful functor from commutative monoids to types preserves all limits.
instance AddCommMonCat.forget_createsLimitsOfSize E0 #
[UnivLE.{v, u}] → CategoryTheory.CreatesLimitsOfSize.{w, v, u, u, u + 1, u + 1} (CategoryTheory.forget AddCommMonCat)
The forgetful functor from commutative additive monoids to types preserves all limits.
instance CommMonCat.forget_createsLimits E0 #
CategoryTheory.CreatesLimits (CategoryTheory.forget CommMonCat)
instance AddCommMonCat.forget_createsLimits E0 #
CategoryTheory.CreatesLimits (CategoryTheory.forget AddCommMonCat)