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.Finite.GlobalModuleGenerators |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.EpimorphismCover |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.Frames |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Power.ProjectiveEmbeddings |
| 5 | |
| 6 | /-! # Cover Global Generation -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual nonvanishing section covers give epimorphic section families, including every positive tensor power and every retained projective embedding power. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | |
| 16 | theorem Section.CoverGlobalGeneration.sectionFamily_epi_of_nonvanishing_cover |
| 17 | {X : Scheme.{u}} {ι : Type u} {M : X.Modules} |
| 18 | (s : ι → (Line.Bundles.structureModule X ⟶ M)) |
| 19 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) : Epi (Sigma.desc s) := by |
| 20 | apply Module.EpimorphismCover.module_epi_of_restrict_cover (fun i => Ample.LineBundles.sectionNonvanishing (s i)) hs |
| 21 | intro i |
| 22 | let F := Scheme.Modules.restrictFunctor (Ample.LineBundles.sectionNonvanishing (s i)).ι |
| 23 | have : IsIso (F.map (s i)) := |
| 24 | (Power.Nonvanishing.isIso_restrict_map_iff (Ample.LineBundles.sectionNonvanishing (s i)).ι (s i)).mpr |
| 25 | ((Section.Nonvanishing.isIso_pullbackSection_iff (Ample.LineBundles.sectionNonvanishing (s i)).ι (s i)).mp inferInstance) |
| 26 | constructor |
| 27 | intro Z g h he |
| 28 | change F.map (Sigma.desc s) ≫ g = F.map (Sigma.desc s) ≫ h at he |
| 29 | apply (cancel_epi (F.map (s i))).mp |
| 30 | have he' := congrArg (fun q => F.map (Sigma.ι (fun _ : ι => Line.Bundles.structureModule X) i) ≫ q) he |
| 31 | simpa only [← Category.assoc, ← CategoryTheory.Functor.map_comp, Sigma.ι_comp_desc] using he' |
| 32 | |
| 33 | theorem Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators.of_section_cover |
| 34 | {X : Scheme.{u}} {ι : Type u} [Finite ι] {M : X.Modules} |
| 35 | (s : ι → (Line.Bundles.structureModule X ⟶ M)) |
| 36 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) : HilbertConstruction.Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators M := |
| 37 | ⟨ι, inferInstance, s, Section.CoverGlobalGeneration.sectionFamily_epi_of_nonvanishing_cover s hs⟩ |
| 38 | |
| 39 | theorem Section.CoverGlobalGeneration.lineBundle_tensorPower_finiteGlobalGenerators_of_cover |
| 40 | {X : Scheme.{u}} {ι : Type u} [Finite ι] (L : Line.Bundles.LineBundle X) |
| 41 | (s : ι → (Line.Bundles.structureModule X ⟶ L.sheaf)) |
| 42 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) (d : ℕ) (hd : 0 < d) : |
| 43 | HilbertConstruction.Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators (L.tensorPower d).sheaf := by |
| 44 | apply HilbertConstruction.Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators.of_section_cover (fun i => TensorPower.Maps.tensorPowerSection (s i) d) |
| 45 | intro x |
| 46 | obtain ⟨i, hi⟩ := hs x |
| 47 | exact ⟨i, (Section.PowerLocus.sectionNonvanishing_tensorPowerSection (s i) d hd).symm ▸ hi⟩ |
| 48 | |
| 49 | theorem Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.power_hasFiniteGlobalGenerators |
| 50 | {X S : Scheme.{u}} {L : Line.Bundles.LineBundle X} {f : X ⟶ S} (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L f) : |
| 51 | HilbertConstruction.Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators E.power.sheaf := by |
| 52 | let s : ULift.{u} (Fin (E.dimension + 1)) → (Line.Bundles.structureModule X ⟶ E.power.sheaf) := |
| 53 | fun i => E.sections i.down |
| 54 | apply HilbertConstruction.Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators.of_section_cover s |
| 55 | intro x |
| 56 | obtain ⟨i, hi⟩ := E.covers x |
| 57 | exact ⟨⟨i⟩, hi⟩ |
| 58 | |
| 59 | theorem Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.degreePower_hasFiniteGlobalGenerators |
| 60 | {X S : Scheme.{u}} {L : Line.Bundles.LineBundle X} {f : X ⟶ S} (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L f) : |
| 61 | HilbertConstruction.Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators (L.tensorPower E.degree).sheaf := |
| 62 | E.power_hasFiniteGlobalGenerators.of_iso |
| 63 | (E.isPower.unique (L.tensorPower_isTensorPower E.degree)).some |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |