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.Limits.Types.Yoneda

21 declarations. Mathlib docs · Source

def CategoryTheory.Limits.compCoyonedaSectionsEquiv E1 #

{J : Type u_1} →
  {C : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_1} J] →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} C] →
        (F : CategoryTheory.Functor J C) →
          (X : C) →
            ↑(F.comp (CategoryTheory.coyoneda.obj (Opposite.op X))).sections ≃
              ((CategoryTheory.Functor.const J).obj X ⟶ F)

Sections of F ⋙ coyoneda.obj (op X) identify to natural transformations (const J).obj X ⟶ F.

theorem CategoryTheory.Limits.compCoyonedaSectionsEquiv_symm_apply_coe E0 #

∀ {J : Type u_1} {C : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} J]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} C] (F : CategoryTheory.Functor J C) (X : C)
  (τ : (CategoryTheory.Functor.const J).obj X ⟶ F) (X_1 : J),
  ↑((CategoryTheory.Limits.compCoyonedaSectionsEquiv F X).symm τ) X_1 = τ.app X_1

theorem CategoryTheory.Limits.compCoyonedaSectionsEquiv_apply_app E0 #

∀ {J : Type u_1} {C : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} J]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} C] (F : CategoryTheory.Functor J C) (X : C)
  (s : ↑(F.comp (CategoryTheory.coyoneda.obj (Opposite.op X))).sections) (j : J),
  ((CategoryTheory.Limits.compCoyonedaSectionsEquiv F X) s).app j = ↑s j

def CategoryTheory.Limits.opCompYonedaSectionsEquiv E1 #

{J : Type u_1} →
  {C : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_1} J] →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} C] →
        (F : CategoryTheory.Functor J C) →
          (X : C) → ↑(F.op.comp (CategoryTheory.yoneda.obj X)).sections ≃ (F ⟶ (CategoryTheory.Functor.const J).obj X)

Sections of F.op ⋙ yoneda.obj X identify to natural transformations F ⟶ (const J).obj X.

theorem CategoryTheory.Limits.opCompYonedaSectionsEquiv_symm_apply_coe E0 #

∀ {J : Type u_1} {C : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} J]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} C] (F : CategoryTheory.Functor J C) (X : C)
  (τ : F ⟶ (CategoryTheory.Functor.const J).obj X) (j : Jᵒᵖ),
  ↑((CategoryTheory.Limits.opCompYonedaSectionsEquiv F X).symm τ) j = τ.app (Opposite.unop j)

theorem CategoryTheory.Limits.opCompYonedaSectionsEquiv_apply_app E0 #

∀ {J : Type u_1} {C : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} J]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} C] (F : CategoryTheory.Functor J C) (X : C)
  (s : ↑(F.op.comp (CategoryTheory.yoneda.obj X)).sections) (j : J),
  ((CategoryTheory.Limits.opCompYonedaSectionsEquiv F X) s).app j = ↑s (Opposite.op j)

def CategoryTheory.Limits.compYonedaSectionsEquiv E1 #

{J : Type u_1} →
  {C : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_1} J] →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} C] →
        (F : CategoryTheory.Functor J Cᵒᵖ) →
          (X : C) →
            ↑(F.comp (CategoryTheory.yoneda.obj X)).sections ≃
              ((CategoryTheory.Functor.const J).obj (Opposite.op X) ⟶ F)

Sections of F ⋙ yoneda.obj X identify to natural transformations (const J).obj X ⟶ F.

theorem CategoryTheory.Limits.compYonedaSectionsEquiv_apply_app E0 #

∀ {J : Type u_1} {C : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} J]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} C] (F : CategoryTheory.Functor J Cᵒᵖ) (X : C)
  (s : ↑(F.comp (CategoryTheory.yoneda.obj X)).sections) (j : J),
  ((CategoryTheory.Limits.compYonedaSectionsEquiv F X) s).app j = Quiver.Hom.op (↑s j)

theorem CategoryTheory.Limits.compYonedaSectionsEquiv_symm_apply_coe E0 #

∀ {J : Type u_1} {C : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} J]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} C] (F : CategoryTheory.Functor J Cᵒᵖ) (X : C)
  (τ : (CategoryTheory.Functor.const J).obj (Opposite.op X) ⟶ F) (j : J),
  ↑((CategoryTheory.Limits.compYonedaSectionsEquiv F X).symm τ) j = (τ.app j).unop

