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.Zero

30 declarations. Mathlib docs · Source

Preservation of zero objects and zero morphisms

We define the class PreservesZeroMorphisms and show basic properties.

Main results

We provide the following results:

  • Left adjoints and right adjoints preserve zero morphisms;
  • full functors preserve zero morphisms;
  • if both categories involved have a zero object, then a functor preserves zero morphisms if and only if it preserves the zero object;
  • functors which preserve initial or terminal objects preserve zero morphisms.

theorem CategoryTheory.Functor.rightAdjoint.congr_simp E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (R R_1 : CategoryTheory.Functor D C) (e_R : R = R_1) [inst_2 : R.IsLeftAdjoint], R.rightAdjoint = R_1.rightAdjoint

class CategoryTheory.Functor.PreservesZeroMorphisms E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        [CategoryTheory.Limits.HasZeroMorphisms C] →
          [CategoryTheory.Limits.HasZeroMorphisms D] → CategoryTheory.Functor C D → Prop

A functor preserves zero morphisms if it sends zero morphisms to zero morphisms.

ctor CategoryTheory.Functor.PreservesZeroMorphisms.mk E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms D]
  {F : CategoryTheory.Functor C D},
  autoParam (∀ (X Y : C), F.map 0 = 0) CategoryTheory.Functor.PreservesZeroMorphisms.map_zero._autoParam →
    F.PreservesZeroMorphisms

theorem CategoryTheory.Functor.PreservesZeroMorphisms.map_zero E0 #

∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {D : Type u₂} {inst_1 : CategoryTheory.Category.{v₂, u₂} D}
  {inst_2 : CategoryTheory.Limits.HasZeroMorphisms C} {inst_3 : CategoryTheory.Limits.HasZeroMorphisms D}
  {F : CategoryTheory.Functor C D} [self : F.PreservesZeroMorphisms] (X Y : C), F.map 0 = 0

For any pair of objects F (0 : X ⟶ Y) = (0 : F X ⟶ F Y)

theorem CategoryTheory.Functor.map_zero E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms D]
  (F : CategoryTheory.Functor C D) [F.PreservesZeroMorphisms] (X Y : C), F.map 0 = 0

theorem CategoryTheory.Functor.map_isZero E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms D]
  (F : CategoryTheory.Functor C D) [F.PreservesZeroMorphisms] {X : C},
  CategoryTheory.Limits.IsZero X → CategoryTheory.Limits.IsZero (F.obj X)

theorem CategoryTheory.Functor.zero_of_map_zero E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms D]
  (F : CategoryTheory.Functor C D) [F.PreservesZeroMorphisms] [F.Faithful] {X Y : C} (f : X ⟶ Y), F.map f = 0 → f = 0

theorem CategoryTheory.Functor.map_eq_zero_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms D]
  (F : CategoryTheory.Functor C D) [F.PreservesZeroMorphisms] [F.Faithful] {X Y : C} {f : X ⟶ Y}, F.map f = 0 ↔ f = 0

instance CategoryTheory.Functor.preservesZeroMorphisms_of_isRightAdjoint E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms D]
  (F : CategoryTheory.Functor C D) [F.IsRightAdjoint], F.PreservesZeroMorphisms

instance CategoryTheory.Functor.preservesZeroMorphisms_of_isLeftAdjoint E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms D]
  (F : CategoryTheory.Functor C D) [F.IsLeftAdjoint], F.PreservesZeroMorphisms

instance CategoryTheory.Functor.preservesZeroMorphisms_of_full E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms D]
  (F : CategoryTheory.Functor C D) [F.Full], F.PreservesZeroMorphisms

instance CategoryTheory.Functor.preservesZeroMorphisms_comp E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms C]
  [inst_4 : CategoryTheory.Limits.HasZeroMorphisms D] [inst_5 : CategoryTheory.Limits.HasZeroMorphisms E]
  (F : CategoryTheory.Functor C D) (G : CategoryTheory.Functor D E) [F.PreservesZeroMorphisms]
  [G.PreservesZeroMorphisms], (F.comp G).PreservesZeroMorphisms

