Zero objects #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
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 #
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
.
If h : is_zero X
, then h.to Y
is a choice of unique morphism X → Y
.
Equations
- h.to Y = inhabited.default
If h : is_zero X
, then h.from Y
is a choice of unique morphism Y → X
.
Equations
- h.from Y = inhabited.default
Any two zero objects are isomorphic.
Equations
- hX.iso hY = {hom := hX.to Y, inv := hX.from Y, hom_inv_id' := _, inv_hom_id' := _}
A zero object is in particular initial.
Equations
A zero object is in particular terminal.
Equations
The (unique) isomorphism between any initial object and the zero object.
Equations
- hX.iso_is_initial hY = hX.is_initial.unique_up_to_iso hY
The (unique) isomorphism between any terminal object and the zero object.
Equations
- hX.iso_is_terminal hY = hX.is_terminal.unique_up_to_iso hY
- zero : ∃ (X : C), category_theory.limits.is_zero X
A category "has a zero object" if it has an object which is both initial and terminal.
Instances of this typeclass
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.
Every zero object is isomorphic to the zero object.
There is a unique morphism from the zero object to any object X
.
Equations
There is a unique morphism from any object X
to the zero object.
Equations
A zero object is in particular initial.
A zero object is in particular terminal.
A zero object is in particular initial.
A zero object is in particular terminal.
The (unique) isomorphism between any initial object and the zero object.
The (unique) isomorphism between any terminal object and the zero object.
The (unique) isomorphism between the chosen initial object and the chosen zero object.
The (unique) isomorphism between the chosen terminal object and the chosen zero object.