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.RepresentedBy

19 declarations. Mathlib docs · Source

IsRepresentedBy predicate

In this file we define the predicate IsRepresentedBy: A presheaf F is represented by X with universal element x : F.obj X if the natural transformation yoneda.obj X ⟶ F induced by x is an isomorphism.

For other declarations expressing a functor is representable, see also:

  • CategoryTheory.Functor.RepresentableBy: Structure bundling an explicit natural isomorphism yoneda.obj X ⟶ F.
  • CategoryTheory.Functor.IsRepresentable: Predicate asserting the existence of a representing object.

The relations to these other notions are given as CategoryTheory.Functor.IsRepresentable.iff_exists_isRepresentedBy and CategoryTheory.Functor.IsRepresentedBy.iff_exists_representableBy.

TODO

  • Dualize to IsCorepresentedBy.

theorem CategoryTheory.Functor.IsRepresentedBy.representableBy.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor Cᵒᵖ (Type w)} {X : C}
  {x x_1 : F.obj (Opposite.op X)} (e_x : x = x_1) (h : F.IsRepresentedBy x), h.representableBy = ⋯.representableBy

theorem CategoryTheory.Functor.RepresentableBy.mk.congr_simp E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor Cᵒᵖ (Type v)} {Y : C}
  (homEquiv homEquiv_1 : {X : C} → (X ⟶ Y) ≃ F.obj (Opposite.op X)) (e_homEquiv : homEquiv = homEquiv_1)
  (homEquiv_comp :
    ∀ {X X' : C} (f : X ⟶ X') (g : X' ⟶ Y),
      homEquiv (CategoryTheory.CategoryStruct.comp f g) =
        (CategoryTheory.ConcreteCategory.hom (F.map f.op)) (homEquiv g)),
  { homEquiv := homEquiv, homEquiv_comp := homEquiv_comp } = { homEquiv := homEquiv_1, homEquiv_comp := ⋯ }

structure CategoryTheory.Functor.IsRepresentedBy E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Functor Cᵒᵖ (Type w)) → {X : C} → F.obj (Opposite.op X) → Prop

A presheaf F is represented by X with universal element x : F.obj X if the natural transformation yoneda.obj X ⟶ F induced by x is an isomorphism. For better universe generality, we state this manually as for every Y, the induced map (Y ⟶ X) → F.obj Y is bijective.

theorem CategoryTheory.Functor.isRepresentedBy_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F : CategoryTheory.Functor Cᵒᵖ (Type w)) {X : C}
  (x : F.obj (Opposite.op X)),
  F.IsRepresentedBy x ↔ ∀ {Y : C}, Function.Bijective fun f ↦ (CategoryTheory.ConcreteCategory.hom (F.map f.op)) x

ctor CategoryTheory.Functor.IsRepresentedBy.mk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor Cᵒᵖ (Type w)} {X : C}
  {x : F.obj (Opposite.op X)},
  (∀ {Y : C}, Function.Bijective fun f ↦ (CategoryTheory.ConcreteCategory.hom (F.map f.op)) x) → F.IsRepresentedBy x

theorem CategoryTheory.Functor.IsRepresentedBy.map_bijective E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor Cᵒᵖ (Type w)} {X : C}
  {x : F.obj (Opposite.op X)},
  F.IsRepresentedBy x → ∀ {Y : C}, Function.Bijective fun f ↦ (CategoryTheory.ConcreteCategory.hom (F.map f.op)) x

theorem CategoryTheory.Functor.IsRepresentedBy.iff_isIso_uliftYonedaEquiv E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor Cᵒᵖ (Type w)} {X : C}
  {x : F.obj (Opposite.op X)},
  F.IsRepresentedBy x ↔ CategoryTheory.IsIso (CategoryTheory.uliftYonedaEquiv.symm { down := x })

def CategoryTheory.Functor.IsRepresentedBy.uliftYonedaIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor Cᵒᵖ (Type w)} →
      {X : C} →
        {x : F.obj (Opposite.op X)} →
          F.IsRepresentedBy x → (CategoryTheory.uliftYoneda.{w, v, u}.obj X ≅ F.comp CategoryTheory.uliftFunctor.{v, w})

