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.IntersectionTheory.ProjectionFormula.Projective.FamilyOnSource |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.ProjectiveProper |
| 3 | |
| 4 | /-! # Family Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.FamilySections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every good marked parameter gives a closed projective slice. |
| 11 | The source model is proper over the actual parameter scheme. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | namespace Family |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.MatrixPath |
| 21 | |
| 22 | theorem ambient_closed {n : ℕ} (A : (Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ)ˣ) |
| 23 | (t : ℂ) (ht : (Polynomial.MatrixPath.determinant A).eval t ≠ 0) : |
| 24 | IsClosedImmersion (MatrixFamily.Family.specialization A t ht) := by |
| 25 | let : IsClosedImmersion (MatrixFamily.Family.specialization A t ht ≫ |
| 26 | FamilySupport.Family.projection A) := by |
| 27 | rw [FamilySupport.Family.specialization_projection] |
| 28 | infer_instance |
| 29 | exact IsClosedImmersion.of_comp _ (FamilySupport.Family.projection A) |
| 30 | |
| 31 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 32 | (A : (Matrix (Fin (X.ambientDimension + 1)) (Fin (X.ambientDimension + 1)) ℂ)ˣ) |
| 33 | |
| 34 | instance toAmbient_closed : IsClosedImmersion (FamilyOnSource.Family.toAmbient X A) := |
| 35 | inferInstanceAs (IsClosedImmersion (pullback.fst (FamilySupport.Family.projection A) X.embedding)) |
| 36 | |
| 37 | theorem source_closed (t : ℂ) (ht : (Polynomial.MatrixPath.determinant A).eval t ≠ 0) : |
| 38 | IsClosedImmersion (FamilyOnSource.Family.specialization X A t ht) := by |
| 39 | let : IsSeparated (FamilyOnSource.Family.toSource X A) := |
| 40 | inferInstanceAs (IsSeparated (pullback.snd (FamilySupport.Family.projection A) X.embedding)) |
| 41 | let : IsClosedImmersion (FamilyOnSource.Family.specialization X A t ht ≫ |
| 42 | FamilyOnSource.Family.toSource X A) := by |
| 43 | rw [FamilyOnSource.Family.specialization_source] |
| 44 | infer_instance |
| 45 | exact IsClosedImmersion.of_comp _ (FamilyOnSource.Family.toSource X A) |
| 46 | |
| 47 | def parameter : FamilyOnSource.Family.space X A ⟶ Spec (.of (Polynomial.MatrixPath.Ring A)) := |
| 48 | FamilyOnSource.Family.toAmbient X A ≫ Relative.ProjectiveI.Base.base (Polynomial.MatrixPath.Ring A) X.ambientDimension |
| 49 | |
| 50 | instance proper_parameter : IsProper (parameter X A) := by |
| 51 | unfold parameter |
| 52 | infer_instance |
| 53 | |
| 54 | instance noetherian : IsNoetherian (FamilyOnSource.Family.space X A) where |
| 55 | |
| 56 | end Family |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.FamilySections |