theoremzero_stalk_kernel (L : LineBundleX) (s : GlobalSectionsXL.sheaf)
(U : X.affineOpens) (e : L.sheaf.restrict U.1.ι ≅ OU.1.toScheme)
(y : (SectionZeroIdeal.zeroIdeal L s).subscheme)
(hy : (SectionZeroIdeal.zeroIdeal L s).subschemeι y ∈U.1) :
RingHom.ker ((SectionZeroIdeal.zeroIdeal L s).subschemeι.stalkMap y).hom =
Ideal.span {(X.presheaf.germ U.1 _ hy)
(U.1.topIso.hom (coefficient e (restrictSection U.1.ι s)))} :=by
proof · 4
lines
rw [stalkMap_ker_eq_map_affine_ker _ U.1U.2 y hy,
(SectionZeroIdeal.zeroIdeal L s).ker_subschemeι_app U,
SectionZeroIdeal.zeroIdeal_on_frame L s U e,
Ideal.map_span, Set.image_singleton]
defzeroStalkQuotientEquiv (L : LineBundleX) (s : GlobalSectionsXL.sheaf)
(U : X.affineOpens) (e : L.sheaf.restrict U.1.ι ≅ OU.1.toScheme)
(y : (SectionZeroIdeal.zeroIdeal L s).subscheme)
(hy : (SectionZeroIdeal.zeroIdeal L s).subschemeι y ∈U.1) :
(X.presheaf.stalk ((SectionZeroIdeal.zeroIdeal L s).subschemeι y) ⧸
Ideal.span {sectionGerm L s U e _ hy}) ≃+*
(SectionZeroIdeal.zeroIdeal L s).subscheme.presheaf.stalk y :=
body · 3
lines
(Ideal.quotEquivOfEq (zero_stalk_kernel L s U e y hy).symm).trans
(RingHom.quotientKerEquivOfSurjective
((SectionZeroIdeal.zeroIdeal L s).subschemeι.stalkMap_surjective y))
theoremsectionGerm_ne_zero [IsIntegralX]
(L : LineBundleX) (s : GlobalSectionsXL.sheaf) (hs : s ≠0)
(U : X.affineOpens) (e : L.sheaf.restrict U.1.ι ≅ OU.1.toScheme)
(x : X) (hx : x ∈U.1) : sectionGerm L s U e x hx ≠0:=by
proof · 10
lines
let : NonemptyU.1.toScheme := ⟨⟨x,hx⟩⟩
intro h
havehg : U.1.topIso.hom (coefficient e (restrictSection U.1.ι s)) = 0:=
(map_eq_zero_iff _ (germ_injective_of_isIntegral X x hx)).mp h
havehc : coefficient e (restrictSection U.1.ι s) = 0:=
(map_eq_zero_iff _ (ConcreteCategory.bijective_of_isIso U.1.topIso.hom).injective).mp hg
apply hs
apply L.restricted_coefficient_injective U.1.ι e
exact hc.trans ((congrArg (coefficient e)
(restrictSection_zero (M:=L.sheaf) U.1.ι)).trans (coefficient_zero e)).symm
theoremzero_stalk_length_eq_order [IsIntegralX]
(L : LineBundleX) (s : GlobalSectionsXL.sheaf) (hs : s ≠0)
(U : X.affineOpens) (e : L.sheaf.restrict U.1.ι ≅ OU.1.toScheme)
(y : (SectionZeroIdeal.zeroIdeal L s).subscheme)
(hy : (SectionZeroIdeal.zeroIdeal L s).subschemeι y ∈U.1)
[IsDiscreteValuationRing (X.presheaf.stalk ((SectionZeroIdeal.zeroIdeal L s).subschemeι y))] :
Module.length ((SectionZeroIdeal.zeroIdeal L s).subscheme.presheaf.stalk y)
((SectionZeroIdeal.zeroIdeal L s).subscheme.presheaf.stalk y) =
IsDiscreteValuationRing.addVal
(X.presheaf.stalk ((SectionZeroIdeal.zeroIdeal L s).subschemeι y))
(sectionGerm L s U e _ hy) :=by
proof · 8
lines
letA:=X.presheaf.stalk ((SectionZeroIdeal.zeroIdeal L s).subschemeι y)
letc : A:= sectionGerm L s U e _ hy
have hlen := intrinsic_length_eq_of_ringEquiv (zeroStalkQuotientEquiv L s U e y hy)
havehsc : Module.length A (A ⧸ Ideal.span {c}) =
Module.length (A ⧸ Ideal.span {c}) (A ⧸ Ideal.span {c}) :=Module.length_eq_of_surjective (M:=A ⧸ Ideal.span {c}) Ideal.Quotient.mk_surjective
exact hlen.symm.trans (hsc.symm.trans
(CurveLocalOrder.length_quotient_span_eq_addVal (sectionGerm_ne_zero L s hs U e _ hy)))