@@ -68,7 +68,7 @@ variables {C : Type u} [category.{v} C]
6868An open immersion of PresheafedSpaces is an open embedding `f : X ⟶ U ⊆ Y` of the underlying
6969spaces, such that the sheaf map `Y(V) ⟶ f _* X(V)` is an iso for each `V ⊆ U`.
7070-/
71- class PresheafedSpace.is_open_immersion {X Y : PresheafedSpace C} (f : X ⟶ Y) : Prop :=
71+ class PresheafedSpace.is_open_immersion {X Y : PresheafedSpace.{v} C} (f : X ⟶ Y) : Prop :=
7272(base_open : open_embedding f.base)
7373(c_iso : ∀ U : opens X, is_iso (f.c.app (op (base_open.is_open_map.functor.obj U))))
7474
@@ -77,7 +77,7 @@ A morphism of SheafedSpaces is an open immersion if it is an open immersion as a
7777of PresheafedSpaces
7878-/
7979abbreviation SheafedSpace.is_open_immersion
80- [has_products C] {X Y : SheafedSpace C} (f : X ⟶ Y) : Prop :=
80+ [has_products.{v} C] {X Y : SheafedSpace.{v} C} (f : X ⟶ Y) : Prop :=
8181PresheafedSpace.is_open_immersion f
8282
8383/--
@@ -104,7 +104,7 @@ attribute [instance] is_open_immersion.c_iso
104104
105105section
106106
107- variables {X Y : PresheafedSpace C} {f : X ⟶ Y} (H : is_open_immersion f)
107+ variables {X Y : PresheafedSpace.{v} C} {f : X ⟶ Y} (H : is_open_immersion f)
108108
109109/-- The functor `opens X ⥤ opens Y` associated with an open immersion `f : X ⟶ Y`. -/
110110abbreviation open_functor := H.base_open.is_open_map.functor
@@ -228,12 +228,12 @@ by { erw ← category.assoc, rw [is_iso.comp_inv_eq, f.c.naturality], congr }
228228by { erw ← category.assoc, rw [is_iso.comp_inv_eq, f.c.naturality], congr }
229229
230230/-- An isomorphism is an open immersion. -/
231- instance of_iso {X Y : PresheafedSpace C} (H : X ≅ Y) : is_open_immersion H.hom :=
231+ instance of_iso {X Y : PresheafedSpace.{v} C} (H : X ≅ Y) : is_open_immersion H.hom :=
232232{ base_open := (Top.homeo_of_iso ((forget C).map_iso H)).open_embedding,
233233 c_iso := λ _, infer_instance }
234234
235235@[priority 100 ]
236- instance of_is_iso {X Y : PresheafedSpace C} (f : X ⟶ Y) [is_iso f] : is_open_immersion f :=
236+ instance of_is_iso {X Y : PresheafedSpace.{v} C} (f : X ⟶ Y) [is_iso f] : is_open_immersion f :=
237237algebraic_geometry.PresheafedSpace.is_open_immersion.of_iso (as_iso f)
238238
239239instance of_restrict {X : Top} (Y : PresheafedSpace C) {f : X ⟶ Y.carrier}
@@ -289,7 +289,7 @@ section pullback
289289
290290noncomputable theory
291291
292- variables {X Y Z : PresheafedSpace C} (f : X ⟶ Z) [hf : is_open_immersion f] (g : Y ⟶ Z)
292+ variables {X Y Z : PresheafedSpace.{v} C} (f : X ⟶ Z) [hf : is_open_immersion f] (g : Y ⟶ Z)
293293
294294include hf
295295
@@ -526,7 +526,7 @@ open category_theory.limits.walking_cospan
526526
527527section to_SheafedSpace
528528
529- variables [has_products C] {X : PresheafedSpace C} (Y : SheafedSpace C)
529+ variables [has_products.{v} C] {X : PresheafedSpace.{v} C} (Y : SheafedSpace C)
530530variables (f : X ⟶ Y.to_PresheafedSpace) [H : is_open_immersion f]
531531
532532include H
@@ -559,14 +559,14 @@ instance to_SheafedSpace_is_open_immersion :
559559
560560omit H
561561
562- @[simp] lemma SheafedSpace_to_SheafedSpace {X Y : SheafedSpace C} (f : X ⟶ Y)
562+ @[simp] lemma SheafedSpace_to_SheafedSpace {X Y : SheafedSpace.{v} C} (f : X ⟶ Y)
563563 [is_open_immersion f] : to_SheafedSpace Y f = X := by unfreezingI { cases X, refl }
564564
565565end to_SheafedSpace
566566
567567section to_LocallyRingedSpace
568568
569- variables {X : PresheafedSpace CommRing.{u}} (Y : LocallyRingedSpace.{u})
569+ variables {X : PresheafedSpace.{u} CommRing.{u}} (Y : LocallyRingedSpace.{u})
570570variables (f : X ⟶ Y.to_PresheafedSpace) [H : is_open_immersion f]
571571
572572include H
@@ -608,10 +608,10 @@ end PresheafedSpace.is_open_immersion
608608
609609namespace SheafedSpace.is_open_immersion
610610
611- variables [has_products C]
611+ variables [has_products.{v} C]
612612
613613@[priority 100 ]
614- instance of_is_iso {X Y : SheafedSpace C} (f : X ⟶ Y) [is_iso f] :
614+ instance of_is_iso {X Y : SheafedSpace.{v} C} (f : X ⟶ Y) [is_iso f] :
615615 SheafedSpace.is_open_immersion f :=
616616@@PresheafedSpace.is_open_immersion.of_is_iso _ f
617617(SheafedSpace.forget_to_PresheafedSpace.map_is_iso _)
@@ -1318,7 +1318,7 @@ namespace PresheafedSpace.is_open_immersion
13181318
13191319section to_Scheme
13201320
1321- variables {X : PresheafedSpace CommRing.{u}} (Y : Scheme.{u})
1321+ variables {X : PresheafedSpace.{u} CommRing.{u}} (Y : Scheme.{u})
13221322variables (f : X ⟶ Y.to_PresheafedSpace) [H : PresheafedSpace.is_open_immersion f]
13231323
13241324include H
0 commit comments