The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V24. Category theory

Mathlib.CategoryTheory.Groupoid.Grpd.Basic

20 declarations. Mathlib docs · Source

def CategoryTheory.Grpd E1 #

Type (max (u + 1) u (v + 1))

Category of groupoids

instance CategoryTheory.Grpd.instInhabited E0 #

Inhabited CategoryTheory.Grpd

instance CategoryTheory.Grpd.str' E0 #

(C : CategoryTheory.Grpd) → CategoryTheory.Groupoid ↑C

instance CategoryTheory.Grpd.instCoeSortType E0 #

CoeSort CategoryTheory.Grpd (Type u_1)

def CategoryTheory.Grpd.of E1 #

(C : Type u) → [CategoryTheory.Groupoid C] → CategoryTheory.Grpd

Construct a bundled Grpd from the underlying type and the typeclass Groupoid.

def CategoryTheory.Grpd.delabOf E1 #

Lean.PrettyPrinter.Delaborator.Delab

This prints CategoryTheory.Grpd.of X as ↧X.

theorem CategoryTheory.Grpd.coe_of E0 #

∀ (C : Type u) [inst : CategoryTheory.Groupoid C], ↑↧C = C

instance CategoryTheory.Grpd.category E0 #

CategoryTheory.LargeCategory CategoryTheory.Grpd

Category structure on Grpd

def CategoryTheory.Grpd.objects E1 #

CategoryTheory.Functor CategoryTheory.Grpd (Type u)

Functor that gets the set of objects of a groupoid. It is not called forget, because it is not a faithful functor.

def CategoryTheory.Grpd.forgetToCat E1 #

CategoryTheory.Functor CategoryTheory.Grpd CategoryTheory.Cat

Forgetting functor to Cat

instance CategoryTheory.Grpd.instGroupoidαCategoryObjCatForgetToCat E0 #

(X : CategoryTheory.Grpd) → CategoryTheory.Groupoid ↑(CategoryTheory.Grpd.forgetToCat.obj X)

instance CategoryTheory.Grpd.forgetToCat_full E0 #

CategoryTheory.Grpd.forgetToCat.Full

instance CategoryTheory.Grpd.forgetToCat_faithful E0 #

CategoryTheory.Grpd.forgetToCat.Faithful

theorem CategoryTheory.Grpd.comp_eq_comp E1 #

∀ {C D E : CategoryTheory.Grpd} (f : C ⟶ D) (g : D ⟶ E),
  CategoryTheory.CategoryStruct.comp f g = CategoryTheory.Functor.comp f g

Convert arrows in the category of groupoids to functors, which sometimes helps in applying simp lemmas

theorem CategoryTheory.Grpd.id_eq_id E2 #

∀ {C : CategoryTheory.Grpd}, CategoryTheory.CategoryStruct.id C = CategoryTheory.Functor.id ↑C

Converts identity in the category of groupoids to the functor identity

def CategoryTheory.Grpd.piLimitFan E1 #

⦃J : Type u⦄ → (F : J → CategoryTheory.Grpd) → CategoryTheory.Limits.Fan F

Construct the product over an indexed family of groupoids, as a fan.

def CategoryTheory.Grpd.piLimitFanIsLimit E1 #

⦃J : Type u⦄ → (F : J → CategoryTheory.Grpd) → CategoryTheory.Limits.IsLimit (CategoryTheory.Grpd.piLimitFan F)

The product fan over an indexed family of groupoids, is a limit cone.

instance CategoryTheory.Grpd.has_pi E0 #

CategoryTheory.Limits.HasProducts.{u, u, u + 1} CategoryTheory.Grpd

def CategoryTheory.Grpd.piIsoPi E1 #

(J : Type u) → (f : J → CategoryTheory.Grpd) → ↧((j : J) → ↑(f j)) ≅ ∏ᶜ f

The product of a family of groupoids is isomorphic to the product object in the category of Groupoids

theorem CategoryTheory.Grpd.piIsoPi_hom_π E0 #

∀ (J : Type u) (f : J → CategoryTheory.Grpd) (j : J),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Grpd.piIsoPi J f).hom (CategoryTheory.Limits.Pi.π f j) =
    CategoryTheory.Pi.eval (fun i ↦ ↑(f i)) j