The areas / V28. Algebraic geometry
Mathlib.Topology.Sheaves.Sheafify
9 declarations. Mathlib docs · Source
Sheafification of Type-valued presheaves
We construct the sheafification of a Type-valued presheaf,
as the subsheaf of dependent functions into the stalks
consisting of functions which are locally germs.
We show that the stalks of the sheafification are isomorphic to the original stalks,
via stalkToFiber which evaluates a germ of a dependent function at a point.
We construct a morphism toSheafify from a presheaf to (the underlying presheaf of)
its sheafification, given by sending a section to its collection of germs.
TODO
Show that the map induced on stalks by toSheafify is the inverse of stalkToFiber.
Show sheafification is a functor from presheaves to sheaves, and that it is the left adjoint of the forgetful functor, following https://stacks.math.columbia.edu/tag/007X.
def TopCat.Presheaf.Sheafify.isGerm E1 #
{X : TopCat} → (F : TopCat.Presheaf (Type v) X) → TopCat.PrelocalPredicate fun x ↦ F.stalk x
The prelocal predicate on functions into the stalks, asserting that the function is equal to a germ.
def TopCat.Presheaf.Sheafify.isLocallyGerm E1 #
{X : TopCat} → (F : TopCat.Presheaf (Type v) X) → TopCat.LocalPredicate fun x ↦ F.stalk x
The local predicate on functions into the stalks, asserting that the function is locally equal to a germ.
def TopCat.Presheaf.sheafify E1 #
{X : TopCat} → TopCat.Presheaf (Type v) X → TopCat.Sheaf (Type v) X
The sheafification of a Type-valued presheaf, defined as the functions into the stalks which
are locally equal to germs.
def TopCat.Presheaf.toSheafify E1 #
{X : TopCat} → (F : TopCat.Presheaf (Type v) X) → F ⟶ F.sheafify.obj
The morphism from a presheaf to its sheafification, sending each section to its germs. (This forms the unit of the adjunction.)
def TopCat.Presheaf.stalkToFiber E1 #
{X : TopCat} → (F : TopCat.Presheaf (Type v) X) → (x : ↑X) → F.sheafify.presheaf.stalk x ⟶ F.stalk x
The natural morphism from the stalk of the sheafification to the original stalk.
In sheafifyStalkIso we show this is an isomorphism.
theorem TopCat.Presheaf.stalkToFiber_surjective E1 #
∀ {X : TopCat} (F : TopCat.Presheaf (Type v) X) (x : ↑X),
Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom (F.stalkToFiber x))
theorem TopCat.Presheaf.stalkToFiber_injective E1 #
∀ {X : TopCat} (F : TopCat.Presheaf (Type v) X) (x : ↑X),
Function.Injective ⇑(CategoryTheory.ConcreteCategory.hom (F.stalkToFiber x))
def TopCat.Presheaf.sheafifyStalkIso E1 #
{X : TopCat} → (F : TopCat.Presheaf (Type v) X) → (x : ↑X) → F.sheafify.presheaf.stalk x ≅ F.stalk x
The isomorphism between a stalk of the sheafification and the original stalk.
theorem TopCat.Presheaf.stalkFunctor_map_unit_toSheafify_isIso E1 #
∀ {X : TopCat} (p₀ : ↑X) (C : Type u) [inst : CategoryTheory.Category.{v, u} C]
[inst_1 : CategoryTheory.Limits.HasColimits C] [CategoryTheory.Limits.HasTerminal C] (𝓕 : TopCat.Presheaf C X)
[inst_3 : CategoryTheory.HasWeakSheafify (Opens.grothendieckTopology ↑X) C],
CategoryTheory.IsIso
((TopCat.Presheaf.stalkFunctor C p₀).map (CategoryTheory.toSheafify (Opens.grothendieckTopology ↑X) 𝓕))
Given a presheaf 𝓕, the induced map on stalks of CategoryTheory.toSheafify, 𝓕ₓ ⟶ 𝓕⁺ₓ,
is an isomorphism