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.Smooth.ModelProjectiveEmbedding |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ClosedFamily.EmbeddingIso |
| 3 | |
| 4 | /-! # Prescribed Closed Family Compatibility -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The prescribed ideal-defined family is smooth and preserves the model's projective embedding. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {C K R : CommRingCat.{u}} (φ : C ⟶ K) (r : Spec R ⟶ Spec K) |
| 17 | variable {X : Over (Spec C)} {n : ℕ} (i : X ⟶ Projective.ProjectivePresentations.affineProjectiveSpace C n) [IsClosedImmersion i.left] |
| 18 | variable (L : HilbertConstruction.Smooth.ProjectiveClosedModel.SmoothProjectiveClosedModel ((Over.pullback (Spec.map φ)).obj X) r) |
| 19 | |
| 20 | theorem Smooth.ProjectiveClosedModel.SmoothProjectiveClosedModel.prescribedClosedFamilyIso_inclusion : |
| 21 | (L.prescribedClosedFamilyIso φ r i).hom ≫ (L.prescribedClosedFamily φ r i).inclusion = |
| 22 | L.prescribedEmbedding φ r i := by |
| 23 | have : Smooth L.scheme.hom := L.smooth |
| 24 | have : IsClosedImmersion (L.prescribedEmbedding φ r i).left := L.prescribedEmbedding_closed φ r i |
| 25 | exact Closed.Families.FlatClosedFamily.ofEmbeddingIso_inclusion (L.prescribedEmbedding φ r i) |
| 26 | |
| 27 | theorem Smooth.ProjectiveClosedModel.SmoothProjectiveClosedModel.prescribedClosedFamily_smooth : Smooth (L.prescribedClosedFamily φ r i).scheme.hom := by |
| 28 | let e := L.prescribedClosedFamilyIso φ r i |
| 29 | have : Smooth L.scheme.hom := L.smooth |
| 30 | have : IsIso e.inv.left := (Over.forget (Spec K)).map_isIso e.inv |
| 31 | have hs : Smooth (e.inv.left ≫ L.scheme.hom) := inferInstance |
| 32 | exact (congrArg Smooth e.inv.w).mp hs |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |