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.FunctorCategory.Shapes.Terminal

2 declarations. Mathlib docs · Source

def CategoryTheory.Functor.isTerminal E1 #

{C : Type u_1} →
  {D : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
        {F : CategoryTheory.Functor C D} →
          ((X : C) → CategoryTheory.Limits.IsTerminal (F.obj X)) → CategoryTheory.Limits.IsTerminal F

If F : C ⥤ D is such that F.obj X is terminal for any X : C, then F is a terminal object.

def CategoryTheory.Functor.isInitial E1 #

{C : Type u_1} →
  {D : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
        {F : CategoryTheory.Functor C D} →
          ((X : C) → CategoryTheory.Limits.IsInitial (F.obj X)) → CategoryTheory.Limits.IsInitial F

If F : C ⥤ D is such that F.obj X is initial for any X : C, then F is an initial object.