(2,1)-categories #
A bicategory B is said to be locally groupoidal (or a (2,1)-category) if for every pair
of objects x, y, the Hom-category x ⟶ y is a groupoid (which is expressed using the
CategoryTheory.IsGroupoid typeclass).
Given a bicategory B, we construct a bicategory Pith B which is obtained from B
by discarding non-invertible 2-morphisms. This is realized in practice by applying
Core to each hom-category of C. By construction, Pith B is a (2,1)-category,
and for every (2,1)-category B', every pseudofunctor B' ⥤ B factors (essentially) uniquely
through the inclusion from Pith B to B (see
CategoryTheory.Bicategory.Pith.pseudofunctorToPith).
References #
A bicategory is locally groupoidal if the categories of 1-morphisms are groupoids.
Equations
- CategoryTheory.Bicategory.IsLocallyGroupoid B = ∀ (b c : B), CategoryTheory.IsGroupoid (b ⟶ c)
Instances For
Given a bicategory B, Pith B is the bicategory obtain by discarding the non-invertible
2-cells from B. We implement this as a wrapper type for B, and use CategoryTheory.Core
to discard the non-invertible morphisms.
- as : B
The underlying object of the bicategory.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
Equations
- One or more equations did not get rendered due to their size.
The canonical inclusion from the pith of B to B, as a Pseudofunctor.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Any pseudofunctor from a (2,1)-category to a bicategory factors through the pith of the target bicateogry.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The hom direction of the (strong) natural isomorphism of pseudofunctors
between (pseudofunctorToPith F).comp (inclusion B) and F.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The inv direction of the (strong) natural isomorphism of pseudofunctors
between (pseudofunctorToPith F).comp (inclusion B) and F.
Equations
- One or more equations did not get rendered due to their size.
Instances For
If B is a (2,1)-category, then every lax functor F from a bicategory to B defines a
CategoryTheory.LaxFunctor.PseudoCore structure on F that can be used to promote F to a
pseudofunctor using CategoryTheory.Pseudofunctor.mkOfLax.
Equations
- One or more equations did not get rendered due to their size.
Instances For
If B is a (2,1)-category, then every oplax functor F from a bicategory to B defines
a CategoryTheory.OplaxFunctor.PseudoCore structure on F that can be used to promote F
to a pseudofunctor using CategoryTheory.Pseudofunctor.mkOfOplax.
Equations
- One or more equations did not get rendered due to their size.