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.Functor.Hom

3 declarations. Mathlib docs · Source

def CategoryTheory.Functor.hom E1 #

(C : Type u) → [inst : CategoryTheory.Category.{v, u} C] → CategoryTheory.Functor (Cᵒᵖ × C) (Type v)

Functor.hom is the hom-pairing, sending (X, Y) to X ⟶ Y, contravariant in X and covariant in Y.

theorem CategoryTheory.Functor.hom_map E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] {X Y : Cᵒᵖ × C} (f : X ⟶ Y),
  (CategoryTheory.Functor.hom C).map f =
    TypeCat.ofHom fun h ↦ CategoryTheory.CategoryStruct.comp f.1.unop (CategoryTheory.CategoryStruct.comp h f.2)

theorem CategoryTheory.Functor.hom_obj E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] (p : Cᵒᵖ × C),
  (CategoryTheory.Functor.hom C).obj p = (Opposite.unop p.1 ⟶ p.2)