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.Proper.ClosedFactorizationLocus |
| 2 | |
| 3 | /-! # Factorization Ideal -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.FactorizationIdeal |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The closed factorization locus has an ideal whose pullback vanishes exactly when the family map factors, on arbitrary scheme tests. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {S : Scheme.{u}} [IsLocallyNoetherian S] {X P Z : Over S} |
| 16 | variable [IsProper X.hom] [Flat X.hom] (j : Z ⟶ P) [IsClosedImmersion j.left] (i : X ⟶ P) |
| 17 | |
| 18 | theorem exists_proper_factorization_ideal : |
| 19 | ∃ I : S.IdealSheafData, ∀ (T : Scheme.{u}) (c : T ⟶ S), |
| 20 | I.comap c = ⊥ ↔ |
| 21 | ∃! h : (Over.pullback c).obj X ⟶ (Over.pullback c).obj Z, |
| 22 | h ≫ (Over.pullback c).map j = (Over.pullback c).map i := by |
| 23 | obtain ⟨B, k, hk, htest⟩ := ClosedFactorizationLocus.proper_closed_factorization_locus j i |
| 24 | let : IsClosedImmersion k.left := hk |
| 25 | refine ⟨k.left.ker, fun T c => ?_⟩ |
| 26 | have hc : (Over.mkIdTerminal.from (Over.mk c)).left = c := by |
| 27 | simp |
| 28 | have h := (Closed.ImmersionFactorization.closedImmersion_ideal_factorization k (Over.mkIdTerminal.from (Over.mk c))).trans |
| 29 | (htest (Over.mk c)).symm |
| 30 | rwa [hc] at h |
| 31 | |
| 32 | def properFactorizationIdeal : S.IdealSheafData := (exists_proper_factorization_ideal j i).choose |
| 33 | |
| 34 | theorem properFactorizationIdeal_test {T : Scheme.{u}} (c : T ⟶ S) : |
| 35 | (properFactorizationIdeal j i).comap c = ⊥ ↔ |
| 36 | ∃! h : (Over.pullback c).obj X ⟶ (Over.pullback c).obj Z, |
| 37 | h ≫ (Over.pullback c).map j = (Over.pullback c).map i := |
| 38 | (exists_proper_factorization_ideal j i).choose_spec T c |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.FactorizationIdeal |