theoremcurve_exists_finite_pencil [IsIntegralX] [IsNoetherianX]
(p : X⟶Spec (CommRingCat.of K)) [IsProper p]
(hd : topologicalKrullDim X≤1) {M : X.Modules}
(s : σ → (OX⟶M)) (hs : (⨆ i, SectionOpens.isoOpen (s i)) = ⊤)
(i : σ) (hne : (SectionOpens.isoOpen (s i) : SetX).Nonempty)
(hproper : SectionOpens.isoOpen (s i) ≠ ⊤) :
∃t : Bool→ (OX⟶M), ∃ht : (⨆ b, SectionOpens.isoOpen (t b)) = ⊤,
t false = s i ∧IsFinite (sectionsMorphism
(p.appTop.hom.comp (Scheme.ΓSpecIso (CommRingCat.of K)).inv.hom) t ht) :=by
proof · 48
lines
classical
let k := p.appTop.hom.comp (Scheme.ΓSpecIso (CommRingCat.of K)).inv.hom
letU:=SectionOpens.isoOpen (s i)
letZ : SetX:= (U : SetX)ᶜ
havehz : Z.Finite:= proper_closed_finite_of_dimension_one hd U.isOpen.isClosed_compl (by
intro he
obtain ⟨x,hx⟩ := hne
have : x ∈Z:= he ▸ Set.mem_univ x
exact this hx)
let : FiniteZ:= hz.to_subtype
obtain ⟨v,hv⟩ := exists_section_avoiding k s hs ((↑) : Z→X)
lett : Bool→ (OX⟶M) :=fun b =>if b then sectionCombination k s v else s i
haveht : (⨆ b, SectionOpens.isoOpen (t b)) = ⊤ :=by
apply top_unique
intro x hx
by_cases h : x ∈U
· apply Opens.mem_iSup.mpr
exact ⟨false, h⟩
· apply Opens.mem_iSup.mpr
exact ⟨true, hv ⟨x,h⟩⟩
let f := sectionsMorphism k t ht
havehf : IsFinite f :=bylet : IsProper (X.toSpecΓ ≫ Spec.map (CommRingCat.ofHom k)) :=by
dsimp only [k]
rw [toSpec_scalarMap]
infer_instance
let : IsProper f := sectionsMorphism_proper k t ht
apply proper_curve_nonconstant_isFinite f hd
obtain ⟨a,ha⟩ := hne
obtain ⟨b,hb⟩ : ∃b : X, b ∉U:=by
by_contra h
apply hproper
apply top_unique
intro x hx
exact Classical.not_not.mp (fun hx => h ⟨x,hx⟩)
refine ⟨a,b,fun he => ?_⟩
havehp : f ⁻¹ᵁ Proj.basicOpen (PolyGradeKBool) (MvPolynomial.Xfalse) = U:=
sectionsMorphism_preimage k t ht falsehaveha' : a ∈ f ⁻¹ᵁ Proj.basicOpen (PolyGradeKBool) (MvPolynomial.Xfalse) :=by
rw [hp]
exact ha
havehb' : b ∈U:=by
rw [← hp]
change f b ∈Proj.basicOpen (PolyGradeKBool) (MvPolynomial.Xfalse)
rw [← he]
exact ha'
exact hb hb'
exact ⟨t,ht,rfl,hf⟩