theorem CategoryTheory.Functor.preservesZeroMorphisms_of_iso E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms D]
  {F₁ F₂ : CategoryTheory.Functor C D} [F₁.PreservesZeroMorphisms] (e : F₁ ≅ F₂), F₂.PreservesZeroMorphisms

instance CategoryTheory.Functor.preservesZeroMorphisms_evaluation_obj E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] (j : D),
  ((CategoryTheory.evaluation D C).obj j).PreservesZeroMorphisms

instance CategoryTheory.Functor.instPreservesZeroMorphismsFlipOfObj E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms D]
  [inst_4 : CategoryTheory.Limits.HasZeroMorphisms E] (F : CategoryTheory.Functor C (CategoryTheory.Functor D E))
  [∀ (X : C), (F.obj X).PreservesZeroMorphisms], F.flip.PreservesZeroMorphisms

instance CategoryTheory.Functor.instPreservesZeroMorphismsObjFlip E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms C]
  [inst_4 : CategoryTheory.Limits.HasZeroMorphisms E] (F : CategoryTheory.Functor C (CategoryTheory.Functor D E))
  [F.PreservesZeroMorphisms] (Y : D), (F.flip.obj Y).PreservesZeroMorphisms

theorem CategoryTheory.Functor.whiskerRight_zero E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {E : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} E] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms D]
  [inst_4 : CategoryTheory.Limits.HasZeroMorphisms E] {F G : CategoryTheory.Functor C D}
  (H : CategoryTheory.Functor D E) [H.PreservesZeroMorphisms], CategoryTheory.Functor.whiskerRight 0 H = 0

theorem CategoryTheory.Functor.FullyFaithful.preservesZeroMorphisms E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.Limits.HasZeroMorphisms D] (F : CategoryTheory.Functor C D) (hF : F.FullyFaithful),
  F.PreservesZeroMorphisms

def CategoryTheory.Functor.mapZeroObject E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        [inst_2 : CategoryTheory.Limits.HasZeroObject C] →
          [inst_3 : CategoryTheory.Limits.HasZeroObject D] →
            [inst_4 : CategoryTheory.Limits.HasZeroMorphisms C] →
              [inst_5 : CategoryTheory.Limits.HasZeroMorphisms D] →
                (F : CategoryTheory.Functor C D) → [F.PreservesZeroMorphisms] → F.obj 0 ≅ 0

A functor that preserves zero morphisms also preserves the zero object.

theorem CategoryTheory.Functor.mapZeroObject_inv E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.Limits.HasZeroObject C] [inst_3 : CategoryTheory.Limits.HasZeroObject D]
  [inst_4 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_5 : CategoryTheory.Limits.HasZeroMorphisms D]
  (F : CategoryTheory.Functor C D) [inst_6 : F.PreservesZeroMorphisms], F.mapZeroObject.inv = 0

theorem CategoryTheory.Functor.mapZeroObject_hom E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.Limits.HasZeroObject C] [inst_3 : CategoryTheory.Limits.HasZeroObject D]
  [inst_4 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_5 : CategoryTheory.Limits.HasZeroMorphisms D]
  (F : CategoryTheory.Functor C D) [inst_6 : F.PreservesZeroMorphisms], F.mapZeroObject.hom = 0

theorem CategoryTheory.Functor.preservesZeroMorphisms_of_map_zero_object E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.Limits.HasZeroObject C] [inst_3 : CategoryTheory.Limits.HasZeroObject D]
  [inst_4 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_5 : CategoryTheory.Limits.HasZeroMorphisms D]
  {F : CategoryTheory.Functor C D} (i : F.obj 0 ≅ 0), F.PreservesZeroMorphisms

instance CategoryTheory.Functor.preservesZeroMorphisms_of_preserves_initial_object E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [CategoryTheory.Limits.HasZeroObject C] [CategoryTheory.Limits.HasZeroObject D]
  [inst_4 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_5 : CategoryTheory.Limits.HasZeroMorphisms D]
  {F : CategoryTheory.Functor C D} [CategoryTheory.Limits.PreservesColimit (CategoryTheory.Functor.empty C) F],
  F.PreservesZeroMorphisms

instance CategoryTheory.Functor.preservesZeroMorphisms_of_preserves_terminal_object E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [CategoryTheory.Limits.HasZeroObject C] [CategoryTheory.Limits.HasZeroObject D]
  [inst_4 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_5 : CategoryTheory.Limits.HasZeroMorphisms D]
  {F : CategoryTheory.Functor C D} [CategoryTheory.Limits.PreservesLimit (CategoryTheory.Functor.empty C) F],
  F.PreservesZeroMorphisms

theorem CategoryTheory.Functor.preservesTerminalObject_of_preservesZeroMorphisms E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [CategoryTheory.Limits.HasZeroObject C] [CategoryTheory.Limits.HasZeroObject D]
  [inst_4 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_5 : CategoryTheory.Limits.HasZeroMorphisms D]
  (F : CategoryTheory.Functor C D) [F.PreservesZeroMorphisms],
  CategoryTheory.Limits.PreservesLimit (CategoryTheory.Functor.empty C) F

Preserving zero morphisms implies preserving terminal objects.

theorem CategoryTheory.Functor.preservesInitialObject_of_preservesZeroMorphisms E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [CategoryTheory.Limits.HasZeroObject C] [CategoryTheory.Limits.HasZeroObject D]
  [inst_4 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_5 : CategoryTheory.Limits.HasZeroMorphisms D]
  (F : CategoryTheory.Functor C D) [F.PreservesZeroMorphisms],
  CategoryTheory.Limits.PreservesColimit (CategoryTheory.Functor.empty C) F

Preserving zero morphisms implies preserving initial objects.

theorem CategoryTheory.Functor.preservesLimitsOfShape_of_isZero E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [CategoryTheory.Limits.HasZeroObject D] [CategoryTheory.Limits.HasZeroMorphisms D] (G : CategoryTheory.Functor C D),
  CategoryTheory.Limits.IsZero G →
    ∀ (J : Type u_1) [inst_4 : CategoryTheory.Category.{v_1, u_1} J], CategoryTheory.Limits.PreservesLimitsOfShape J G

A zero functor preserves limits.

theorem CategoryTheory.Functor.preservesColimitsOfShape_of_isZero E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [CategoryTheory.Limits.HasZeroObject D] [CategoryTheory.Limits.HasZeroMorphisms D] (G : CategoryTheory.Functor C D),
  CategoryTheory.Limits.IsZero G →
    ∀ (J : Type u_1) [inst_4 : CategoryTheory.Category.{v_1, u_1} J], CategoryTheory.Limits.PreservesColimitsOfShape J G

A zero functor preserves colimits.

theorem CategoryTheory.Functor.preservesLimitsOfSize_of_isZero E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [CategoryTheory.Limits.HasZeroObject D] [CategoryTheory.Limits.HasZeroMorphisms D] (G : CategoryTheory.Functor C D),
  CategoryTheory.Limits.IsZero G → CategoryTheory.Limits.PreservesLimitsOfSize.{v, u, v₁, v₂, u₁, u₂} G

A zero functor preserves limits.

theorem CategoryTheory.Functor.preservesColimitsOfSize_of_isZero E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [CategoryTheory.Limits.HasZeroObject D] [CategoryTheory.Limits.HasZeroMorphisms D] (G : CategoryTheory.Functor C D),
  CategoryTheory.Limits.IsZero G → CategoryTheory.Limits.PreservesColimitsOfSize.{v, u, v₁, v₂, u₁, u₂} G

A zero functor preserves colimits.