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.Shapes.ZeroObjects

56 declarations. Mathlib docs · Source

Zero objects

A category "has a zero object" if it has an object which is both initial and terminal. Having a zero object provides zero morphisms, as the unique morphisms factoring through the zero object; see CategoryTheory.Limits.Shapes.ZeroMorphisms.

References

  • [F. Borceux, Handbook of Categorical Algebra 2][borceux-vol2]

structure CategoryTheory.Limits.IsZero E1 #

{C : Type u} → [CategoryTheory.Category.{v, u} C] → C → Prop

An object X in a category is a zero object if for every object Y there is a unique morphism to : X → Y and a unique morphism from : Y → X.

This is a characteristic predicate for HasZeroObject.

ctor CategoryTheory.Limits.IsZero.mk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C},
  (∀ (Y : C), Nonempty (Unique (X ⟶ Y))) → (∀ (Y : C), Nonempty (Unique (Y ⟶ X))) → CategoryTheory.Limits.IsZero X

theorem CategoryTheory.Limits.IsZero.unique_to E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C},
  CategoryTheory.Limits.IsZero X → ∀ (Y : C), Nonempty (Unique (X ⟶ Y))

there are unique morphisms to the object

theorem CategoryTheory.Limits.IsZero.unique_from E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C},
  CategoryTheory.Limits.IsZero X → ∀ (Y : C), Nonempty (Unique (Y ⟶ X))

there are unique morphisms from the object

def CategoryTheory.Limits.IsZero.to_ E1 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X : C} → CategoryTheory.Limits.IsZero X → (Y : C) → X ⟶ Y

If h : IsZero X, then h.to_ Y is a choice of unique morphism X → Y.

to is a reserved word, it was replaced by to_

def CategoryTheory.Limits.IsZero.from_ E1 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X : C} → CategoryTheory.Limits.IsZero X → (Y : C) → Y ⟶ X

If h : is_zero X, then h.from_ Y is a choice of unique morphism Y → X.

from is a reserved word, it was replaced by from_

theorem CategoryTheory.Limits.IsZero.to_eq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (h : CategoryTheory.Limits.IsZero X) (f : X ⟶ Y),
  h.to_ Y = f

theorem CategoryTheory.Limits.IsZero.from_eq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (h : CategoryTheory.Limits.IsZero X) (f : Y ⟶ X),
  h.from_ Y = f

theorem CategoryTheory.Limits.IsZero.epi E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C},
  CategoryTheory.Limits.IsZero X → ∀ {Y : C} (f : Y ⟶ X), CategoryTheory.Epi f

theorem CategoryTheory.Limits.IsZero.mono E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C},
  CategoryTheory.Limits.IsZero X → ∀ {Y : C} (f : X ⟶ Y), CategoryTheory.Mono f

def CategoryTheory.Limits.IsZero.iso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} → CategoryTheory.Limits.IsZero X → CategoryTheory.Limits.IsZero Y → (X ≅ Y)

Any two zero objects are isomorphic.

theorem CategoryTheory.Limits.IsZero.isIso E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C},
  CategoryTheory.Limits.IsZero X → CategoryTheory.Limits.IsZero Y → ∀ (f : X ⟶ Y), CategoryTheory.IsIso f

def CategoryTheory.Limits.IsZero.isInitial E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X : C} → CategoryTheory.Limits.IsZero X → CategoryTheory.Limits.IsInitial X

A zero object is in particular initial.

def CategoryTheory.Limits.IsZero.isTerminal E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X : C} → CategoryTheory.Limits.IsZero X → CategoryTheory.Limits.IsTerminal X

A zero object is in particular terminal.

def CategoryTheory.Limits.IsZero.isoIsInitial E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} → CategoryTheory.Limits.IsZero X → CategoryTheory.Limits.IsInitial Y → (X ≅ Y)

The (unique) isomorphism between any initial object and the zero object.

def CategoryTheory.Limits.IsZero.isoIsTerminal E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} → CategoryTheory.Limits.IsZero X → CategoryTheory.Limits.IsTerminal Y → (X ≅ Y)

The (unique) isomorphism between any terminal object and the zero object.

