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.Family.DiagonalFactorization |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.FactorizationIdeal |
| 3 | |
| 4 | /-! # Morphism Equality Ideal -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.MorphismEqualityIdeal |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Equality of two morphisms from a proper flat family to a separated family has an actual defining ideal, with its exact condition on every base change. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S : Scheme.{u}} [IsLocallyNoetherian S] {X Y : Over S} |
| 18 | variable [IsProper X.hom] [Flat X.hom] [IsSeparated Y.hom] (u v : X ⟶ Y) |
| 19 | |
| 20 | def properMorphismEqualityIdeal : S.IdealSheafData := FactorizationIdeal.properFactorizationIdeal (Family.DiagonalFactorization.familyDiagonal Y) (lift u v) |
| 21 | |
| 22 | theorem properMorphismEqualityIdeal_test {T : Scheme.{u}} (c : T ⟶ S) : |
| 23 | (properMorphismEqualityIdeal u v).comap c = ⊥ ↔ (Over.pullback c).map u = (Over.pullback c).map v := |
| 24 | (FactorizationIdeal.properFactorizationIdeal_test (Family.DiagonalFactorization.familyDiagonal Y) (lift u v) c).trans |
| 25 | (Family.DiagonalFactorization.overPullback_equal_iff_diagonal_factorization c u v).symm |
| 26 | |
| 27 | end |
| 28 | |
| 29 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.MorphismEqualityIdeal |