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 / V24. Category theory

Mathlib.CategoryTheory.Limits.Elements

23 declarations and 8 deprecated aliases. Mathlib docs · Source

Limits in the category of elements

We show that if C has limits of shape I and A : C ⥤ Type w preserves limits of shape I, then the category of elements of A has limits of shape I and the forgetful functor π : A.Elements ⥤ C creates them.

Further results

  • If A is (co)representable, then A.Elements has an initial object.

theorem CategoryTheory.Functor.Elements.CreatesLimitsAux.liftedConeElement.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : CategoryTheory.Functor C (Type w)} {I : Type u₁}
  [inst_1 : CategoryTheory.Category.{v₁, u₁} I] [inst_2 : Small.{w, u₁} I] (F : CategoryTheory.Functor I A.Elements)
  [inst_3 : CategoryTheory.Limits.HasLimitsOfShape I C] [inst_4 : CategoryTheory.Limits.PreservesLimitsOfShape I A],
  CategoryTheory.Functor.Elements.CreatesLimitsAux.liftedConeElement F =
    CategoryTheory.Functor.Elements.CreatesLimitsAux.liftedConeElement F

def CategoryTheory.Functor.Elements.CreatesLimitsAux.liftedConeElement' E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : CategoryTheory.Functor C (Type w)} →
      {I : Type u₁} →
        [inst_1 : CategoryTheory.Category.{v₁, u₁} I] →
          [inst_2 : Small.{w, u₁} I] →
            (F : CategoryTheory.Functor I A.Elements) →
              CategoryTheory.Limits.limit ((F.comp (CategoryTheory.Functor.Elements.π A)).comp A)

(implementation) A system (Fi, fi)_i of elements induces an element in lim_i A(Fi).

theorem CategoryTheory.Functor.Elements.CreatesLimitsAux.π_liftedConeElement' E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : CategoryTheory.Functor C (Type w)} {I : Type u₁}
  [inst_1 : CategoryTheory.Category.{v₁, u₁} I] [inst_2 : Small.{w, u₁} I] (F : CategoryTheory.Functor I A.Elements)
  (i : I),
  (CategoryTheory.ConcreteCategory.hom
        (CategoryTheory.Limits.limit.π ((F.comp (CategoryTheory.Functor.Elements.π A)).comp A) i))
      (CategoryTheory.Functor.Elements.CreatesLimitsAux.liftedConeElement' F) =
    (F.obj i).val

def CategoryTheory.Functor.Elements.CreatesLimitsAux.liftedConeElement E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : CategoryTheory.Functor C (Type w)} →
      {I : Type u₁} →
        [inst_1 : CategoryTheory.Category.{v₁, u₁} I] →
          [Small.{w, u₁} I] →
            (F : CategoryTheory.Functor I A.Elements) →
              [inst_3 : CategoryTheory.Limits.HasLimitsOfShape I C] →
                [CategoryTheory.Limits.PreservesLimitsOfShape I A] →
                  A.obj (CategoryTheory.Limits.limit (F.comp (CategoryTheory.Functor.Elements.π A)))

(implementation) A system (Fi, fi)_i of elements induces an element in A(lim_i Fi).

theorem CategoryTheory.Functor.Elements.CreatesLimitsAux.map_lift_mapCone E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : CategoryTheory.Functor C (Type w)} {I : Type u₁}
  [inst_1 : CategoryTheory.Category.{v₁, u₁} I] [inst_2 : Small.{w, u₁} I] (F : CategoryTheory.Functor I A.Elements)
  [inst_3 : CategoryTheory.Limits.HasLimitsOfShape I C] [inst_4 : CategoryTheory.Limits.PreservesLimitsOfShape I A]
  (c : CategoryTheory.Limits.Cone F),
  (CategoryTheory.ConcreteCategory.hom
        (A.map
          (CategoryTheory.Limits.limit.lift (F.comp (CategoryTheory.Functor.Elements.π A))
            ((CategoryTheory.Functor.Elements.π A).mapCone c))))
      c.pt.val =
    CategoryTheory.Functor.Elements.CreatesLimitsAux.liftedConeElement F

theorem CategoryTheory.Functor.Elements.CreatesLimitsAux.map_π_liftedConeElement E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : CategoryTheory.Functor C (Type w)} {I : Type u₁}
  [inst_1 : CategoryTheory.Category.{v₁, u₁} I] [inst_2 : Small.{w, u₁} I] (F : CategoryTheory.Functor I A.Elements)
  [inst_3 : CategoryTheory.Limits.HasLimitsOfShape I C] [inst_4 : CategoryTheory.Limits.PreservesLimitsOfShape I A]
  (i : I),
  (CategoryTheory.ConcreteCategory.hom
        (A.map (CategoryTheory.Limits.limit.π (F.comp (CategoryTheory.Functor.Elements.π A)) i)))
      (CategoryTheory.Functor.Elements.CreatesLimitsAux.liftedConeElement F) =
    (F.obj i).val

