The areas / V25. Higher structures in categories
Mathlib.CategoryTheory.Sites.GlobalSections
31 declarations. Mathlib docs · Source
abbrev CategoryTheory.HasGlobalSectionsFunctor E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) →
(A : Type u₂) → [inst_1 : CategoryTheory.Category.{v₂, u₂} A] → [CategoryTheory.HasWeakSheafify J A] → Prop
Typeclass stating that the constant sheaf functor has a right adjoint. This right adjoint will
then be called the global sections functor and written Sheaf.Γ.
def CategoryTheory.Sheaf.Γ E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) →
(A : Type u₂) →
[inst_1 : CategoryTheory.Category.{v₂, u₂} A] →
[inst_2 : CategoryTheory.HasWeakSheafify J A] →
[CategoryTheory.HasGlobalSectionsFunctor J A] → CategoryTheory.Functor (CategoryTheory.Sheaf J A) A
We define the global sections functor as the right-adjoint of the constant sheaf functor whenever it exists.
instance CategoryTheory.Sheaf.instIsRightAdjointΓ E0 #
∀ {C : Type u_2} [inst : CategoryTheory.Category.{u_4, u_2} C] (J : CategoryTheory.GrothendieckTopology C)
(A : Type u_3) [inst_1 : CategoryTheory.Category.{u_1, u_3} A] [inst_2 : CategoryTheory.HasWeakSheafify J A]
[inst_3 : CategoryTheory.HasGlobalSectionsFunctor J A], (CategoryTheory.Sheaf.Γ J A).IsRightAdjoint
def CategoryTheory.constantSheafΓAdj E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) →
(A : Type u₂) →
[inst_1 : CategoryTheory.Category.{v₂, u₂} A] →
[inst_2 : CategoryTheory.HasWeakSheafify J A] →
[inst_3 : CategoryTheory.HasGlobalSectionsFunctor J A] →
CategoryTheory.constantSheaf J A ⊣ CategoryTheory.Sheaf.Γ J A
The constant sheaf functor is by definition left-adjoint to the global sections functor.
instance CategoryTheory.hasGlobalSectionsFunctor_of_hasTerminal E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C) (A : Type u₂)
[inst_1 : CategoryTheory.Category.{v₂, u₂} A] [inst_2 : CategoryTheory.HasWeakSheafify J A]
[CategoryTheory.Limits.HasTerminal C], CategoryTheory.HasGlobalSectionsFunctor J A
Sites with a terminal object admit a global sections functor.
def CategoryTheory.Sheaf.ΓNatIsoSheafSections E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) →
(A : Type u₂) →
[inst_1 : CategoryTheory.Category.{v₂, u₂} A] →
[inst_2 : CategoryTheory.HasWeakSheafify J A] →
[inst_3 : CategoryTheory.Limits.HasTerminal C] →
{T : C} →
CategoryTheory.Limits.IsTerminal T →
(CategoryTheory.Sheaf.Γ J A ≅ (CategoryTheory.sheafSections J A).obj (Opposite.op T))
On sites with a terminal object, the global sections functor is isomorphic to the functor of sections on that object.
instance CategoryTheory.hasGlobalSectionsFunctor_of_hasLimitsOfShape E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C) (A : Type u₂)
[inst_1 : CategoryTheory.Category.{v₂, u₂} A] [inst_2 : CategoryTheory.HasWeakSheafify J A]
[CategoryTheory.Limits.HasLimitsOfShape Cᵒᵖ A], CategoryTheory.HasGlobalSectionsFunctor J A
Every site C admits a global sections functor for A-valued sheaves when A has limits of
shape Cᵒᵖ.
def CategoryTheory.Sheaf.ΓNatIsoLim E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) →
(A : Type u₂) →
[inst_1 : CategoryTheory.Category.{v₂, u₂} A] →
[inst_2 : CategoryTheory.HasWeakSheafify J A] →
[inst_3 : CategoryTheory.Limits.HasLimitsOfShape Cᵒᵖ A] →
CategoryTheory.Sheaf.Γ J A ≅ (CategoryTheory.sheafToPresheaf J A).comp CategoryTheory.Limits.lim
Global sections of sheaves are naturally isomorphic to the limits of the underlying presheaves.
Note that while HasLimitsOfShape Cᵒᵖ A is needed here to talk about lim as a functor, global
sections are still limits without it - see Sheaf.isLimitConeΓ.
def CategoryTheory.Sheaf.ΓHomEquiv E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{J : CategoryTheory.GrothendieckTopology C} →
{A : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} A] →
[inst_2 : CategoryTheory.HasWeakSheafify J A] →
[inst_3 : CategoryTheory.HasGlobalSectionsFunctor J A] →
{X : A} →
{F : CategoryTheory.Sheaf J A} →
((CategoryTheory.Functor.const Cᵒᵖ).obj X ⟶ F.obj) ≃ (X ⟶ (CategoryTheory.Sheaf.Γ J A).obj F)
Natural transformations from a constant presheaf into a sheaf correspond to morphisms to its global sections.
theorem CategoryTheory.Sheaf.ΓHomEquiv_naturality_left E2 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C} {A : Type u₂}
[inst_1 : CategoryTheory.Category.{v₂, u₂} A] [inst_2 : CategoryTheory.HasWeakSheafify J A]
[inst_3 : CategoryTheory.HasGlobalSectionsFunctor J A] {X' X : A} {F : CategoryTheory.Sheaf J A} (f : X' ⟶ X)
(g : (CategoryTheory.Functor.const Cᵒᵖ).obj X ⟶ F.obj),
CategoryTheory.Sheaf.ΓHomEquiv (CategoryTheory.CategoryStruct.comp ((CategoryTheory.Functor.const Cᵒᵖ).map f) g) =
CategoryTheory.CategoryStruct.comp f (CategoryTheory.Sheaf.ΓHomEquiv g)
Naturality lemma for ΓHomEquiv analogous to Adjunction.homEquiv_naturality_left.
theorem CategoryTheory.Sheaf.ΓHomEquiv_naturality_left_symm E2 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C} {A : Type u₂}
[inst_1 : CategoryTheory.Category.{v₂, u₂} A] [inst_2 : CategoryTheory.HasWeakSheafify J A]
[inst_3 : CategoryTheory.HasGlobalSectionsFunctor J A] {X' X : A} {F : CategoryTheory.Sheaf J A} (f : X' ⟶ X)
(g : X ⟶ (CategoryTheory.Sheaf.Γ J A).obj F),
CategoryTheory.Sheaf.ΓHomEquiv.symm (CategoryTheory.CategoryStruct.comp f g) =
CategoryTheory.CategoryStruct.comp ((CategoryTheory.Functor.const Cᵒᵖ).map f)
(CategoryTheory.Sheaf.ΓHomEquiv.symm g)
Naturality lemma for ΓHomEquiv analogous to Adjunction.homEquiv_naturality_left_symm.
theorem CategoryTheory.Sheaf.ΓHomEquiv_naturality_right E2 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C} {A : Type u₂}
[inst_1 : CategoryTheory.Category.{v₂, u₂} A] [inst_2 : CategoryTheory.HasWeakSheafify J A]
[inst_3 : CategoryTheory.HasGlobalSectionsFunctor J A] {X : A} {F F' : CategoryTheory.Sheaf J A}
(f : (CategoryTheory.Functor.const Cᵒᵖ).obj X ⟶ F.obj) (g : F ⟶ F'),
CategoryTheory.Sheaf.ΓHomEquiv (CategoryTheory.CategoryStruct.comp f g.hom) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Sheaf.ΓHomEquiv f) ((CategoryTheory.Sheaf.Γ J A).map g)
Naturality lemma for ΓHomEquiv analogous to Adjunction.homEquiv_naturality_right.
theorem CategoryTheory.Sheaf.ΓHomEquiv_naturality_right_symm E2 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C} {A : Type u₂}
[inst_1 : CategoryTheory.Category.{v₂, u₂} A] [inst_2 : CategoryTheory.HasWeakSheafify J A]
[inst_3 : CategoryTheory.HasGlobalSectionsFunctor J A] {X : A} {F F' : CategoryTheory.Sheaf J A}
(f : X ⟶ (CategoryTheory.Sheaf.Γ J A).obj F) (g : F ⟶ F'),
CategoryTheory.Sheaf.ΓHomEquiv.symm (CategoryTheory.CategoryStruct.comp f ((CategoryTheory.Sheaf.Γ J A).map g)) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Sheaf.ΓHomEquiv.symm f) g.hom
Naturality lemma for ΓHomEquiv analogous to Adjunction.homEquiv_naturality_right_symm.
def CategoryTheory.Sheaf.coneΓ E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{J : CategoryTheory.GrothendieckTopology C} →
{A : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} A] →
[inst_2 : CategoryTheory.HasWeakSheafify J A] →
[CategoryTheory.HasGlobalSectionsFunctor J A] →
(F : CategoryTheory.Sheaf J A) → CategoryTheory.Limits.Cone F.obj
The cone over a given sheaf whose cone point is the global sections and whose components are the restriction maps.
theorem CategoryTheory.Sheaf.coneΓ_pt E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C} {A : Type u₂}
[inst_1 : CategoryTheory.Category.{v₂, u₂} A] [inst_2 : CategoryTheory.HasWeakSheafify J A]
[inst_3 : CategoryTheory.HasGlobalSectionsFunctor J A] (F : CategoryTheory.Sheaf J A),
F.coneΓ.pt = (CategoryTheory.Sheaf.Γ J A).obj F
def CategoryTheory.Sheaf.isLimitConeΓ E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{J : CategoryTheory.GrothendieckTopology C} →
{A : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} A] →
[inst_2 : CategoryTheory.HasWeakSheafify J A] →
[inst_3 : CategoryTheory.HasGlobalSectionsFunctor J A] →
(F : CategoryTheory.Sheaf J A) → CategoryTheory.Limits.IsLimit F.coneΓ
The global sections cone Sheaf.coneΓ is limiting - that is, global sections are limits even
when not all limits of shape Cᵒᵖ exist in A.
def CategoryTheory.Sheaf.ΓRes E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{J : CategoryTheory.GrothendieckTopology C} →
{A : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} A] →
[inst_2 : CategoryTheory.HasWeakSheafify J A] →
[inst_3 : CategoryTheory.HasGlobalSectionsFunctor J A] →
(F : CategoryTheory.Sheaf J A) → (U : Cᵒᵖ) → (CategoryTheory.Sheaf.Γ J A).obj F ⟶ F.obj.obj U
The restriction map from global sections of F to sections on U.
theorem CategoryTheory.Sheaf.ΓRes_map_assoc E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C} {A : Type u₂}
[inst_1 : CategoryTheory.Category.{v₂, u₂} A] [inst_2 : CategoryTheory.HasWeakSheafify J A]
[inst_3 : CategoryTheory.HasGlobalSectionsFunctor J A] (F : CategoryTheory.Sheaf J A) {V U : Cᵒᵖ} (f : U ⟶ V) {Z : A}
(h : F.obj.obj V ⟶ Z),
CategoryTheory.CategoryStruct.comp (F.ΓRes U) (CategoryTheory.CategoryStruct.comp (F.obj.map f) h) =
CategoryTheory.CategoryStruct.comp (F.ΓRes V) h
theorem CategoryTheory.Sheaf.ΓRes_map E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C} {A : Type u₂}
[inst_1 : CategoryTheory.Category.{v₂, u₂} A] [inst_2 : CategoryTheory.HasWeakSheafify J A]
[inst_3 : CategoryTheory.HasGlobalSectionsFunctor J A] (F : CategoryTheory.Sheaf J A) {V U : Cᵒᵖ} (f : U ⟶ V),
CategoryTheory.CategoryStruct.comp (F.ΓRes U) (F.obj.map f) = F.ΓRes V
theorem CategoryTheory.Sheaf.coneΓ_π_app E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C} {A : Type u₂}
[inst_1 : CategoryTheory.Category.{v₂, u₂} A] [inst_2 : CategoryTheory.HasWeakSheafify J A]
[inst_3 : CategoryTheory.HasGlobalSectionsFunctor J A] (F : CategoryTheory.Sheaf J A) (U : Cᵒᵖ),
F.coneΓ.π.app U = F.ΓRes U
theorem CategoryTheory.Sheaf.ΓRes_naturality E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C} {A : Type u₂}
[inst_1 : CategoryTheory.Category.{v₂, u₂} A] [inst_2 : CategoryTheory.HasWeakSheafify J A]
[inst_3 : CategoryTheory.HasGlobalSectionsFunctor J A] {F G : CategoryTheory.Sheaf J A} (f : F ⟶ G) (U : Cᵒᵖ),
CategoryTheory.CategoryStruct.comp ((CategoryTheory.Sheaf.Γ J A).map f) (G.ΓRes U) =
CategoryTheory.CategoryStruct.comp (F.ΓRes U) (f.hom.app U)
def CategoryTheory.Sheaf.natTransΓRes E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) →
(A : Type u₂) →
[inst_1 : CategoryTheory.Category.{v₂, u₂} A] →
[inst_2 : CategoryTheory.HasWeakSheafify J A] →
[inst_3 : CategoryTheory.HasGlobalSectionsFunctor J A] →
(U : Cᵒᵖ) → CategoryTheory.Sheaf.Γ J A ⟶ (CategoryTheory.sheafSections J A).obj U
The natural transformation from the global sections functor to the sections functor on any
object U.
theorem CategoryTheory.Sheaf.natTransΓRes_app E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C) (A : Type u₂)
[inst_1 : CategoryTheory.Category.{v₂, u₂} A] [inst_2 : CategoryTheory.HasWeakSheafify J A]
[inst_3 : CategoryTheory.HasGlobalSectionsFunctor J A] (U : Cᵒᵖ) (F : CategoryTheory.Sheaf J A),
(CategoryTheory.Sheaf.natTransΓRes J A U).app F = F.ΓRes U
def CategoryTheory.Sheaf.ΓObjEquivSections E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) →
[inst_1 : CategoryTheory.HasWeakSheafify J (Type w)] →
[inst_2 : CategoryTheory.HasGlobalSectionsFunctor J (Type w)] →
(F : CategoryTheory.Sheaf J (Type w)) → (CategoryTheory.Sheaf.Γ J (Type w)).obj F ≃ ↑F.obj.sections
Global sections of a sheaf of types correspond to sections of the underlying presheaf.
theorem CategoryTheory.Sheaf.ΓObjEquivSections_naturality E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
[inst_1 : CategoryTheory.HasWeakSheafify J (Type w)] [inst_2 : CategoryTheory.HasGlobalSectionsFunctor J (Type w)]
{F G : CategoryTheory.Sheaf J (Type w)} (f : F ⟶ G) (x : (CategoryTheory.Sheaf.Γ J (Type w)).obj F),
(CategoryTheory.Sheaf.ΓObjEquivSections J G)
((CategoryTheory.ConcreteCategory.hom ((CategoryTheory.Sheaf.Γ J (Type w)).map f)) x) =
(CategoryTheory.ConcreteCategory.hom ((CategoryTheory.Functor.sectionsFunctor Cᵒᵖ).map f.hom))
((CategoryTheory.Sheaf.ΓObjEquivSections J F) x)
theorem CategoryTheory.Sheaf.ΓObjEquivSections_naturality_symm E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
[inst_1 : CategoryTheory.HasWeakSheafify J (Type w)] [inst_2 : CategoryTheory.HasGlobalSectionsFunctor J (Type w)]
{F G : CategoryTheory.Sheaf J (Type w)} (f : F ⟶ G) (x : ↑F.obj.sections),
(CategoryTheory.Sheaf.ΓObjEquivSections J G).symm
((CategoryTheory.ConcreteCategory.hom ((CategoryTheory.Functor.sectionsFunctor Cᵒᵖ).map f.hom)) x) =
(CategoryTheory.ConcreteCategory.hom ((CategoryTheory.Sheaf.Γ J (Type w)).map f))
((CategoryTheory.Sheaf.ΓObjEquivSections J F).symm x)
def CategoryTheory.Sheaf.ΓNatIsoSectionsFunctor E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) →
CategoryTheory.Sheaf.Γ J (Type (max u v)) ≅
(CategoryTheory.sheafToPresheaf J (Type (max u v))).comp (CategoryTheory.Functor.sectionsFunctor Cᵒᵖ)
For sheaves of types, the global sections functor is isomorphic to the sections functor on presheaves.
def CategoryTheory.Sheaf.ΓObjEquivHom E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) →
[inst_1 : CategoryTheory.HasWeakSheafify J (Type w)] →
[inst_2 : CategoryTheory.HasGlobalSectionsFunctor J (Type w)] →
(F : CategoryTheory.Sheaf J (Type w)) →
(X : Type w) →
[Unique X] →
(CategoryTheory.Sheaf.Γ J (Type w)).obj F ≃ ((CategoryTheory.constantSheaf J (Type w)).obj X ⟶ F)
Global sections of a sheaf of types F correspond to morphisms from a terminal sheaf to F.
We use the constant sheaf on a singleton type as a specific choice of terminal sheaf here.
theorem CategoryTheory.Sheaf.ΓObjEquivHom_naturality E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
[inst_1 : CategoryTheory.HasWeakSheafify J (Type w)] [inst_2 : CategoryTheory.HasGlobalSectionsFunctor J (Type w)]
(X : Type w) [inst_3 : Unique X] {F G : CategoryTheory.Sheaf J (Type w)} (f : F ⟶ G)
(x : (CategoryTheory.Sheaf.Γ J (Type w)).obj F),
(CategoryTheory.Sheaf.ΓObjEquivHom J G X)
((CategoryTheory.ConcreteCategory.hom ((CategoryTheory.Sheaf.Γ J (Type w)).map f)) x) =
CategoryTheory.CategoryStruct.comp ((CategoryTheory.Sheaf.ΓObjEquivHom J F X) x) f
theorem CategoryTheory.Sheaf.ΓObjEquivHom_naturality_symm E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
[inst_1 : CategoryTheory.HasWeakSheafify J (Type w)] [inst_2 : CategoryTheory.HasGlobalSectionsFunctor J (Type w)]
{X : Type w} [inst_3 : Unique X] {F G : CategoryTheory.Sheaf J (Type w)} (f : F ⟶ G)
(x : (CategoryTheory.constantSheaf J (Type w)).obj X ⟶ F),
(CategoryTheory.Sheaf.ΓObjEquivHom J G X).symm (CategoryTheory.CategoryStruct.comp x f) =
(CategoryTheory.ConcreteCategory.hom ((CategoryTheory.Sheaf.Γ J (Type w)).map f))
((CategoryTheory.Sheaf.ΓObjEquivHom J F X).symm x)
def CategoryTheory.Sheaf.ΓNatIsoCoyoneda E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) →
(X : Type (max u v)) →
[Unique X] →
CategoryTheory.Sheaf.Γ J (Type (max u v)) ≅
CategoryTheory.coyoneda.obj (Opposite.op ((CategoryTheory.constantSheaf J (Type (max u v))).obj X))
For sheaves of types, the global sections functor is isomorphic to the covariant hom functor of the terminal sheaf.