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.Cartesian.DiagramGluing |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.PullbackFromCharts |
| 3 | |
| 4 | /-! # Diagram Global Recovery -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.DiagramGlobalRecovery |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Cartesian recovery over a common base glues from all charts to the whole scheme. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {J : Type v} [Category J] [Quiver.IsThin J] [Small.{u} J] |
| 17 | variable (F G : J ⥤ Scheme.{u}) |
| 18 | variable [∀ {i j} (h : i ⟶ j), IsOpenImmersion (F.map h)] |
| 19 | variable [∀ {i j} (h : i ⟶ j), IsOpenImmersion (G.map h)] |
| 20 | variable [(F ⋙ Scheme.forget).IsLocallyDirected] [(G ⋙ Scheme.forget).IsLocallyDirected] |
| 21 | |
| 22 | theorem cartesianDiagramGluedMap_base_isPullback (q : F ⟶ G) (hq : q.Equifibered) |
| 23 | {S T : Scheme.{u}} (p : colimit F ⟶ S) (f : colimit G ⟶ T) (b : S ⟶ T) |
| 24 | (hbase : ∀ i, IsPullback (q.app i) (colimit.ι F i ≫ p) (colimit.ι G i ≫ f) b) : |
| 25 | IsPullback (DiagramGluing.cartesianDiagramGluedMap F G q hq) p f b := |
| 26 | Global.PullbackFromCharts.scheme_isPullback_of_cartesian_charts _ p f b (ColimitDirectedCover.colimitDiagramCover G) F.obj q.app |
| 27 | (colimit.ι F) (DiagramGluing.cartesianDiagramGluedMap_isPullback F G q hq) hbase |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.DiagramGlobalRecovery |