lemmamapSection_naturality (f : P⟶Q) {UV : X.Opens} (h : U≤V)
(x : OpenSectionsPV) :
mapSection f U (openRestriction P h x) = openRestriction Q h (mapSection f V x) :=
proof · 1
line
CategoryTheory.congr_fun (f.mapPresheaf.naturality (homOfLE h).op) x
@[simp]lemmamapSection_comp {R : X.Modules} (f : P⟶Q) (g : Q⟶R)
(U : X.Opens) (x : OpenSectionsPU) :
mapSection (f ≫ g) U x = mapSection g U (mapSection f U x) := rfl
lemmamapSection_congr (f : P⟶Q) {UV : X.Opens} (h : U = V)
(x : OpenSectionsPU) :
openSectionsCongr Q h (mapSection f U x) = mapSection f V (openSectionsCongr P h x) :=by
theoremglue_after_map (f : P⟶Q) {ι : Type*} (U : ι →X.Opens)
(hcover : (⨆ i, U i) = ⊤) (y : ∀ i, OpenSectionsP (U i))
(hy : ∀ i j,
mapSection f (U i ⊓ U j) (openRestriction P inf_le_left (y i)) =
mapSection f (U i ⊓ U j) (openRestriction P inf_le_right (y j))) :
∃z : OpenSectionsQ ⊤,
∀ i, openRestriction Q (showU i ≤ ⊤ from le_top) z = mapSection f (U i) (y i) :=by
proof · 10
lines
have h :=TopCat.Sheaf.existsUnique_gluing' ⟨_, Q.isSheaf⟩ U ⊤
(fun i => homOfLE (showU i ≤ ⊤ from le_top)) (by rw [hcover])
(fun i => mapSection f (U i) (y i)) ?_
· obtain ⟨z, hz, _⟩ := h
exact ⟨z, hz⟩
· intro i j
change openRestriction Q (showU i ⊓ U j ≤U i from inf_le_left) (mapSection f (U i) (y i)) =
openRestriction Q (showU i ⊓ U j ≤U j from inf_le_right) (mapSection f (U j) (y j))
rw [← mapSection_naturality, ← mapSection_naturality]
exact hy i j
theoremrestriction_of_glued_map (f : P⟶Q) {ι : Type*} (U : ι →X.Opens)
(hcover : (⨆ i, U i) = ⊤) (D : X.Opens) (x : OpenSectionsPD)
(y : ∀ i, OpenSectionsP (U i))
(hy : ∀ i, openRestriction P (showU i ⊓ D≤U i from inf_le_left) (y i) =
openRestriction P inf_le_right x)
(z : OpenSectionsQ ⊤)
(hz : ∀ i, openRestriction Q (showU i ≤ ⊤ from le_top) z = mapSection f (U i) (y i)) :
openRestriction Q (showD≤ ⊤ from le_top) z = mapSection f D x :=by
proof · 8
lines
apply TopCat.Sheaf.eq_of_locally_eq' ⟨_, Q.isSheaf⟩ (fun i =>U i ⊓ D) D
(fun i => homOfLE inf_le_right) (by rw [← iSup_inf_eq, hcover, top_inf_eq])
intro i
change openRestriction Q inf_le_right (openRestriction Q (showD≤ ⊤ from le_top) z) =
openRestriction Q inf_le_right (mapSection f D x)
rw [openRestriction_comp_apply,
← openRestriction_comp_apply Q (showU i ⊓ D≤U i from inf_le_left) le_top z,
hz i, ← mapSection_naturality, hy i, mapSection_naturality]
theoremoverlap_difference_zero {ι : Type*} (U : ι →X.Opens) (D : X.Opens)
(x : OpenSectionsPD) (y : ∀ i, OpenSectionsP (U i))
(hy : ∀ i, openRestriction P (showU i ⊓ D≤U i from inf_le_left) (y i) =
openRestriction P inf_le_right x) (i j : ι) :
openRestriction P (show (U i ⊓ U j) ⊓ D≤U i ⊓ U j from inf_le_left)
(openRestriction P inf_le_left (y i) - openRestriction P inf_le_right (y j)) = 0:=by
proof · 7
lines
rw [map_sub, openRestriction_comp_apply, openRestriction_comp_apply]
have hi := congrArg (openRestriction P
(show (U i ⊓ U j) ⊓ D≤U i ⊓ Dfrom inf_le_inf inf_le_left le_rfl)) (hy i)
have hj := congrArg (openRestriction P
(show (U i ⊓ U j) ⊓ D≤U j ⊓ Dfrom inf_le_inf inf_le_right le_rfl)) (hy j)
simp only [openRestriction_comp_apply] at hi hj
rw [hi, hj, sub_self]