Skip to content

Commit b2b31c9

Browse files
committed
more move
1 parent da8281b commit b2b31c9

2 files changed

Lines changed: 8 additions & 15 deletions

File tree

Mathlib/Algebra/Category/ModuleCat/Sheaf/Quasicoherent.lean

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ Authors: Joël Riou
66
module
77

88
public import Mathlib.Algebra.Category.ModuleCat.Sheaf.Abelian
9-
public import Mathlib.CategoryTheory.Comma.Over.Pullback
10-
public import Mathlib.CategoryTheory.Adjunction.Whiskering
119
public import Mathlib.Algebra.Category.ModuleCat.Sheaf.Generators
1210
public import Mathlib.CategoryTheory.Sites.CoversTop.Over
1311

@@ -296,11 +294,6 @@ variable [J.HasSheafCompose (forget₂ RingCat AddCommGrpCat)]
296294
[∀ (X : C), HasSheafify (J.over X) AddCommGrpCat.{u}]
297295
[∀ (X : D), HasSheafify (K.over X) AddCommGrpCat.{u}]
298296

299-
instance {G : C ⥤ D} (X : C) (Y : D) (f : G.obj X ⟶ Y)
300-
[(Over.post G).IsContinuous (J.over X) (K.over _)] :
301-
(Over.post G ⋙ Over.map f).IsContinuous (J.over X) (K.over Y) :=
302-
Functor.isContinuous_comp _ _ _ (K.over _) _
303-
304297
variable (G : D ⥤ C) [G.IsContinuous K J] [G.IsCocontinuous K J]
305298
(φ : S ⟶ (G.sheafPushforwardContinuous RingCat.{u} K J).obj R)
306299

@@ -461,14 +454,8 @@ lemma IsQuasicoherent.of_coversTop {R : Sheaf J RingCat.{u}}
461454
set_option backward.isDefEq.respectTransparency false in
462455
lemma isQuasicoherent_over [J.HasSheafCompose (forget₂ RingCat.{u} AddCommGrpCat.{u})]
463456
[HasPullbacks C] [HasBinaryProducts C] (M : SheafOfModules.{u} R) (X : C) [IsQuasicoherent M] :
464-
IsQuasicoherent (M.over X) := by
465-
have (Z : Over X) : (Over.post (Over.forget X)).IsContinuous ((J.over X).over Z)
466-
(J.over ((Over.forget X).obj Z)) := by
467-
convert Functor.isContinuous_of_iso (Z.iteratedSliceForwardIsoPost _).symm _ _
468-
dsimp
469-
infer_instance
470-
apply isQuasicoherent_pushforward_of_isLeftAdjoint
471-
exact Iso.refl _
457+
IsQuasicoherent (M.over X) :=
458+
isQuasicoherent_pushforward_of_isLeftAdjoint _ _ (Iso.refl _)
472459

473460
end bind
474461

Mathlib/CategoryTheory/Sites/Over.lean

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,12 @@ instance {D : Type*} [Category* D] {J : GrothendieckTopology C} {K : Grothendiec
361361
← PreOneHypercover.map_comp, Over.post_forget_eq_forget_comp, PreOneHypercover.map_comp]
362362
exact E'.mem₁ _ _ _ _ congr($(w).left)
363363

364+
instance {D : Type*} [Category* D] {J : GrothendieckTopology C} {K : GrothendieckTopology D}
365+
{F : C ⥤ D} (X : C) (Y : D) (f : F.obj X ⟶ Y)
366+
[(Over.post F).IsContinuous (J.over X) (K.over _)] :
367+
(Over.post F ⋙ Over.map f).IsContinuous (J.over X) (K.over Y) :=
368+
Functor.isContinuous_comp _ _ _ (K.over _) _
369+
364370
open Limits
365371

366372
lemma coverPreserving_overPullback [HasPullbacks C] {X Y : C} (f : X ⟶ Y) :

0 commit comments

Comments
 (0)