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

28 declarations. Mathlib docs · Source

theorem CategoryTheory.Limits.IsTerminal.isTerminalObj.congr_simp E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (G : CategoryTheory.Functor C D) (X : C)
  [inst_2 : CategoryTheory.Limits.PreservesLimit (CategoryTheory.Functor.empty C) G]
  (l l_1 : CategoryTheory.Limits.IsTerminal X),
  l = l_1 →
    CategoryTheory.Limits.IsTerminal.isTerminalObj G X l = CategoryTheory.Limits.IsTerminal.isTerminalObj G X l_1

theorem CategoryTheory.Limits.IsTerminal.isTerminalOfObj.congr_simp E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (G : CategoryTheory.Functor C D) (X : C)
  [inst_2 : CategoryTheory.Limits.ReflectsLimit (CategoryTheory.Functor.empty C) G]
  (l l_1 : CategoryTheory.Limits.IsTerminal (G.obj X)),
  l = l_1 →
    CategoryTheory.Limits.IsTerminal.isTerminalOfObj G X l = CategoryTheory.Limits.IsTerminal.isTerminalOfObj G X l_1

def CategoryTheory.Limits.isLimitMapConeEmptyConeEquiv E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (G : CategoryTheory.Functor C D) →
          (X : C) →
            CategoryTheory.Limits.IsLimit (G.mapCone (CategoryTheory.Limits.asEmptyCone X)) ≃
              CategoryTheory.Limits.IsTerminal (G.obj X)

The map of an empty cone is a limit iff the mapped object is terminal.

def CategoryTheory.Limits.isColimitMapCoconeEmptyCoconeEquiv E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (G : CategoryTheory.Functor C D) →
          (X : C) →
            CategoryTheory.Limits.IsColimit (G.mapCocone (CategoryTheory.Limits.asEmptyCocone X)) ≃
              CategoryTheory.Limits.IsInitial (G.obj X)

The map of an empty cocone is a colimit iff the mapped object is initial.

def CategoryTheory.Limits.IsTerminal.isTerminalObj E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (G : CategoryTheory.Functor C D) →
          (X : C) →
            [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Functor.empty C) G] →
              CategoryTheory.Limits.IsTerminal X → CategoryTheory.Limits.IsTerminal (G.obj X)

The property of preserving terminal objects expressed in terms of IsTerminal.

def CategoryTheory.Limits.IsInitial.isInitialObj E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (G : CategoryTheory.Functor C D) →
          (X : C) →
            [CategoryTheory.Limits.PreservesColimit (CategoryTheory.Functor.empty C) G] →
              CategoryTheory.Limits.IsInitial X → CategoryTheory.Limits.IsInitial (G.obj X)

The property of preserving initial objects expressed in terms of IsInitial.

def CategoryTheory.Limits.IsTerminal.isTerminalOfObj E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (G : CategoryTheory.Functor C D) →
          (X : C) →
            [CategoryTheory.Limits.ReflectsLimit (CategoryTheory.Functor.empty C) G] →
              CategoryTheory.Limits.IsTerminal (G.obj X) → CategoryTheory.Limits.IsTerminal X

The property of reflecting terminal objects expressed in terms of IsTerminal.

def CategoryTheory.Limits.IsInitial.isInitialOfObj E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (G : CategoryTheory.Functor C D) →
          (X : C) →
            [CategoryTheory.Limits.ReflectsColimit (CategoryTheory.Functor.empty C) G] →
              CategoryTheory.Limits.IsInitial (G.obj X) → CategoryTheory.Limits.IsInitial X

The property of reflecting initial objects expressed in terms of IsInitial.

def CategoryTheory.Limits.IsTerminal.isTerminalIffObj E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (G : CategoryTheory.Functor C D) →
          [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Functor.empty C) G] →
            [CategoryTheory.Limits.ReflectsLimit (CategoryTheory.Functor.empty C) G] →
              (X : C) → CategoryTheory.Limits.IsTerminal X ≃ CategoryTheory.Limits.IsTerminal (G.obj X)

A functor that preserves and reflects terminal objects induces an equivalence on IsTerminal.

def CategoryTheory.Limits.IsInitial.isInitialIffObj E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (G : CategoryTheory.Functor C D) →
          [CategoryTheory.Limits.PreservesColimit (CategoryTheory.Functor.empty C) G] →
            [CategoryTheory.Limits.ReflectsColimit (CategoryTheory.Functor.empty C) G] →
              (X : C) → CategoryTheory.Limits.IsInitial X ≃ CategoryTheory.Limits.IsInitial (G.obj X)