def CategoryTheory.Limits.limitCompCoyonedaIsoCone E1 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    {C : Type u} →
      [inst_1 : CategoryTheory.Category.{v, u} C] →
        (F : CategoryTheory.Functor J C) →
          (X : C) →
            CategoryTheory.Limits.limit (F.comp (CategoryTheory.coyoneda.obj (Opposite.op X))) ≅
              (CategoryTheory.Functor.const J).obj X ⟶ F

A cone on F with cone point X is the same as an element of lim Hom(X, F·).

theorem CategoryTheory.Limits.limitCompCoyonedaIsoCone_hom E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {C : Type u} [inst_1 : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor J C) (X : C),
  (CategoryTheory.Limits.limitCompCoyonedaIsoCone F X).hom =
    TypeCat.ofHom fun a ↦
      {
        app := fun j ↦
          (CategoryTheory.ConcreteCategory.hom
              (CategoryTheory.Limits.limit.π (F.comp (CategoryTheory.coyoneda.obj (Opposite.op X))) j))
            a,
        naturality := ⋯ }

theorem CategoryTheory.Limits.limitCompCoyonedaIsoCone_inv E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {C : Type u} [inst_1 : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor J C) (X : C),
  (CategoryTheory.Limits.limitCompCoyonedaIsoCone F X).inv =
    TypeCat.ofHom fun t ↦
      (CategoryTheory.ConcreteCategory.hom
          (CategoryTheory.Limits.limit.lift (F.comp (CategoryTheory.coyoneda.obj (Opposite.op X)))
            (CategoryTheory.Limits.Types.coneOfSection ⋯)))
        PUnit.unit

def CategoryTheory.Limits.whiskeringLimYonedaIsoCones E1 #

(J : Type v) →
  [inst : CategoryTheory.SmallCategory J] →
    (C : Type u) →
      [inst_1 : CategoryTheory.Category.{v, u} C] →
        (CategoryTheory.Functor.whiskeringLeft J C (Type v)).comp
            (((CategoryTheory.Functor.whiskeringRight (CategoryTheory.Functor C (Type v))
                      (CategoryTheory.Functor J (Type v)) (Type v)).obj
                  CategoryTheory.Limits.lim).comp
              ((CategoryTheory.Functor.whiskeringLeft Cᵒᵖ (CategoryTheory.Functor C (Type v)) (Type v)).obj
                CategoryTheory.coyoneda)) ≅
          CategoryTheory.cones J C

A cone on F with cone point X is the same as an element of lim Hom(X, F·), naturally in F and X.

theorem CategoryTheory.Limits.whiskeringLimYonedaIsoCones_hom_app_app_hom_apply_app E0 #

∀ (J : Type v) [inst : CategoryTheory.SmallCategory J] (C : Type u) [inst_1 : CategoryTheory.Category.{v, u} C]
  (X : CategoryTheory.Functor J C) (X_1 : Cᵒᵖ)
  (a : CategoryTheory.Limits.limit (X.comp (CategoryTheory.coyoneda.obj (Opposite.op (Opposite.unop X_1))))) (j : J),
  ((CategoryTheory.ConcreteCategory.hom (((CategoryTheory.Limits.whiskeringLimYonedaIsoCones J C).hom.app X).app X_1))
          a).app
      j =
    (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.limit.π (X.comp (CategoryTheory.coyoneda.obj X_1)) j)) a

theorem CategoryTheory.Limits.whiskeringLimYonedaIsoCones_inv_app_app_hom_apply E0 #

∀ (J : Type v) [inst : CategoryTheory.SmallCategory J] (C : Type u) [inst_1 : CategoryTheory.Category.{v, u} C]
  (X : CategoryTheory.Functor J C) (X_1 : Cᵒᵖ) (t : (CategoryTheory.Functor.const J).obj (Opposite.unop X_1) ⟶ X),
  (CategoryTheory.ConcreteCategory.hom (((CategoryTheory.Limits.whiskeringLimYonedaIsoCones J C).inv.app X).app X_1))
      t =
    (CategoryTheory.ConcreteCategory.hom
        (CategoryTheory.Limits.limit.lift (X.comp (CategoryTheory.coyoneda.obj X_1))
          (CategoryTheory.Limits.Types.coneOfSection ⋯)))
      PUnit.unit

def CategoryTheory.Limits.limitCompYonedaIsoCocone E1 #

{J : Type v} →
  [inst : CategoryTheory.SmallCategory J] →
    {C : Type u} →
      [inst_1 : CategoryTheory.Category.{v, u} C] →
        (F : CategoryTheory.Functor J C) →
          (X : C) →
            CategoryTheory.Limits.limit (F.op.comp (CategoryTheory.yoneda.obj X)) ≅
              F ⟶ (CategoryTheory.Functor.const J).obj X

