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.Closed.ConditionIdeals |
| 2 | |
| 3 | /-! # Immersion Factorization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.ImmersionFactorization |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The defining ideal of a closed immersion detects its unique factorization property. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem closedImmersion_ideal_factorization {S : Scheme.{u}} {Z M T : Over S} |
| 16 | (j : Z ⟶ M) [IsClosedImmersion j.left] (f : T ⟶ M) : |
| 17 | j.left.ker.comap f.left = ⊥ ↔ ∃! g : T ⟶ Z, g ≫ j = f := by |
| 18 | rw [ConditionIdeals.ideal_comap_eq_bot_iff] |
| 19 | constructor |
| 20 | · intro h |
| 21 | let l := IsClosedImmersion.lift j.left f.left h |
| 22 | have hl : l ≫ j.left = f.left := IsClosedImmersion.lift_fac _ _ h |
| 23 | let g : T ⟶ Z := Over.homMk l (by |
| 24 | rw [← j.w, ← Category.assoc, hl] |
| 25 | exact f.w) |
| 26 | have hg : g ≫ j = f := Over.OverMorphism.ext hl |
| 27 | have : Mono j := Over.mono_of_mono_left j |
| 28 | exact ⟨g, hg, fun g' hg' => (cancel_mono j).mp (hg'.trans hg.symm)⟩ |
| 29 | · rintro ⟨g, hg, _⟩ |
| 30 | have hleft : g.left ≫ j.left = f.left := congrArg Over.Hom.left hg |
| 31 | rw [← hleft] |
| 32 | exact Scheme.Hom.le_ker_comp _ _ |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.ImmersionFactorization |