/-
Copyright (c) 2025 Fernando Chu. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Fernando Chu
-/
module
public import Mathlib.CategoryTheory.Adjunction.Limits
set_option doc.verso true
set_option doc.verso.suggestions false
/-!
# (Co)limits of the skeleton of a category
The skeleton of a category inherits all (co)limits the category has.
## Implementation notes
Because the category instance of `ThinSkeleton C` comes from its `Preorder` instance, it is not the
case that `HasLimits C` iff `HasLimits (ThinSkeleton C)`, as the homs live in different universes.
If this is something we really want, we should consider changing the category instance of
`ThinSkeleton C`.
-/
public section
noncomputable section
open CategoryTheory ThinSkeleton
namespace CategoryTheory.Limits
universe v₁ u₁ v₂ u₂ v₃ u₃ w w'
variable {J : Type u₁} [Category.{v₁} J] {C : Type u₂} [Category.{v₂} C]
instance hasLimitsOfShape_skeleton [HasLimitsOfShape J C] : HasLimitsOfShape J (Skeleton C) :=
hasLimitsOfShape_of_hasLimitsOfShape_createsLimitsOfShape (fromSkeleton C)
instance hasLimitsOfSize_skeleton [HasLimitsOfSize.{w, w'} C] :
HasLimitsOfSize.{w, w'} (Skeleton C) :=
hasLimits_of_hasLimits_createsLimits (fromSkeleton C)
example [HasLimits C] : HasLimits (Skeleton C) := by infer_instance
instance hasColimitsOfShape_skeleton [HasColimitsOfShape J C] : HasColimitsOfShape J (Skeleton C) :=
hasColimitsOfShape_of_hasColimitsOfShape_createsColimitsOfShape (fromSkeleton C)
instance hasColimitsOfSize_skeleton [HasColimitsOfSize.{w, w'} C] :
HasColimitsOfSize.{w, w'} (Skeleton C) :=
hasColimits_of_hasColimits_createsColimits (fromSkeleton C)
example [HasColimits C] : HasColimits (Skeleton C) := by infer_instance
variable [Quiver.IsThin C]
instance hasLimitsOfShape_thinSkeleton [HasLimitsOfShape J C] :
HasLimitsOfShape J (ThinSkeleton C) :=
hasLimitsOfShape_of_hasLimitsOfShape_createsLimitsOfShape (fromThinSkeleton C)
instance hasLimitsOfSize_thinSkeleton [HasLimitsOfSize.{w, w'} C] :
HasLimitsOfSize.{w, w'} (ThinSkeleton C) :=
hasLimits_of_hasLimits_createsLimits (fromThinSkeleton C)
instance hasColimitsOfShape_thinSkeleton [HasColimitsOfShape J C] :
HasColimitsOfShape J (ThinSkeleton C) :=
hasColimitsOfShape_of_hasColimitsOfShape_createsColimitsOfShape (fromThinSkeleton C)
instance hasColimitsOfSize_thinSkeleton [HasColimitsOfSize.{w, w'} C] :
HasColimitsOfSize.{w, w'} (ThinSkeleton C) :=
hasColimits_of_hasColimits_createsColimits (fromThinSkeleton C)
end CategoryTheory.Limits
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland