Prelax functors and locally discrete bicategories #
In a locally discrete bicategory every 2-morphism η : f ⟶ g forces f = g, so a prelax
functor (in particular a pseudofunctor) sends η to an eqToHom. This lets the coherence
data of a pseudofunctor out of LocallyDiscrete B₀, such as F.map₂ (α_ f g h).hom, be
computed componentwise.
Dually, the unit and composition comparisons of a pseudofunctor P into a locally discrete
bicategory are determined by equalities of 1-morphisms. So the comparisons of a composite
P.comp F are the flexible comparisons F.mapId' and F.mapComp' of F at the images of
P, for instance for P = Functor.toPseudofunctor ψ induced by a functor of categories.
Consequently, pulling F : LocallyDiscrete Λ ⥤ᵖ C back along the identity functor, or along a
composite f ⋙ g instead of first along g and then along f, does not change its unit and
composition comparisons.
Finally, CategoryTheory.LocallyDiscrete.mkCatPseudofunctor builds a pseudofunctor
LocallyDiscrete B₀ ⥤ᵖ Cat from functors, unit isomorphisms and composition isomorphisms
map fg ≅ map f ⋙ map g given at arbitrary factorizations f ≫ g = fg, from componentwise
associativity and unit laws.
A prelax functor out of a locally discrete bicategory sends every 2-morphism to an
eqToHom.
A prelax functor out of a locally discrete bicategory sends a composite of two 2-morphisms
to the image of any 2-morphism with the same source and target.
A prelax functor out of a locally discrete bicategory sends a composite of two 2-morphisms
to the image of any 2-morphism with the same source and target.
The unit comparison of the composite of a pseudofunctor P into a locally discrete
bicategory with F is the unit comparison of F at the 1-morphism P.map (𝟙 a), which
equals 𝟙 (P.obj a).
The composition comparison of the composite of a pseudofunctor P into a locally discrete
bicategory with F is the composition comparison of F at the factorization
P.map f ≫ P.map g = P.map (f ≫ g).
The flexible unit comparison of the composite of a pseudofunctor P into a locally discrete
bicategory with F, at a 1-morphism u equal to an identity, is the flexible unit comparison
of F at P.map u.
The flexible composition comparison of the composite of a pseudofunctor P into a locally
discrete bicategory with F is the flexible composition comparison of F at the images under
P.
Pulling back along identities and composites of functors #
Pulling back along the identity functor does not change the unit comparisons.
Pulling back along the identity functor does not change the composition comparisons.
Pulling back along a composite functor f ⋙ g has the same unit comparisons as pulling back
along g and then along f.
Pulling back along a composite functor f ⋙ g has the same composition comparisons as
pulling back along g and then along f.
Associativity of composition isomorphisms map f ⋙ map g ≅ map fg of a family of functors,
given at arbitrary factorizations, implies the associativity of their inverses.
Associativity of composition isomorphisms map f ⋙ map g ≅ map fg of a family of functors,
given at arbitrary factorizations, implies the associativity of their inverses.
Constructor for pseudofunctors LocallyDiscrete B₀ ⥤ᵖ Cat with value obj b at b, from
functors map f, unit isomorphisms map (𝟙 b) ≅ 𝟭 and composition isomorphisms
map fg ≅ map f ⋙ map g at arbitrary factorizations f ≫ g = fg. Since the coherence
conditions are required at arbitrary factorizations, they are stated componentwise without the
eqToHom relating (f ≫ g) ≫ h and f ≫ g ≫ h.