Locally discrete bicategories #
A category C
can be promoted to a strict bicategory LocallyDiscrete C
. The objects and the
1-morphisms in LocallyDiscrete C
are the same as the objects and the morphisms, respectively,
in C
, and the 2-morphisms in LocallyDiscrete C
are the equalities between 1-morphisms. In
other words, the category consisting of the 1-morphisms between each pair of objects X
and Y
in LocallyDiscrete C
is defined as the discrete category associated with the type X ⟶ Y
.
A type synonym for promoting any type to a category, with the only morphisms being equalities.
Equations
Instances For
Equations
- CategoryTheory.LocallyDiscrete.instInhabitedLocallyDiscrete = { default := default }
Equations
- One or more equations did not get rendered due to their size.
Equations
- CategoryTheory.LocallyDiscrete.homSmallCategory X Y = let X' := X; let Y' := Y; CategoryTheory.discreteCategory (X' ⟶ Y')
Equations
- (_ : Subsingleton (f ⟶ g)) = (_ : let X' := X; let Y' := Y; let f' := f; let g' := g; Subsingleton (f' ⟶ g'))
Extract the equation from a 2-morphism in a locally discrete 2-category.
The locally discrete bicategory on a category is a bicategory in which the objects and the 1-morphisms are the same as those in the underlying category, and the 2-morphisms are the equalities between 1-morphisms.
Equations
- One or more equations did not get rendered due to their size.
A locally discrete bicategory is strict.
Equations
If B
is a strict bicategory and I
is a (1-)category, any functor (of 1-categories) I ⥤ B
can
be promoted to an oplax functor from LocallyDiscrete I
to B
.
Equations
- One or more equations did not get rendered due to their size.