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.ProperProducts |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.Products |
| 3 | |
| 4 | /-! # Projective Products -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Nonempty finite products preserve actual projective presentations. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {S : Scheme.{u}} |
| 17 | |
| 18 | def Finite.ProjectiveProducts.overFinOneProductIso (F : Fin 1 → Over S) : (∏ᶜ F) ≅ F 0 where |
| 19 | hom := Pi.π F 0 |
| 20 | inv := Pi.lift (fun i => eqToHom (congrArg F (Subsingleton.elim 0 i))) |
| 21 | hom_inv_id := by |
| 22 | apply Pi.hom_ext |
| 23 | intro i |
| 24 | have hi : i = 0 := Subsingleton.elim _ _ |
| 25 | subst i |
| 26 | simp |
| 27 | inv_hom_id := by simp |
| 28 | |
| 29 | def Projective.ProjectivePresentations.ProjectivePresentation.binaryProduct {X Y : Over S} |
| 30 | (P : Projective.ProjectivePresentations.ProjectivePresentation X) (Q : Projective.ProjectivePresentations.ProjectivePresentation Y) : |
| 31 | Projective.ProjectivePresentations.ProjectivePresentation (X ⨯ Y) := |
| 32 | (P.product Q).ofSourceIso ((CartesianMonoidalCategory.tensorLeftIsoProd X).app Y).symm |
| 33 | |
| 34 | def Finite.ProjectiveProducts.overNonemptyFinProductPresentation (n : ℕ) (F : Fin (n + 1) → Over S) |
| 35 | (P : ∀ i, Projective.ProjectivePresentations.ProjectivePresentation (F i)) : Projective.ProjectivePresentations.ProjectivePresentation (∏ᶜ F) := by |
| 36 | induction n with |
| 37 | | zero => exact (P 0).ofSourceIso (Finite.ProjectiveProducts.overFinOneProductIso F) |
| 38 | | succ n ih => |
| 39 | let Q := ih (fun i => F i.succ) (fun i => P i.succ) |
| 40 | exact ((P 0).binaryProduct Q).ofSourceIso (Finite.ProperProducts.overFinProductSuccIso F) |
| 41 | |
| 42 | def Finite.ProjectiveProducts.overFinProductPresentation (n : ℕ) [Nonempty (Fin n)] (F : Fin n → Over S) |
| 43 | (P : ∀ i, Projective.ProjectivePresentations.ProjectivePresentation (F i)) : Projective.ProjectivePresentations.ProjectivePresentation (∏ᶜ F) := by |
| 44 | cases n with |
| 45 | | zero => exact False.elim (Fin.elim0 (Classical.choice (inferInstance : Nonempty (Fin 0)))) |
| 46 | | succ n => exact Finite.ProjectiveProducts.overNonemptyFinProductPresentation n F P |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |