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.Sites.ConstantSheaf

26 declarations. Mathlib docs · Source

The constant sheaf

We define the constant sheaf functor (the sheafification of the constant presheaf) constantSheaf : D ⥤ Sheaf J D and prove that it is left adjoint to evaluation at a terminal object (see constantSheafAdj).

We also define a predicate on sheaves, Sheaf.IsConstant, saying that a sheaf is in the essential image of the constant sheaf functor.

Main results

  • Sheaf.isConstant_iff_isIso_counit_app: Provided that the constant sheaf functor is fully faithful, a sheaf is constant if and only if the counit of the constant sheaf adjunction applied to it is an isomorphism.

  • Sheaf.isConstant_iff_of_equivalence : The property of a sheaf of being constant is invariant under equivalence of sheaf categories.

  • Sheaf.isConstant_iff_forget : Given a "forgetful" functor U : D ⥤ B a sheaf F : Sheaf J D is constant if and only if the sheaf given by postcomposition with U is constant.

def CategoryTheory.constantPresheafAdj E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    (D : Type u_2) →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
        {T : C} →
          CategoryTheory.Limits.IsTerminal T →
            (CategoryTheory.Functor.const Cᵒᵖ ⊣ (CategoryTheory.evaluation Cᵒᵖ D).obj (Opposite.op T))

The constant presheaf functor is left adjoint to evaluation at a terminal object.

theorem CategoryTheory.constantPresheafAdj_counit_app_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (D : Type u_2)
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] {T : C} (hT : CategoryTheory.Limits.IsTerminal T)
  (F : CategoryTheory.Functor Cᵒᵖ D) (x : Cᵒᵖ),
  ((CategoryTheory.constantPresheafAdj D hT).counit.app F).app x = F.map (hT.from (Opposite.unop x)).op

theorem CategoryTheory.constantPresheafAdj_unit_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (D : Type u_2)
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] {T : C} (hT : CategoryTheory.Limits.IsTerminal T) (X : D),
  (CategoryTheory.constantPresheafAdj D hT).unit.app X = CategoryTheory.CategoryStruct.id X

