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.Projection.PointIdeal |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ConePreimage |
| 3 | |
| 4 | /-! # Generic -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Cone.Generic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual generic point of the projective cone maps to the |
| 11 | chosen generic point of its base support. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | namespace Projection |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ConeSupport OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.BasicOpen.RationalProjection |
| 21 | |
| 22 | variable {m n : ℕ} (L : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1) |
| 23 | (hL : LinearIndependent ℂ L) (η : Foundations.Scheme.ProjectiveSpace.projectiveSpace m) |
| 24 | |
| 25 | def point : Projective.BasicOpen.RationalProjection.domain (Projective.ConeSupport.coordinates L) := ⟨Projective.ConeSupport.genericPoint L hL η, Projective.ConeSupport.point_in_domain L hL η⟩ |
| 26 | |
| 27 | theorem map_point : Projective.BasicOpen.RationalProjection.map (Projective.ConeSupport.coordinates L) (point L hL η) = η := by |
| 28 | have he := Projection.PointIdeal.Rational.ideal (Projective.ConeSupport.coordinates L) |
| 29 | (HomogeneousCoordinateMap.ofForms_C _ _) (point L hL η) |
| 30 | have hc : (Projective.ConeSupport.ideal L η).comap (Projective.ConeSupport.coordinates L) = η.asHomogeneousIdeal := by |
| 31 | apply HomogeneousIdeal.ext |
| 32 | exact LinearPrimeIdeal.Projection.comap_map L hL η.asHomogeneousIdeal.toIdeal |
| 33 | apply ProjectiveSpectrum.ext |
| 34 | exact he.trans hc |
| 35 | |
| 36 | theorem mem_cone_iff (x : Projective.BasicOpen.RationalProjection.domain (Projective.ConeSupport.coordinates L)) : |
| 37 | x.val ∈ Projective.ConeSupport.support L hL η ↔ Projective.BasicOpen.RationalProjection.map (Projective.ConeSupport.coordinates L) x ∈ |
| 38 | (irreducibleSetEquivPoints.symm η : IrreducibleCloseds (Foundations.Scheme.ProjectiveSpace.projectiveSpace m)) := by |
| 39 | have he := Projective.ConePreimage.mem_iff L hL η (Projective.BasicOpen.RationalProjection.domain (Projective.ConeSupport.coordinates L)).ι |
| 40 | (Projection.PointIdeal.Rational.in_domain (Projective.ConeSupport.coordinates L)) x |
| 41 | rw [Projection.PointIdeal.Rational.restriction_eq] at he |
| 42 | exact he |
| 43 | |
| 44 | end Projection |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Cone.Generic |