Documentation

Mathlib.Topology.Sheaves.Stalks

Stalks #

For a presheaf F on a topological space X, valued in some category C, the stalk of F at the point x : X is defined as the colimit of the composition of the inclusion of categories (OpenNhds x)ᵒᵖ ⥤ (Opens X)ᵒᵖ and the functor F : (Opens X)ᵒᵖ ⥤ C. For an open neighborhood U of x, we define the map F.germ x : F.obj (op U) ⟶ F.stalk x as the canonical morphism into this colimit.

Taking stalks is functorial: For every point x : X we define a functor stalkFunctor C x, sending presheaves on X to objects of C. Furthermore, for a map f : X ⟶ Y between topological spaces, we define stalkPushforward as the induced map on the stalks (f _* ℱ).stalk (f x) ⟶ ℱ.stalk x.

Some lemmas about stalks and germs only hold for certain classes of concrete categories. A basic property of forgetful functors of categories of algebraic structures (like MonCat, CommRingCat,...) is that they preserve filtered colimits. Since stalks are filtered colimits, this ensures that the stalks of presheaves valued in these categories behave exactly as for Type-valued presheaves. For example, in germ_exist we prove that in such a category, every element of the stalk is the germ of a section.

Furthermore, if we require the forgetful functor to reflect isomorphisms and preserve limits (as is the case for most algebraic structures), we have access to the unique gluing API and can prove further properties. Most notably, in is_iso_iff_stalk_functor_map_iso, we prove that in such a category, a morphism of sheaves is an isomorphism if and only if all of its stalk maps are isomorphisms.

See also the definition of "algebraic structures" in the stacks project: https://stacks.math.columbia.edu/tag/007L

