88
99public import Mathlib.Algebra.Category.ModuleCat.Localization
1010public import Mathlib.Algebra.Category.ModuleCat.Sheaf.Quasicoherent
11+ public import Mathlib.Algebra.Category.ModuleCat.FilteredColimits
1112public import Mathlib.AlgebraicGeometry.AffineScheme
1213public import Mathlib.AlgebraicGeometry.Modules.Sheaf
13- public import Mathlib.Algebra.Category.ModuleCat.Sheaf.Quasicoherent
14- public import Mathlib.Algebra.Category.ModuleCat.FilteredColimits
1514public import Mathlib.CategoryTheory.Limits.ConcreteCategory.WithAlgebraicStructures
1615public import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Over
1716public import Mathlib.CategoryTheory.Limits.Preorder
@@ -561,6 +560,7 @@ open CategoryTheory TopologicalSpace
561560variable {X : Scheme.{u}} (M : X.Modules) [M.IsQuasicoherent]
562561
563562open Limits
563+ set_option backward.defeqAttrib.useBackward true in
564564lemma _root_.CategoryTheory.Limits.preservesLimit_walkingParallelPair_of_eq
565565 {C D : Type *} [Category* C] [Category* D] {K : WalkingParallelPair ⥤ C}
566566 (heq : K.map .left = K.map .right) (F : C ⥤ D) :
@@ -570,7 +570,7 @@ lemma _root_.CategoryTheory.Limits.preservesLimit_walkingParallelPair_of_eq
570570 exact preservesLimit_of_iso_diagram _ (diagramIsoParallelPair _).symm
571571 rintro X Y f g rfl
572572 refine preservesLimit_of_preserves_limit_cone (isLimitIdFork rfl) ?_
573- exact (isLimitMapConeForkEquiv F _).symm (by simpa using isLimitIdFork rfl)
573+ exact (isLimitMapConeForkEquiv F _).symm (by simpa using ! isLimitIdFork rfl)
574574
575575instance {C D : Type*} [Category* C] [Category* D] (F : C ⥤ D) {X Y : C} (f : X ⟶ Y) :
576576 PreservesLimit (parallelPair f f) F :=
@@ -585,7 +585,7 @@ instance (priority := low) {C D : Type*} [Category* C] [Category* D] [Quiver.IsT
585585def _root_.CategoryTheory.Limits.isLimitEquivFanOfIsThin {C : Type *} [Category* C]
586586 [Quiver.IsThin C] {J : Type *} [Category* J] {K : J ⥤ C} (c : Cone K) :
587587 IsLimit c ≃ IsLimit (Fan.mk c.pt c.π.app) where
588- toFun hc := Limits.mkFanLimit _ (fun s ↦ hc.lift { pt := s.pt, π.app j := s.proj j })
588+ toFun hc := Fan.IsLimit.mk _ (fun s ↦ hc.lift { pt := s.pt, π.app j := s.proj j })
589589 (by subsingleton) (by subsingleton)
590590 invFun h := { lift s := Fan.IsLimit.lift h s.π.app }
591591
0 commit comments