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 / V28. Algebraic geometry

Mathlib.Topology.Sheaves.Sheaf

13 declarations. Mathlib docs · Source

Sheaves

We define sheaves on a topological space, with values in an arbitrary category.

A presheaf on a topological space X is a sheaf precisely when it is a sheaf under the Grothendieck topology on opens X, which expands out to say: For each open cover { Uᵢ } of U, and a family of compatible functions A ⟶ F(Uᵢ) for an A : X, there exists a unique gluing A ⟶ F(U) compatible with the restriction.

See the docstring of TopCat.Presheaf.IsSheaf for an explanation on the design decisions and a list of equivalent conditions.

We provide the instance CategoryTheory.Category (TopCat.Sheaf C X) as the full subcategory of presheaves, and the fully faithful functor Sheaf.forget : TopCat.Sheaf C X ⥤ TopCat.Presheaf C X.

abbrev TopCat.Presheaf.IsSheaf E1 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X : TopCat} → TopCat.Presheaf C X → Prop

The sheaf condition has several different equivalent formulations. The official definition chosen here is in terms of Grothendieck topologies so that the results on sites could be applied here easily, and this condition does not require additional constraints on the value category. The equivalent formulations of the sheaf condition on presheaf C X are as follows :

  1. TopCat.Presheaf.IsSheaf: (the official definition) It is a sheaf with respect to the Grothendieck topology on opens X, which is to say: For each open cover { Uᵢ } of U, and a family of compatible functions A ⟶ F(Uᵢ) for an A : X, there exists a unique gluing A ⟶ F(U) compatible with the restriction.

  2. TopCat.Presheaf.IsSheafEqualizerProducts: (requires C to have all products) For each open cover { Uᵢ } of U, F(U) ⟶ ∏ᶜ F(Uᵢ) is the equalizer of the two morphisms ∏ᶜ F(Uᵢ) ⟶ ∏ᶜ F(Uᵢ ∩ Uⱼ). See TopCat.Presheaf.isSheaf_iff_isSheafEqualizerProducts.

  3. TopCat.Presheaf.IsSheafOpensLeCover: For each open cover { Uᵢ } of U, F(U) is the limit of the diagram consisting of arrows F(V₁) ⟶ F(V₂) for every pair of open sets V₁ ⊇ V₂ that are contained in some Uᵢ. See TopCat.Presheaf.isSheaf_iff_isSheafOpensLeCover.

  4. TopCat.Presheaf.IsSheafPairwiseIntersections: For each open cover { Uᵢ } of U, F(U) is the limit of the diagram consisting of arrows from F(Uᵢ) and F(Uⱼ) to F(Uᵢ ∩ Uⱼ) for each pair (i, j). See TopCat.Presheaf.isSheaf_iff_isSheafPairwiseIntersections.

The following requires C to be concrete and complete, and forget C to reflect isomorphisms and preserve limits. This applies to most "algebraic" categories, e.g. groups, abelian groups and rings.

  1. TopCat.Presheaf.IsSheafUniqueGluing: (requires C to be concrete and complete; forget C to reflect isomorphisms and preserve limits) For each open cover { Uᵢ } of U, and a compatible family of elements x : F(Uᵢ), there exists a unique gluing x : F(U) that restricts to the given elements. See TopCat.Presheaf.isSheaf_iff_isSheafUniqueGluing.

  2. The underlying sheaf of types is a sheaf. See TopCat.Presheaf.isSheaf_iff_isSheaf_comp and CategoryTheory.Presheaf.isSheaf_iff_isSheaf_forget.

theorem TopCat.Presheaf.isSheaf_unit E1 #

∀ {X : TopCat} (F : TopCat.Presheaf (CategoryTheory.Discrete Unit) X), F.IsSheaf

The presheaf valued in Unit over any topological space is a sheaf.

theorem TopCat.Presheaf.isSheaf_iso_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : TopCat} {F G : TopCat.Presheaf C X} (α : F ≅ G),
  F.IsSheaf ↔ G.IsSheaf

theorem TopCat.Presheaf.isSheaf_of_iso E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : TopCat} {F G : TopCat.Presheaf C X} (α : F ≅ G),
  F.IsSheaf → G.IsSheaf

Transfer the sheaf condition across an isomorphism of presheaves.

abbrev TopCat.Sheaf E1 #

(C : Type u) → [CategoryTheory.Category.{v, u} C] → TopCat → Type (max u v w)

A TopCat.Sheaf C X is a presheaf of objects from C over a (bundled) topological space X, satisfying the sheaf condition.

abbrev TopCat.Sheaf.presheaf E1 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X : TopCat} → TopCat.Sheaf C X → TopCat.Presheaf C X

The underlying presheaf of a sheaf

instance TopCat.sheafInhabited E0 #

(X : TopCat) → Inhabited (TopCat.Sheaf (CategoryTheory.Discrete PUnit.{1}) X)

def TopCat.Sheaf.forget E1 #

(C : Type u) →
  [inst : CategoryTheory.Category.{v, u} C] →
    (X : TopCat) → CategoryTheory.Functor (TopCat.Sheaf C X) (TopCat.Presheaf C X)

The forgetful functor from sheaves to presheaves.

instance TopCat.Sheaf.forget_full E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] (X : TopCat), (TopCat.Sheaf.forget C X).Full

instance TopCat.Sheaf.forgetFaithful E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] (X : TopCat), (TopCat.Sheaf.forget C X).Faithful

theorem TopCat.Sheaf.id_app E1 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] (X : TopCat) (F : TopCat.Sheaf C X)
  (t : (TopologicalSpace.Opens ↑X)ᵒᵖ),
  (CategoryTheory.CategoryStruct.id F).hom.app t = CategoryTheory.CategoryStruct.id (F.obj.obj t)

theorem TopCat.Sheaf.comp_app E1 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] (X : TopCat) {F G H : TopCat.Sheaf C X} (f : F ⟶ G) (g : G ⟶ H)
  (t : (TopologicalSpace.Opens ↑X)ᵒᵖ),
  (CategoryTheory.CategoryStruct.comp f g).hom.app t = CategoryTheory.CategoryStruct.comp (f.hom.app t) (g.hom.app t)

theorem TopCat.Presheaf.IsSheaf.section_ext E1 #

∀ {X : TopCat} {A : Type u_1} [inst : CategoryTheory.Category.{u, u_1} A] {FC : A → A → Type u_2} {CC : A → Type u}
  [inst_1 : (X Y : A) → FunLike (FC X Y) (CC X) (CC Y)] [inst_2 : CategoryTheory.ConcreteCategory A FC]
  [CategoryTheory.Limits.HasLimits A] [CategoryTheory.Limits.PreservesLimits (CategoryTheory.forget A)]
  [(CategoryTheory.forget A).ReflectsIsomorphisms] {F : TopCat.Presheaf A X},
  F.IsSheaf →
    ∀ {U : (TopologicalSpace.Opens ↑X)ᵒᵖ} {s t : CategoryTheory.ToType (F.obj U)},
      (∀ x ∈ Opposite.unop U,
          ∃ V,
            ∃ (hV : V ≤ Opposite.unop U),
              x ∈ V ∧
                (CategoryTheory.ConcreteCategory.hom (F.map (CategoryTheory.homOfLE hV).op)) s =
                  (CategoryTheory.ConcreteCategory.hom (F.map (CategoryTheory.homOfLE hV).op)) t) →
        s = t