mathlib documentation

category_theory.limits.shapes.zero_objects

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 category_theory.limits.shapes.zero_morphisms.

References #

structure category_theory.limits.is_zero {C : Type u} [category_theory.category C] (X : 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 has_zero_object.

@[protected]
noncomputable def category_theory.limits.is_zero.to {C : Type u} [category_theory.category C] {X : C} (h : category_theory.limits.is_zero X) (Y : C) :
X Y

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

Equations
theorem category_theory.limits.is_zero.eq_to {C : Type u} [category_theory.category C] {X Y : C} (h : category_theory.limits.is_zero X) (f : X Y) :
f = h.to Y
theorem category_theory.limits.is_zero.to_eq {C : Type u} [category_theory.category C] {X Y : C} (h : category_theory.limits.is_zero X) (f : X Y) :
h.to Y = f
@[protected]
noncomputable def category_theory.limits.is_zero.from {C : Type u} [category_theory.category C] {X : C} (h : category_theory.limits.is_zero X) (Y : C) :
Y X

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

Equations
theorem category_theory.limits.is_zero.eq_of_src {C : Type u} [category_theory.category C] {X Y : C} (hX : category_theory.limits.is_zero X) (f g : X Y) :
f = g
theorem category_theory.limits.is_zero.eq_of_tgt {C : Type u} [category_theory.category C] {X Y : C} (hX : category_theory.limits.is_zero X) (f g : Y X) :
f = g

Any two zero objects are isomorphic.

Equations
@[protected]

A zero object is in particular initial.

Equations
@[protected]

A zero object is in particular terminal.

Equations

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

Equations

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

Equations
@[protected]

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

Equations

Every zero object is isomorphic to the zero object.

Equations
@[protected]

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

Equations
@[protected]

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

Equations