Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProperFlat.FiberSectionGeneration |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.PowerSectionsAndVanishing |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.PowerBaseChange |
| 4 | |
| 5 | /-! # Ample Fiber Power Sections -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProperFlat.AmpleFiberPowerSections |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An ample residue fiber of a proper flat family has a positive power covered by actual global sections of the original family. Fiberwise ampleness gives such a section at every point. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | |
| 15 | theorem properFlat_power_sections_cover_ample_fiber |
| 16 | {X S : Scheme.{u}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 17 | (f : X ⟶ S) [IsProper f] [Flat f] (L : Line.Bundles.LineBundle X) (x : S) |
| 18 | (hL : (L.pullback (f.fiberι x)).IsAmple) : |
| 19 | ∃ (d : ℕ) (_ : 0 < d), ∀ y : f.fiber x, |
| 20 | ∃ s : Line.Bundles.structureModule X ⟶ (L.tensorPower d).sheaf, |
| 21 | f.fiberι x y ∈ Ample.LineBundles.sectionNonvanishing s := by |
| 22 | have hstable : MorphismProperty.IsStableUnderBaseChange |
| 23 | (fun {Y Z : Scheme.{u}} (p : Y ⟶ Z) => IsProper p) := IsProper.isStableUnderBaseChange |
| 24 | have hproper : IsProper (CategoryTheory.Limits.pullback.snd f (S.fromSpecResidueField x)) := |
| 25 | hstable.of_isPullback (CategoryTheory.IsPullback.of_hasPullback f |
| 26 | (S.fromSpecResidueField x)) (inferInstanceAs (IsProper f)) |
| 27 | have : IsProper (f.fiberToSpecResidueField x) := hproper |
| 28 | obtain ⟨d, hd, n, t, ht, hv⟩ := Ample.PowerSectionsAndVanishing.ample_exists_power_sections_and_vanishing |
| 29 | (f.fiberToSpecResidueField x) (L.pullback (f.fiberι x)) hL |
| 30 | let e := L.powerBaseChangeIso (f.fiberι x) d |
| 31 | have : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H ((L.pullback (f.fiberι x)).tensorPower d).sheaf 1) := |
| 32 | hv 1 (by decide) |
| 33 | have hH : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H ((L.tensorPower d).pullback (f.fiberι x)).sheaf 1) := |
| 34 | (ConcreteCategory.bijective_of_isIso |
| 35 | ((Zariski.Cohomology.ZariskiCohomology.zariskiFunctor (f.fiber x) 1).map e.hom)).injective.subsingleton |
| 36 | refine ⟨d, hd, FiberSectionGeneration.properFlat_global_sections_cover_fiber f (L.tensorPower d) x hH ?_⟩ |
| 37 | intro y |
| 38 | obtain ⟨i, hi⟩ := ht y |
| 39 | exact ⟨t i ≫ e.inv, (Ample.Powers.sectionNonvanishing_comp_iso (t i) e.symm).symm ▸ hi⟩ |
| 40 | |
| 41 | theorem properFlat_pointwise_power_sections_of_ample_fibers |
| 42 | {X S : Scheme.{u}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 43 | (f : X ⟶ S) [IsProper f] [Flat f] (L : Line.Bundles.LineBundle X) |
| 44 | (hL : ∀ x : S, (L.pullback (f.fiberι x)).IsAmple) : |
| 45 | ∀ y : X, ∃ (d : ℕ) (_ : 0 < d) (s : Line.Bundles.structureModule X ⟶ (L.tensorPower d).sheaf), |
| 46 | y ∈ Ample.LineBundles.sectionNonvanishing s := by |
| 47 | intro y |
| 48 | have hr : y ∈ Set.range (f.fiberι (f y)) := by |
| 49 | rw [f.range_fiberι (f y)] |
| 50 | rfl |
| 51 | obtain ⟨z, hz⟩ := hr |
| 52 | obtain ⟨d, hd, hs⟩ := properFlat_power_sections_cover_ample_fiber f L (f y) (hL (f y)) |
| 53 | obtain ⟨s, hzs⟩ := hs z |
| 54 | exact ⟨d, hd, s, (congrArg (fun w => w ∈ Ample.LineBundles.sectionNonvanishing s) hz).mp hzs⟩ |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProperFlat.AmpleFiberPowerSections |