Commit 2025-12-17 16:11 07ecd39a
View on Github →feat(CategoryTheory/Cat/Basic): Turning 1- and 2-morphisms in Cat into a 1-field structure (#31807)
This PR defines Cat.Hom and Cat.Hom₂, which are 1-field structures wrapping Functor and NatTrans respectively.
In addition, it changes the Bicategory instance for Cat to use these wrappers instead.
This PR adds such definitions as NatTrans.toCatHom2, Cat.Hom.toFunctor, Cat.Hom₂.toNatTrans, Cat.Hom.isoMk as well as simp lemmas for normalizing these to operations.