Download data/lean/OAI/AlgebraicGeometry/AbelianModuli/HilbertConstruction/Common/GeneratingPower.lean from introvoyz045/math: direct link, hf CLI and curl.
theoremLine.Bundles.LineBundle.common_generating_power_of_finite_cover
{X : Scheme.{u}} (L : Line.Bundles.LineBundleX) {k : ℕ} (n : Fin k →ℕ) (hn : ∀ i, 0 < n i)
(s : ∀ i, Line.Bundles.structureModule X⟶ (L.tensorPower (n i)).sheaf)
(hcover : ∀x : X, ∃ i, x ∈Ample.LineBundles.sectionNonvanishing (s i)) :
∃ (d : ℕ) (_ : 0 < d) (t : Fin k → (Line.Bundles.structureModule X⟶ (L.tensorPower d).sheaf)),
∀x : X, ∃ i, x ∈Ample.LineBundles.sectionNonvanishing (t i) :=by
proof · 22
lines
classical
let d :=∏ i, n i
havehd : 0 < d :=Finset.prod_pos (fun i _ => hn i)
have hdiv (i : Fin k) : n i ∣ d :=Finset.dvd_prod_of_mem n (Finset.mem_univ i)
letq : Fin k →ℕ:=fun i => d / n i
have hq (i : Fin k) : q i * n i = d :=Nat.div_mul_cancel (hdiv i)
have hqpos (i : Fin k) : 0 < q i :=by
apply Nat.pos_of_ne_zero
intro hz
havehzero : d = 0:= (hq i).symm.trans (by rw [hz, zero_mul])
exact (Nat.ne_of_gt hd) hzero
let e (i : Fin k) : ((L.tensorPower (n i)).tensorPower (q i)).sheaf ≅ (L.tensorPower d).sheaf :=
(L.tensorPowerComposeIso (q i) (n i)).symm ≪≫
eqToIso (congrArg (fun a => (L.tensorPower a).sheaf) (hq i))
let t (i : Fin k) : Line.Bundles.structureModule X⟶ (L.tensorPower d).sheaf :=TensorPower.Maps.tensorPowerSection (s i) (q i) ≫ (e i).hom
have ht (i : Fin k) : Ample.LineBundles.sectionNonvanishing (t i) = Ample.LineBundles.sectionNonvanishing (s i) :=
(Ample.Powers.sectionNonvanishing_comp_iso _ (e i)).trans
(Section.PowerLocus.sectionNonvanishing_tensorPowerSection (L:=L.tensorPower (n i)) (s i) (q i) (hqpos i))
refine ⟨d, hd, t, fun x => ?_⟩
obtain ⟨i, hi⟩ := hcover x
exact ⟨i, (ht i).symm ▸ hi⟩