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

42 declarations. Mathlib docs · Source

def CategoryTheory.Functor.essImage E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] → CategoryTheory.Functor C D → CategoryTheory.ObjectProperty D

The essential image of a functor F consists of those objects in the target category which are isomorphic to an object in the image of the function F.obj. In other words, this is the closure under isomorphism of the function F.obj. This is the "non-evil" way of describing the image of a functor.

def CategoryTheory.Functor.essImage.witness E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] → {F : CategoryTheory.Functor C D} → {Y : D} → F.essImage Y → C

Get the witnessing object that Y is in the subcategory given by F.

theorem CategoryTheory.Functor.isoClosure_eq_essImage E1 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {F : CategoryTheory.Functor C D}, (CategoryTheory.ObjectProperty.isoClosure fun x ↦ x ∈ Set.range F.obj) = F.essImage

def CategoryTheory.Functor.essImage.getIso E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {F : CategoryTheory.Functor C D} → {Y : D} → (h : F.essImage Y) → F.obj h.witness ≅ Y

Extract the isomorphism between F.obj h.witness and Y itself.

theorem CategoryTheory.Functor.essImage.ofIso E1 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {F : CategoryTheory.Functor C D} {Y Y' : D} (h : Y ≅ Y'), F.essImage Y → F.essImage Y'

Being in the essential image is a "hygienic" property: it is preserved under isomorphism.

instance CategoryTheory.Functor.instIsClosedUnderIsomorphismsEssImage E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {F : CategoryTheory.Functor C D}, F.essImage.IsClosedUnderIsomorphisms

theorem CategoryTheory.Functor.essImage.ofNatIso E1 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {F F' : CategoryTheory.Functor C D} (h : F ≅ F') {Y : D}, F.essImage Y → F'.essImage Y

If Y is in the essential image of F then it is in the essential image of F' as long as F ≅ F'.

theorem CategoryTheory.Functor.essImage_eq_of_natIso E1 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {F F' : CategoryTheory.Functor C D} (h : F ≅ F'), F.essImage = F'.essImage

Isomorphic functors have equal essential images.

theorem CategoryTheory.Functor.obj_mem_essImage E1 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D C) (Y : D), F.essImage (F.obj Y)

An object in the image is in the essential image.

abbrev CategoryTheory.Functor.EssImageSubcategory E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] → CategoryTheory.Functor C D → Type u₂

The essential image of a functor, interpreted as a full subcategory of the target category.

theorem CategoryTheory.Functor.essImage_ext E1 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) {X Y : F.EssImageSubcategory} (f g : X ⟶ Y),
  F.essImage.ι.map f = F.essImage.ι.map g → f = g

def CategoryTheory.Functor.toEssImage E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (F : CategoryTheory.Functor C D) → CategoryTheory.Functor C F.EssImageSubcategory

Given a functor F : C ⥤ D, we have an (essentially surjective) functor from C to the essential image of F.

theorem CategoryTheory.Functor.toEssImage_map_hom E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) {X Y : C} (f : X ⟶ Y), (F.toEssImage.map f).hom = F.map f

theorem CategoryTheory.Functor.toEssImage_obj_obj E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) (X : C), (F.toEssImage.obj X).obj = F.obj X

def CategoryTheory.Functor.toEssImageCompι E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (F : CategoryTheory.Functor C D) → F.toEssImage.comp F.essImage.ι ≅ F

The functor F factorises through its essential image, where the first functor is essentially surjective and the second is fully faithful.

theorem CategoryTheory.Functor.toEssImageCompι_inv_app E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) (X : C), F.toEssImageCompι.inv.app X = CategoryTheory.CategoryStruct.id (F.obj X)

theorem CategoryTheory.Functor.toEssImageCompι_hom_app E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) (X : C), F.toEssImageCompι.hom.app X = CategoryTheory.CategoryStruct.id (F.obj X)

class CategoryTheory.Functor.EssSurj E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] → CategoryTheory.Functor C D → Prop

A functor F : C ⥤ D is essentially surjective if every object of D is in the essential image of F. In other words, for every Y : D, there is some X : C with F.obj X ≅ Y.

ctor CategoryTheory.Functor.EssSurj.mk E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {F : CategoryTheory.Functor C D}, (∀ (Y : D), F.essImage Y) → F.EssSurj

theorem CategoryTheory.Functor.EssSurj.mem_essImage E0 #

∀ {C : Type u₁} {D : Type u₂} {inst : CategoryTheory.Category.{v₁, u₁} C} {inst_1 : CategoryTheory.Category.{v₂, u₂} D}
  (F : CategoryTheory.Functor C D) [self : F.EssSurj] (Y : D), F.essImage Y

All the objects of the target category are in the essential image.