If F is represented by X with universal element x : F.obj X, modulo universe lifting, it is isomorphic to yoneda.obj X.

theorem CategoryTheory.Functor.IsRepresentedBy.uliftYonedaIso_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor Cᵒᵖ (Type w)} {X : C}
  {x : F.obj (Opposite.op X)} (h : F.IsRepresentedBy x),
  h.uliftYonedaIso.hom = CategoryTheory.uliftYonedaEquiv.symm { down := x }

def CategoryTheory.Functor.IsRepresentedBy.representableBy E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor Cᵒᵖ (Type w)} →
      {X : C} → {x : F.obj (Opposite.op X)} → F.IsRepresentedBy x → F.RepresentableBy X

The canonical representation induced by the universal element x : F.obj X.

theorem CategoryTheory.Functor.IsRepresentedBy.representableBy_homEquiv_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor Cᵒᵖ (Type w)} {X : C}
  {x : F.obj (Opposite.op X)} (h : F.IsRepresentedBy x) {Y : C} (f : Y ⟶ X),
  h.representableBy.homEquiv f = (CategoryTheory.ConcreteCategory.hom (F.map f.op)) x

theorem CategoryTheory.Functor.RepresentableBy.isRepresentedBy E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor Cᵒᵖ (Type w)} {X : C}
  (R : F.RepresentableBy X), F.IsRepresentedBy (R.homEquiv (CategoryTheory.CategoryStruct.id X))

theorem CategoryTheory.Functor.IsRepresentedBy.iff_exists_representableBy E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor Cᵒᵖ (Type w)} {X : C}
  {x : F.obj (Opposite.op X)}, F.IsRepresentedBy x ↔ ∃ R, R.homEquiv (CategoryTheory.CategoryStruct.id X) = x

theorem CategoryTheory.Functor.IsRepresentedBy.of_natIso E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor Cᵒᵖ (Type w)} {X : C}
  {x : F.obj (Opposite.op X)},
  F.IsRepresentedBy x →
    ∀ {F' : CategoryTheory.Functor Cᵒᵖ (Type w)} (e : F ≅ F'),
      F'.IsRepresentedBy ((CategoryTheory.ConcreteCategory.hom (e.hom.app (Opposite.op X))) x)

theorem CategoryTheory.Functor.IsRepresentedBy.iff_natIso E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor Cᵒᵖ (Type w)} {X : C}
  {x : F.obj (Opposite.op X)} {F' : CategoryTheory.Functor Cᵒᵖ (Type w)} (e : F ≅ F'),
  F'.IsRepresentedBy ((CategoryTheory.ConcreteCategory.hom (e.hom.app (Opposite.op X))) x) ↔ F.IsRepresentedBy x

theorem CategoryTheory.Functor.IsRepresentedBy.of_isoObj E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor Cᵒᵖ (Type w)} {X : C}
  {x : F.obj (Opposite.op X)},
  F.IsRepresentedBy x →
    ∀ {Y : C} (e : Y ≅ X), F.IsRepresentedBy ((CategoryTheory.ConcreteCategory.hom (F.map e.hom.op)) x)

theorem CategoryTheory.Functor.IsRepresentedBy.iff_of_isoObj E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor Cᵒᵖ (Type w)} {X : C}
  {x : F.obj (Opposite.op X)} {Y : C} (e : Y ≅ X),
  F.IsRepresentedBy ((CategoryTheory.ConcreteCategory.hom (F.map e.hom.op)) x) ↔ F.IsRepresentedBy x

theorem CategoryTheory.Functor.IsRepresentedBy.of_isRepresentable E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor Cᵒᵖ (Type w)}
  [inst_1 : F.IsRepresentable], F.IsRepresentedBy F.reprx

theorem CategoryTheory.Functor.IsRepresentable.iff_exists_isRepresentedBy E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor Cᵒᵖ (Type w)},
  F.IsRepresentable ↔ ∃ X x, F.IsRepresentedBy x