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.ProjectedFamilyGraphRecovery |
| 2 | |
| 3 | /-! # Projected Embedding Graph Recovery -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectedEmbeddingGraphRecovery |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The ideal family of an embedded scheme with isomorphic first projection is the actual reembedded graph of the recovered morphism. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem projectedEmbedding_graph_recovery |
| 17 | {S : Scheme.{u}} {X A B P : Over S} |
| 18 | [Flat X.hom] [LocallyOfFinitePresentation X.hom] |
| 19 | [Flat A.hom] [LocallyOfFinitePresentation A.hom] [IsSeparated B.hom] |
| 20 | (i : X ⟶ P) [IsClosedImmersion i.left] (j : A ⊗ B ⟶ P) [IsClosedImmersion j.left] |
| 21 | (h : X ⟶ A ⊗ B) [IsIso (h ≫ fst A B)] (hh : h ≫ j = i) : |
| 22 | (MorphismGraphFamilies.morphismGraphFamily (ProjectedFamilyGraphRecovery.morphismOfProductProjection h)).reembed j = Closed.Families.FlatClosedFamily.ofEmbedding i := by |
| 23 | change (Closed.Families.FlatClosedFamily.ofEmbedding (MorphismGraphFamilies.familyGraph (ProjectedFamilyGraphRecovery.morphismOfProductProjection h))).reembed j = _ |
| 24 | rw [Closed.Families.FlatClosedFamily.ofEmbedding_reembed] |
| 25 | have : IsClosedImmersion (MorphismGraphFamilies.familyGraph (ProjectedFamilyGraphRecovery.morphismOfProductProjection h) ≫ j).left := |
| 26 | inferInstanceAs (IsClosedImmersion ((MorphismGraphFamilies.familyGraph (ProjectedFamilyGraphRecovery.morphismOfProductProjection h)).left ≫ j.left)) |
| 27 | apply Closed.Families.FlatClosedFamily.ofEmbedding_eq_of_iso _ (Closed.Families.FlatClosedFamily.ofEmbedding i) |
| 28 | ((asIso (h ≫ fst A B)).symm ≪≫ Closed.Families.FlatClosedFamily.ofEmbeddingIso i) |
| 29 | change inv (h ≫ fst A B) ≫ (Closed.Families.FlatClosedFamily.ofEmbeddingIso i).hom ≫ |
| 30 | (Closed.Families.FlatClosedFamily.ofEmbedding i).inclusion = MorphismGraphFamilies.familyGraph (ProjectedFamilyGraphRecovery.morphismOfProductProjection h) ≫ j |
| 31 | rw [Closed.Families.FlatClosedFamily.ofEmbeddingIso_inclusion, ProjectedFamilyGraphRecovery.morphismOfProductProjection_graph, Category.assoc, hh] |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectedEmbeddingGraphRecovery |