@@ -54,7 +54,7 @@ section Restrict
5454/-- For an open embedding `f : U ⟶ X` and a point `x : U`, we get an isomorphism between the stalk
5555of `X` at `f x` and the stalk of the restriction of `X` along `f` at `x`.
5656-/
57- def restrictStalkIso {U : TopCat} (X : PresheafedSpace.{_, _, v} C) {f : U ⟶ (X : TopCat.{v})}
57+ def restrictStalkIso {U : TopCat.{v} } (X : PresheafedSpace.{_, _, v} C) {f : U ⟶ (X : TopCat.{v})}
5858 (h : IsOpenEmbedding f) (x : U) : (X.restrict h).presheaf.stalk x ≅ X.presheaf.stalk (f x) :=
5959 haveI := initial_of_adjunction (h.adjunctionNhds x)
6060 Final.colimitIso (h.functorNhds x).op ((OpenNhds.inclusion (f x)).op ⋙ X.presheaf)
@@ -65,7 +65,7 @@ def restrictStalkIso {U : TopCat} (X : PresheafedSpace.{_, _, v} C) {f : U ⟶ (
6565-- We intentionally leave `simp` off this lemma and those generated by `elementwise` and `reassoc`,
6666-- as the simpNF linter claims they never apply.
6767@ [elementwise, reassoc]
68- theorem restrictStalkIso_hom_eq_germ {U : TopCat} (X : PresheafedSpace.{_, _, v} C)
68+ theorem restrictStalkIso_hom_eq_germ {U : TopCat.{v} } (X : PresheafedSpace.{_, _, v} C)
6969 {f : U ⟶ (X : TopCat.{v})} (h : IsOpenEmbedding f) (V : Opens U) (x : U) (hx : x ∈ V) :
7070 (X.restrict h).presheaf.germ _ x hx ≫ (restrictStalkIso X h x).hom =
7171 X.presheaf.germ (h.functor.obj V) (f x) ⟨x, hx, rfl⟩ :=
@@ -76,14 +76,14 @@ set_option backward.isDefEq.respectTransparency false in
7676-- We intentionally leave `simp` off the lemmas generated by `elementwise` and `reassoc`,
7777-- as the simpNF linter claims they never apply.
7878@ [simp, elementwise, reassoc]
79- theorem restrictStalkIso_inv_eq_germ {U : TopCat} (X : PresheafedSpace.{_, _, v} C)
79+ theorem restrictStalkIso_inv_eq_germ {U : TopCat.{v} } (X : PresheafedSpace.{_, _, v} C)
8080 {f : U ⟶ (X : TopCat.{v})} (h : IsOpenEmbedding f) (V : Opens U) (x : U) (hx : x ∈ V) :
8181 X.presheaf.germ (h.functor.obj V) (f x) ⟨x, hx, rfl⟩ ≫
8282 (restrictStalkIso X h x).inv =
8383 (X.restrict h).presheaf.germ _ x hx := by
8484 rw [← restrictStalkIso_hom_eq_germ, Category.assoc, Iso.hom_inv_id, Category.comp_id]
8585
86- theorem restrictStalkIso_inv_eq_ofRestrict {U : TopCat} (X : PresheafedSpace.{_, _, v} C)
86+ theorem restrictStalkIso_inv_eq_ofRestrict {U : TopCat.{v} } (X : PresheafedSpace.{_, _, v} C)
8787 {f : U ⟶ (X : TopCat.{v})} (h : IsOpenEmbedding f) (x : U) :
8888 (X.restrictStalkIso h x).inv = (X.ofRestrict h).stalkMap x := by
8989 -- We can't use `ext` here because it would call `stalk_hom_ext` instead.
@@ -98,7 +98,7 @@ theorem restrictStalkIso_inv_eq_ofRestrict {U : TopCat} (X : PresheafedSpace.{_,
9898 erw [← X.presheaf.map_comp_assoc]
9999 exact (colimit.w ((OpenNhds.inclusion (f x)).op ⋙ X.presheaf) i.op).symm
100100
101- instance ofRestrict_stalkMap_isIso {U : TopCat} (X : PresheafedSpace.{_, _, v} C)
101+ instance ofRestrict_stalkMap_isIso {U : TopCat.{v} } (X : PresheafedSpace.{_, _, v} C)
102102 {f : U ⟶ (X : TopCat.{v})} (h : IsOpenEmbedding f) (x : U) :
103103 IsIso ((X.ofRestrict h).stalkMap x) := by
104104 rw [← restrictStalkIso_inv_eq_ofRestrict]; infer_instance
0 commit comments