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 Mathlib.AlgebraicGeometry.Morphisms.UniversallyClosed |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.NonvanishingBaseChange |
| 3 | |
| 4 | /-! # Generation Neighborhood -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Section.GenerationNeighborhood.PolarizationEmbedding |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Sections generating one fiber generate the family over an actual |
| 11 | open neighborhood. Properness excludes their common zero locus. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.NonvanishingBaseChange |
| 16 | universe u v |
| 17 | variable {X S : Scheme.{u}} (p : X ⟶ S) [UniversallyClosed p] |
| 18 | variable {I : Type v} (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 19 | variable (s : I → (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ L.sheaf)) |
| 20 | |
| 21 | def sectionGenerationOpen : S.Opens := |
| 22 | ⟨(p '' (((⨆ i, AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)) : X.Opens) : Set X)ᶜ)ᶜ, |
| 23 | (p.isClosedMap _ (⨆ i, AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)).isOpen.isClosed_compl).isOpen_compl⟩ |
| 24 | |
| 25 | theorem mem_sectionGenerationOpen (b : S) : |
| 26 | b ∈ sectionGenerationOpen p L s ↔ |
| 27 | ∀ x : X, p x = b → ∃ i, x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i) := by |
| 28 | constructor |
| 29 | · intro hb x hx |
| 30 | apply TopologicalSpace.Opens.mem_iSup.mp |
| 31 | by_contra hn |
| 32 | exact hb ⟨x, hn, hx⟩ |
| 33 | · intro hb |
| 34 | rintro ⟨x, hx, hxb⟩ |
| 35 | exact hx (TopologicalSpace.Opens.mem_iSup.mpr (hb x hxb)) |
| 36 | |
| 37 | theorem sections_cover_over_generationOpen : |
| 38 | ∀ x : (p ⁻¹ᵁ sectionGenerationOpen p L s).toScheme, |
| 39 | ∃ i, x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing |
| 40 | (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (p ⁻¹ᵁ sectionGenerationOpen p L s).ι (s i)) := by |
| 41 | intro x |
| 42 | obtain ⟨i, hi⟩ := (mem_sectionGenerationOpen p L s (p x.val)).mp x.property x.val rfl |
| 43 | refine ⟨i, ?_⟩ |
| 44 | rw [AbelianModuli.HilbertConstruction.LineBundle.NonvanishingBaseChange.sectionNonvanishing_lineBundle_baseChange _ L] |
| 45 | exact hi |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Section.GenerationNeighborhood.PolarizationEmbedding |