def CategoryTheory.Functor.Elements.CreatesLimitsAux.liftedCone E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : CategoryTheory.Functor C (Type w)} →
      {I : Type u₁} →
        [inst_1 : CategoryTheory.Category.{v₁, u₁} I] →
          [Small.{w, u₁} I] →
            (F : CategoryTheory.Functor I A.Elements) →
              [CategoryTheory.Limits.HasLimitsOfShape I C] →
                [CategoryTheory.Limits.PreservesLimitsOfShape I A] → CategoryTheory.Limits.Cone F

(implementation) The constructed limit cone.

theorem CategoryTheory.Functor.Elements.CreatesLimitsAux.liftedCone_π_app_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : CategoryTheory.Functor C (Type w)} {I : Type u₁}
  [inst_1 : CategoryTheory.Category.{v₁, u₁} I] [inst_2 : Small.{w, u₁} I] (F : CategoryTheory.Functor I A.Elements)
  [inst_3 : CategoryTheory.Limits.HasLimitsOfShape I C] [inst_4 : CategoryTheory.Limits.PreservesLimitsOfShape I A]
  (i : I),
  ((CategoryTheory.Functor.Elements.CreatesLimitsAux.liftedCone F).π.app i).hom =
    CategoryTheory.Limits.limit.π (F.comp (CategoryTheory.Functor.Elements.π A)) i

theorem CategoryTheory.Functor.Elements.CreatesLimitsAux.liftedCone_pt_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : CategoryTheory.Functor C (Type w)} {I : Type u₁}
  [inst_1 : CategoryTheory.Category.{v₁, u₁} I] [inst_2 : Small.{w, u₁} I] (F : CategoryTheory.Functor I A.Elements)
  [inst_3 : CategoryTheory.Limits.HasLimitsOfShape I C] [inst_4 : CategoryTheory.Limits.PreservesLimitsOfShape I A],
  (CategoryTheory.Functor.Elements.CreatesLimitsAux.liftedCone F).pt.obj =
    CategoryTheory.Limits.limit (F.comp (CategoryTheory.Functor.Elements.π A))

theorem CategoryTheory.Functor.Elements.CreatesLimitsAux.liftedCone_pt_val E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : CategoryTheory.Functor C (Type w)} {I : Type u₁}
  [inst_1 : CategoryTheory.Category.{v₁, u₁} I] [inst_2 : Small.{w, u₁} I] (F : CategoryTheory.Functor I A.Elements)
  [inst_3 : CategoryTheory.Limits.HasLimitsOfShape I C] [inst_4 : CategoryTheory.Limits.PreservesLimitsOfShape I A],
  (CategoryTheory.Functor.Elements.CreatesLimitsAux.liftedCone F).pt.val =
    CategoryTheory.Functor.Elements.CreatesLimitsAux.liftedConeElement F

def CategoryTheory.Functor.Elements.CreatesLimitsAux.isValidLift E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : CategoryTheory.Functor C (Type w)} →
      {I : Type u₁} →
        [inst_1 : CategoryTheory.Category.{v₁, u₁} I] →
          [inst_2 : Small.{w, u₁} I] →
            (F : CategoryTheory.Functor I A.Elements) →
              [inst_3 : CategoryTheory.Limits.HasLimitsOfShape I C] →
                [inst_4 : CategoryTheory.Limits.PreservesLimitsOfShape I A] →
                  (CategoryTheory.Functor.Elements.π A).mapCone
                      (CategoryTheory.Functor.Elements.CreatesLimitsAux.liftedCone F) ≅
                    CategoryTheory.Limits.limit.cone (F.comp (CategoryTheory.Functor.Elements.π A))

(implementation) The constructed limit cone is a lift of the limit cone in C.

def CategoryTheory.Functor.Elements.CreatesLimitsAux.isLimit E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : CategoryTheory.Functor C (Type w)} →
      {I : Type u₁} →
        [inst_1 : CategoryTheory.Category.{v₁, u₁} I] →
          [inst_2 : Small.{w, u₁} I] →
            (F : CategoryTheory.Functor I A.Elements) →
              [inst_3 : CategoryTheory.Limits.HasLimitsOfShape I C] →
                [inst_4 : CategoryTheory.Limits.PreservesLimitsOfShape I A] →
                  CategoryTheory.Limits.IsLimit (CategoryTheory.Functor.Elements.CreatesLimitsAux.liftedCone F)

(implementation) The constructed limit cone is a limit cone.

instance CategoryTheory.Functor.Elements.instCreatesLimitπ E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : CategoryTheory.Functor C (Type w)} →
      {I : Type u₁} →
        [inst_1 : CategoryTheory.Category.{v₁, u₁} I] →
          [Small.{w, u₁} I] →
            [CategoryTheory.Limits.HasLimitsOfShape I C] →
              [CategoryTheory.Limits.PreservesLimitsOfShape I A] →
                (F : CategoryTheory.Functor I A.Elements) →
                  CategoryTheory.CreatesLimit F (CategoryTheory.Functor.Elements.π A)

