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 / V26. Homological algebra

Mathlib.Algebra.Category.ModuleCat.Presheaf.Free

15 declarations. Mathlib docs · Source

def PresheafOfModules.freeObj E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} → CategoryTheory.Functor Cᵒᵖ (Type u) → PresheafOfModules R

Given a presheaf of types F : Cᵒᵖ ⥤ Type u, this is the presheaf of modules over R which sends X : Cᵒᵖ to the free R.obj X-module on F.obj X.

theorem PresheafOfModules.freeObj_map E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  (F : CategoryTheory.Functor Cᵒᵖ (Type u)) {X Y : Cᵒᵖ} (f : X ⟶ Y),
  (PresheafOfModules.freeObj F).map f =
    ModuleCat.freeDesc (TypeCat.ofHom fun x ↦ ModuleCat.freeMk ((CategoryTheory.ConcreteCategory.hom (F.map f)) x))

theorem PresheafOfModules.freeObj_obj E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  (F : CategoryTheory.Functor Cᵒᵖ (Type u)) (X : Cᵒᵖ),
  (PresheafOfModules.freeObj F).obj X = (ModuleCat.free ↑(R.obj X)).obj (F.obj X)

def PresheafOfModules.free E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    (R : CategoryTheory.Functor Cᵒᵖ RingCat) →
      CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type u)) (PresheafOfModules R)

The free presheaf of modules functor (Cᵒᵖ ⥤ Type u) ⥤ PresheafOfModules.{u} R.

theorem PresheafOfModules.free_map_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (R : CategoryTheory.Functor Cᵒᵖ RingCat)
  {F G : CategoryTheory.Functor Cᵒᵖ (Type u)} (φ : F ⟶ G) (X : Cᵒᵖ),
  ((PresheafOfModules.free R).map φ).app X = (ModuleCat.free ↑(R.obj X)).map (φ.app X)

theorem PresheafOfModules.free_obj E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (R : CategoryTheory.Functor Cᵒᵖ RingCat)
  (F : CategoryTheory.Functor Cᵒᵖ (Type u)), (PresheafOfModules.free R).obj F = PresheafOfModules.freeObj F

def PresheafOfModules.freeObjDesc E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
      {F : CategoryTheory.Functor Cᵒᵖ (Type u)} →
        {G : PresheafOfModules R} → (F ⟶ G.presheaf.comp (CategoryTheory.forget Ab)) → (PresheafOfModules.freeObj F ⟶ G)

The morphism of presheaves of modules freeObj F ⟶ G corresponding to a morphism F ⟶ G.presheaf ⋙ forget _ of presheaves of types.

theorem PresheafOfModules.freeObjDesc_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  {F : CategoryTheory.Functor Cᵒᵖ (Type u)} {G : PresheafOfModules R}
  (φ : F ⟶ G.presheaf.comp (CategoryTheory.forget Ab)) (X : Cᵒᵖ),
  (PresheafOfModules.freeObjDesc φ).app X = ModuleCat.freeDesc (φ.app X)

def PresheafOfModules.freeAdjunctionUnit E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    (R : CategoryTheory.Functor Cᵒᵖ RingCat) →
      (F : CategoryTheory.Functor Cᵒᵖ (Type u)) →
        F ⟶ (PresheafOfModules.freeObj F).presheaf.comp (CategoryTheory.forget Ab)

The unit of PresheafOfModules.freeAdjunction.

theorem PresheafOfModules.freeAdjunctionUnit_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (R : CategoryTheory.Functor Cᵒᵖ RingCat)
  (F : CategoryTheory.Functor Cᵒᵖ (Type u)) (X : Cᵒᵖ),
  (PresheafOfModules.freeAdjunctionUnit R F).app X = TypeCat.ofHom fun x ↦ ModuleCat.freeMk x

def PresheafOfModules.freeHomEquiv E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
      {F : CategoryTheory.Functor Cᵒᵖ (Type u)} →
        {G : PresheafOfModules R} → (PresheafOfModules.freeObj F ⟶ G) ≃ (F ⟶ G.presheaf.comp (CategoryTheory.forget Ab))

The bijection (freeObj F ⟶ G) ≃ (F ⟶ G.presheaf ⋙ forget _) when F is a presheaf of types and G a presheaf of modules.

theorem PresheafOfModules.free_hom_ext E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  {F : CategoryTheory.Functor Cᵒᵖ (Type u)} {G : PresheafOfModules R} {ψ ψ' : PresheafOfModules.freeObj F ⟶ G},
  CategoryTheory.CategoryStruct.comp (PresheafOfModules.freeAdjunctionUnit R F)
        (CategoryTheory.Functor.whiskerRight ((PresheafOfModules.toPresheaf R).map ψ) (CategoryTheory.forget Ab)) =
      CategoryTheory.CategoryStruct.comp (PresheafOfModules.freeAdjunctionUnit R F)
        (CategoryTheory.Functor.whiskerRight ((PresheafOfModules.toPresheaf R).map ψ') (CategoryTheory.forget Ab)) →
    ψ = ψ'

def PresheafOfModules.freeAdjunction E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    (R : CategoryTheory.Functor Cᵒᵖ RingCat) →
      PresheafOfModules.free R ⊣
        (PresheafOfModules.toPresheaf R).comp
          ((CategoryTheory.Functor.whiskeringRight Cᵒᵖ Ab (Type u)).obj (CategoryTheory.forget Ab))

The free presheaf of modules functor is left adjoint to the forget functor PresheafOfModules.{u} R ⥤ Cᵒᵖ ⥤ Type u.

theorem PresheafOfModules.freeAdjunction_homEquiv E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  (F : CategoryTheory.Functor Cᵒᵖ (Type u)) (G : PresheafOfModules R),
  (PresheafOfModules.freeAdjunction R).homEquiv F G = PresheafOfModules.freeHomEquiv

theorem PresheafOfModules.freeAdjunction_unit_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (R : CategoryTheory.Functor Cᵒᵖ RingCat)
  (F : CategoryTheory.Functor Cᵒᵖ (Type u)),
  (PresheafOfModules.freeAdjunction R).unit.app F = PresheafOfModules.freeAdjunctionUnit R F