/-
Copyright (c) 2026 Joël Riou. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joël Riou
-/
module
public import Mathlib.CategoryTheory.Limits.Elements
public import Mathlib.CategoryTheory.Sites.Point.Conservative
/-!
# Points of presheaf toposes
Let `C` be a category. For the Grothendieck topology `⊥` on `C`, we know
that the category of sheaves with values in `A` identifies to `Cᵒᵖ ⥤ A`
(see `sheafBotEquivalence` in the file `Mathlib/CategoryTheory/Sites/Sheaf.lean`).
In this file, we show that any `X : C` defines a point for this site, and that
these points form a conservative family of points.
-/
@[expose] public section
universe w v u
namespace CategoryTheory
open Opposite Limits
variable {C : Type u} [Category.{v} C] [LocallySmall.{w} C]
namespace GrothendieckTopology
/-- If `X` is an object of `C`, this is the point of the site `(C, ⊥)` (whose
sheaves are presheaves, see `sheafBotEquivalence`) corresponding to `X`. -/
@[simps]
noncomputable def pointBot (X : C) :
Point.{w} (⊥ : GrothendieckTopology C) where
fiber := shrinkYoneda.flip.obj (op X)
jointly_surjective {U} R hR x := by
obtain rfl : R = ⊤ := by simpa using hR
exact ⟨U, _, by simp, x, by simp⟩
/-- The functor `C ⥤ Point.{w} (⊥ : GrothendieckTopology C)` which sends
`X : C` to the point corresponding to `X`. -/
@[simps]
noncomputable def pointBotFunctor :
C ⥤ Point.{w} (⊥ : GrothendieckTopology C) where
obj := pointBot
map f := { hom := shrinkYoneda.flip.map f.op }
section
variable (X : C) (A : Type*) [Category A] [HasColimitsOfSize.{w, w} A]
instance :
IsIso ((pointBot.{w} X).toPresheafFiberNatTrans (A := A) X
(shrinkYonedaObjObjEquiv.symm ( X))) := by
rw [NatTrans.isIso_iff_isIso_app]
exact fun _ ↦ (colimit.isColimit _).isIso_ι_app_of_isTerminal _
((Functor.Elements.isInitialOfCorepresentableBy
(shrinkCoyonedaCorepresentableBy (op X))).op)
/-- The fiber functor `(Cᵒᵖ ⥤ A) ⥤ A` corresponding to the point
of the Grothendieck topology `⊥` attached to an object `X : C`
identifies to the evaluation functor at `X`. -/
@[simps! inv]
noncomputable def pointBotPresheafFiberIso :
(pointBot.{w} X).presheafFiber (A := A) ≅
(evaluation Cᵒᵖ A).obj (op X) :=
(asIso ((pointBot X).toPresheafFiberNatTrans X
(shrinkYonedaObjObjEquiv.symm ( X)))).symm
end
variable (C) in
/-- The family of points on the site `(C, ⊥)` (whose
sheaves are presheaves, see `sheafBotEquivalence`) given by the objects of `X`. -/
noncomputable def pointsBot :
ObjectProperty (Point.{w} (⊥ : GrothendieckTopology C)) :=
.ofObj pointBot
instance [Small.{w} C] : ObjectProperty.Small.{w} (pointsBot C) := by
dsimp [pointsBot]
infer_instance
set_option backward.defeqAttrib.useBackward true in
set_option backward.isDefEq.respectTransparency false in
variable (C) in
lemma isConservative_pointsBot :
(pointsBot.{w} C).IsConservativeFamilyOfPoints :=
.mk' (fun X S hS ↦ by
obtain ⟨Y, a, ha, b, hb⟩ := hS ⟨_, ⟨X⟩⟩ (shrinkYonedaObjObjEquiv.symm ( X))
obtain ⟨b, rfl⟩ := shrinkYonedaObjObjEquiv.symm.surjective b
dsimp at b hb
have : b ≫ a = _ :=
shrinkYonedaObjObjEquiv.symm.injective (by
rw [← hb, shrinkYoneda_map_app_shrinkYonedaObjObjEquiv_symm])
simpa only [bot_covering, ← Sieve.id_mem_iff_eq_top, this]
using S.downward_closed ha b)
instance {C : Type w} [SmallCategory C] :
HasEnoughPoints.{w} (⊥ : GrothendieckTopology C) :=
⟨_, inferInstance, isConservative_pointsBot C⟩
end GrothendieckTopology
end CategoryTheory
¤ Dauer der Verarbeitung: 0.8 Sekunden
¤
*© Formatika GbR, Deutschland