instance CategoryTheory.Functor.Elements.instCreatesLimitsOfShapeπ E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : CategoryTheory.Functor C (Type w)} →
      {I : Type u₁} →
        [inst_1 : CategoryTheory.Category.{v₁, u₁} I] →
          [Small.{w, u₁} I] →
            [CategoryTheory.Limits.HasLimitsOfShape I C] →
              [CategoryTheory.Limits.PreservesLimitsOfShape I A] →
                CategoryTheory.CreatesLimitsOfShape I (CategoryTheory.Functor.Elements.π A)

instance CategoryTheory.Functor.Elements.instHasLimitsOfShape E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : CategoryTheory.Functor C (Type w)} {I : Type u₁}
  [inst_1 : CategoryTheory.Category.{v₁, u₁} I] [Small.{w, u₁} I] [CategoryTheory.Limits.HasLimitsOfShape I C]
  [CategoryTheory.Limits.PreservesLimitsOfShape I A], CategoryTheory.Limits.HasLimitsOfShape I A.Elements

instance CategoryTheory.Functor.Elements.instHasInitialOppositeOfIsRepresentable E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor Cᵒᵖ (Type u_1)}
  [F.IsRepresentable], CategoryTheory.Limits.HasInitial F.Elements

instance CategoryTheory.Functor.Elements.instHasInitialOfIsCorepresentable E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C (Type u_1)}
  [F.IsCorepresentable], CategoryTheory.Limits.HasInitial F.Elements

def CategoryTheory.Functor.Elements.corepresentableByOfIsInitial E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C (Type w)} →
      {E : F.Elements} → CategoryTheory.Limits.IsInitial E → F.CorepresentableBy E.obj

An initial object in the category F.Elements of a covariant functor defines a corepresentation for that functor.

theorem CategoryTheory.Functor.Elements.isCorepresentable_of_hasInitial E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F : CategoryTheory.Functor C (Type w))
  [CategoryTheory.Limits.HasInitial F.Elements], F.IsCorepresentable

theorem CategoryTheory.Functor.Elements.hasInitial_iff_isCorepresentable E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F : CategoryTheory.Functor C (Type w)),
  CategoryTheory.Limits.HasInitial F.Elements ↔ F.IsCorepresentable

def CategoryTheory.Functor.Elements.representableByOfIsInitial E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor Cᵒᵖ (Type w)} →
      {E : F.Elements} → CategoryTheory.Limits.IsInitial E → F.RepresentableBy (Opposite.unop E.obj)

An initial object in the category F.Elements of a contravariant functor defines a representation for that functor.

theorem CategoryTheory.Functor.Elements.isRepresentable_of_hasInitial E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F : CategoryTheory.Functor Cᵒᵖ (Type w))
  [CategoryTheory.Limits.HasInitial F.Elements], F.IsRepresentable

theorem CategoryTheory.Functor.Elements.hasInitial_iff_isRepresentable E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F : CategoryTheory.Functor Cᵒᵖ (Type w)),
  CategoryTheory.Limits.HasInitial F.Elements ↔ F.IsRepresentable

Deprecated aliases

NameNew nameSince
CategoryTheory.CategoryOfElements.CreatesLimitsAux.isLimitCategoryTheory.Functor.Elements.CreatesLimitsAux.isLimit2026-08-30
CategoryTheory.CategoryOfElements.CreatesLimitsAux.isValidLiftCategoryTheory.Functor.Elements.CreatesLimitsAux.isValidLift2026-08-30
CategoryTheory.CategoryOfElements.CreatesLimitsAux.liftedConeCategoryTheory.Functor.Elements.CreatesLimitsAux.liftedCone2026-08-30
CategoryTheory.CategoryOfElements.CreatesLimitsAux.liftedConeElementCategoryTheory.Functor.Elements.CreatesLimitsAux.liftedConeElement2026-08-30
CategoryTheory.CategoryOfElements.CreatesLimitsAux.liftedConeElement'CategoryTheory.Functor.Elements.CreatesLimitsAux.liftedConeElement'2026-08-30
CategoryTheory.CategoryOfElements.CreatesLimitsAux.map_lift_mapConeCategoryTheory.Functor.Elements.CreatesLimitsAux.map_lift_mapCone2026-08-30
CategoryTheory.CategoryOfElements.CreatesLimitsAux.map_π_liftedConeElementCategoryTheory.Functor.Elements.CreatesLimitsAux.map_π_liftedConeElement2026-08-30
CategoryTheory.CategoryOfElements.CreatesLimitsAux.π_liftedConeElement'CategoryTheory.Functor.Elements.CreatesLimitsAux.π_liftedConeElement'2026-08-30