WithInitial
and WithTerminal
#
Given a category C
, this file constructs two objects:
WithTerminal C
, the category built fromC
by formally adjoining a terminal object.WithInitial C
, the category built fromC
by formally adjoining an initial object.
The terminal resp. initial object is WithTerminal.star
resp. WithInitial.star
, and
the proofs that these are terminal resp. initial are in WithTerminal.star_terminal
and WithInitial.star_initial
.
The inclusion from C
intro WithTerminal C
resp. WithInitial C
is denoted
WithTerminal.incl
resp. WithInitial.incl
.
The relevant constructions needed for the universal properties of these constructions are:
lift
, which liftsF : C ⥤ D
to a functor fromWithTerminal C
resp.WithInitial C
in the case where an objectZ : D
is provided satisfying some additional conditions.inclLift
shows that the composition oflift
withincl
is isomorphic to the functor which was lifted.liftUnique
provides the uniqueness property oflift
.
In addition to this, we provide WithTerminal.map
and WithInitial.map
providing the
functoriality of these constructions with respect to functors on the base categories.
- of: {C : Type u} → C → CategoryTheory.WithTerminal C
- star: {C : Type u} → CategoryTheory.WithTerminal C
Formally adjoin a terminal object to a category.
Instances For
- of: {C : Type u} → C → CategoryTheory.WithInitial C
- star: {C : Type u} → CategoryTheory.WithInitial C
Formally adjoin an initial object to a category.
Instances For
Morphisms for WithTerminal C
.
Instances For
Identity morphisms for WithTerminal C
.
Instances For
Composition of morphisms for WithTerminal C
.
Instances For
Helper function for typechecking.
Instances For
The inclusion from C
into WithTerminal C
.
Instances For
Map WithTerminal
with respect to a functor F : C ⥤ D
.
Instances For
WithTerminal.star
is terminal.
Instances For
Lift a functor F : C ⥤ D
to WithTerminal C ⥤ D
.
Instances For
The isomorphism between incl ⋙ lift F _ _
with F
.
Instances For
The isomorphism between (lift F _ _).obj WithTerminal.star
with Z
.
Instances For
The uniqueness of lift
.
Instances For
A variant of lift
with Z
a terminal object.
Instances For
A variant of incl_lift
with Z
a terminal object.
Instances For
A variant of lift_unique
with Z
a terminal object.
Instances For
Constructs a morphism to star
from of X
.
Instances For
Morphisms for WithInitial C
.
Instances For
Identity morphisms for WithInitial C
.
Instances For
Composition of morphisms for WithInitial C
.
Instances For
Helper function for typechecking.
Instances For
The inclusion of C
into WithInitial C
.
Instances For
Map WithInitial
with respect to a functor F : C ⥤ D
.
Instances For
WithInitial.star
is initial.
Instances For
Lift a functor F : C ⥤ D
to WithInitial C ⥤ D
.
Instances For
The isomorphism between incl ⋙ lift F _ _
with F
.
Instances For
The isomorphism between (lift F _ _).obj WithInitial.star
with Z
.
Instances For
The uniqueness of lift
.
Instances For
A variant of lift
with Z
an initial object.
Instances For
A variant of incl_lift
with Z
an initial object.
Instances For
A variant of lift_unique
with Z
an initial object.
Instances For
Constructs a morphism from star
to of X
.