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 wrapper for promoting any category to a bicategory, with the only 2-morphisms being equalities.
- as : C
A wrapper for promoting any category to a bicategory, with the only 2-morphisms being equalities.
Instances For
LocallyDiscrete C
is equivalent to the original type C
.
Equations
- CategoryTheory.LocallyDiscrete.locallyDiscreteEquiv = { toFun := CategoryTheory.LocallyDiscrete.as, invFun := CategoryTheory.LocallyDiscrete.mk, left_inv := ⋯, right_inv := ⋯ }
Instances For
Equations
- CategoryTheory.LocallyDiscrete.instDecidableEq = CategoryTheory.LocallyDiscrete.locallyDiscreteEquiv.decidableEq
Equations
- CategoryTheory.LocallyDiscrete.instInhabited = { default := { as := default } }
Equations
- One or more equations did not get rendered due to their size.
Equations
- a.homSmallCategory b = CategoryTheory.discreteCategory (a.as ⟶ b.as)
Equations
- ⋯ = ⋯
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 a pseudofunctor from LocallyDiscrete I
to B
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
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.
Instances For
The 1-morphism in LocallyDiscrete C
associated to a given morphism f : a ⟶ b
in C
Equations
- f.toLoc = { as := f }