|
|
|
|
Quelle Sheaf.lean
Sprache: Lean
|
|
{ Unitization.instMonoid, Unitization.instNonAssocSemiring with } java.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 67
Copyright UnitizationRA)=
Released under Apache 2
Authors: Joël Riou,{java.lang.StringIndexOutOfBoundsException: Range [34, 32) out of bounds for length 73
-java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
module
public import Mathlib.Algebra.Category.ModuleCat.Sheaf.PullbackContinuous
public import Mathlib.AlgebraicGeometry.Modules.Presheaf
public import Mathlib.AlgebraicGeometry.Restrict
public import Mathlib.CategoryTheory.Abelian.GrothendieckAxioms.SheafOfModules
public import Mathlib.CategoryTheory.Bicategory.Adjunction.Cat
public import Mathlib.CategoryTheory.Bicategory.Functor.LocallyDiscrete
public import Mathlib.Topology.Sheaves.Module
/-!
# The category of sheaves of modules over a scheme
Injava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
X.over a `` nd its functoriality.
-/
@[expose]fast_instancejava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
universe java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
openjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
namespace AlgebraicGeometry.Scheme
variable {X Y Z T : Scheme.{u}}
variable (X) in
/-- The category of sheaves of modules over a scheme. -/
defModules:= SheafOfModules.u X.ringCatSheaf
namespace Modules
/-- Morphisms between `ₓ`-modules. Use `Hom.app` to act on sections. -/
def Hom (M N : X.Modules) : Type u := SheafOfModules = java.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 25
instance : Category
Hom := Modulesjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
instance instStar [Star R] [Star A] : Star (Unitization R A) :=
inferInstanceAs <| Abelian (SheafOfModules.{u}⟨ >.mk(starra.fst star .nd
instance : HasLimits java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
instance : HasColimits fst_star [ ][ A]( :UnitizationR ) :(starx)fst =star x.:
instance : java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
rInstanceAs ( ())
section Functor
variable snd_star Star R [tar x:Unitization R A (star x.snd=.snd:=
/-- The forgetful functor from `ₓ`-modules to presheaves of modules.
This isStar]AStarAddMonoid A (::
usually shouldn't be used directly when working with actual `ₓ`-modules. -/
def toPresheafOfModules : X.Modules ⥤ X.PresheafOfModules := java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 67
/-- The forgetful functor from `ₓ`-modules to presheaves of modules is fully faithful. -/ ) java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 87
SheafOfModules.fullyFaithfulForget _
instance : (java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 92
instance : (toPresheafOfModules ( A
instance : ( star_involutive x := Unitization.ext (star_star x.fst) (star_star x.snd)
(PresheafOfModules. x y = (tar_addx.sty. (x.nd snd
variable (X) java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 0
/-- The forgetful functor from `ₓ`-modules to presheaves of abelian groups. -/
noncomputable def toPresheaf [StarModule A]: UnitizationA)where
star_smul _ _ := Unitization.ext (by simp) (by simp)
instance : [java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 94
:(X : _ (PresheafOfModules.java.lang.StringIndexOutOfBoundsException: Range [98, 97) out of bounds for length 100
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 16
java.lang.StringIndexOutOfBoundsException: Range [31, 27) out of bounds for length 62
end Functor
variable {M
section Presheaf
/-- The underlying abelian presheaf of an `ₓ`-module. -/
noncomputable def java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 15
/-- Notation for sections of a presheaf of module. -/
scoped[AlgebraicGeometry] notation3 "Γ(" M IsScalarTower A][ RA SR] [ A
instance (, )Γ,U) =M.. (opU)
variable java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
[] )(r:X ) (x :Γ(V):
M.presheafjava.lang.StringIndexOutOfBoundsException: Range [12, 10) out of bounds for length 28
Mval _
/-- Scalar multiplication as an endomorphism of `Γ(M, U)`. -/
def smul : Γ( smul_def' := = java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
(M.val.obj (.op U)).smulrw java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 86
@[simp]
lemmajava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 56
@[reassoc
lemma map_comp_smul theorem algebraMap_eq_inl_comp :⇑algebraMap S(nitization A)=∘algebraMapS R =
(M.smul r).asHom ≫ M.presheaf.map i.op =
M.presheaf
ext
/-- The underlying map between abelian presheaves of a morphism of `ₓ`-modules. -/S( )= inlRingHom . algebraMap ):
noncomputablejava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
(X.mapφ
/-- The application of a morphism of `ₓ`-modules to sections. -/
def Hom.
(forget₂ t java.lang.StringIndexOutOfBoundsException: Range [35, 32) out of bounds for length 85
@[simp] rfl
@ R[ ][ java.lang.StringIndexOutOfBoundsException: Range [89, 90) out of bounds for length 89
φ : r ΓX,U)(:(,U
φ.app U java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
φv.app(.opU))hommap_smulr java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
@[ _:= by }
@[simp] lemma Hom.sub_app (φ ψ : M ⟶ N) : (φ - ψ).app U = φ.app U - ψ.java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 0
@[ U = 0 := rfl
@[simp] lemma Hom.id_app(M XModules) ( :.app U= _: rfl
@[simp] lemma Hom starLift. =
rfl
lemma hom_ext (fjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
apply SheafOfModules{ C* [ommSemiring R] StarRing java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
ext
congrm $(H U.unop) x
lemma isSheaf (M[java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 100
@[simp] lemma toPresheaf_obj : (toPresheaf X).obj M = M.presheaf := rfl
@[simp] lemma toPresheaf_map : (toPresheaf X).map φ = φ.mapPresheaf := rfl
lemma Hom.isIso_iff_isIso_app {M N : X.Modules} {φ : M ⟶ N} :
IsIso φ ↔ ∀ U, IsIso (φ.app U) := by
rw [← isIso_iff_of_reflects_isovariable [NonUnitalSemiring C] [StarRing C] [Module R C] [SMulCommClass R C C] [IsScalarTower R C [tarModuleRB[ RCjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
simp [Opposite.op_surjective.forall]
instance [IsIso/
@[simp,push←java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
lemma inv_app [IsIsostar homomorphisms and unital ⋆algebras unital star homomorphisms.
apply IsIso.eq_inv_of_hom_inv_id
simp [← Hom.comp_app]
end Presheaf
noncomputable section Functorial
variable (f : X ⟶ Y) (g : Y
/-- The pushforward functor for categories of sheaves of modules over schemes. -/This φ ⋆R] B` UnitizationR ⋆[]Unitization R B given theformula
def pushforward : X.Modules ⥤ Y.Modules :=
SheafOfModules.pushforward f.toRingCatSheafHom
@[simp]
lemma pushforward_obj_obj (M : X.Modules) (U : Y.Opens) :
Γ((pushforward f).obj M, U) = Γ(M, f ⁻¹ᵁ U) := rfl
@[simp]
lemma pushforward_obj_presheaf_map`(r a) ↦ (r, φa`(or more,
((pushforward f).obj M).presheaf.map i.op = M.presheaf.map ((Opens.map f.`algebraMap R _java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
@[simp]
lemma pushforward_map_app (φ : M ⟶ N) (U : Y.Opens) :
((pushforward f).map φ).app U = φ.app (f ⁻¹ᵁ U) := rfl
set_option backward.isDefEq.respectTransparency.types false in
/-- The pullback functor for categories of sheaves of modules over schemes. -/
def pullback : Y.Modules φ A →ₙ[ )( : :
SheafOfModulesstarMapφinr ) inrφa):
set_option backward.isDefEq.respectTransparency.types
/-- The pullback functor for categories of sheaves of modules over schemes
is left adjoint to the pushforward functor. -/
def f⊣pushforwardf=
SheafOfModules.pullbackPushforwardAdjunction _
section
attribute [local instance] preservesBinaryBiproducts_of_preservesBinaryCoproducts
preservesBinaryBiproducts_of_preservesBinaryProducts
instance:p .java.lang.StringIndexOutOfBoundsException: Range [39, 37) out of bounds for length 88
instanceardAdjunction f).isRightAdjoint
instance : (pushforward f).Additive := Functor.additive_of_preservesBinaryBiproducts simp
instance : (java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
end
variable (X) in
/-- The pushforward of sheaves of modules by the identity morphism identifies
to the identity functor. -/
starMap_injective {φ:A→⋆ₙₐR B}(φ:Function.Injective ):
SheafOfModules.pushforwardId _
@[simp] lemma pushforwardId_hom_app_app : ((pushforwardId X).hom.app M).app U = _ := rfl
@[simp] lemma pushforwardId_inv_app_app : ((pushforwardId X).inv Function.Injective (starMap φ) := by
variable (X·hφ |by simpaalgebraMap_eq_inlu! congr($(h)snd)
/-- The pullback of sheaves of modules by the identity morphism identifies
to the identity functor. -/
def pullbackId : pullback ( X) ≅ _ /
SheafOfModules.pullbackId _
variable (X) in
lemma conjugateEquiv_pullbackId_hom`tarMap φ java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
conjugateEquiv .id (pullbackPushforwardAdjunction ( X)) (pullbackId X).hom =
. (tarMapφ =by
SheafOfModules.java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 9
/-- The composition of two pushforward functors for sheaves of modules on schemes
identify to the pushforward for the composition. -/
def pushforwardComp :
pushforward f ⋙ pushforward g ≅ pushforward (f ≫ g) :=
p __
@[simp] lemma java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 27
@[exact⟨(,a,rfljava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
set_option backward.AA Mul A][SMulWithZero R A] {a:A}java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
/-- The composition of two pullback functors for sheaves of modules on schemes
identify to the pullback for the composition. -/
def pullbackComp :
pullback g ⋙
SheafOfModules.pullbackComp _ _
/-- Pushforwards along equal morphisms are isomorphic. -/
def pushforwardCongr {f g : X ⟶ Y} (hf : f = g) : pushforward f ≅ pushforward g :=
pushforwardNatIso _ (Opens.mapIso _ _ (hf ▸ rfljava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
SheafOfModules.pushforwardCongr (bylemma { }[][tarRing R NonUnitalSemiringA]
@[simp] lemma pushforwardCongr_hom_app_app {f g : X ⟶ Y} (hf : f = g) (U : Y.Opens) :
((pushforwardCongr hf).hom.app M).app U = M.presheaf.[StarRing ][ A p: A} java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
@[simp] lemma pushforwardCongr_inv_app_app {f g : X IsStarProjection ( RA java.lang.StringIndexOutOfBoundsException: Range [63, 61) out of bounds for length 69
[java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 29
/-- Inverse images along equal morphisms are isomorphic. -/
r{ : X⟶Y( : g f pullbackg =
eqToIso (hf ▸ rfl)
set_option backward.isDefEq.respectTransparency.types false in
lemma conjugateEquiv_pullbackComp_inv :
conjugateEquiv ((pullbackPushforwardAdjunction g).comp (pullbackPushforwardAdjunction f))
(pullbackPushforwardAdjunction i
(pushforwardComp
SheafOfModules.conjugateEquiv_pullbackComp_inv _ _
set_option backward.isDefEq.respectTransparency false in
@[reassoc]
lemma pseudofunctor_associativity :
(pullbackComp f (g ≫ h)).inv ≫
Functor.whiskerRight (pullbackComp g h).inv _ ≫ (Functor.associator _ _ _).hom ≫
Functor.whiskerLeft _ (pullbackComp f g).hom ≫ (pullbackComp (f ≫ g) h).hom =
eqToHom (by simp) := by
let e₁ := pullbackComp f (g ≫ h)
let e₂ := Functor.isoWhiskerRight (pullbackComp g h) (pullback f)
let e₃ := Functor.isoWhiskerLeft (pullback h) (pullbackComp f g)
let e₄ := pullbackComp (f ≫ g) h
change e₁.inv ≫ e₂.inv ≫ (Functor.associator _ _ _).hom ≫ e₃.hom ≫ e₄.hom = _
have : e₃.hom ≫ e₄.hom = (Functor.associator _ _ _).inv ≫ e₂.hom ≫ e₁.hom :=
congr($(SheafOfModules.pullback_assoc.{u}
h.toRingCatSheafHom g.toRingCatSheafHom f.toRingCatSheafHom).hom)
simp [this]
set_option backward.isDefEq.respectTransparency false in
@[reassoc]
lemma pseudofunctor_left_unitality :
(pullbackComp f ( Y)).inv ≫
Functor.whiskerRight (pullbackId Y).hom (pullback f) ≫ (Functor.leftUnitor _).hom =
eqToHom (by simp) := by
let e₁ := pullbackComp f ( _)
let e₂ := Functor.isoWhiskerRight (pullbackId Y) (pullback f)
let e₃ := (pullback f).leftUnitor
change e₁.inv ≫ e₂.hom ≫ e₃.hom = _
have : e₁.hom = e₂.hom ≫ e₃.hom :=
congr($(SheafOfModules.pullback_id_comp.{u} f.toRingCatSheafHom).hom)
simp [← this]
set_option backward.isDefEq.respectTransparency false in
@[reassoc]
lemma pseudofunctor_right_unitality :
(pullbackComp ( X) f).inv ≫
Functor.whiskerLeft (pullback f) (pullbackId X).hom ≫ (Functor.rightUnitor _).hom =
eqToHom (by simp) := by
let e₁ := pullbackComp ( _) f
let e₂ := Functor.isoWhiskerLeft (pullback f) (pullbackId _)
let e₃ := (pullback f).rightUnitor
change e₁.inv ≫ e₂.hom ≫ e₃.hom = _
have : e₁.hom = e₂.hom ≫ e₃.hom :=
congr($(SheafOfModules.pullback_comp_id.{u} f.toRingCatSheafHom).hom)
simp [← this]
attribute [local simp] pseudofunctor_associativity pseudofunctor_left_unitality
pseudofunctor_right_unitality Bicategory.toNatTrans_conjugateEquiv
conjugateEquiv_pullbackId_hom Adjunction.ofCat_comp conjugateEquiv_pullbackComp_inv in
/-- The pseudofunctor from `Schemeᵒᵖ` to the bicategory of adjunctions which sends
a scheme `X` to the category `X.Modules` of sheaves of modules over `X`.
(This contains both the covariant and the contravariant functorialities of
these categories.) -/
@[simps! obj_obj map_l map_r map_adj
mapId_hom_τl mapId_hom_τr mapId_inv_τl mapId_inv_τr
mapComp_hom_τl mapComp_hom_τr mapComp_inv_τl mapComp_inv_τr]
def pseudofunctor :
Pseudofunctor (LocallyDiscrete Scheme.{u}ᵒᵖ) (Adj Cat) :=
LocallyDiscrete.mkPseudofunctor
(fun X ↦ Adj.mk ↧X.unop.Modules)
(fun f ↦ .mk (pullbackPushforwardAdjunction f.unop).toCat)
(fun _ ↦ Adj.iso₂Mk (Cat.Hom.isoMk (pullbackId _))
(Cat.Hom.isoMk (pushforwardId _).symm))
(fun _ _ ↦ Adj.iso₂Mk (Cat.Hom.isoMk (pullbackComp _ _).symm)
(Cat.Hom.isoMk (pushforwardComp _ _)))
end Functorial
noncomputable section Restriction
variable (f : X ⟶ Y) (g : Y ⟶ Z) [IsOpenImmersion f] [IsOpenImmersion g]
/-- Restriction of an `ₓ`-module along an open immersion.
This is isomorphic to the pullback functor (see `restrictFunctorIsoPullback`)
but has better defeqs. -/
def restrictFunctor : Y.Modules ⥤ X.Modules :=
letI α : X.presheaf ⟶ f.opensFunctor.op ⋙ Y.presheaf := { app U := (f.appIso U.unop).inv }
SheafOfModules.pushforward (F := f.opensFunctor)
⟨Functor.whiskerRight α (forget₂ CommRingCat RingCat)⟩
/-- The restriction of a module along an open immersion. -/
abbrev restrict (M : Y.Modules) (f : X ⟶ Y) [IsOpenImmersion f] : X.Modules :=
(restrictFunctor f).obj M
/-- The sections of the restriction of `M` over `U` are isomorphic to `Γ(M, f ''ᵁ U)`. -/
def restrictAppIso (M : Y.Modules) (U : X.Opens) : Γ(M.restrict f, U) ≅ Γ(M, f ''ᵁ U) :=
Iso.refl _
@[elementwise (attr := simp), reassoc (attr := simp)]
lemma smul_restrictAppIso_hom (M : Y.Modules) (U : X.Opens) (r : Γ(X, U)) :
((M.restrict f).smul r).asHom ≫ (M.restrictAppIso f U).hom =
(M.restrictAppIso f U).hom ≫ (M.smul ((f.appIso U).inv r)).asHom :=
rfl
@[elementwise (attr := simp), reassoc (attr := simp)]
lemma smul_restrictAppIso_inv (M : Y.Modules) (U : X.Opens) (r : Γ(Y, f ''ᵁ U)) :
(M.smul r).asHom ≫ (M.restrictAppIso f U).inv =
(M.restrictAppIso f U).inv ≫ ((M.restrict f).smul ((f.appIso U).hom r)).asHom := by
simp [← cancel_mono (M.restrictAppIso f U).hom]
@[elementwise (attr := simp), reassoc (attr := simp)]
lemma map_restrictAppIso_hom (M : Y.Modules) {U V : X.Opens}
(hUV : Opposite.op V ⟶ .op U) :
(M.restrict f).presheaf.map hUV ≫ (M.restrictAppIso f U).hom =
(M.restrictAppIso f V).hom ≫
M.presheaf.map (.op <| homOfLE <| Scheme.Hom.image_mono _ (leOfHom hUV.unop)) := by
rfl
@[elementwise (attr := simp), reassoc (attr := simp)]
lemma restrictAppIso_inv_map (M : Y.Modules) {U V : X.Opens} (hUV : .op V ⟶ .op U) :
(M.restrictAppIso f V).inv ≫ (M.restrict f).presheaf.map hUV =
M.presheaf.map (.op <| homOfLE <| Scheme.Hom.image_mono _ (leOfHom hUV.unop)) ≫
(M.restrictAppIso f U).inv :=
rfl
/-- Avoid using this. Use the isomorphism `AlgebraicGeometry.Scheme.Modules.restrictAppIso`
instead. -/
lemma restrict_obj (M : Y.Modules) (f : X ⟶ Y) [IsOpenImmersion f] (U) :
Γ(M.restrict f, U) = Γ(M, f ''ᵁ U) := rfl
/-- Avoid using this. Use the isomorphism `AlgebraicGeometry.Scheme.Modules.restrictAppIso`
instead. -/
lemma restrict_map (M : Y.Modules) (f : X ⟶ Y) [IsOpenImmersion f] {U V} (i : U ⟶ V) :
(M.restrict f).presheaf.map i.op = M.presheaf.map (f.opensFunctor.map i).op := rfl
/-- `Scheme.Modules.restrict` along an open immersion `X ⟶ Y` sends `_Y` to `_X`. -/
def restrictUnitIso (f : X ⟶ Y) [IsOpenImmersion f] :
restrict (.unit Y.ringCatSheaf) f ≅ .unit X.ringCatSheaf := by
refine (fullyFaithfulForget _).preimageIso <| PresheafOfModules.isoMk (fun U ↦ ?_) ?_
· refine ModuleCat.isoMk
((forget₂ CommRingCat RingCat ⋙ forget₂ _ Ab).mapIso (f.appIso U.unop)) ?_
intro (r : Γ(X, U.unop))
ext (x : Γ(Y, f ''ᵁ U.unop))
change r * (f.appIso U.unop).hom x = (f.appIso U.unop).hom ((f.appIso U.unop).inv r * x)
simp
· intro U V g
have : Y.presheaf.map (homOfLE (by grw [leOfHom g.unop])).op ≫
(f.appIso _).hom = (f.appIso U.unop).hom ≫ X.presheaf.map g := by
simp [Hom.appIso_hom']
ext x
congrm $this x
/-- The restriction of a module along an open immersion. -/
def restrictFunctorAdjCounitIso : pushforward f ⋙ restrictFunctor f ≅ _ :=
letI := CategoryTheory.Functor.isContinuous_comp.{u} f.opensFunctor (Opens.map f.base)
(Opens.grothendieckTopology X) (Opens.grothendieckTopology Y) (Opens.grothendieckTopology X)
(SheafOfModules.pushforwardComp _ _) ≪≫ pushforwardNatIso _ (NatIso.ofComponents
(fun U ↦ eqToIso (f.preimage_image_eq U).symm) fun _ ↦ rfl) ≪≫
SheafOfModules.pushforwardCongr (by ext U x; exact
congr($(f.appIso_inv_app_presheafMap U.unop) x)) ≪≫ SheafOfModules.pushforwardId _
/-- Restriction is right adjoint to pushforward. -/
def restrictAdjunction : restrictFunctor f ⊣ pushforward f := by
refine pushforwardPushforwardAdj (by exact f.isOpenEmbedding.isOpenMap.adjunction) _ _ ?_ ?_
· ext U x; congrm $((f.app_appIso_inv _).symm).hom x
· ext U x
have : (f.appIso U.unop).inv ≫ f.app _ ≫
X.presheaf.map (eqToHom (f.preimage_image_eq U.unop).symm).op = _ := by
rw [Scheme.Hom.appIso_inv_app_assoc, ← Functor.map_comp, ← X.presheaf.map_id]; rfl
congrm $this x
instance : IsIso (restrictAdjunction f).counit :=
inferInstanceAs (IsIso (restrictFunctorAdjCounitIso f).hom)
instance : (restrictFunctor f).IsLeftAdjoint := (restrictAdjunction f).isLeftAdjoint
instance : (pushforward f).Full := (restrictAdjunction f).fullyFaithfulROfIsIsoCounit.full
instance : (pushforward f).Faithful := (restrictAdjunction f).fullyFaithfulROfIsIsoCounit.faithful
@[simp]
lemma restrictAdjunction_unit_app_app (M : Y.Modules) (U : Y.Opens) :
((restrictAdjunction f).unit.app M).app U =
M.presheaf.map (homOfLE (f.image_preimage_le U)).op := rfl
@[simp]
lemma restrictAdjunction_counit_app_app (M : X.Modules) (U : X.Opens) :
((restrictAdjunction f).counit.app M).app U =
M.presheaf.map (eqToHom (f.preimage_image_eq U).symm).op := rfl
/-- Restriction is naturally isomorphic to the inverse image. -/
def restrictFunctorIsoPullback : restrictFunctor f ≅ pullback f :=
(restrictAdjunction f).leftAdjointUniq (pullbackPushforwardAdjunction f)
set_option backward.isDefEq.respectTransparency.types false in
set_option backward.defeqAttrib.useBackward true in
/-- Restriction along the identity is isomorphic to the identity. -/
def restrictFunctorId : restrictFunctor ( X) ≅ _ :=
SheafOfModules.pushforwardNatIso _ (NatIso.ofComponents (fun _ ↦ eqToIso (by simp))) ≪≫
SheafOfModules.pushforwardCongr
(by ext : 3; simp [← Functor.map_comp, SheafedSpace.sheaf]) ≪≫
SheafOfModules.pushforwardId _
@[simp]
lemma restrictFunctorId_hom_app_app :
(restrictFunctorId.hom.app M).app U =
M.presheaf.map (eqToHom (show U = X ''ᵁ U by simp)).op := rfl
@[simp]
lemma restrictFunctorId_inv_app_app :
(restrictFunctorId.inv.app M).app U =
M.presheaf.map (eqToHom (show X ''ᵁ U = U by simp)).op := rfl
set_option backward.isDefEq.respectTransparency.types false in
set_option backward.defeqAttrib.useBackward true in
/-- Restriction along the composition is isomorphic to the composition of restrictions. -/
def restrictFunctorComp : restrictFunctor (f ≫ g) ≅ restrictFunctor g ⋙ restrictFunctor f :=
SheafOfModules.pushforwardNatIso _ (NatIso.ofComponents fun _ ↦ eqToIso (by simp)) ≪≫
SheafOfModules.pushforwardCongr (by ext : 3; simp [← Functor.map_comp, SheafedSpace.sheaf]) ≪≫
(SheafOfModules.pushforwardComp _ _).symm
@[simp]
lemma restrictFunctorComp_hom_app_app (M : Z.Modules) :
((restrictFunctorComp f g).hom.app M).app U = M.presheaf.map (eqToHom (by simp)).op := rfl
@[simp]
lemma restrictFunctorComp_inv_app_app (M : Z.Modules) :
((restrictFunctorComp f g).inv.app M).app U = M.presheaf.map (eqToHom (by simp)).op := rfl
set_option backward.isDefEq.respectTransparency.types false in
set_option backward.defeqAttrib.useBackward true in
/-- Restriction along equal morphisms are isomorphic. -/
def restrictFunctorCongr {f g : X ⟶ Y} (hf : f = g) [IsOpenImmersion f] [IsOpenImmersion g] :
restrictFunctor f ≅ restrictFunctor g :=
SheafOfModules.pushforwardNatIso _ (NatIso.ofComponents fun _ ↦ eqToIso (by simp [hf])) ≪≫
SheafOfModules.pushforwardCongr (by ext : 3; subst hf; simp)
@[simp]
lemma restrictFunctorCongr_hom_app_app {f g : X ⟶ Y} (hf : f = g) [IsOpenImmersion f]
[IsOpenImmersion g] (M : Y.Modules) :
((restrictFunctorCongr hf).hom.app M).app U = M.presheaf.map (eqToHom (by simp [hf])).op := rfl
@[simp]
lemma restrictFunctorCongr_inv_app_app {f g : X ⟶ Y} (hf : f = g) [IsOpenImmersion f]
[IsOpenImmersion g] (M : Y.Modules) :
((restrictFunctorCongr hf).inv.app M).app U = M.presheaf.map (eqToHom (by simp [hf])).op := rfl
/-- Restriction along open immersions commutes with taking stalks. -/
def restrictStalkNatIso (x : X) :
restrictFunctor f ⋙ toPresheaf _ ⋙ TopCat.Presheaf.stalkFunctor _ x ≅
toPresheaf _ ⋙ TopCat.Presheaf.stalkFunctor _ (f x) :=
haveI := Functor.initial_of_adjunction (f.isOpenEmbedding.adjunctionNhds x)
(toPresheaf _ ⋙ (Functor.whiskeringLeft (OpenNhds (f x))ᵒᵖ Y.Opensᵒᵖ Ab).obj
(OpenNhds.inclusion (f x)).op).isoWhiskerLeft
(Functor.Final.colimIso (f.isOpenEmbedding.functorNhds x).op)
@[simp]
lemma germ_restrictStalkNatIso_hom_app (x : X) (M : Y.Modules) (hxU : x ∈ U) :
((restrictFunctor f).obj M).presheaf.germ U _ hxU ≫
(restrictStalkNatIso f x).hom.app M = M.presheaf.germ _ _ (by simpa) :=
haveI := Functor.initial_of_adjunction (f.isOpenEmbedding.adjunctionNhds x)
Functor.Final.ι_colimitIso_hom
(f.isOpenEmbedding.functorNhds x).op
((OpenNhds.inclusion ((ConcreteCategory.hom f.base) x)).op ⋙ M.presheaf) _
set_option backward.isDefEq.respectTransparency false in
@[simp]
lemma germ_restrictStalkNatIso_inv_app (x : X) (M : Y.Modules) (hxU : x ∈ U) :
M.presheaf.germ _ _ (by simpa) ≫ (restrictStalkNatIso f x).inv.app M =
((restrictFunctor f).obj M).presheaf.germ U _ hxU := by
rw [← germ_restrictStalkNatIso_hom_app f x M hxU, Category.assoc, ← NatTrans.comp_app,
Iso.hom_inv_id]
simp
end Restriction
/-- `sheafCompose` commutes with `pushforward` -/
noncomputable def sheafComposePushforwardComp {R S : CommRingCat.{u}} (φ : R ⟶ S) :
sheafCompose (Opens.grothendieckTopology (Spec S))
(ModuleCat.restrictScalars (Spec.map φ).appTop.hom) ⋙
TopCat.Sheaf.pushforward _ (Spec.map φ).base ⋙
sheafCompose _ (ModuleCat.restrictScalars (Scheme.ΓSpecIso R).inv.hom) ≅
sheafCompose _ (ModuleCat.restrictScalars (Scheme.ΓSpecIso S).inv.hom) ⋙
TopCat.Sheaf.pushforward _ (Spec.map φ).base ⋙
sheafCompose _ (ModuleCat.restrictScalars φ.hom) := by
refine NatIso.ofComponents (fun M ↦ ObjectProperty.isoMk _ ?_) ?_
· refine NatIso.ofComponents (fun U ↦ ?_) ?_
· refine (ModuleCat.restrictScalarsComp'App _ _ _ ?_ _).symm ≪≫
(ModuleCat.restrictScalarsComp φ.hom ((Scheme.ΓSpecIso S).inv).hom).app _
rw [← CommRingCat.hom_comp, Scheme.ΓSpecIso_inv_naturality, CommRingCat.hom_comp]
· cat_disch
· cat_disch
/-- Sheaves of modules on `_X` restricted to `U` are equivalent to sheaves of `_U`-modules. -/
noncomputable
def overEquiv {X : Scheme.{u}} (U : X.Opens) :
SheafOfModules (X.ringCatSheaf.over U) ≌ (U : Scheme.{u}).Modules :=
TopologicalSpace.Opens.sheafOfModulesEquivOver _ _
set_option backward.isDefEq.respectTransparency false in
/-- Up to `Scheme.Modules.overEquiv`, `SheafOfModules.overMap` is isomorphic to
`Scheme.Modules.restrictFunctor`. -/
noncomputable
def overMapCompOverEquiv {X : Scheme.{u}} {U V : X.Opens} (f : V ⟶ U) :
overMap X.ringCatSheaf f ⋙ (overEquiv V).functor ≅
(overEquiv U).functor ⋙ restrictFunctor (X.homOfLE <| leOfHom f) := by
haveI : (Hom.opensFunctor (X.homOfLE <| leOfHom f)).IsContinuous
(Opens.grothendieckTopology V.toScheme) (Opens.grothendieckTopology U.carrier) :=
inferInstanceAs <|
(Hom.opensFunctor (X.homOfLE <| leOfHom f)).IsContinuous _
(Opens.grothendieckTopology U.toScheme)
haveI := U.instIsDenseSubsiteSubtypeMemOverGrothendieckTopologyOverInverseOverEquivalence
haveI : (Hom.opensFunctor (X.homOfLE <| leOfHom f)).IsContinuous
(Opens.grothendieckTopology ↥V) (Opens.grothendieckTopology U.toScheme) :=
inferInstanceAs <| (X.homOfLE <| leOfHom f).opensFunctor.IsContinuous
(Opens.grothendieckTopology V.toScheme) (Opens.grothendieckTopology U.toScheme)
haveI : ((Opens.overEquivalence V).symm.functor ⋙ Over.map f).IsContinuous
(Opens.grothendieckTopology ↥V) ((Opens.grothendieckTopology X).over U) :=
Functor.isContinuous_comp _ _ _ (.over (Opens.grothendieckTopology _) _) _
haveI : (Opens.overEquivalence U).symm.functor.IsContinuous (Opens.grothendieckTopology U)
((Opens.grothendieckTopology X).over U) :=
inferInstanceAs <| U.overEquivalence.inverse.IsContinuous (Opens.grothendieckTopology U.carrier)
((Opens.grothendieckTopology X).over U)
haveI : ((X.homOfLE (leOfHom f)).opensFunctor ⋙
(Opens.overEquivalence U).symm.functor).IsContinuous (Opens.grothendieckTopology ↥V)
((Opens.grothendieckTopology ↥X).over U) :=
Functor.isContinuous_comp _ _ _ (Opens.grothendieckTopology _) _
refine (SheafOfModules.pushforwardComp _ _) ≪≫ ?_ ≪≫ (SheafOfModules.pushforwardComp _ _).symm
refine SheafOfModules.pushforwardCongr₂ _ ?_ ?_
· refine NatIso.ofComponents (fun W ↦ Over.isoMk (eqToIso ?_) ?_) ?_
· suffices U.ι ''ᵁ ((X.homOfLE (leOfHom f)) ''ᵁ W) = V.ι ''ᵁ W by simpa
simp [← Scheme.Hom.comp_image]
· cat_disch
· cat_disch
· ext W x
suffices X.presheaf.map _ x = ((X.homOfLE <| leOfHom f).appIso _).inv x by simpa
rw [Scheme.Hom.appIso_homOfLE_inv]
rfl
/-- Up to `Scheme.Modules.overEquiv`, `SheafOfModules.overFunctor` is isomorphic to
`Scheme.Modules.restrictFunctor`. -/
noncomputable
def overFunctorEquiv {X : Scheme.{u}} (U : X.Opens) :
overFunctor X.ringCatSheaf U ⋙ (overEquiv U).functor ≅ restrictFunctor U.ι := by
have : ((Opens.overEquivalence U).symm.functor ⋙ Over.forget U).IsContinuous
(Opens.grothendieckTopology ↥U) (Opens.grothendieckTopology ↥X) :=
Functor.isContinuous_comp _ _ _ (.over (Opens.grothendieckTopology _) U) _
refine SheafOfModules.pushforwardComp _ _ ≪≫ SheafOfModules.pushforwardCongr ?_
simp only [CategoryTheory.Functor.map_id, Opposite.op_unop, Opens.ι_appIso, Iso.refl_inv]
rfl
end AlgebraicGeometry.Scheme.Modules
¤ Dauer der Verarbeitung: 0.3 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland
|
|
2026-11-24
|
|
|
|
|