Skip to content

Commit 008653f

Browse files
committed
feat(AlgebraicGeometry): restriction of quasi-coherent sheaf is quasi-coherent (#37766)
1 parent c3bd83c commit 008653f

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Mathlib/AlgebraicGeometry/Modules/Tilde.lean

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,21 @@ theorem isIso_fromTildeΓ_pushforward (M : (Spec S).Modules) [h : IsIso M.fromTi
554554

555555
end IsLocalizing
556556

557+
set_option backward.isDefEq.respectTransparency false in
558+
instance Scheme.Modules.isQuasicoherent_restrictFunctor {X Y : Scheme.{u}} (f : X ⟶ Y)
559+
[IsOpenImmersion f] (M : Y.Modules) [M.IsQuasicoherent] :
560+
((restrictFunctor f).obj M).IsQuasicoherent := by
561+
let α : X.presheaf ⟶ f.opensFunctor.op ⋙ Y.presheaf := { app U := (f.appIso U.unop).inv }
562+
have hα : IsIso α := NatIso.isIso_of_isIso_app _
563+
let φ : X.ringCatSheaf ⟶ (f.opensFunctor.sheafPushforwardContinuous _ _ _).obj Y.ringCatSheaf :=
564+
⟨Functor.whiskerRight α (forget₂ CommRingCat RingCat)⟩
565+
have : IsIso φ := by
566+
rw [← isIso_iff_of_reflects_iso _ (ObjectProperty.ι _)]
567+
dsimp [φ]
568+
infer_instance
569+
exact SheafOfModules.isQuasicoherent_pushforward_of_isLeftAdjoint.{u}
570+
f.opensFunctor φ (Scheme.Modules.restrictUnitIso _)
571+
557572
set_option backward.isDefEq.respectTransparency false in
558573
/-- The presentation of `M.restrict f` by restricting a presentation of `M`. -/
559574
def Scheme.Modules.presentationRestrict {X Y : Scheme.{u}} (f : Y ⟶ X)

0 commit comments

Comments
 (0)