def CategoryTheory.constantSheaf E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    (J : CategoryTheory.GrothendieckTopology C) →
      (D : Type u_2) →
        [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
          [CategoryTheory.HasWeakSheafify J D] → CategoryTheory.Functor D (CategoryTheory.Sheaf J D)

The functor which maps an object of D to the constant sheaf at that object, i.e. the sheafification of the constant presheaf.

def CategoryTheory.constantSheafAdj E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    (J : CategoryTheory.GrothendieckTopology C) →
      (D : Type u_2) →
        [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
          [inst_2 : CategoryTheory.HasWeakSheafify J D] →
            {T : C} →
              CategoryTheory.Limits.IsTerminal T →
                (CategoryTheory.constantSheaf J D ⊣ (CategoryTheory.sheafSections J D).obj (Opposite.op T))

The constant sheaf functor is left adjoint to evaluation at a terminal object.

theorem CategoryTheory.constantSheafAdj_counit_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (J : CategoryTheory.GrothendieckTopology C)
  (D : Type u_2) [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.HasWeakSheafify J D] {T : C}
  (hT : CategoryTheory.Limits.IsTerminal T) (X : CategoryTheory.Sheaf J D),
  (CategoryTheory.constantSheafAdj J D hT).counit.app X =
    CategoryTheory.CategoryStruct.comp
      ((CategoryTheory.presheafToSheaf J D).map ((CategoryTheory.constantPresheafAdj D hT).counit.app X.obj))
      ((CategoryTheory.sheafificationAdjunction J D).counit.app X)

class CategoryTheory.Sheaf.IsConstant E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    (J : CategoryTheory.GrothendieckTopology C) →
      {D : Type u_2} →
        [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
          [CategoryTheory.HasWeakSheafify J D] → CategoryTheory.Sheaf J D → Prop

A sheaf is constant if it is in the essential image of the constant sheaf functor.

ctor CategoryTheory.Sheaf.IsConstant.mk E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {J : CategoryTheory.GrothendieckTopology C}
  {D : Type u_2} [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.HasWeakSheafify J D]
  {F : CategoryTheory.Sheaf J D}, (CategoryTheory.constantSheaf J D).essImage F → CategoryTheory.Sheaf.IsConstant J F

theorem CategoryTheory.Sheaf.IsConstant.mem_essImage E0 #

∀ {C : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} C} {J : CategoryTheory.GrothendieckTopology C}
  {D : Type u_2} {inst_1 : CategoryTheory.Category.{v_2, u_2} D} {inst_2 : CategoryTheory.HasWeakSheafify J D}
  {F : CategoryTheory.Sheaf J D} [self : CategoryTheory.Sheaf.IsConstant J F],
  (CategoryTheory.constantSheaf J D).essImage F

theorem CategoryTheory.Sheaf.mem_essImage_of_isConstant E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (J : CategoryTheory.GrothendieckTopology C)
  {D : Type u_2} [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.HasWeakSheafify J D]
  (F : CategoryTheory.Sheaf J D) [CategoryTheory.Sheaf.IsConstant J F], (CategoryTheory.constantSheaf J D).essImage F

theorem CategoryTheory.Sheaf.isConstant_congr E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (J : CategoryTheory.GrothendieckTopology C)
  {D : Type u_2} [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.HasWeakSheafify J D]
  {F G : CategoryTheory.Sheaf J D} (i : F ≅ G) [CategoryTheory.Sheaf.IsConstant J F],
  CategoryTheory.Sheaf.IsConstant J G

theorem CategoryTheory.Sheaf.isConstant_of_iso E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (J : CategoryTheory.GrothendieckTopology C)
  {D : Type u_2} [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.HasWeakSheafify J D]
  {F : CategoryTheory.Sheaf J D} {X : D} (i : F ≅ (CategoryTheory.constantSheaf J D).obj X),
  CategoryTheory.Sheaf.IsConstant J F

theorem CategoryTheory.Sheaf.isConstant_iff_mem_essImage E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (J : CategoryTheory.GrothendieckTopology C)
  {D : Type u_2} [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.HasWeakSheafify J D]
  {L : CategoryTheory.Functor D (CategoryTheory.Sheaf J D)} {T : C} (hT : CategoryTheory.Limits.IsTerminal T)
  (adj : L ⊣ (CategoryTheory.sheafSections J D).obj (Opposite.op T)) (F : CategoryTheory.Sheaf J D),
  CategoryTheory.Sheaf.IsConstant J F ↔ L.essImage F

theorem CategoryTheory.Sheaf.isConstant_of_isIso_counit_app E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (J : CategoryTheory.GrothendieckTopology C)
  {D : Type u_2} [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.HasWeakSheafify J D]
  (F : CategoryTheory.Sheaf J D) [inst_3 : CategoryTheory.Limits.HasTerminal C]
  [CategoryTheory.IsIso ((CategoryTheory.constantSheafAdj J D CategoryTheory.Limits.terminalIsTerminal).counit.app F)],
  CategoryTheory.Sheaf.IsConstant J F

instance CategoryTheory.Sheaf.instIsIsoAppCounitConstantSheafAdjOfFaithfulOfFullConstantSheafOfIsConstant E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (J : CategoryTheory.GrothendieckTopology C)
  {D : Type u_2} [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.HasWeakSheafify J D]
  [(CategoryTheory.constantSheaf J D).Faithful] [(CategoryTheory.constantSheaf J D).Full] (F : CategoryTheory.Sheaf J D)
  [CategoryTheory.Sheaf.IsConstant J F] {T : C} (hT : CategoryTheory.Limits.IsTerminal T),
  CategoryTheory.IsIso ((CategoryTheory.constantSheafAdj J D hT).counit.app F)

theorem CategoryTheory.Sheaf.isConstant_iff_isIso_counit_app E3 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (J : CategoryTheory.GrothendieckTopology C)
  {D : Type u_2} [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.HasWeakSheafify J D]
  [(CategoryTheory.constantSheaf J D).Faithful] [(CategoryTheory.constantSheaf J D).Full] (F : CategoryTheory.Sheaf J D)
  {T : C} (hT : CategoryTheory.Limits.IsTerminal T),
  CategoryTheory.Sheaf.IsConstant J F ↔ CategoryTheory.IsIso ((CategoryTheory.constantSheafAdj J D hT).counit.app F)

If the constant sheaf functor is fully faithful, then a sheaf is constant if and only if the counit of the constant sheaf adjunction applied to it is an isomorphism.

theorem CategoryTheory.Sheaf.isConstant_iff_isIso_counit_app' E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (J : CategoryTheory.GrothendieckTopology C)
  {D : Type u_2} [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.HasWeakSheafify J D]
  {L : CategoryTheory.Functor D (CategoryTheory.Sheaf J D)} {T : C} (hT : CategoryTheory.Limits.IsTerminal T)
  (adj : L ⊣ (CategoryTheory.sheafSections J D).obj (Opposite.op T)) [L.Faithful] [L.Full]
  (F : CategoryTheory.Sheaf J D), CategoryTheory.Sheaf.IsConstant J F ↔ CategoryTheory.IsIso (adj.counit.app F)

A variant of isConstant_iff_isIso_counit_app for a general left adjoint to evaluation at a terminal object.

def CategoryTheory.equivCommuteConstant E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    (J : CategoryTheory.GrothendieckTopology C) →
      (D : Type u_2) →
        [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
          [inst_2 : CategoryTheory.HasWeakSheafify J D] →
            {C' : Type u_3} →
              [inst_3 : CategoryTheory.Category.{v_3, u_3} C'] →
                (K : CategoryTheory.GrothendieckTopology C') →
                  [inst_4 : CategoryTheory.HasWeakSheafify K D] →
                    (G : CategoryTheory.Functor C C') →
                      [inst_5 :
                          ∀ (X : C'ᵒᵖ),
                            CategoryTheory.Limits.HasLimitsOfShape (CategoryTheory.StructuredArrow X G.op) D] →
                        [inst_6 : CategoryTheory.Functor.IsDenseSubsite J K G] →
                          {T : C} →
                            CategoryTheory.Limits.IsTerminal T →
                              CategoryTheory.Limits.IsTerminal (G.obj T) →
                                ((CategoryTheory.constantSheaf J D).comp
                                    (CategoryTheory.Functor.IsDenseSubsite.sheafEquiv J K G D).functor ≅
                                  CategoryTheory.constantSheaf K D)

The constant sheaf functor commutes up to isomorphism the equivalence of sheaf categories induced by a dense subsite.

def CategoryTheory.equivCommuteConstant' E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    (J : CategoryTheory.GrothendieckTopology C) →
      (D : Type u_2) →
        [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
          [inst_2 : CategoryTheory.HasWeakSheafify J D] →
            {C' : Type u_3} →
              [inst_3 : CategoryTheory.Category.{v_3, u_3} C'] →
                (K : CategoryTheory.GrothendieckTopology C') →
                  [inst_4 : CategoryTheory.HasWeakSheafify K D] →
                    (G : CategoryTheory.Functor C C') →
                      [inst_5 :
                          ∀ (X : C'ᵒᵖ),
                            CategoryTheory.Limits.HasLimitsOfShape (CategoryTheory.StructuredArrow X G.op) D] →
                        [inst_6 : CategoryTheory.Functor.IsDenseSubsite J K G] →
                          {T : C} →
                            CategoryTheory.Limits.IsTerminal T →
                              CategoryTheory.Limits.IsTerminal (G.obj T) →
                                (CategoryTheory.constantSheaf J D ≅
                                  (CategoryTheory.constantSheaf K D).comp
                                    (CategoryTheory.Functor.IsDenseSubsite.sheafEquiv J K G D).inverse)

The constant sheaf functor commutes up to isomorphism the inverse equivalence of sheaf categories induced by a dense subsite.

theorem CategoryTheory.Sheaf.isConstant_iff_of_equivalence E3 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (J : CategoryTheory.GrothendieckTopology C)
  {D : Type u_2} [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.HasWeakSheafify J D]
  {C' : Type u_3} [inst_3 : CategoryTheory.Category.{v_3, u_3} C'] (K : CategoryTheory.GrothendieckTopology C')
  [inst_4 : CategoryTheory.HasWeakSheafify K D] (G : CategoryTheory.Functor C C')
  [inst_5 : ∀ (X : C'ᵒᵖ), CategoryTheory.Limits.HasLimitsOfShape (CategoryTheory.StructuredArrow X G.op) D]
  [inst_6 : CategoryTheory.Functor.IsDenseSubsite J K G] {T : C} (hT : CategoryTheory.Limits.IsTerminal T)
  (hT' : CategoryTheory.Limits.IsTerminal (G.obj T)) (F : CategoryTheory.Sheaf K D),
  CategoryTheory.Sheaf.IsConstant J ((CategoryTheory.Functor.IsDenseSubsite.sheafEquiv J K G D).inverse.obj F) ↔
    CategoryTheory.Sheaf.IsConstant K F

The property of a sheaf of being constant is invariant under equivalence of sheaf categories.

def CategoryTheory.constantCommuteCompose E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    (J : CategoryTheory.GrothendieckTopology C) →
      {D : Type u_2} →
        [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
          [inst_2 : CategoryTheory.HasWeakSheafify J D] →
            {B : Type u_3} →
              [inst_3 : CategoryTheory.Category.{v_3, u_3} B] →
                (U : CategoryTheory.Functor D B) →
                  [inst_4 : CategoryTheory.HasWeakSheafify J B] →
                    [J.PreservesSheafification U] →
                      [inst_6 : J.HasSheafCompose U] →
                        (CategoryTheory.constantSheaf J D).comp (CategoryTheory.sheafCompose J U) ≅
                          U.comp (CategoryTheory.constantSheaf J B)

The constant sheaf functor commutes with sheafCompose J U up to isomorphism, provided that U preserves sheafification.

theorem CategoryTheory.constantCommuteCompose_hom_app_hom E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (J : CategoryTheory.GrothendieckTopology C)
  {D : Type u_2} [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.HasWeakSheafify J D]
  {B : Type u_3} [inst_3 : CategoryTheory.Category.{v_3, u_3} B] (U : CategoryTheory.Functor D B)
  [inst_4 : CategoryTheory.HasWeakSheafify J B] [inst_5 : J.PreservesSheafification U] [inst_6 : J.HasSheafCompose U]
  (X : D),
  ((CategoryTheory.constantCommuteCompose J U).hom.app X).hom =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.sheafifyComposeIso J U ((CategoryTheory.Functor.const Cᵒᵖ).obj X)).inv
      (CategoryTheory.sheafifyMap J (CategoryTheory.Functor.constComp Cᵒᵖ X U).hom)

theorem CategoryTheory.constantSheafAdj_counit_w E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (J : CategoryTheory.GrothendieckTopology C)
  {D : Type u_2} [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.HasWeakSheafify J D]
  {B : Type u_3} [inst_3 : CategoryTheory.Category.{v_3, u_3} B] (U : CategoryTheory.Functor D B)
  [inst_4 : CategoryTheory.HasWeakSheafify J B] [inst_5 : J.PreservesSheafification U] [inst_6 : J.HasSheafCompose U]
  (F : CategoryTheory.Sheaf J D) {T : C} (hT : CategoryTheory.Limits.IsTerminal T),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.constantCommuteCompose J U).hom.app (F.obj.obj (Opposite.op T)))
      ((CategoryTheory.constantSheafAdj J B hT).counit.app ((CategoryTheory.sheafCompose J U).obj F)) =
    (CategoryTheory.sheafCompose J U).map ((CategoryTheory.constantSheafAdj J D hT).counit.app F)

The counit of constantSheafAdj factors through the isomorphism constantCommuteCompose.

theorem CategoryTheory.Sheaf.isConstant_of_forget E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (J : CategoryTheory.GrothendieckTopology C)
  {D : Type u_2} [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.HasWeakSheafify J D]
  {B : Type u_3} [inst_3 : CategoryTheory.Category.{v_3, u_3} B] (U : CategoryTheory.Functor D B)
  [inst_4 : CategoryTheory.HasWeakSheafify J B] [J.PreservesSheafification U] [inst_6 : J.HasSheafCompose U]
  (F : CategoryTheory.Sheaf J D) [(CategoryTheory.constantSheaf J D).Faithful] [(CategoryTheory.constantSheaf J D).Full]
  [(CategoryTheory.constantSheaf J B).Faithful] [(CategoryTheory.constantSheaf J B).Full]
  [(CategoryTheory.sheafCompose J U).ReflectsIsomorphisms]
  [CategoryTheory.Sheaf.IsConstant J ((CategoryTheory.sheafCompose J U).obj F)] {T : C}
  (hT : CategoryTheory.Limits.IsTerminal T), CategoryTheory.Sheaf.IsConstant J F

instance CategoryTheory.instIsConstantObjSheafSheafCompose E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (J : CategoryTheory.GrothendieckTopology C)
  {D : Type u_2} [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.HasWeakSheafify J D]
  {B : Type u_3} [inst_3 : CategoryTheory.Category.{v_3, u_3} B] (U : CategoryTheory.Functor D B)
  [inst_4 : CategoryTheory.HasWeakSheafify J B] [J.PreservesSheafification U] [inst_6 : J.HasSheafCompose U]
  (F : CategoryTheory.Sheaf J D) [h : CategoryTheory.Sheaf.IsConstant J F],
  CategoryTheory.Sheaf.IsConstant J ((CategoryTheory.sheafCompose J U).obj F)

theorem CategoryTheory.Sheaf.isConstant_iff_forget E3 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (J : CategoryTheory.GrothendieckTopology C)
  {D : Type u_2} [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.HasWeakSheafify J D]
  {B : Type u_3} [inst_3 : CategoryTheory.Category.{v_3, u_3} B] (U : CategoryTheory.Functor D B)
  [inst_4 : CategoryTheory.HasWeakSheafify J B] [J.PreservesSheafification U] [inst_6 : J.HasSheafCompose U]
  (F : CategoryTheory.Sheaf J D) [(CategoryTheory.constantSheaf J D).Faithful] [(CategoryTheory.constantSheaf J D).Full]
  [(CategoryTheory.constantSheaf J B).Faithful] [(CategoryTheory.constantSheaf J B).Full]
  [(CategoryTheory.sheafCompose J U).ReflectsIsomorphisms] {T : C} (hT : CategoryTheory.Limits.IsTerminal T),
  CategoryTheory.Sheaf.IsConstant J F ↔ CategoryTheory.Sheaf.IsConstant J ((CategoryTheory.sheafCompose J U).obj F)