The areas / V25. Higher structures in categories
Mathlib.CategoryTheory.Sites.LocalSite
29 declarations. Mathlib docs · Source
Local sites
A site is called local if it has a terminal object whose only covering sieve is trivial - this makes it possible to define coconstant sheaves on it, giving its sheaf topos the structure of a local topos. This is one of the conditions of cohesive sites.
Sheaves of types on any local site form a local topos (i.e. a topos whose global sections functor has a fully faithful right adjoint), and a subcanonical site is local if and only if its topos of sheaves of types is (see TODOs).
Main definitions / results
J.IsLocalSite: typeclass stating thatJmakes the category it is defined on into a local site.IsLocalSite.point J: the canonical point of any local site, whose fibre functor is given by the coyoneda embedding of the terminal object and extends to the global sections functors on presheaves and sheaves.coconstantSheaf J A: the coconstant sheaf functorA ⥤ Sheaf J Afor any local site and sufficiently nice target categoryA, defined as the skyscraper sheaf functor of the canonical point.ΓCoconstantSheafAdj J A: the adjunction between the global sections functorΓ J AandcoconstantSheaf J A.fullyFaithfulCoconstantSheaf:coconstantSheafis fully faithful.fullyFaithfulConstantSheaf: on local sites, the constant sheaf functor is fully faithful.
References
- https://ncatlab.org/nlab/show/local+site
TODO
- Define local topoi and prove that sheaves on any local site form a local topos
- Show that a subcanonical site is local if and only if its global sections functor has a fully faithful right adjoint
theorem CategoryTheory.GrothendieckTopology.IsLocalSite.point.congr_simp E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
[inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] [inst_2 : J.IsLocalSite],
CategoryTheory.GrothendieckTopology.IsLocalSite.point J = CategoryTheory.GrothendieckTopology.IsLocalSite.point J
class CategoryTheory.GrothendieckTopology.IsLocalSite E1 #
{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → CategoryTheory.GrothendieckTopology C → Prop
A local site is a site that has a terminal object with only a single covering sieve.
ctor CategoryTheory.GrothendieckTopology.IsLocalSite.mk E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C}
[toHasLimitsOfShape : CategoryTheory.Limits.HasLimitsOfShape (CategoryTheory.Discrete PEmpty.{1}) C],
(∀ S ∈ J (⊤_ C), S = ⊤) → J.IsLocalSite
instance CategoryTheory.GrothendieckTopology.IsLocalSite.toHasLimitsOfShape E0 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} (J : CategoryTheory.GrothendieckTopology C)
[self : J.IsLocalSite], CategoryTheory.Limits.HasLimitsOfShape (CategoryTheory.Discrete PEmpty.{1}) C
theorem CategoryTheory.GrothendieckTopology.IsLocalSite.from_terminal_mem_of_mem E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
[inst_1 : J.IsLocalSite] {X : C} (f : ⊤_ C ⟶ X) {S : CategoryTheory.Sieve X}, S ∈ J X → S.arrows f
On a local site, every covering sieve contains every morphism from the terminal object.
instance CategoryTheory.GrothendieckTopology.IsLocalSite.instTrivialOfHasTerminal E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasTerminal C],
(CategoryTheory.GrothendieckTopology.trivial C).IsLocalSite
Every category with a terminal object becomes a local site with the trivial topology.
def CategoryTheory.GrothendieckTopology.IsLocalSite.point E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) → [CategoryTheory.LocallySmall.{w, v, u} C] → [J.IsLocalSite] → J.Point
Every local site has a canonical point, given as a fibre functor by the coyoneda embedding of
the terminal object ⊤_ C.
def CategoryTheory.GrothendieckTopology.IsLocalSite.coconstantSheaf E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) →
[CategoryTheory.LocallySmall.{w, v, u} C] →
[J.IsLocalSite] →
(A : Type u') →
[inst_3 : CategoryTheory.Category.{v', u'} A] →
[CategoryTheory.Limits.HasProducts.{w, v', u'} A] → CategoryTheory.Functor A (CategoryTheory.Sheaf J A)
The right adjoint to the global sections functor that exists over any local site. This is
implemented as the skyscraper functor associated to point.{w} J, but can be thought of
as taking any object X : A to the sheaf that sends each Y : C to the product over copies of A
indexed by the points ⊤_ C ⟶ Y of Y.
Note this takes in an extra universe parameter w that does not appear in the output type
A ⥤ Sheaf J A but is required for the construction; it should always be given explicitly when
referring to this functor, as in e.g. coconstantSheaf.{w} J A.
def CategoryTheory.GrothendieckTopology.IsLocalSite.pointPresheafFiberIso E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) →
[inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] →
[inst_2 : J.IsLocalSite] →
{A : Type u'} →
[inst_3 : CategoryTheory.Category.{v', u'} A] →
[inst_4 : CategoryTheory.Limits.HasColimitsOfSize.{w, w, v', u'} A] →
(P : CategoryTheory.Functor Cᵒᵖ A) →
(CategoryTheory.GrothendieckTopology.IsLocalSite.point J).presheafFiber.obj P ≅
P.obj (Opposite.op (⊤_ C))
The fibre of any presheaf P : Cᵒᵖ ⥤ A at point J is just P evaluated at
the terminal object.
theorem CategoryTheory.GrothendieckTopology.IsLocalSite.toPresheafFiber_pointPresheafFiberIso_hom_assoc E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
[inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] [inst_2 : J.IsLocalSite] {A : Type u'}
[inst_3 : CategoryTheory.Category.{v', u'} A] [inst_4 : CategoryTheory.Limits.HasColimitsOfSize.{w, w, v', u'} A]
{P : CategoryTheory.Functor Cᵒᵖ A} (X : C) (x : (CategoryTheory.GrothendieckTopology.IsLocalSite.point J).fiber.obj X)
{Z : A} (h : P.obj (Opposite.op (⊤_ C)) ⟶ Z),
CategoryTheory.CategoryStruct.comp ((CategoryTheory.GrothendieckTopology.IsLocalSite.point J).toPresheafFiber X x P)
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.GrothendieckTopology.IsLocalSite.pointPresheafFiberIso J P).hom h) =
CategoryTheory.CategoryStruct.comp (P.map (CategoryTheory.shrinkCoyonedaObjObjEquiv x).op) h
theorem CategoryTheory.GrothendieckTopology.IsLocalSite.toPresheafFiber_pointPresheafFiberIso_hom E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
[inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] [inst_2 : J.IsLocalSite] {A : Type u'}
[inst_3 : CategoryTheory.Category.{v', u'} A] [inst_4 : CategoryTheory.Limits.HasColimitsOfSize.{w, w, v', u'} A]
{P : CategoryTheory.Functor Cᵒᵖ A} (X : C)
(x : (CategoryTheory.GrothendieckTopology.IsLocalSite.point J).fiber.obj X),
CategoryTheory.CategoryStruct.comp ((CategoryTheory.GrothendieckTopology.IsLocalSite.point J).toPresheafFiber X x P)
(CategoryTheory.GrothendieckTopology.IsLocalSite.pointPresheafFiberIso J P).hom =
P.map (CategoryTheory.shrinkCoyonedaObjObjEquiv x).op
theorem CategoryTheory.GrothendieckTopology.IsLocalSite.pointPresheafFiberIso_naturality E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
[inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] [inst_2 : J.IsLocalSite] {A : Type u'}
[inst_3 : CategoryTheory.Category.{v', u'} A] [inst_4 : CategoryTheory.Limits.HasColimitsOfSize.{w, w, v', u'} A]
{P P' : CategoryTheory.Functor Cᵒᵖ A} (F : P ⟶ P'),
CategoryTheory.CategoryStruct.comp ((CategoryTheory.GrothendieckTopology.IsLocalSite.point J).presheafFiber.map F)
(CategoryTheory.GrothendieckTopology.IsLocalSite.pointPresheafFiberIso J P').hom =
CategoryTheory.CategoryStruct.comp (CategoryTheory.GrothendieckTopology.IsLocalSite.pointPresheafFiberIso J P).hom
(F.app (Opposite.op (⊤_ C)))
theorem CategoryTheory.GrothendieckTopology.IsLocalSite.pointPresheafFiberIso_naturality_assoc E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
[inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] [inst_2 : J.IsLocalSite] {A : Type u'}
[inst_3 : CategoryTheory.Category.{v', u'} A] [inst_4 : CategoryTheory.Limits.HasColimitsOfSize.{w, w, v', u'} A]
{P P' : CategoryTheory.Functor Cᵒᵖ A} (F : P ⟶ P') {Z : A} (h : P'.obj (Opposite.op (⊤_ C)) ⟶ Z),
CategoryTheory.CategoryStruct.comp ((CategoryTheory.GrothendieckTopology.IsLocalSite.point J).presheafFiber.map F)
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.GrothendieckTopology.IsLocalSite.pointPresheafFiberIso J P').hom h) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.GrothendieckTopology.IsLocalSite.pointPresheafFiberIso J P).hom
(CategoryTheory.CategoryStruct.comp (F.app (Opposite.op (⊤_ C))) h)
def CategoryTheory.GrothendieckTopology.IsLocalSite.pointPresheafFiberNatIso E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) →
[inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] →
[inst_2 : J.IsLocalSite] →
(A : Type u') →
[inst_3 : CategoryTheory.Category.{v', u'} A] →
[inst_4 : CategoryTheory.Limits.HasColimitsOfSize.{w, w, v', u'} A] →
(CategoryTheory.GrothendieckTopology.IsLocalSite.point J).presheafFiber ≅
(CategoryTheory.evaluation Cᵒᵖ A).obj (Opposite.op (⊤_ C))
The presheaf fibre functor of point J is given by evaluation at the terminal
object.
def CategoryTheory.GrothendieckTopology.IsLocalSite.pointSheafFiberIso E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) →
[inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] →
[inst_2 : J.IsLocalSite] →
(A : Type u') →
[inst_3 : CategoryTheory.Category.{v', u'} A] →
[inst_4 : CategoryTheory.Limits.HasColimitsOfSize.{w, w, v', u'} A] →
[inst_5 : CategoryTheory.HasWeakSheafify J A] →
(CategoryTheory.GrothendieckTopology.IsLocalSite.point J).sheafFiber ≅ CategoryTheory.Sheaf.Γ J A
The sheaf fibre functor of point J is the global sections functor.
def CategoryTheory.GrothendieckTopology.IsLocalSite.ΓCoconstantSheafAdj E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) →
[inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] →
[inst_2 : J.IsLocalSite] →
(A : Type u') →
[inst_3 : CategoryTheory.Category.{v', u'} A] →
[CategoryTheory.Limits.HasColimitsOfSize.{w, w, v', u'} A] →
[inst_5 : CategoryTheory.Limits.HasProducts.{w, v', u'} A] →
[inst_6 : CategoryTheory.HasWeakSheafify J A] →
CategoryTheory.Sheaf.Γ J A ⊣ CategoryTheory.GrothendieckTopology.IsLocalSite.coconstantSheaf J A
On local sites, the global sections functor Γ is left-adjoint to the coconstant functor.
theorem CategoryTheory.GrothendieckTopology.IsLocalSite.Γ_isLeftAdjoint E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
[CategoryTheory.LocallySmall.{w, v, u} C] [inst_2 : J.IsLocalSite] (A : Type u')
[inst_3 : CategoryTheory.Category.{v', u'} A] [CategoryTheory.Limits.HasColimitsOfSize.{w, w, v', u'} A]
[CategoryTheory.Limits.HasProducts.{w, v', u'} A] [inst_6 : CategoryTheory.HasWeakSheafify J A],
(CategoryTheory.Sheaf.Γ J A).IsLeftAdjoint
On any locally w-small local site, the global sections functor to any category with colimits
and products of size w is a left adjoint. A variant of this without the universe parameter w
is registered as an instance.
instance CategoryTheory.GrothendieckTopology.IsLocalSite.instIsLeftAdjointSheafΓOfHasColimitsOfSizeOfHasProducts E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
[inst_1 : J.IsLocalSite] (A : Type u') [inst_2 : CategoryTheory.Category.{v', u'} A]
[CategoryTheory.Limits.HasColimitsOfSize.{v, v, v', u'} A] [CategoryTheory.Limits.HasProducts.{v, v', u'} A]
[inst_5 : CategoryTheory.HasWeakSheafify J A], (CategoryTheory.Sheaf.Γ J A).IsLeftAdjoint
On any local site with morphism types in Type v, the global sections functor to any category
with colimits and products of size v is a left adjoint. See ΓIsLeftAdjoint for a
version for w-locally small sites that can't be registered as an instance because of the extra
universe parameter w.
instance CategoryTheory.GrothendieckTopology.IsLocalSite.instIsRightAdjointSheafCoconstantSheaf E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
[inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] [inst_2 : J.IsLocalSite] (A : Type u')
[inst_3 : CategoryTheory.Category.{v', u'} A] [CategoryTheory.Limits.HasColimitsOfSize.{w, w, v', u'} A]
[inst_5 : CategoryTheory.Limits.HasProducts.{w, v', u'} A] [CategoryTheory.HasWeakSheafify J A],
(CategoryTheory.GrothendieckTopology.IsLocalSite.coconstantSheaf J A).IsRightAdjoint
def CategoryTheory.GrothendieckTopology.IsLocalSite.coconstantSheafΓNatIsoId E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) →
[inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] →
[inst_2 : J.IsLocalSite] →
(A : Type u') →
[inst_3 : CategoryTheory.Category.{v', u'} A] →
[inst_4 : CategoryTheory.Limits.HasProducts.{w, v', u'} A] →
[inst_5 : CategoryTheory.HasWeakSheafify J A] →
(CategoryTheory.GrothendieckTopology.IsLocalSite.coconstantSheaf J A).comp
(CategoryTheory.Sheaf.Γ J A) ≅
CategoryTheory.Functor.id A
The global sections of the coconstant sheaf on a type are naturally isomorphic to that type.
def CategoryTheory.GrothendieckTopology.IsLocalSite.fullyFaithfulCoconstantSheaf E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) →
[inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] →
[inst_2 : J.IsLocalSite] →
(A : Type u') →
[inst_3 : CategoryTheory.Category.{v', u'} A] →
[CategoryTheory.Limits.HasColimitsOfSize.{w, w, v', u'} A] →
[inst_5 : CategoryTheory.Limits.HasProducts.{w, v', u'} A] →
[CategoryTheory.HasWeakSheafify J A] →
(CategoryTheory.GrothendieckTopology.IsLocalSite.coconstantSheaf J A).FullyFaithful
coconstantSheaf is fully faithful.
instance CategoryTheory.GrothendieckTopology.IsLocalSite.instFullSheafCoconstantSheaf E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
[inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] [inst_2 : J.IsLocalSite] (A : Type u')
[inst_3 : CategoryTheory.Category.{v', u'} A] [CategoryTheory.Limits.HasColimitsOfSize.{w, w, v', u'} A]
[inst_5 : CategoryTheory.Limits.HasProducts.{w, v', u'} A] [CategoryTheory.HasWeakSheafify J A],
(CategoryTheory.GrothendieckTopology.IsLocalSite.coconstantSheaf J A).Full
instance CategoryTheory.GrothendieckTopology.IsLocalSite.instFaithfulSheafCoconstantSheaf E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
[inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] [inst_2 : J.IsLocalSite] (A : Type u')
[inst_3 : CategoryTheory.Category.{v', u'} A] [CategoryTheory.Limits.HasColimitsOfSize.{w, w, v', u'} A]
[inst_5 : CategoryTheory.Limits.HasProducts.{w, v', u'} A] [CategoryTheory.HasWeakSheafify J A],
(CategoryTheory.GrothendieckTopology.IsLocalSite.coconstantSheaf J A).Faithful
abbrev CategoryTheory.GrothendieckTopology.IsLocalSite.constantΓCoconstantTriple E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) →
[inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] →
[inst_2 : J.IsLocalSite] →
(A : Type u') →
[inst_3 : CategoryTheory.Category.{v', u'} A] →
[CategoryTheory.Limits.HasColimitsOfSize.{w, w, v', u'} A] →
[inst_5 : CategoryTheory.Limits.HasProducts.{w, v', u'} A] →
[inst_6 : CategoryTheory.HasWeakSheafify J A] →
CategoryTheory.Adjunction.Triple (CategoryTheory.constantSheaf J A) (CategoryTheory.Sheaf.Γ J A)
(CategoryTheory.GrothendieckTopology.IsLocalSite.coconstantSheaf J A)
The adjoint triple constantSheaf J A ⊣ Γ J A ⊣ coconstantSheaf J A on any local site.
def CategoryTheory.GrothendieckTopology.IsLocalSite.fullyFaithfulConstantSheaf E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) →
[CategoryTheory.LocallySmall.{w, v, u} C] →
[J.IsLocalSite] →
(A : Type u') →
[inst_3 : CategoryTheory.Category.{v', u'} A] →
[CategoryTheory.Limits.HasColimitsOfSize.{w, w, v', u'} A] →
[CategoryTheory.Limits.HasProducts.{w, v', u'} A] →
[inst_6 : CategoryTheory.HasWeakSheafify J A] → (CategoryTheory.constantSheaf J A).FullyFaithful
On local sites, the constant sheaf functor is fully faithful.
theorem CategoryTheory.GrothendieckTopology.IsLocalSite.full_constantSheaf E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
[CategoryTheory.LocallySmall.{w, v, u} C] [J.IsLocalSite] (A : Type u') [inst_3 : CategoryTheory.Category.{v', u'} A]
[CategoryTheory.Limits.HasColimitsOfSize.{w, w, v', u'} A] [CategoryTheory.Limits.HasProducts.{w, v', u'} A]
[inst_6 : CategoryTheory.HasWeakSheafify J A], (CategoryTheory.constantSheaf J A).Full
theorem CategoryTheory.GrothendieckTopology.IsLocalSite.faithful_constantSheaf E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
[CategoryTheory.LocallySmall.{w, v, u} C] [J.IsLocalSite] (A : Type u') [inst_3 : CategoryTheory.Category.{v', u'} A]
[CategoryTheory.Limits.HasColimitsOfSize.{w, w, v', u'} A] [CategoryTheory.Limits.HasProducts.{w, v', u'} A]
[inst_6 : CategoryTheory.HasWeakSheafify J A], (CategoryTheory.constantSheaf J A).Faithful
instance CategoryTheory.GrothendieckTopology.IsLocalSite.instFullSheafConstantSheafOfHasColimitsOfSizeOfHasProducts E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C) [J.IsLocalSite]
(A : Type u') [inst_2 : CategoryTheory.Category.{v', u'} A] [CategoryTheory.Limits.HasColimitsOfSize.{v, v, v', u'} A]
[CategoryTheory.Limits.HasProducts.{v, v', u'} A] [inst_5 : CategoryTheory.HasWeakSheafify J A],
(CategoryTheory.constantSheaf J A).Full
See IsLocalSite.full_constantSheaf for a version for w-locally small sites.
instance CategoryTheory.GrothendieckTopology.IsLocalSite.instFaithfulSheafConstantSheafOfHasColimitsOfSizeOfHasProducts E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C) [J.IsLocalSite]
(A : Type u') [inst_2 : CategoryTheory.Category.{v', u'} A] [CategoryTheory.Limits.HasColimitsOfSize.{v, v, v', u'} A]
[CategoryTheory.Limits.HasProducts.{v, v', u'} A] [inst_5 : CategoryTheory.HasWeakSheafify J A],
(CategoryTheory.constantSheaf J A).Faithful
See IsLocalSite.faithful_constantSheaf for a version for w-locally small sites.