WithInitial and WithTerminal #
Given a category C, this file constructs two objects:
WithTerminal C, the category built fromCby formally adjoining a terminal object.WithInitial C, the category built fromCby 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 into 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 ⥤ Dto a functor fromWithTerminal Cresp.WithInitial Cin the case where an objectZ : Dis provided satisfying some additional conditions.inclLiftshows that the composition ofliftwithinclis isomorphic to the functor which was lifted.liftUniqueprovides 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.
We define corresponding pseudofunctors WithTerminal.pseudofunctor and WithInitial.pseudofunctor
from Cat to Cat.
Formally adjoin a terminal object to a category.
- of {C : Type u} : C → WithTerminal C
- star {C : Type u} : WithTerminal C
Instances For
Instances For
Formally adjoin an initial object to a category.
- of {C : Type u} : C → WithInitial C
- star {C : Type u} : WithInitial C
Instances For
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
A natural isomorphism between the functor map (𝟭 C) and 𝟭 (WithTerminal C).
Instances For
A natural isomorphism between the functor map (F ⋙ G) and map F ⋙ map G .
Instances For
From a natural transformation of functors C ⥤ D, the induced natural transformation
of functors WithTerminal C ⥤ WithTerminal D.
Instances For
The prelax functor from Cat to Cat defined with WithTerminal.
Instances For
The pseudofunctor from Cat to Cat defined with WithTerminal.
Instances For
WithTerminal.star is terminal.
Instances For
The isomorphism between star and an abstract terminal object of WithTerminal C
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
A functor WithTerminal C ⥤ D can be seen as an element of the comma category
Comma (𝟭 (C ⥤ D)) (const C).
Instances For
A morphism of functors WithTerminal C ⥤ D gives a morphism between the associated comma
objects.
Instances For
An element of the comma category Comma (𝟭 (C ⥤ D)) (Functor.const C) can be seen as a
functor WithTerminal C ⥤ D.
Instances For
A morphism in Comma (𝟭 (C ⥤ D)) (Functor.const C) gives a morphism between the associated
functors WithTerminal C ⥤ D.
Instances For
The category of functors WithTerminal C ⥤ D is equivalent to the category
Comma (𝟭 (C ⥤ D)) (const C) .
Instances For
In the case of a discrete category, WithTerminal is the same category as WidePullbackShape
TODO: Should we simply replace WidePullbackShape J with WithTerminal (Discrete J) everywhere?
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
A natural isomorphism between the functor map (𝟭 C) and 𝟭 (WithInitial C).
Instances For
A natural isomorphism between the functor map (F ⋙ G) and map F ⋙ map G .
Instances For
From a natural transformation of functors C ⥤ D, the induced natural transformation
of functors WithInitial C ⥤ WithInitial D.
Instances For
The prelax functor from Cat to Cat defined with WithInitial.
Instances For
The pseudofunctor from Cat to Cat defined with WithInitial.
Instances For
WithInitial.star is initial.
Instances For
The isomorphism between star and an abstract initial object of WithInitial C
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
A functor WithInitial C ⥤ D can be seen as an element of the comma category
Comma (const C) (𝟭 (C ⥤ D)).
Instances For
A morphism of functors WithInitial C ⥤ D gives a morphism between the associated comma
objects.
Instances For
An element of the comma category Comma (Functor.const C) (𝟭 (C ⥤ D)) can be seen as a
functor WithInitial C ⥤ D.
Instances For
A morphism in Comma (Functor.const C) (𝟭 (C ⥤ D)) gives a morphism between the associated
functors WithInitial C ⥤ D.
Instances For
The category of functors WithInitial C ⥤ D is equivalent to the category
Comma (const C) (𝟭 (C ⥤ D)).
Instances For
The opposite category of WithTerminal C is equivalent to WithInitial Cᵒᵖ.
Instances For
The opposite category of WithInitial C is equivalent to WithTerminal Cᵒᵖ.