theoremmem_zero_support_iff_not_isUnit (L : LineBundleX) (s : GlobalSectionsXL.sheaf)
(x : X) : x ∈ (SectionZeroIdeal.zeroIdeal L s).support ↔¬IsUnit (coefficientGermAt L s x) :=by
proof · 6
lines
letF:= affineFrameAt L x
rw [Scheme.IdealSheafData.mem_support_iff_of_mem (U:=F.openSet) F.mem,
SectionZeroIdeal.zeroIdeal_on_frame L s F.openSet F.frame,
X.zeroLocus_span, X.zeroLocus_singleton]
apply not_congr
exact X.toRingedSpace.mem_basicOpen _ x F.mem
defzeroPointEmbedding (L : LineBundleX) (s : GlobalSectionsXL.sheaf) (hs : s ≠0) :
(SectionZeroIdeal.zeroIdeal L s).subscheme ↪ CurvePointXwhere
body · 3
lines
toFun y := ⟨(SectionZeroIdeal.zeroIdeal L s).subschemeι y, zeroPoint_ne_generic L s hs y⟩
inj' _y _z h := (SectionZeroIdeal.zeroIdeal L s).subschemeι.isEmbedding.injective
(congrArg (funq : CurvePointX=> (q : X)) h)
theoremorderAt_finite_support
(p : X⟶Spec (CommRingCat.of ℂ)) [IsProper p] (hd : topologicalKrullDim X≤1)
(hDVR : ∀x : X, x ≠ genericPoint X→IsDiscreteValuationRing (X.presheaf.stalk x))
(L : LineBundleX) (s : GlobalSectionsXL.sheaf) (hs : s ≠0) :
(Function.support (orderAt hDVR L s)).Finite:=by
proof · 11
lines
let : Finite (SectionZeroIdeal.zeroIdeal L s).subscheme :=
finite_subscheme_of_curve p hd _ (SectionZeroIdeal.zeroIdeal_ne_bot L s hs)
apply (Set.finite_range (zeroPointEmbedding L s hs)).subset
intro x hx
havehmem : x.1∈ (SectionZeroIdeal.zeroIdeal L s).support :=by
by_contra hn
exact hx (orderAt_eq_zero_of_not_mem hDVR L s x hn)
change x.1∈ ((SectionZeroIdeal.zeroIdeal L s).support : SetX) at hmem
rw [← (SectionZeroIdeal.zeroIdeal L s).range_subschemeι] at hmem
obtain ⟨y, hy⟩ := hmem
exact ⟨y, Subtype.ext hy⟩
@[simp]theoremdivisor_apply
(p : X⟶Spec (CommRingCat.of ℂ)) [IsProper p] (hd : topologicalKrullDim X≤1)
(hDVR : ∀x : X, x ≠ genericPoint X→IsDiscreteValuationRing (X.presheaf.stalk x))
(L : LineBundleX) (s : GlobalSectionsXL.sheaf) (hs : s ≠0) (x : CurvePointX) :
divisor p hd hDVR L s hs x = orderAt hDVR L s x := rfl
theoremdivisor_degree_eq_euler_difference
(p : X⟶Spec (CommRingCat.of ℂ)) [IsProper p] (hd : topologicalKrullDim X≤1)
(hDVR : ∀x : X, x ≠ genericPoint X→IsDiscreteValuationRing (X.presheaf.stalk x))
(L : LineBundleX) (s : GlobalSectionsXL.sheaf) (hs : s ≠0)
(hfiniteO : ∀ n ≤1, letI:=Module.compHom (cohomology (structureSheaf X) n) (baseScalars p)
FiniteDimensionalℂ (cohomology (structureSheaf X) n))
(hfiniteL : ∀ n ≤1, letI:=Module.compHom (cohomology L.sheaf n) (baseScalars p)
FiniteDimensionalℂ (cohomology L.sheaf n))
[Subsingleton (cohomology (structureSheaf X) 2)] :
(divisor p hd hDVR L s hs).sum (fun _ n => (n : ℤ)) =
eulerCharacteristic p 1L.sheaf - eulerCharacteristic p 1 (structureSheaf X) :=by
proof · 24
lines
classical
letI:=SectionZeroIdeal.zeroIdeal L s
let : FiniteI.subscheme := finite_subscheme_of_curve p hd I
(SectionZeroIdeal.zeroIdeal_ne_bot L s hs)
let : FintypeI.subscheme :=Fintype.ofFinite _
letD:= divisor p hd hDVR L s hs
letT:=Finset.univ.map (zeroPointEmbedding L s hs)
havehDT : D.support ⊆T:=by
intro x hx
havehn : orderAt hDVR L s x ≠0:=by simpa [D] usingFinsupp.mem_support_iff.mp hx
havehm : x.1∈I.support :=by
by_contra hh
exact hn (orderAt_eq_zero_of_not_mem hDVR L s x hh)
change x.1∈ (I.support : SetX) at hm
rw [←I.range_subschemeι] at hm
obtain ⟨y, hy⟩ := hm
exact Finset.mem_map.mpr ⟨y, Finset.mem_univ y, Subtype.ext hy⟩
rw [euler_difference_eq_sum_zero_orders p hd L s hs hDVR hfiniteO hfiniteL]
change D.sum (fun _ n => (n : ℤ)) = _
rw [D.sum_of_support_subset hDT (fun _ n => (n : ℤ)) (by simp)]
rw [Finset.sum_map]
apply Finset.sum_congr rfl
intro y _
rfl