A cocone on F with cocone point X is the same as an element of lim Hom(F·, X).

theorem CategoryTheory.Limits.limitCompYonedaIsoCocone_inv E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {C : Type u} [inst_1 : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor J C) (X : C),
  (CategoryTheory.Limits.limitCompYonedaIsoCocone F X).inv =
    TypeCat.ofHom fun t ↦
      (CategoryTheory.ConcreteCategory.hom
          (CategoryTheory.Limits.limit.lift (F.op.comp (CategoryTheory.yoneda.obj X))
            (CategoryTheory.Limits.Types.coneOfSection ⋯)))
        PUnit.unit

theorem CategoryTheory.Limits.limitCompYonedaIsoCocone_hom E0 #

∀ {J : Type v} [inst : CategoryTheory.SmallCategory J] {C : Type u} [inst_1 : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor J C) (X : C),
  (CategoryTheory.Limits.limitCompYonedaIsoCocone F X).hom =
    TypeCat.ofHom fun a ↦
      {
        app := fun j ↦
          (CategoryTheory.ConcreteCategory.hom
              (CategoryTheory.Limits.limit.π (F.op.comp (CategoryTheory.yoneda.obj X)) (Opposite.op j)))
            a,
        naturality := ⋯ }

def CategoryTheory.Limits.opHomCompWhiskeringLimYonedaIsoCocones E1 #

(J : Type v) →
  [inst : CategoryTheory.SmallCategory J] →
    (C : Type u) →
      [inst_1 : CategoryTheory.Category.{v, u} C] →
        (CategoryTheory.Functor.opHom J C).comp
            ((CategoryTheory.Functor.whiskeringLeft Jᵒᵖ Cᵒᵖ (Type v)).comp
              (((CategoryTheory.Functor.whiskeringRight (CategoryTheory.Functor Cᵒᵖ (Type v))
                        (CategoryTheory.Functor Jᵒᵖ (Type v)) (Type v)).obj
                    CategoryTheory.Limits.lim).comp
                ((CategoryTheory.Functor.whiskeringLeft C (CategoryTheory.Functor Cᵒᵖ (Type v)) (Type v)).obj
                  CategoryTheory.yoneda))) ≅
          CategoryTheory.cocones J C

A cocone on F with cocone point X is the same as an element of lim Hom(F·, X), naturally in F and X.

theorem CategoryTheory.Limits.opHomCompWhiskeringLimYonedaIsoCocones_hom_app_app_hom_apply_app E0 #

∀ (J : Type v) [inst : CategoryTheory.SmallCategory J] (C : Type u) [inst_1 : CategoryTheory.Category.{v, u} C]
  (X : (CategoryTheory.Functor J C)ᵒᵖ) (X_1 : C)
  (a : CategoryTheory.Limits.limit ((Opposite.unop X).op.comp (CategoryTheory.yoneda.obj X_1))) (j : J),
  ((CategoryTheory.ConcreteCategory.hom
            (((CategoryTheory.Limits.opHomCompWhiskeringLimYonedaIsoCocones J C).hom.app X).app X_1))
          a).app
      j =
    (CategoryTheory.ConcreteCategory.hom
        (CategoryTheory.Limits.limit.π ((Opposite.unop X).op.comp (CategoryTheory.yoneda.obj X_1)) (Opposite.op j)))
      a

theorem CategoryTheory.Limits.opHomCompWhiskeringLimYonedaIsoCocones_inv_app_app_hom_apply E0 #

∀ (J : Type v) [inst : CategoryTheory.SmallCategory J] (C : Type u) [inst_1 : CategoryTheory.Category.{v, u} C]
  (X : (CategoryTheory.Functor J C)ᵒᵖ) (X_1 : C) (t : Opposite.unop X ⟶ (CategoryTheory.Functor.const J).obj X_1),
  (CategoryTheory.ConcreteCategory.hom
        (((CategoryTheory.Limits.opHomCompWhiskeringLimYonedaIsoCocones J C).inv.app X).app X_1))
      t =
    (CategoryTheory.ConcreteCategory.hom
        (CategoryTheory.Limits.limit.lift ((Opposite.unop X).op.comp (CategoryTheory.yoneda.obj X_1))
          (CategoryTheory.Limits.Types.coneOfSection ⋯)))
      PUnit.unit