A functor that preserves and reflects initial objects induces an equivalence on IsInitial.

theorem CategoryTheory.Limits.preservesLimitsOfShape_pempty_of_preservesTerminal E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (G : CategoryTheory.Functor C D) [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Functor.empty C) G],
  CategoryTheory.Limits.PreservesLimitsOfShape (CategoryTheory.Discrete PEmpty.{1}) G

Preserving the terminal object implies preserving all limits of the empty diagram.

theorem CategoryTheory.Limits.preservesColimitsOfShape_pempty_of_preservesInitial E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (G : CategoryTheory.Functor C D) [CategoryTheory.Limits.PreservesColimit (CategoryTheory.Functor.empty C) G],
  CategoryTheory.Limits.PreservesColimitsOfShape (CategoryTheory.Discrete PEmpty.{1}) G

Preserving the initial object implies preserving all colimits of the empty diagram.

def CategoryTheory.Limits.isLimitOfHasTerminalOfPreservesLimit E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (G : CategoryTheory.Functor C D) →
          [inst_2 : CategoryTheory.Limits.HasTerminal C] →
            [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Functor.empty C) G] →
              CategoryTheory.Limits.IsTerminal (G.obj (⊤_ C))

If G preserves the terminal object and C has a terminal object, then the image of the terminal object is terminal.

def CategoryTheory.Limits.isColimitOfHasInitialOfPreservesColimit E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (G : CategoryTheory.Functor C D) →
          [inst_2 : CategoryTheory.Limits.HasInitial C] →
            [CategoryTheory.Limits.PreservesColimit (CategoryTheory.Functor.empty C) G] →
              CategoryTheory.Limits.IsInitial (G.obj (⊥_ C))

If G preserves the initial object and C has an initial object, then the image of the initial object is initial.

theorem CategoryTheory.Limits.hasTerminal_of_hasTerminal_of_preservesLimit E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (G : CategoryTheory.Functor C D) [CategoryTheory.Limits.HasTerminal C]
  [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Functor.empty C) G], CategoryTheory.Limits.HasTerminal D

If C has a terminal object and G preserves terminal objects, then D has a terminal object also. Note this property is somewhat unique to (co)limits of the empty diagram: for general J, if C has limits of shape J and G preserves them, then D does not necessarily have limits of shape J.

theorem CategoryTheory.Limits.hasInitial_of_hasInitial_of_preservesColimit E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (G : CategoryTheory.Functor C D) [CategoryTheory.Limits.HasInitial C]
  [CategoryTheory.Limits.PreservesColimit (CategoryTheory.Functor.empty C) G], CategoryTheory.Limits.HasInitial D

If C has an initial object and G preserves initial objects, then D has an initial object also. Note this property is somewhat unique to colimits of the empty diagram: for general J, if C has colimits of shape J and G preserves them, then D does not necessarily have colimits of shape J.

theorem CategoryTheory.Limits.PreservesTerminal.of_iso_comparison E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (G : CategoryTheory.Functor C D) [inst_2 : CategoryTheory.Limits.HasTerminal C]
  [inst_3 : CategoryTheory.Limits.HasTerminal D]
  [i : CategoryTheory.IsIso (CategoryTheory.Limits.terminalComparison G)],
  CategoryTheory.Limits.PreservesLimit (CategoryTheory.Functor.empty C) G

If the terminal comparison map for G is an isomorphism, then G preserves terminal objects.

theorem CategoryTheory.Limits.PreservesInitial.of_iso_comparison E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (G : CategoryTheory.Functor C D) [inst_2 : CategoryTheory.Limits.HasInitial C]
  [inst_3 : CategoryTheory.Limits.HasInitial D] [i : CategoryTheory.IsIso (CategoryTheory.Limits.initialComparison G)],
  CategoryTheory.Limits.PreservesColimit (CategoryTheory.Functor.empty C) G

If the initial comparison map for G is an isomorphism, then G preserves initial objects.

theorem CategoryTheory.Limits.preservesTerminal_of_isIso E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (G : CategoryTheory.Functor C D) [inst_2 : CategoryTheory.Limits.HasTerminal C]
  [inst_3 : CategoryTheory.Limits.HasTerminal D] (f : G.obj (⊤_ C) ⟶ ⊤_ D) [i : CategoryTheory.IsIso f],
  CategoryTheory.Limits.PreservesLimit (CategoryTheory.Functor.empty C) G

