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 / V25. Higher structures in categories

Mathlib.CategoryTheory.Generator.Presheaf

12 declarations. Mathlib docs · Source

theorem CategoryTheory.separator.congr_simp E1 #

∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.HasSeparator C],
  CategoryTheory.separator C = CategoryTheory.separator C

def CategoryTheory.Presheaf.freeYoneda E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} A] →
        [CategoryTheory.Limits.HasCoproducts.{v, v', u'} A] → C → A → CategoryTheory.Functor Cᵒᵖ A

Given X : C and M : A, this is the presheaf Cᵒᵖ ⥤ A which sends Y : Cᵒᵖ to the coproduct of copies of M indexed by Y.unop ⟶ X.

theorem CategoryTheory.Presheaf.freeYoneda_map E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} A]
  [inst_2 : CategoryTheory.Limits.HasCoproducts.{v, v', u'} A] (X : C) (M : A) {X_1 Y : Cᵒᵖ} (f : X_1 ⟶ Y),
  (CategoryTheory.Presheaf.freeYoneda X M).map f =
    CategoryTheory.Limits.Sigma.map' ⇑(CategoryTheory.ConcreteCategory.hom ((CategoryTheory.yoneda.obj X).map f))
      fun x ↦ CategoryTheory.CategoryStruct.id M

theorem CategoryTheory.Presheaf.freeYoneda_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} A]
  [inst_2 : CategoryTheory.Limits.HasCoproducts.{v, v', u'} A] (X : C) (M : A) (Y : Cᵒᵖ),
  (CategoryTheory.Presheaf.freeYoneda X M).obj Y = ∐ fun i ↦ M

def CategoryTheory.Presheaf.freeYonedaHomEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} A] →
        [inst_2 : CategoryTheory.Limits.HasCoproducts.{v, v', u'} A] →
          {X : C} →
            {M : A} →
              {F : CategoryTheory.Functor Cᵒᵖ A} →
                (CategoryTheory.Presheaf.freeYoneda X M ⟶ F) ≃ (M ⟶ F.obj (Opposite.op X))

The bijection (Presheaf.freeYoneda X M ⟶ F) ≃ (M ⟶ F.obj (op X)).

theorem CategoryTheory.Presheaf.freeYonedaHomEquiv_comp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} A]
  [inst_2 : CategoryTheory.Limits.HasCoproducts.{v, v', u'} A] {X : C} {M : A} {F G : CategoryTheory.Functor Cᵒᵖ A}
  (α : CategoryTheory.Presheaf.freeYoneda X M ⟶ F) (f : F ⟶ G),
  CategoryTheory.Presheaf.freeYonedaHomEquiv (CategoryTheory.CategoryStruct.comp α f) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Presheaf.freeYonedaHomEquiv α) (f.app (Opposite.op X))

theorem CategoryTheory.Presheaf.freeYonedaHomEquiv_comp_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} A]
  [inst_2 : CategoryTheory.Limits.HasCoproducts.{v, v', u'} A] {X : C} {M : A} {F G : CategoryTheory.Functor Cᵒᵖ A}
  (α : CategoryTheory.Presheaf.freeYoneda X M ⟶ F) (f : F ⟶ G) {Z : A} (h : G.obj (Opposite.op X) ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Presheaf.freeYonedaHomEquiv (CategoryTheory.CategoryStruct.comp α f)) h =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Presheaf.freeYonedaHomEquiv α)
      (CategoryTheory.CategoryStruct.comp (f.app (Opposite.op X)) h)

theorem CategoryTheory.Presheaf.freeYonedaHomEquiv_symm_comp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} A]
  [inst_2 : CategoryTheory.Limits.HasCoproducts.{v, v', u'} A] {X : C} {M : A} {F G : CategoryTheory.Functor Cᵒᵖ A}
  (α : M ⟶ F.obj (Opposite.op X)) (f : F ⟶ G),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Presheaf.freeYonedaHomEquiv.symm α) f =
    CategoryTheory.Presheaf.freeYonedaHomEquiv.symm (CategoryTheory.CategoryStruct.comp α (f.app (Opposite.op X)))

theorem CategoryTheory.Presheaf.freeYonedaHomEquiv_symm_comp_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} A]
  [inst_2 : CategoryTheory.Limits.HasCoproducts.{v, v', u'} A] {X : C} {M : A} {F G : CategoryTheory.Functor Cᵒᵖ A}
  (α : M ⟶ F.obj (Opposite.op X)) (f : F ⟶ G) {Z : CategoryTheory.Functor Cᵒᵖ A} (h : G ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Presheaf.freeYonedaHomEquiv.symm α)
      (CategoryTheory.CategoryStruct.comp f h) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Presheaf.freeYonedaHomEquiv.symm (CategoryTheory.CategoryStruct.comp α (f.app (Opposite.op X)))) h

theorem CategoryTheory.Presheaf.isSeparating E1 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] {A : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} A]
  [inst_2 : CategoryTheory.Limits.HasCoproducts.{v, v', u'} A] {ι : Type w} {S : ι → A},
  (CategoryTheory.ObjectProperty.ofObj S).IsSeparating →
    (CategoryTheory.ObjectProperty.ofObj fun x ↦
        match x with
        | (X, i) => CategoryTheory.Presheaf.freeYoneda X (S i)).IsSeparating

theorem CategoryTheory.Presheaf.isSeparator E1 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] {A : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} A]
  [inst_2 : CategoryTheory.Limits.HasCoproducts.{v, v', u'} A] {ι : Type w} {S : ι → A},
  (CategoryTheory.ObjectProperty.ofObj S).IsSeparating →
    ∀
      [inst_3 :
        CategoryTheory.Limits.HasCoproduct fun x ↦
          match x with
          | (X, i) => CategoryTheory.Presheaf.freeYoneda X (S i)]
      [CategoryTheory.Limits.HasZeroMorphisms A],
      CategoryTheory.IsSeparator
        (∐ fun x ↦
          match x with
          | (X, i) => CategoryTheory.Presheaf.freeYoneda X (S i))

instance CategoryTheory.Presheaf.hasSeparator E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] (A : Type u') [inst_1 : CategoryTheory.Category.{v', u'} A]
  [CategoryTheory.Limits.HasCoproducts.{v, v', u'} A] [CategoryTheory.HasSeparator A]
  [CategoryTheory.Limits.HasZeroMorphisms A] [CategoryTheory.Limits.HasCoproducts.{u, v', u'} A],
  CategoryTheory.HasSeparator (CategoryTheory.Functor Cᵒᵖ A)