Strict bicategories #
A bicategory is called Strict
if the left unitors, the right unitors, and the associators are
isomorphisms given by equalities.
Implementation notes #
In the literature of category theory, a strict bicategory (usually called a strict 2-category) is
often defined as a bicategory whose left unitors, right unitors, and associators are identities.
We cannot use this definition directly here since the types of 2-morphisms depend on 1-morphisms.
For this reason, we use eqToIso
, which gives isomorphisms from equalities, instead of
identities.
A bicategory is called Strict
if the left unitors, the right unitors, and the associators are
isomorphisms given by equalities.
Identity morphisms are left identities for composition.
Identity morphisms are right identities for composition.
- assoc {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) : CategoryStruct.comp (CategoryStruct.comp f g) h = CategoryStruct.comp f (CategoryStruct.comp g h)
Composition in a bicategory is associative.
The left unitors are given by equalities
The right unitors are given by equalities
The associators are given by equalities
Instances
Category structure on a strict bicategory