theorem CategoryTheory.Limits.IsZero.of_iso E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C},
  CategoryTheory.Limits.IsZero Y → ∀ (e : X ≅ Y), CategoryTheory.Limits.IsZero X

theorem CategoryTheory.Limits.IsZero.op E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C},
  CategoryTheory.Limits.IsZero X → CategoryTheory.Limits.IsZero (Opposite.op X)

theorem CategoryTheory.Limits.IsZero.unop E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : Cᵒᵖ},
  CategoryTheory.Limits.IsZero X → CategoryTheory.Limits.IsZero (Opposite.unop X)

def CategoryTheory.Limits.IsZero.retract E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X : C} → (Y : C) → CategoryTheory.Limits.IsZero X → CategoryTheory.Retract X Y

A zero object is a retract of every object.

theorem CategoryTheory.Iso.isZero_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (e : X ≅ Y),
  CategoryTheory.Limits.IsZero X ↔ CategoryTheory.Limits.IsZero Y

theorem CategoryTheory.Functor.isZero E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} D]
  (F : CategoryTheory.Functor C D), (∀ (X : C), CategoryTheory.Limits.IsZero (F.obj X)) → CategoryTheory.Limits.IsZero F

class CategoryTheory.Limits.HasZeroObject E1 #

(C : Type u) → [CategoryTheory.Category.{v, u} C] → Prop

A category "has a zero object" if it has an object which is both initial and terminal.

ctor CategoryTheory.Limits.HasZeroObject.mk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C],
  (∃ X, CategoryTheory.Limits.IsZero X) → CategoryTheory.Limits.HasZeroObject C

theorem CategoryTheory.Limits.HasZeroObject.zero E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : CategoryTheory.Limits.HasZeroObject C],
  ∃ X, CategoryTheory.Limits.IsZero X

there exists a zero object

instance CategoryTheory.Limits.hasZeroObject_pUnit E0 #

CategoryTheory.Limits.HasZeroObject (CategoryTheory.Discrete PUnit.{u_1 + 1})

def CategoryTheory.Limits.HasZeroObject.zero' E1 #

(C : Type u) → [inst : CategoryTheory.Category.{v, u} C] → [CategoryTheory.Limits.HasZeroObject C] → Zero C

Construct a Zero C for a category with a zero object. This cannot be a global instance as it will trigger for every Zero C typeclass search.

theorem CategoryTheory.Limits.isZero_zero E1 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasZeroObject C],
  CategoryTheory.Limits.IsZero 0

instance CategoryTheory.Limits.hasZeroObject_op E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasZeroObject C],
  CategoryTheory.Limits.HasZeroObject Cᵒᵖ

theorem CategoryTheory.Limits.hasZeroObject_unop E1 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasZeroObject Cᵒᵖ],
  CategoryTheory.Limits.HasZeroObject C

theorem CategoryTheory.Limits.IsZero.hasZeroObject E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C},
  CategoryTheory.Limits.IsZero X → CategoryTheory.Limits.HasZeroObject C

def CategoryTheory.Limits.IsZero.isoZero E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroObject C] → {X : C} → CategoryTheory.Limits.IsZero X → (X ≅ 0)

Every zero object is isomorphic to the zero object.

theorem CategoryTheory.Limits.IsZero.obj E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} D]
  [CategoryTheory.Limits.HasZeroObject D] {F : CategoryTheory.Functor C D},
  CategoryTheory.Limits.IsZero F → ∀ (X : C), CategoryTheory.Limits.IsZero (F.obj X)

theorem CategoryTheory.Limits.IsZero.of_full_of_faithful_of_isZero E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} D]
  (F : CategoryTheory.Functor C D) [F.Full] [F.Faithful] (X : C),
  CategoryTheory.Limits.IsZero (F.obj X) → CategoryTheory.Limits.IsZero X

def CategoryTheory.Limits.HasZeroObject.uniqueTo E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroObject C] → (X : C) → Unique (0 ⟶ X)

There is a unique morphism from the zero object to any object X.

def CategoryTheory.Limits.HasZeroObject.uniqueFrom E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroObject C] → (X : C) → Unique (X ⟶ 0)

