Repository navigation
Description
Task, tag or exercise
00XA, 00XC
Target tier
Moving StacksFrontier code into StacksCore
Statement
- 00XA (Sites and Sheaves, definition of a morphism of topoi). For sites
CandD, a morphism
of topoiSh(D) → Sh(C)is a pair of functorsf_* : Sh(D) → Sh(C)andf⁻¹ : Sh(C) → Sh(D),
with an adjunctionf⁻¹ ⊣ f_*, such thatf⁻¹commutes with finite limits (1). Morphisms
compose by composing the direct images and, in the opposite order, the inverse images (2). - 00XC (Sites and Sheaves, lemma). A morphism of sites
f : D → Cgiven byu : C → D
induces a morphism of topoiSh(D) → Sh(C), withf⁻¹ = u_sandf_* = u^s.
Proposed Lean statement
-- No new statement: the claim moves these declarations, with their current signatures.
-- StacksFrontier/CategoryTheory/Sites/Topos/MorphismOfTopoi.lean
structure MorphismOfTopoi (E : Type u) [Category.{v} E] (F : Type u') [Category.{v'} F] where
pushforward : E ⥤ F
inverseImage : F ⥤ E
adj : inverseImage ⊣ pushforward
preservesFiniteLimits : PreservesFiniteLimits inverseImage
@[stacks 00XC]
noncomputable def CategoryTheory.Functor.IsMorphismOfSites.morphismOfTopoi
{C : Type w} [SmallCategory C] {D : Type w} [SmallCategory D]
{J : GrothendieckTopology C} {K : GrothendieckTopology D} {u : C ⥤ D}
(h : u.IsMorphismOfSites J K) :
MorphismOfTopoi (Sheaf K (Type w)) (Sheaf J (Type w))
-- StacksFrontier/CategoryTheory/Sites/Topos/ToposDefs.lean
@[stacks 00XA "(1); …"]
abbrev SheafToposMorphism (J : GrothendieckTopology C) (K : GrothendieckTopology D) :=
MorphismOfTopoi (Sheaf K (Type w)) (Sheaf J (Type w))
@[stacks 00XA "(2)"]
abbrev SheafToposMorphism.comp (f : SheafToposMorphism J K) (g : SheafToposMorphism K L) :
SheafToposMorphism J L
-- One addition, kept in StacksFrontier: a bridge lemma, so that 00XC covers the
-- morphisms of sites of 00X1.
theorem Stacks.Sites.Site.IsMorphismOfSites.toFunctor
{SC : Site C} {SD : Site D} {u : C ⥤ D} (h : Site.IsMorphismOfSites SC SD u) :
u.IsMorphismOfSites SC.topology SD.topologyExisting work
- The three files to move:
StacksFrontier/CategoryTheory/Sites/MorphismOfSites.lean(for
Functor.IsMorphismOfSites),…/Sites/Topos/MorphismOfTopoi.leanand…/Sites/Topos/ToposDefs.lean.
Their closure inside the library is these three files. They import only Mathlib and
StacksCore.Tactic.*, so the move needs nothing else from Frontier. MorphismOfTopoiis used by 716 Frontier files, andIsMorphismOfSites.morphismOfTopoiby 19.
Moving it to Core changes their imports and nothing else.Stacks.Sites.Site.IsMorphismOfSites(00X1) andStacks.Sites.Site.IsContinuous(00WV), in
StacksFrontier/CategoryTheory/Sites/FamilySite.lean, for the bridge lemma.- Mathlib:
Functor.sheafPullback,Functor.sheafPushforwardContinuous,
Functor.sheafAdjunctionContinuous,Functor.IsContinuous.
Proof outline
No proof changes for 00XA, which is definitional, or for 00XC, which assembles
Mathlib's adjunction. The bridge lemma uses 00WW: a functor continuous in the sense of 00WV
satisfies Mathlib's Functor.IsContinuous. The two exactness fields then carry over, after
identifying Functor.sheafPullbackConstruction.sheafPullback with Mathlib's Functor.sheafPullback
(both are left adjoints of the same pushforward). 00WW is in Frontier only:
isContinuous_toGrothendieck_of_preservesLimit_cospan, in
StacksFrontier/CategoryTheory/Sites/Continuous/SheafRestriction.lean, stated for pretopologies.
Since FamilySite.lean is Frontier too, the bridge lemma stays in Frontier, which may import Core.
Moving it to Core would pull in 00WV, 00WW and 00X1 and enlarge the claim.
Points the review should settle before the move (the reason for this claim):
-
00XC is proved in SGA 4's generality, which is wider than the Stacks Project's.
Functor.IsMorphismOfSitesasks for Mathlib'sFunctor.IsContinuous: restriction alongu
sends sheaves to sheaves. That is the continuity of SGA 4 III 1.1, the one SGA 4 IV 4.9.1 uses,
and the conclusion of Stacks 00WW. It is weaker than continuity in the sense of Stacks 00WV.
The file's own docstring says so. That is allowed, since the result is more general. But the
tagged declaration is not about the 00X1 notion until the bridge lemma above exists. -
Parallel definitions. Frontier has four notions named
IsMorphismOfSites:Functor.IsMorphismOfSites(Sites/MorphismOfSites.lean,@[sga "4 IV 4.9.1"]);Stacks.Sites.Site.IsMorphismOfSites(Sites/FamilySite.lean,@[stacks 00X1]);- the class
IsMorphismOfSites(Sites/MorphismOfSites/MorphismDefs.lean, also
@[sga "4 IV 4.9.1"], defined as the existence of a left exact left adjoint of the
pushforward); - a ringed version in
Sites/Modules/LocallyRingedSites/MorphismsGeneral.lean, with its own
morphismOfTopoi.
The convention « reuse existing definitions rather than introducing parallel ones » asks which
one Core keeps. The two definitions taggedsga "4 IV 4.9.1"are both faithful to SGA 4, in two
equivalent forms (point 4): one asks that the given left adjointu.sheafPullbackbe left exact,
the other that some left exact left adjoint exist. Left adjoints are unique up to isomorphism,
so the two agree (not checked in Lean). The class allows any categories and sheaves in
Type w; the structure asks for small categories in the universe of the sheaves. -
LeftAdjointsPreserveFiniteLimits(ToposDefs.lean) formalises no tag, and its own
docstring calls it false in general. On the one-point site,X × -is left adjoint toX ⟹ -
but does not preserve the terminal object unlessXis a singleton. It should stay behind or be
removed rather than move to Core. -
SGA references, checked (23 Nov). Checked against the numbering of SGA 4 IV in the
English translation by KokunoYumeto (KokunoYumeto/sga-en,
sources/native/SGA4/…/source/04/), which keeps the original numbering. Not yet checked against
a scan of the 1972 edition.@[sga "4 IV 3.3.1"]onMorphismOfTopoi.idandMorphismOfTopoi.comp: correct. 3.3.1
defines the compositevu(direct images composed, inverse images composed in the opposite
order, a left exact composite) and the identity morphism(id, id, φ). 3.3.2 adds the
2-category structure. The structureMorphismOfTopoiitself carries nosgaattribute; its
source is IV 3.1 (Definition 3.1), which could be added.@[sga "4 IV 4.9.1"]onFunctor.IsMorphismOfSites: correct in substance. In 4.9.1 a
continuous functorf : C → C'is a morphism of sites fromC'toCwhen the left adjoint
f^sof the restrictionf_sis left exact. That left exactness is the only condition. The
structure's third field,preservesFiniteColimits, is redundant: a left adjoint preserves
colimits, and the same file proves it (preservesFiniteColimits_sheafPullback). Core could
drop the field, or keep it and say it is automatic.@[sga "4 IV 4.9.1"]on the classIsMorphismOfSites(MorphismDefs.lean): also correct.
Its « there is a left exact left adjoint » is the « in other words » form 4.9.1 gives
(existence of a morphism of topoi whose inverse image extendsf), without the extension
condition, which holds automatically.@[sga "4 IV 4.9" "morphism of sites def"]: correct, as a section reference.
-
Argument order.
SheafToposMorphism.comp f gisf ∘ g(f : Sh(D) → Sh(C),
g : Sh(E) → Sh(D)), whereasMorphismOfTopoi.comp g ftakes the second morphism first.
Mathlib naming would want a single convention. -
Universes.
SheafToposMorphismallows sites in any universes, with sheaves inType w.
morphismOfTopoiasks forSmallCategory C,SmallCategory DinType w. That matches the
Stacks Project's set-theoretic conventions for 00XC. A large-sections variant exists
(IsMorphismOfSites.morphismOfTopoiLargeSections,Sites/MorphismOfSitesLargeSections.lean)
and stays in Frontier.
References
Stacks Project, Tags 00XA, 00XC, 00X1, 00WV, 00WW. SGA 4, Exposé IV, 3.1–3.3 and
4.9 (numbering checked in the English translation KokunoYumeto/sga-en).
Before submitting
- I checked the open claims and the library for existing work on this.
- I will wait for
blueprint-approvedbefore opening a pull request.
Activity
Issue 161: draft review claim for 00XL, 00XR, 00XX (cocontinuous func…
Issue 161: claim 00XA/00XC, SGA 4 IV 3.3.1 and 4.9.1 checked (#175)
Issue 161: next claims after AxiomMath/Stacks#25 and #26 (#208)