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.HilbertScheme.Presentations.Projective.Flatness |
| 2 | |
| 3 | /-! # Projective Charts -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Flat.ProjectiveCharts.GradedHilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Flatness of actual projective families gives flatness on all homogeneous affine charts. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.HomogeneousLocalization |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] |
| 16 | variable (𝒜 : ℕ → Submodule R A) [GradedAlgebra 𝒜] |
| 17 | |
| 18 | theorem projectiveStructureMap_away_homogeneous {d : ℕ} (hd : 0 < d) |
| 19 | {s : A} (hs : s ∈ 𝒜 d) : |
| 20 | Proj.awayι 𝒜 s hs hd ≫ Projective.Flatness.GradedHilbert.projectiveStructureMap 𝒜 = |
| 21 | Spec.map (CommRingCat.ofHom (algebraMap R (HomogeneousLocalization.Away 𝒜 s))) := by |
| 22 | rw [Projective.Flatness.GradedHilbert.projectiveStructureMap, ← Category.assoc, Proj.awayι_toSpecZero, |
| 23 | ← Spec.map_comp, Homogeneous.LocalizationFlat.GradedHilbert.homogeneousLocalization_algebraMap] |
| 24 | rfl |
| 25 | |
| 26 | theorem homogeneousChart_flat_of_projective_flat [Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap 𝒜)] |
| 27 | {d : ℕ} (hd : 0 < d) {s : A} (hs : s ∈ 𝒜 d) : |
| 28 | Module.Flat R (HomogeneousLocalization.Away 𝒜 s) := by |
| 29 | have h : Flat (Proj.awayι 𝒜 s hs hd ≫ Projective.Flatness.GradedHilbert.projectiveStructureMap 𝒜) := |
| 30 | Flat.comp _ _ |
| 31 | rw [projectiveStructureMap_away_homogeneous 𝒜 hd hs, Flat.SpecMap_iff] at h |
| 32 | exact RingHom.flat_algebraMap_iff.mp h |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Flat.ProjectiveCharts.GradedHilbert |