Category of groupoids #
This file contains the definition of the category Grpd
of all groupoids.
In this category objects are groupoids and morphisms are functors
between these groupoids.
We also provide two “forgetting” functors: objects : Grpd ⥤ Type
and forgetToCat : Grpd ⥤ Cat
.
Implementation notes #
Though Grpd
is not a concrete category, we use Bundled
to define
its carrier type.
Category of groupoids
Instances For
Equations
- CategoryTheory.Grpd.str' C = C.str
Equations
- CategoryTheory.Grpd.instCoeSortGrpdType = CategoryTheory.Bundled.coeSort
Category structure on Grpd
Equations
- CategoryTheory.Grpd.category = CategoryTheory.Category.mk
Functor that gets the set of objects of a groupoid. It is not
called forget
, because it is not a faithful functor.
Equations
- CategoryTheory.Grpd.objects = CategoryTheory.Functor.mk { obj := CategoryTheory.Bundled.α, map := fun {X Y : CategoryTheory.Grpd} (F : X ⟶ Y) => F.obj }
Instances For
Forgetting functor to Cat
Equations
- CategoryTheory.Grpd.forgetToCat = CategoryTheory.Functor.mk { obj := fun (C : CategoryTheory.Grpd) => CategoryTheory.Cat.of ↑C, map := fun {X Y : CategoryTheory.Grpd} => id }
Instances For
Equations
- CategoryTheory.Grpd.forgetToCatFull = CategoryTheory.Full.mk fun {X Y : CategoryTheory.Grpd} => id
Convert arrows in the category of groupoids to functors, which sometimes helps in applying simp lemmas
Converts identity in the category of groupoids to the functor identity
Construct the product over an indexed family of groupoids, as a fan.
Equations
- CategoryTheory.Grpd.piLimitFan F = CategoryTheory.Limits.Fan.mk (CategoryTheory.Grpd.of ((j : J) → ↑(F j))) fun (j : J) => CategoryTheory.Pi.eval (fun (j : J) => ↑(F j)) j
Instances For
The product fan over an indexed family of groupoids, is a limit cone.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The product of a family of groupoids is isomorphic to the product object in the category of Groupoids
Equations
- One or more equations did not get rendered due to their size.