lemmafinite_closed_support_restriction_surjective
(F : X.SheafAddCommGrpCat.{0}) (S : SetX) (hfin : S.Finite)
(hclosed : ∀ x ∈S, IsClosed ({x} : SetX))
(hsupp : ∀ x ∉S, Subsingleton (F.presheaf.stalk x))
{UV : OpensX} (i : V⟶U) : Function.Surjective (F.obj.map i.op) :=by
proof · 39
lines
classical
intro s
havehcS : IsClosed (S∩V) :=by
rw [←Set.biUnion_of_singleton (S∩ (V : SetX))]
exact (hfin.subset Set.inter_subset_left).isClosed_biUnion
(fun x hx => hclosed x hx.1)
letW : OpensX:=U ⊓ ⟨(S∩V)ᶜ,hcS.isOpen_compl⟩
letD : Bool→OpensX:=fun b =>if b thenVelseWlete : ∀ b, D b ⟶U:=fun b => homOfLE (by
cases b
· exact inf_le_left
· exact i.le)
havehcover : U≤ ⨆ b, D b :=by
intro x hx
by_cases hv : x ∈V
· exact Opens.mem_iSup.mpr ⟨true,hv⟩
· exact Opens.mem_iSup.mpr ⟨false,hx,fun h => hv h.2⟩
lett : ∀ b, F.obj.obj (op (D b)) :=fun b =>match b with
| true=> s
| false=>0havehz : ∀ b c, b ≠ c →Subsingleton (F.obj.obj (op (D b ⊓ D c))) :=by
intro b c hbc
apply sections_subsingleton_of_stalks
intro x hx
apply hsupp
intro hs
cases b <;> cases c
· exact hbc rfl
· exact hx.1.2 ⟨hs,hx.2⟩
· exact hx.2.2 ⟨hs,hx.1⟩
· exact hbc rfl
havehcomp : TopCat.Presheaf.IsCompatibleF.obj D t :=by
intro b c
by_cases he : b = c
· subst c; rfl
· let:= hz b c he
exact Subsingleton.elim _ _
obtain ⟨a,ha,_⟩ :=F.existsUnique_gluing' DU e hcover t hcomp
exact ⟨a,ha true⟩