If there is any isomorphism G.obj ⊤ ⟶ ⊤, then G preserves terminal objects.

theorem CategoryTheory.Limits.preservesInitial_of_isIso E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (G : CategoryTheory.Functor C D) [inst_2 : CategoryTheory.Limits.HasInitial C]
  [inst_3 : CategoryTheory.Limits.HasInitial D] (f : ⊥_ D ⟶ G.obj (⊥_ C)) [i : CategoryTheory.IsIso f],
  CategoryTheory.Limits.PreservesColimit (CategoryTheory.Functor.empty C) G

If there is any isomorphism ⊥ ⟶ G.obj ⊥, then G preserves initial objects.

theorem CategoryTheory.Limits.preservesTerminal_of_iso E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (G : CategoryTheory.Functor C D) [inst_2 : CategoryTheory.Limits.HasTerminal C]
  [inst_3 : CategoryTheory.Limits.HasTerminal D] (f : G.obj (⊤_ C) ≅ ⊤_ D),
  CategoryTheory.Limits.PreservesLimit (CategoryTheory.Functor.empty C) G

If there is any isomorphism G.obj ⊤ ≅ ⊤, then G preserves terminal objects.

theorem CategoryTheory.Limits.preservesInitial_of_iso E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (G : CategoryTheory.Functor C D) [inst_2 : CategoryTheory.Limits.HasInitial C]
  [inst_3 : CategoryTheory.Limits.HasInitial D] (f : G.obj (⊥_ C) ≅ ⊥_ D),
  CategoryTheory.Limits.PreservesColimit (CategoryTheory.Functor.empty C) G

If there is any isomorphism G.obj ⊥ ≅ ⊥, then G preserves initial objects.

def CategoryTheory.Limits.PreservesTerminal.iso E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (G : CategoryTheory.Functor C D) →
          [inst_2 : CategoryTheory.Limits.HasTerminal C] →
            [inst_3 : CategoryTheory.Limits.HasTerminal D] →
              [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Functor.empty C) G] → G.obj (⊤_ C) ≅ ⊤_ D

If G preserves terminal objects, then the terminal comparison map for G is an isomorphism.

def CategoryTheory.Limits.PreservesInitial.iso E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (G : CategoryTheory.Functor C D) →
          [inst_2 : CategoryTheory.Limits.HasInitial C] →
            [inst_3 : CategoryTheory.Limits.HasInitial D] →
              [CategoryTheory.Limits.PreservesColimit (CategoryTheory.Functor.empty C) G] → G.obj (⊥_ C) ≅ ⊥_ D

If G preserves initial objects, then the initial comparison map for G is an isomorphism.

theorem CategoryTheory.Limits.PreservesTerminal.iso_hom E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (G : CategoryTheory.Functor C D) [inst_2 : CategoryTheory.Limits.HasTerminal C]
  [inst_3 : CategoryTheory.Limits.HasTerminal D]
  [inst_4 : CategoryTheory.Limits.PreservesLimit (CategoryTheory.Functor.empty C) G],
  (CategoryTheory.Limits.PreservesTerminal.iso G).hom = CategoryTheory.Limits.terminalComparison G

theorem CategoryTheory.Limits.PreservesInitial.iso_hom E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (G : CategoryTheory.Functor C D) [inst_2 : CategoryTheory.Limits.HasInitial C]
  [inst_3 : CategoryTheory.Limits.HasInitial D]
  [inst_4 : CategoryTheory.Limits.PreservesColimit (CategoryTheory.Functor.empty C) G],
  (CategoryTheory.Limits.PreservesInitial.iso G).inv = CategoryTheory.Limits.initialComparison G

instance CategoryTheory.Limits.instIsIsoTerminalComparison E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (G : CategoryTheory.Functor C D) [inst_2 : CategoryTheory.Limits.HasTerminal C]
  [inst_3 : CategoryTheory.Limits.HasTerminal D]
  [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Functor.empty C) G],
  CategoryTheory.IsIso (CategoryTheory.Limits.terminalComparison G)

instance CategoryTheory.Limits.instIsIsoInitialComparison E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (G : CategoryTheory.Functor C D) [inst_2 : CategoryTheory.Limits.HasInitial C]
  [inst_3 : CategoryTheory.Limits.HasInitial D]
  [CategoryTheory.Limits.PreservesColimit (CategoryTheory.Functor.empty C) G],
  CategoryTheory.IsIso (CategoryTheory.Limits.initialComparison G)