There is a unique morphism from any object X to the zero object.

theorem CategoryTheory.Limits.HasZeroObject.to_zero_ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasZeroObject C] {X : C}
  (f g : X ⟶ 0), f = g

theorem CategoryTheory.Limits.HasZeroObject.from_zero_ext_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasZeroObject C] {X : C}
  {f g : 0 ⟶ X}, f = g ↔ True

theorem CategoryTheory.Limits.HasZeroObject.from_zero_ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasZeroObject C] {X : C}
  (f g : 0 ⟶ X), f = g

theorem CategoryTheory.Limits.HasZeroObject.to_zero_ext_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasZeroObject C] {X : C}
  {f g : X ⟶ 0}, f = g ↔ True

instance CategoryTheory.Limits.HasZeroObject.instSubsingletonIsoOfNat E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasZeroObject C] (X : C),
  Subsingleton (X ≅ 0)

instance CategoryTheory.Limits.HasZeroObject.instMono E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasZeroObject C] {X : C}
  (f : 0 ⟶ X), CategoryTheory.Mono f

instance CategoryTheory.Limits.HasZeroObject.instEpi E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasZeroObject C] {X : C}
  (f : X ⟶ 0), CategoryTheory.Epi f

instance CategoryTheory.Limits.HasZeroObject.zero_to_zero_isIso E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasZeroObject C] (f : 0 ⟶ 0),
  CategoryTheory.IsIso f

def CategoryTheory.Limits.HasZeroObject.zeroIsInitial E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroObject C] → CategoryTheory.Limits.IsInitial 0

A zero object is in particular initial.

def CategoryTheory.Limits.HasZeroObject.zeroIsTerminal E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroObject C] → CategoryTheory.Limits.IsTerminal 0

A zero object is in particular terminal.

instance CategoryTheory.Limits.HasZeroObject.hasInitial E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasZeroObject C],
  CategoryTheory.Limits.HasInitial C

A zero object is in particular initial.

instance CategoryTheory.Limits.HasZeroObject.hasTerminal E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasZeroObject C],
  CategoryTheory.Limits.HasTerminal C

A zero object is in particular terminal.

def CategoryTheory.Limits.HasZeroObject.zeroIsoIsInitial E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroObject C] → {X : C} → CategoryTheory.Limits.IsInitial X → (0 ≅ X)

The (unique) isomorphism between any initial object and the zero object.

def CategoryTheory.Limits.HasZeroObject.zeroIsoIsTerminal E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroObject C] → {X : C} → CategoryTheory.Limits.IsTerminal X → (0 ≅ X)

The (unique) isomorphism between any terminal object and the zero object.

def CategoryTheory.Limits.HasZeroObject.zeroIsoInitial E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroObject C] → [inst_2 : CategoryTheory.Limits.HasInitial C] → 0 ≅ ⊥_ C

The (unique) isomorphism between the chosen initial object and the chosen zero object.

def CategoryTheory.Limits.HasZeroObject.zeroIsoTerminal E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroObject C] → [inst_2 : CategoryTheory.Limits.HasTerminal C] → 0 ≅ ⊤_ C

The (unique) isomorphism between the chosen terminal object and the chosen zero object.

instance CategoryTheory.Limits.HasZeroObject.initialMonoClass E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasZeroObject C],
  CategoryTheory.Limits.InitialMonoClass C

theorem CategoryTheory.Functor.isZero_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} D]
  [CategoryTheory.Limits.HasZeroObject D] (F : CategoryTheory.Functor C D),
  CategoryTheory.Limits.IsZero F ↔ ∀ (X : C), CategoryTheory.Limits.IsZero (F.obj X)

instance CategoryTheory.instMonoToInitialIsInitial E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (A : C) [inst_1 : CategoryTheory.Limits.HasZeroObject C],
  CategoryTheory.Mono (CategoryTheory.Limits.initialIsInitial.to A)

instance CategoryTheory.instEpiFromTerminalIsTerminal E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (A : C) [inst_1 : CategoryTheory.Limits.HasZeroObject C],
  CategoryTheory.Epi (CategoryTheory.Limits.terminalIsTerminal.from A)