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.SheafCohomology.Projective.EpiSectionFamily |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.LineBundleSectionCover |
| 3 | |
| 4 | /-! # Finite Global Generators -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.FiniteGlobalGenerators |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite global generators of actual module sheaves, and their elementary transport operations. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | def HasFiniteGlobalGenerators {X : Scheme.{u}} (M : X.Modules) : Prop := |
| 19 | ∃ (ι : Type) (_ : Fintype ι) (s : ι → (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M)), Epi (Sigma.desc s) |
| 20 | |
| 21 | theorem HasFiniteGlobalGenerators.of_epi {X : Scheme.{u}} {M N : X.Modules} |
| 22 | (hM : HasFiniteGlobalGenerators M) (f : M ⟶ N) [Epi f] : HasFiniteGlobalGenerators N := by |
| 23 | obtain ⟨ι, hι, s, hs⟩ := hM |
| 24 | have := hι |
| 25 | have := hs |
| 26 | refine ⟨ι, hι, fun i => s i ≫ f, ?_⟩ |
| 27 | have h : Sigma.desc (fun i => s i ≫ f) = Sigma.desc s ≫ f := by ext; simp |
| 28 | rw [h] |
| 29 | infer_instance |
| 30 | |
| 31 | theorem HasFiniteGlobalGenerators.of_iso {X : Scheme.{u}} {M N : X.Modules} |
| 32 | (hM : HasFiniteGlobalGenerators M) (e : M ≅ N) : HasFiniteGlobalGenerators N := |
| 33 | hM.of_epi e.hom |
| 34 | |
| 35 | theorem HasFiniteGlobalGenerators.pullback {X Y : Scheme.{u}} {M : X.Modules} |
| 36 | (hM : HasFiniteGlobalGenerators M) (f : Y ⟶ X) : |
| 37 | HasFiniteGlobalGenerators ((Scheme.Modules.pullback f).obj M) := by |
| 38 | obtain ⟨ι, hι, s, hs⟩ := hM |
| 39 | have := hι |
| 40 | have := hs |
| 41 | let F := Scheme.Modules.pullback f |
| 42 | have : Epi (Sigma.desc (fun i => F.map (s i))) := |
| 43 | EpiSectionFamily.epi_sigmaDesc_map F (fun _ : ι => AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) s |
| 44 | refine ⟨ι, hι, fun i => AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f (s i), ?_⟩ |
| 45 | exact EpiSectionFamily.epi_sigmaDesc_precomp_iso (fun _ : ι => AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) |
| 46 | (fun _ : ι => F.obj (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)) |
| 47 | (fun _ => (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).symm) (fun i => F.map (s i)) |
| 48 | |
| 49 | theorem HasFiniteGlobalGenerators.coproduct {X : Scheme.{u}} {ι : Type} [Fintype ι] |
| 50 | (M : ι → X.Modules) (hM : ∀ i, HasFiniteGlobalGenerators (M i)) : |
| 51 | HasFiniteGlobalGenerators (∐ M) := by |
| 52 | classical |
| 53 | choose κ hκ s hs using hM |
| 54 | let (i : ι) : Fintype (κ i) := hκ i |
| 55 | let (i : ι) : Epi (Sigma.desc (s i)) := hs i |
| 56 | let t : (Σ i, κ i) → (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ ∐ M) := fun i => s i.1 i.2 ≫ Sigma.ι M i.1 |
| 57 | refine ⟨Σ i, κ i, inferInstance, t, ?_⟩ |
| 58 | constructor |
| 59 | intro Z g h heq |
| 60 | apply Sigma.hom_ext |
| 61 | intro i |
| 62 | apply (cancel_epi (Sigma.desc (s i))).mp |
| 63 | apply Sigma.hom_ext |
| 64 | intro j |
| 65 | have h := congrArg (fun q => Sigma.ι (fun _ : Σ i, κ i => AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) ⟨i, j⟩ ≫ q) heq |
| 66 | simpa only [Category.assoc, Sigma.ι_comp_desc_assoc, t] using h |
| 67 | |
| 68 | theorem HasFiniteGlobalGenerators.section_cover {X : Scheme.{u}} (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 69 | (hL : HasFiniteGlobalGenerators L.sheaf) : |
| 70 | ∃ (ι : Type) (_ : Fintype ι) (s : ι → (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ L.sheaf)), |
| 71 | ∀ x : X, ∃ i, x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i) := by |
| 72 | obtain ⟨ι, hι, s, hs⟩ := hL |
| 73 | have := hι |
| 74 | have := hs |
| 75 | exact ⟨ι, hι, s, LineBundleSectionCover.lineBundle_epi_sections_cover L s⟩ |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.FiniteGlobalGenerators |