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

30 declarations. Mathlib docs · Source

Induced categories and full subcategories

Given a category D and a function F : C → D from a type C to the objects of D, there is an essentially unique way to give C a category structure such that F becomes a fully faithful functor, namely by taking $ Hom_C(X, Y) = Hom_D(FX, FY) $. We call this the category induced from D along F.

Implementation notes

The type of morphisms between X and Y in InducedCategory D F is not definitionally equal to F X ⟶ F Y. Instead, this type is made a 1-field structure. Use InducedCategory.homMk to construct morphisms in induced categories.

theorem CategoryTheory.InducedCategory.Hom.mk.inj E1 #

∀ {C : Type u₁} {D : Type u₂} {inst : CategoryTheory.Category.{v, u₂} D} {F : C → D}
  {X Y : CategoryTheory.InducedCategory D F} {hom hom_1 : F X ⟶ F Y}, { hom := hom } = { hom := hom_1 } → hom = hom_1

def CategoryTheory.InducedCategory.Hom.ctorIdx E1 #

{C : Type u₁} →
  {D : Type u₂} →
    {inst : CategoryTheory.Category.{v, u₂} D} → {F : C → D} → {X Y : CategoryTheory.InducedCategory D F} → X.Hom Y → ℕ

theorem CategoryTheory.InducedCategory.Hom.mk.injEq E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v, u₂} D] {F : C → D}
  {X Y : CategoryTheory.InducedCategory D F} (hom hom_1 : F X ⟶ F Y),
  ({ hom := hom } = { hom := hom_1 }) = (hom = hom_1)

def CategoryTheory.InducedCategory E1 #

{C : Type u₁} → (D : Type u₂) → (C → D) → Type u₁

InducedCategory D F, where F : C → D, is a typeclass synonym for C, which provides a category structure so that the morphisms X ⟶ Y are the morphisms in D from F X to F Y.

instance CategoryTheory.InducedCategory.hasCoeToSort E0 #

{C : Type u₁} →
  {D : Type u₂} → (F : C → D) → {α : Sort u_1} → [CoeSort D α] → CoeSort (CategoryTheory.InducedCategory D F) α

structure CategoryTheory.InducedCategory.Hom E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [CategoryTheory.Category.{v, u₂} D] →
      {F : C → D} → CategoryTheory.InducedCategory D F → CategoryTheory.InducedCategory D F → Type v

The type of morphisms in InducedCategory D F between X and Y is a 1-field structure which identifies to F X ⟶ F Y.

theorem CategoryTheory.InducedCategory.Hom.ext E1 #

∀ {C : Type u₁} {D : Type u₂} {inst : CategoryTheory.Category.{v, u₂} D} {F : C → D}
  {X Y : CategoryTheory.InducedCategory D F} {x y : X.Hom Y}, x.hom = y.hom → x = y

theorem CategoryTheory.InducedCategory.Hom.ext_iff E0 #

∀ {C : Type u₁} {D : Type u₂} {inst : CategoryTheory.Category.{v, u₂} D} {F : C → D}
  {X Y : CategoryTheory.InducedCategory D F} {x y : X.Hom Y}, x = y ↔ x.hom = y.hom

ctor CategoryTheory.InducedCategory.Hom.mk E0 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v, u₂} D] →
      {F : C → D} → {X Y : CategoryTheory.InducedCategory D F} → (F X ⟶ F Y) → X.Hom Y

abbrev CategoryTheory.InducedCategory.Hom.hom E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v, u₂} D] →
      {F : C → D} → {X Y : CategoryTheory.InducedCategory D F} → X.Hom Y → (F X ⟶ F Y)

The underlying morphism.

theorem CategoryTheory.InducedCategory.comp_hom E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v, u₂} D] {F : C → D}
  {X Y Z : CategoryTheory.InducedCategory D F} (f : X.Hom Y) (g : Y.Hom Z),
  (CategoryTheory.CategoryStruct.comp f g).hom = CategoryTheory.CategoryStruct.comp f.hom g.hom

instance CategoryTheory.InducedCategory.instCategory E0 #

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

theorem CategoryTheory.InducedCategory.id_hom E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v, u₂} D] {F : C → D}
  (X : CategoryTheory.InducedCategory D F),
  (CategoryTheory.CategoryStruct.id X).hom = CategoryTheory.CategoryStruct.id (F X)

theorem CategoryTheory.InducedCategory.comp_hom_assoc E1 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v, u₂} D] {F : C → D}
  {X Y Z : CategoryTheory.InducedCategory D F} (f : X.Hom Y) (g : Y.Hom Z) {Z_1 : D} (h : F Z ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g).hom h =
    CategoryTheory.CategoryStruct.comp f.hom (CategoryTheory.CategoryStruct.comp g.hom h)

theorem CategoryTheory.InducedCategory.hom_ext_iff E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v, u₂} D] {F : C → D}
  {X Y : CategoryTheory.InducedCategory D F} {f g : X ⟶ Y}, f = g ↔ f.hom = g.hom

theorem CategoryTheory.InducedCategory.hom_ext E1 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v, u₂} D] {F : C → D}
  {X Y : CategoryTheory.InducedCategory D F} {f g : X ⟶ Y}, f.hom = g.hom → f = g

def CategoryTheory.InducedCategory.homMk E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v, u₂} D] →
      {F : C → D} → {X Y : CategoryTheory.InducedCategory D F} → (F X ⟶ F Y) → (X ⟶ Y)

Construct a morphism in the induced category from a morphism in the original category.

theorem CategoryTheory.InducedCategory.homMk_hom E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v, u₂} D] {F : C → D}
  {X Y : CategoryTheory.InducedCategory D F} (f : F X ⟶ F Y), (CategoryTheory.InducedCategory.homMk f).hom = f

def CategoryTheory.InducedCategory.homEquiv E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v, u₂} D] →
      {F : C → D} → {X Y : CategoryTheory.InducedCategory D F} → (X ⟶ Y) ≃ (F X ⟶ F Y)

Morphisms in InducedCategory D F identify to morphisms in D.

theorem CategoryTheory.InducedCategory.homEquiv_apply E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v, u₂} D] {F : C → D}
  {X Y : CategoryTheory.InducedCategory D F} (f : X ⟶ Y), CategoryTheory.InducedCategory.homEquiv f = f.hom

theorem CategoryTheory.InducedCategory.homEquiv_symm_apply_hom E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v, u₂} D] {F : C → D}
  {X Y : CategoryTheory.InducedCategory D F} (f : F X ⟶ F Y), (CategoryTheory.InducedCategory.homEquiv.symm f).hom = f

def CategoryTheory.InducedCategory.isoMk E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v, u₂} D] →
      {F : C → D} → {X Y : CategoryTheory.InducedCategory D F} → (F X ≅ F Y) → (X ≅ Y)

Construct an isomorphism in the induced category from an isomorphism in the original category.

theorem CategoryTheory.InducedCategory.isoMk_inv E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v, u₂} D] {F : C → D}
  {X Y : CategoryTheory.InducedCategory D F} (f : F X ≅ F Y),
  (CategoryTheory.InducedCategory.isoMk f).inv = CategoryTheory.InducedCategory.homMk f.inv

theorem CategoryTheory.InducedCategory.isoMk_hom E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v, u₂} D] {F : C → D}
  {X Y : CategoryTheory.InducedCategory D F} (f : F X ≅ F Y),
  (CategoryTheory.InducedCategory.isoMk f).hom = CategoryTheory.InducedCategory.homMk f.hom

def CategoryTheory.inducedFunctor E1 #

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

The forgetful functor from an induced category to the original category, forgetting the extra data.

theorem CategoryTheory.inducedFunctor_map E0 #

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

theorem CategoryTheory.inducedFunctor_obj E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v, u₂} D] (F : C → D) (a : C),
  (CategoryTheory.inducedFunctor F).obj a = F a

def CategoryTheory.fullyFaithfulInducedFunctor E1 #

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

The induced functor inducedFunctor F : InducedCategory D F ⥤ D is fully faithful.

instance CategoryTheory.InducedCategory.full E0 #

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

instance CategoryTheory.InducedCategory.faithful E0 #

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