instance CategoryTheory.Functor.EssSurj.toEssImage E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {F : CategoryTheory.Functor C D}, F.toEssImage.EssSurj

theorem CategoryTheory.Functor.essSurj_of_surj E1 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {F : CategoryTheory.Functor C D}, Function.Surjective F.obj → F.EssSurj

def CategoryTheory.Functor.objPreimage E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] → (F : CategoryTheory.Functor C D) → [F.EssSurj] → D → C

Given an essentially surjective functor, we can find a preimage for every object Y in the codomain. Applying the functor to this preimage will yield an object isomorphic to Y, see obj_obj_preimage_iso.

def CategoryTheory.Functor.objObjPreimageIso E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (F : CategoryTheory.Functor C D) → [inst_2 : F.EssSurj] → (Y : D) → F.obj (F.objPreimage Y) ≅ Y

Applying an essentially surjective functor to a preimage of Y yields an object that is isomorphic to Y.

instance CategoryTheory.Functor.Faithful.toEssImage E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) [F.Faithful], F.toEssImage.Faithful

The induced functor of a faithful functor is faithful.

instance CategoryTheory.Functor.Full.toEssImage E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) [F.Full], F.toEssImage.Full

The induced functor of a full functor is full.

instance CategoryTheory.Functor.instEssSurjId E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C], (CategoryTheory.Functor.id C).EssSurj

theorem CategoryTheory.Functor.essSurj_of_iso E1 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {F G : CategoryTheory.Functor C D} [F.EssSurj] (α : F ≅ G), G.EssSurj

instance CategoryTheory.Functor.essSurj_comp E0 #

∀ {C : Type u₁} {D : Type u₂} {E : Type u₃} [inst : CategoryTheory.Category.{v₁, u₁} C]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] [inst_2 : CategoryTheory.Category.{v₃, u₃} E]
  (F : CategoryTheory.Functor C D) (G : CategoryTheory.Functor D E) [F.EssSurj] [G.EssSurj], (F.comp G).EssSurj

theorem CategoryTheory.Functor.essSurj_of_comp_fully_faithful E1 #

∀ {C : Type u₁} {D : Type u₂} {E : Type u₃} [inst : CategoryTheory.Category.{v₁, u₁} C]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] [inst_2 : CategoryTheory.Category.{v₃, u₃} E]
  (F : CategoryTheory.Functor C D) (G : CategoryTheory.Functor D E) [(F.comp G).EssSurj] [G.Faithful] [G.Full],
  F.EssSurj

theorem CategoryTheory.Functor.essImage_comp_apply_of_essSurj E1 #

∀ {C : Type u₁} {D : Type u₂} {E : Type u₃} [inst : CategoryTheory.Category.{v₁, u₁} C]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] [inst_2 : CategoryTheory.Category.{v₃, u₃} E]
  {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D E} [F.EssSurj] {X : E},
  (F.comp G).essImage X ↔ G.essImage X

Pre-composing by an essentially surjective functor doesn't change the essential image.

theorem CategoryTheory.Functor.essImage_comp_of_essSurj E0 #

∀ {C : Type u₁} {D : Type u₂} {E : Type u₃} [inst : CategoryTheory.Category.{v₁, u₁} C]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] [inst_2 : CategoryTheory.Category.{v₃, u₃} E]
  {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D E} [F.EssSurj], (F.comp G).essImage = G.essImage

Pre-composing by an essentially surjective functor doesn't change the essential image.

def CategoryTheory.Functor.essImage.liftFunctor E1 #

{J : Type u_1} →
  {C : Type u_2} →
    {D : Type u_3} →
      [inst : CategoryTheory.Category.{v_1, u_1} J] →
        [inst_1 : CategoryTheory.Category.{v_2, u_2} C] →
          [inst_2 : CategoryTheory.Category.{v_3, u_3} D] →
            (G : CategoryTheory.Functor J D) →
              (F : CategoryTheory.Functor C D) →
                [F.Full] → [F.Faithful] → (∀ (j : J), F.essImage (G.obj j)) → CategoryTheory.Functor J C

Lift a functor G : J ⥤ D to the essential image of a fully faithful functor F : C ⥤ D to a functor G' : J ⥤ C such that G' ⋙ F ≅ G. See essImage.liftFunctorCompIso.

theorem CategoryTheory.Functor.essImage.liftFunctor_obj E0 #

∀ {J : Type u_1} {C : Type u_2} {D : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} J]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} C] [inst_2 : CategoryTheory.Category.{v_3, u_3} D]
  (G : CategoryTheory.Functor J D) (F : CategoryTheory.Functor C D) [inst_3 : F.Full] [inst_4 : F.Faithful]
  (hG : ∀ (j : J), F.essImage (G.obj j)) (j : J),
  (CategoryTheory.Functor.essImage.liftFunctor G F hG).obj j =
    F.toEssImage.objPreimage { obj := G.obj j, property := ⋯ }