Stalks are functorial with respect to morphisms of presheaves over a fixed X.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    The stalk of a presheaf F at a point x is calculated as the colimit of the functor nbhds x ⥤ opens F.X ⥤ C

    Equations
    Instances For
      def TopCat.Presheaf.germ {C : Type u} [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} (F : TopCat.Presheaf C X) (U : TopologicalSpace.Opens X) (x : X) (hx : x U) :
      F.obj (Opposite.op U) F.stalk x

      The germ of a section of a presheaf over an open at a point of that open.

      Equations
      Instances For

        The germ of a global section of a presheaf at a point.

        Equations
        Instances For
          theorem TopCat.Presheaf.germ_res {C : Type u} [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} (F : TopCat.Presheaf C X) {U : TopologicalSpace.Opens X} {V : TopologicalSpace.Opens X} (i : U V) (x : X) (hx : x U) :
          CategoryTheory.CategoryStruct.comp (F.map i.op) (F.germ U x hx) = F.germ V x
          theorem TopCat.Presheaf.germ_res_assoc {C : Type u} [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} (F : TopCat.Presheaf C X) {U : TopologicalSpace.Opens X} {V : TopologicalSpace.Opens X} (i : U V) (x : X) (hx : x U) {Z : C} (h : F.stalk x Z) :
          @[simp]
          theorem TopCat.Presheaf.germ_res' {C : Type u} [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} (F : TopCat.Presheaf C X) {U : TopologicalSpace.Opens X} {V : TopologicalSpace.Opens X} (i : Opposite.op V Opposite.op U) (x : X) (hx : x U) :
          CategoryTheory.CategoryStruct.comp (F.map i) (F.germ U x hx) = F.germ V x

          A variant of germ_res with op V ⟶ op U so that the LHS is more general and simp fires more easier.

          theorem TopCat.Presheaf.map_germ_eq_Γgerm {C : Type u} [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} (F : TopCat.Presheaf C X) {U : TopologicalSpace.Opens X} {i : U } (x : X) (hx : x U) :
          CategoryTheory.CategoryStruct.comp (F.map i.op) (F.germ U x hx) = F.Γgerm x
          theorem TopCat.Presheaf.germ_res_apply {C : Type u} [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} (F : TopCat.Presheaf C X) {U : TopologicalSpace.Opens X} {V : TopologicalSpace.Opens X} (i : U V) (x : X) (hx : x U) [CategoryTheory.ConcreteCategory C] (s : (CategoryTheory.forget C).obj (F.obj (Opposite.op V))) :
          (F.germ U x hx) ((F.map i.op) s) = (F.germ V x ) s
          theorem TopCat.Presheaf.germ_res_apply' {C : Type u} [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} (F : TopCat.Presheaf C X) {U : TopologicalSpace.Opens X} {V : TopologicalSpace.Opens X} (i : Opposite.op V Opposite.op U) (x : X) (hx : x U) [CategoryTheory.ConcreteCategory C] (s : (CategoryTheory.forget C).obj (F.obj (Opposite.op V))) :
          (F.germ U x hx) ((F.map i) s) = (F.germ V x ) s
          theorem TopCat.Presheaf.Γgerm_res_apply {C : Type u} [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} (F : TopCat.Presheaf C X) {U : TopologicalSpace.Opens X} {i : U } (x : X) (hx : x U) [CategoryTheory.ConcreteCategory C] (s : (CategoryTheory.forget C).obj (F.obj (Opposite.op ))) :
          (F.germ U x hx) ((F.map i.op) s) = (F.Γgerm x) s
          theorem TopCat.Presheaf.stalk_hom_ext {C : Type u} [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} (F : TopCat.Presheaf C X) {x : X} {Y : C} {f₁ : F.stalk x Y} {f₂ : F.stalk x Y} (ih : ∀ (U : TopologicalSpace.Opens X) (hxU : x U), CategoryTheory.CategoryStruct.comp (F.germ U x hxU) f₁ = CategoryTheory.CategoryStruct.comp (F.germ U x hxU) f₂) :
          f₁ = f₂

          A morphism from the stalk of F at x to some object Y is completely determined by its composition with the germ morphisms.

          theorem TopCat.Presheaf.stalkFunctor_map_germ_apply {C : Type u} [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} [CategoryTheory.ConcreteCategory C] {F : TopCat.Presheaf C X} {G : TopCat.Presheaf C X} (U : TopologicalSpace.Opens X) (x : X) (hx : x U) (f : F G) (s : (CategoryTheory.forget C).obj (F.obj (Opposite.op U))) :
          ((TopCat.Presheaf.stalkFunctor C x).map f) ((F.germ U x hx) s) = (G.germ U x hx) ((f.app (Opposite.op U)) s)
          @[simp]
          theorem TopCat.Presheaf.stalkFunctor_map_germ_apply' {C : Type u} [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} [CategoryTheory.ConcreteCategory C] {F : TopCat.Presheaf C X} {G : TopCat.Presheaf C X} (U : TopologicalSpace.Opens X) (x : X) (hx : x U) (f : F G) (s : (CategoryTheory.forget C).obj (F.obj (Opposite.op U))) :
          ((TopCat.Presheaf.stalkFunctor C x).map f) ((F.germ U x hx) s) = (G.germ U x hx) ((f.app (Opposite.op U)) s)
          def TopCat.Presheaf.stalkPushforward (C : Type u) [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} {Y : TopCat} (f : X Y) (F : TopCat.Presheaf C X) (x : X) :
          ((TopCat.Presheaf.pushforward C f).obj F).stalk (f x) F.stalk x

          For a presheaf F on a space X, a continuous map f : X ⟶ Y induces a morphisms between the stalk of f _ * F at f x and the stalk of F at x.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            @[simp]
            theorem TopCat.Presheaf.stalkPushforward_germ_apply (C : Type u) [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} {Y : TopCat} (f : X Y) (F : TopCat.Presheaf C X) (U : TopologicalSpace.Opens Y) (x : X) (hx : f x✝ U) [inst : CategoryTheory.ConcreteCategory C] (x : (CategoryTheory.forget C).obj (((TopCat.Presheaf.pushforward C f).obj F).obj (Opposite.op U))) :
            (TopCat.Presheaf.stalkPushforward C f F x✝) ((((TopCat.Presheaf.pushforward C f).obj F).germ U (f x✝) hx) x) = (F.germ ((TopologicalSpace.Opens.map f).obj U) x✝ hx) x
            def TopCat.Presheaf.stalkPullbackHom (C : Type u) [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} {Y : TopCat} (f : X Y) (F : TopCat.Presheaf C Y) (x : X) :
            F.stalk (f x) ((TopCat.Presheaf.pullback C f).obj F).stalk x

            The morphism ℱ_{f x} ⟶ (f⁻¹ℱ)ₓ that factors through (f_*f⁻¹ℱ)_{f x}.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              def TopCat.Presheaf.germToPullbackStalk (C : Type u) [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} {Y : TopCat} (f : X Y) (F : TopCat.Presheaf C Y) (U : TopologicalSpace.Opens X) (x : X) (hx : x U) :
              ((TopCat.Presheaf.pullback C f).obj F).obj (Opposite.op U) F.stalk (f x)

              The morphism (f⁻¹ℱ)(U) ⟶ ℱ_{f(x)} for some U ∋ x.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                def TopCat.Presheaf.stalkPullbackInv (C : Type u) [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} {Y : TopCat} (f : X Y) (F : TopCat.Presheaf C Y) (x : X) :
                ((TopCat.Presheaf.pullback C f).obj F).stalk x F.stalk (f x)

                The morphism (f⁻¹ℱ)ₓ ⟶ ℱ_{f(x)}.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  def TopCat.Presheaf.stalkPullbackIso (C : Type u) [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} {Y : TopCat} (f : X Y) (F : TopCat.Presheaf C Y) (x : X) :
                  F.stalk (f x) ((TopCat.Presheaf.pullback C f).obj F).stalk x

                  The isomorphism ℱ_{f(x)} ≅ (f⁻¹ℱ)ₓ.

                  Equations
                  Instances For
                    noncomputable def TopCat.Presheaf.stalkSpecializes {C : Type u} [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} (F : TopCat.Presheaf C X) {x : X} {y : X} (h : x y) :
                    F.stalk y F.stalk x

                    If x specializes to y, then there is a natural map F.stalk y ⟶ F.stalk x.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      @[simp]
                      theorem TopCat.Presheaf.germ_stalkSpecializes {C : Type u} [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} (F : TopCat.Presheaf C X) {U : TopologicalSpace.Opens X} {y : X} (hy : y U) {x : X} (h : x y) :
                      CategoryTheory.CategoryStruct.comp (F.germ U y hy) (F.stalkSpecializes h) = F.germ U x
                      @[simp]
                      theorem TopCat.Presheaf.germ_stalkSpecializes_assoc {C : Type u} [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} (F : TopCat.Presheaf C X) {U : TopologicalSpace.Opens X} {y : X} (hy : y U) {x : X} (h : x y) {Z : C} (h : F.stalk x Z) :
                      theorem TopCat.Presheaf.germ_stalkSpecializes_apply {C : Type u} [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} (F : TopCat.Presheaf C X) {U : TopologicalSpace.Opens X} {y : X} (hy : y U) {x : X} (h : x✝ y) [inst : CategoryTheory.ConcreteCategory C] (x : (CategoryTheory.forget C).obj (F.obj (Opposite.op U))) :
                      (F.stalkSpecializes h) ((F.germ U y hy) x) = (F.germ U x✝ ) x
                      @[deprecated TopCat.Presheaf.germ_stalkSpecializes]
                      theorem TopCat.Presheaf.germ_stalkSpecializes' {C : Type u} [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} (F : TopCat.Presheaf C X) {U : TopologicalSpace.Opens X} {y : X} (hy : y U) {x : X} (h : x y) :
                      CategoryTheory.CategoryStruct.comp (F.germ U y hy) (F.stalkSpecializes h) = F.germ U x

                      Alias of TopCat.Presheaf.germ_stalkSpecializes.

                      @[simp]
                      theorem TopCat.Presheaf.stalkSpecializes_comp {C : Type u_1} [CategoryTheory.Category.{u_2, u_1} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} (F : TopCat.Presheaf C X) {x : X} {y : X} {z : X} (h : x y) (h' : y z) :
                      CategoryTheory.CategoryStruct.comp (F.stalkSpecializes h') (F.stalkSpecializes h) = F.stalkSpecializes
                      @[simp]
                      theorem TopCat.Presheaf.stalkSpecializes_comp_assoc {C : Type u_1} [CategoryTheory.Category.{u_2, u_1} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} (F : TopCat.Presheaf C X) {x : X} {y : X} {z : X} (h : x y) (h' : y z) {Z : C} (h : F.stalk x Z) :
                      CategoryTheory.CategoryStruct.comp (F.stalkSpecializes h') (CategoryTheory.CategoryStruct.comp (F.stalkSpecializes h✝) h) = CategoryTheory.CategoryStruct.comp (F.stalkSpecializes ) h
                      @[simp]
                      theorem TopCat.Presheaf.stalkSpecializes_comp_apply {C : Type u_1} [CategoryTheory.Category.{u_2, u_1} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} (F : TopCat.Presheaf C X) {x : X} {y : X} {z : X} (h : x✝ y) (h' : y z) [inst : CategoryTheory.ConcreteCategory C] (x : (CategoryTheory.forget C).obj (F.stalk z)) :
                      (F.stalkSpecializes h) ((F.stalkSpecializes h') x) = (F.stalkSpecializes ) x
                      @[simp]
                      theorem TopCat.Presheaf.stalkSpecializes_stalkFunctor_map_apply {C : Type u} [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} {F : TopCat.Presheaf C X} {G : TopCat.Presheaf C X} (f : F G) {x : X} {y : X} (h : x✝ y) [inst : CategoryTheory.ConcreteCategory C] (x : (CategoryTheory.forget C).obj (F.stalk y)) :
                      ((TopCat.Presheaf.stalkFunctor C x✝).map f) ((F.stalkSpecializes h) x) = (G.stalkSpecializes h) (((TopCat.Presheaf.stalkFunctor C y).map f) x)
                      theorem TopCat.Presheaf.stalkSpecializes_stalkPushforward_apply {C : Type u} [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} {Y : TopCat} (f : X Y) (F : TopCat.Presheaf C X) {x : X} {y : X} (h : x✝ y) [inst : CategoryTheory.ConcreteCategory C] (x : (CategoryTheory.forget C).obj (((TopCat.Presheaf.pushforward C f).obj F).stalk (f y))) :
                      (TopCat.Presheaf.stalkPushforward C f F x✝) ((((TopCat.Presheaf.pushforward C f).obj F).stalkSpecializes ) x) = (F.stalkSpecializes h) ((TopCat.Presheaf.stalkPushforward C f F y) x)
                      def TopCat.Presheaf.stalkCongr {X : TopCat} {C : Type u_1} [CategoryTheory.Category.{u_2, u_1} C] [CategoryTheory.Limits.HasColimits C] (F : TopCat.Presheaf C X) {x : X} {y : X} (e : Inseparable x y) :
                      F.stalk x F.stalk y

                      The stalks are isomorphic on inseparable points

                      Equations
                      • F.stalkCongr e = { hom := F.stalkSpecializes , inv := F.stalkSpecializes , hom_inv_id := , inv_hom_id := }
                      Instances For
                        @[simp]
                        theorem TopCat.Presheaf.stalkCongr_hom {X : TopCat} {C : Type u_1} [CategoryTheory.Category.{u_2, u_1} C] [CategoryTheory.Limits.HasColimits C] (F : TopCat.Presheaf C X) {x : X} {y : X} (e : Inseparable x y) :
                        (F.stalkCongr e).hom = F.stalkSpecializes
                        @[simp]
                        theorem TopCat.Presheaf.stalkCongr_inv {X : TopCat} {C : Type u_1} [CategoryTheory.Category.{u_2, u_1} C] [CategoryTheory.Limits.HasColimits C] (F : TopCat.Presheaf C X) {x : X} {y : X} (e : Inseparable x y) :
                        (F.stalkCongr e).inv = F.stalkSpecializes
                        theorem TopCat.Presheaf.germ_ext {C : Type u} [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} [CategoryTheory.ConcreteCategory C] (F : TopCat.Presheaf C X) {U : TopologicalSpace.Opens X} {V : TopologicalSpace.Opens X} {x : X} {hxU : x U} {hxV : x V} (W : TopologicalSpace.Opens X) (hxW : x W) (iWU : W U) (iWV : W V) {sU : (CategoryTheory.forget C).obj (F.obj (Opposite.op U))} {sV : (CategoryTheory.forget C).obj (F.obj (Opposite.op V))} (ih : (F.map iWU.op) sU = (F.map iWV.op) sV) :
                        (F.germ U x hxU) sU = (F.germ V x hxV) sV

                        For presheaves valued in a concrete category whose forgetful functor preserves filtered colimits, every element of the stalk is the germ of a section.

                        theorem TopCat.Presheaf.germ_eq {C : Type u} [CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimits C] {X : TopCat} [CategoryTheory.ConcreteCategory C] [CategoryTheory.Limits.PreservesFilteredColimits (CategoryTheory.forget C)] (F : TopCat.Presheaf C X) {U : TopologicalSpace.Opens X} {V : TopologicalSpace.Opens X} (x : X) (mU : x U) (mV : x V) (s : (CategoryTheory.forget C).obj (F.obj (Opposite.op U))) (t : (CategoryTheory.forget C).obj (F.obj (Opposite.op V))) (h : (F.germ U x mU) s = (F.germ V x mV) t) :
                        ∃ (W : TopologicalSpace.Opens X) (_ : x W) (iU : W U) (iV : W V), (F.map iU.op) s = (F.map iV.op) t

                        Let F be a sheaf valued in a concrete category, whose forgetful functor reflects isomorphisms, preserves limits and filtered colimits. Then two sections who agree on every stalk must be equal.

                        For surjectivity, we are given an arbitrary section t and need to find a preimage for it. We claim that it suffices to find preimages locally. That is, for each x : U we construct a neighborhood V ≤ U and a section s : F.obj (op V)) such that f.app (op V) s and t agree on V.

                        Let F and G be sheaves valued in a concrete category, whose forgetful functor reflects isomorphisms, preserves limits and filtered colimits. Then if the stalk maps of a morphism f : F ⟶ G are all isomorphisms, f must be an isomorphism.

                        Let F and G be sheaves valued in a concrete category, whose forgetful functor reflects isomorphisms, preserves limits and filtered colimits. Then a morphism f : F ⟶ G is an isomorphism if and only if all of its stalk maps are isomorphisms.