@@ -146,110 +146,6 @@ begin
146146 simp [res, diagram.iso_of_iso], }
147147end
148148
149- section open_embedding
150-
151- variables {V : Top.{v'}} {j : V ⟶ X} (oe : open_embedding j)
152- variables (𝒰 : ι → opens V)
153-
154- /--
155- Push forward a cover along an open embedding.
156- -/
157- @[simp]
158- def cover.of_open_embedding : ι → opens X := (λ i, oe.is_open_map.functor.obj (𝒰 i))
159-
160- /--
161- The isomorphism between `pi_opens` corresponding to an open embedding.
162- -/
163- @[simp]
164- def pi_opens.iso_of_open_embedding :
165- pi_opens (oe.is_open_map.functor.op ⋙ F) 𝒰 ≅ pi_opens F (cover.of_open_embedding oe 𝒰) :=
166- pi.map_iso (λ X, F.map_iso (iso.refl _))
167-
168- /--
169- The isomorphism between `pi_inters` corresponding to an open embedding.
170- -/
171- @[simp]
172- def pi_inters.iso_of_open_embedding :
173- pi_inters (oe.is_open_map.functor.op ⋙ F) 𝒰 ≅ pi_inters F (cover.of_open_embedding oe 𝒰) :=
174- pi.map_iso (λ X, F.map_iso
175- begin
176- dsimp [is_open_map.functor],
177- exact iso.op
178- { hom := hom_of_le (by
179- { simp only [oe.to_embedding.inj, set.image_inter],
180- exact le_rfl, }),
181- inv := hom_of_le (by
182- { simp only [oe.to_embedding.inj, set.image_inter],
183- exact le_rfl, }), },
184- end )
185-
186- /-- The isomorphism of sheaf condition diagrams corresponding to an open embedding. -/
187- def diagram.iso_of_open_embedding :
188- diagram (oe.is_open_map.functor.op ⋙ F) 𝒰 ≅ diagram F (cover.of_open_embedding oe 𝒰) :=
189- nat_iso.of_components
190- begin
191- rintro ⟨⟩,
192- exact pi_opens.iso_of_open_embedding oe 𝒰,
193- exact pi_inters.iso_of_open_embedding oe 𝒰
194- end
195- begin
196- rintro ⟨⟩ ⟨⟩ ⟨⟩,
197- { simp, },
198- { ext,
199- dsimp [left_res, is_open_map.functor],
200- simp only [limit.lift_π, cones.postcompose_obj_π, iso.op_hom, discrete.nat_iso_hom_app,
201- functor.map_iso_refl, functor.map_iso_hom, lim_map_π_assoc, limit.lift_map, fan.mk_π_app,
202- nat_trans.comp_app, category.assoc],
203- dsimp,
204- rw [category.id_comp, ←F.map_comp],
205- refl, },
206- { ext,
207- dsimp [right_res, is_open_map.functor],
208- simp only [limit.lift_π, cones.postcompose_obj_π, iso.op_hom, discrete.nat_iso_hom_app,
209- functor.map_iso_refl, functor.map_iso_hom, lim_map_π_assoc, limit.lift_map, fan.mk_π_app,
210- nat_trans.comp_app, category.assoc],
211- dsimp,
212- rw [category.id_comp, ←F.map_comp],
213- refl, },
214- { simp, },
215- end.
216-
217- /--
218- If `F : presheaf C X` is a presheaf, and `oe : U ⟶ X` is an open embedding,
219- then the sheaf condition fork for a cover `𝒰` in `U` for the composition of `oe` and `F` is
220- isomorphic to sheaf condition fork for `oe '' 𝒰`, precomposed with the isomorphism
221- of indexing diagrams `diagram.iso_of_open_embedding`.
222-
223- We use this to show that the restriction of sheaf along an open embedding is still a sheaf.
224- -/
225- def fork.iso_of_open_embedding :
226- fork (oe.is_open_map.functor.op ⋙ F) 𝒰 ≅
227- (cones.postcompose (diagram.iso_of_open_embedding oe 𝒰).inv).obj
228- (fork F (cover.of_open_embedding oe 𝒰)) :=
229- begin
230- fapply fork.ext,
231- { dsimp [is_open_map.functor],
232- exact
233- F.map_iso (iso.op
234- { hom := hom_of_le
235- (by simp only [coe_supr, supr_mk, le_def, subtype.coe_mk, set.le_eq_subset, set.image_Union]),
236- inv := hom_of_le
237- (by simp only [coe_supr, supr_mk, le_def, subtype.coe_mk, set.le_eq_subset,
238- set.image_Union]) }), },
239- { ext ⟨j⟩,
240- dunfold fork.ι, -- Ugh, it is unpleasant that we need this.
241- simp only [res, diagram.iso_of_open_embedding, discrete.nat_iso_inv_app, functor.map_iso_inv,
242- limit.lift_π, cones.postcompose_obj_π, functor.comp_map,
243- fork_π_app_walking_parallel_pair_zero, pi_opens.iso_of_open_embedding,
244- nat_iso.of_components_inv_app, functor.map_iso_refl, functor.op_map, limit.lift_map,
245- fan.mk_π_app, nat_trans.comp_app, quiver.hom.unop_op, category.assoc, lim_map_eq_lim_map],
246- dsimp,
247- rw [category.comp_id, ←F.map_comp],
248- refl, },
249- end
250-
251- end open_embedding
252-
253149end sheaf_condition_equalizer_products
254150
255151/--
0 commit comments