theorem CategoryTheory.Functor.essImage.liftFunctor_map E0 #

∀ {J : Type u_1} {C : Type u_2} {D : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} J]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} C] [inst_2 : CategoryTheory.Category.{v_3, u_3} D]
  (G : CategoryTheory.Functor J D) (F : CategoryTheory.Functor C D) [inst_3 : F.Full] [inst_4 : F.Faithful]
  (hG : ∀ (j : J), F.essImage (G.obj j)) {i j : J} (f : i ⟶ j),
  (CategoryTheory.Functor.essImage.liftFunctor G F hG).map f =
    F.preimage
      (CategoryTheory.CategoryStruct.comp (F.toEssImage.objObjPreimageIso { obj := G.obj i, property := ⋯ }).hom.hom
        (CategoryTheory.CategoryStruct.comp (G.map f)
          (F.toEssImage.objObjPreimageIso { obj := G.obj j, property := ⋯ }).inv.hom))

def CategoryTheory.Functor.essImage.liftFunctorCompIso E1 #

{J : Type u_1} →
  {C : Type u_2} →
    {D : Type u_3} →
      [inst : CategoryTheory.Category.{v_1, u_1} J] →
        [inst_1 : CategoryTheory.Category.{v_2, u_2} C] →
          [inst_2 : CategoryTheory.Category.{v_3, u_3} D] →
            (G : CategoryTheory.Functor J D) →
              (F : CategoryTheory.Functor C D) →
                [inst_3 : F.Full] →
                  [inst_4 : F.Faithful] →
                    (hG : ∀ (j : J), F.essImage (G.obj j)) →
                      (CategoryTheory.Functor.essImage.liftFunctor G F hG).comp F ≅ G

A functor G : J ⥤ D to the essential image of a fully faithful functor F : C ⥤ D does factor through essImage.liftFunctor G F hG.

theorem CategoryTheory.Functor.essImage.liftFunctorCompIso_hom_app E0 #

∀ {J : Type u_1} {C : Type u_2} {D : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} J]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} C] [inst_2 : CategoryTheory.Category.{v_3, u_3} D]
  (G : CategoryTheory.Functor J D) (F : CategoryTheory.Functor C D) [inst_3 : F.Full] [inst_4 : F.Faithful]
  (hG : ∀ (j : J), F.essImage (G.obj j)) (X : J),
  (CategoryTheory.Functor.essImage.liftFunctorCompIso G F hG).hom.app X =
    (F.toEssImage.objObjPreimageIso { obj := G.obj X, property := ⋯ }).hom.hom

theorem CategoryTheory.Functor.essImage.liftFunctorCompIso_inv_app E0 #

∀ {J : Type u_1} {C : Type u_2} {D : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} J]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} C] [inst_2 : CategoryTheory.Category.{v_3, u_3} D]
  (G : CategoryTheory.Functor J D) (F : CategoryTheory.Functor C D) [inst_3 : F.Full] [inst_4 : F.Faithful]
  (hG : ∀ (j : J), F.essImage (G.obj j)) (X : J),
  (CategoryTheory.Functor.essImage.liftFunctorCompIso G F hG).inv.app X =
    (F.toEssImage.objObjPreimageIso { obj := G.obj X, property := ⋯ }).inv.hom

theorem CategoryTheory.Functor.essImage_ι_comp E1 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) (P : CategoryTheory.ObjectProperty C), (P.ι.comp F).essImage = P.map F

theorem CategoryTheory.Functor.full_of_comp_essSurj E1 #

∀ {C : Type u₁} {D : Type u₂} {E : Type u₃} [inst : CategoryTheory.Category.{v₁, u₁} C]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] [inst_2 : CategoryTheory.Category.{v₃, u₃} E]
  (F : CategoryTheory.Functor D E) (L : CategoryTheory.Functor C D) [L.EssSurj],
  (∀ ⦃X₁ X₂ : C⦄ (φ : F.obj (L.obj X₁) ⟶ F.obj (L.obj X₂)), ∃ f, F.map f = φ) → F.Full

theorem CategoryTheory.Functor.faithful_of_comp_essSurj E1 #

∀ {C : Type u₁} {D : Type u₂} {E : Type u₃} [inst : CategoryTheory.Category.{v₁, u₁} C]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] [inst_2 : CategoryTheory.Category.{v₃, u₃} E]
  (F : CategoryTheory.Functor D E) (L : CategoryTheory.Functor C D) [L.EssSurj],
  (∀ ⦃X₁ X₂ : C⦄ (f g : L.obj X₁ ⟶ L.obj X₂), F.map f = F.map g → f = g) → F.Faithful

theorem CategoryTheory.ObjectProperty.map_top E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D), ⊤.map F = F.essImage