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.Closed.DiagramGluedStructure |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DiagramGluedIsomorphisms |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.Products |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ParameterLoci |
| 5 | |
| 6 | /-! # Closed Diagram Gluing -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ClosedDiagramGluing |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Closed Cartesian chart models inherit projective presentations from the glued ambient scheme. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | variable {C : Type u} [CommRing C] {J : Type v} [Category J] [Quiver.IsThin J] [Small.{u} J] |
| 19 | variable {F G : J ⥤ Over (Spec (.of C))} |
| 20 | variable [∀ {i j} (h : i ⟶ j), IsOpenImmersion (G.map h).left] |
| 21 | variable [((G ⋙ Over.forget (Spec (.of C))) ⋙ Scheme.forget).IsLocallyDirected] |
| 22 | variable [∀ {i j} (h : i ⟶ j), IsOpenImmersion (F.map h).left] |
| 23 | variable [((F ⋙ Over.forget (Spec (.of C))) ⋙ Scheme.forget).IsLocallyDirected] |
| 24 | |
| 25 | local instance {i j : J} (h : i ⟶ j) : IsOpenImmersion ((G ⋙ Over.forget (Spec (.of C))).map h) := |
| 26 | inferInstanceAs (IsOpenImmersion (G.map h).left) |
| 27 | |
| 28 | local instance {i j : J} (h : i ⟶ j) : IsOpenImmersion ((F ⋙ Over.forget (Spec (.of C))).map h) := |
| 29 | inferInstanceAs (IsOpenImmersion (F.map h).left) |
| 30 | |
| 31 | def projectiveDiagramOfIso (e : F ≅ G) |
| 32 | (P : ProjectivePresentations.ProjectivePresentation (Over.mk (Smooth.DiagramGluing.smoothDiagramGluedMap G))) : |
| 33 | ProjectivePresentations.ProjectivePresentation (Over.mk (Smooth.DiagramGluing.smoothDiagramGluedMap F)) := |
| 34 | P.ofSourceIso (DiagramGluedIsomorphisms.diagramGluedOverIso e) |
| 35 | |
| 36 | def projectiveClosedDiagramGluing (q : F ⟶ G) (hq : q.Equifibered) |
| 37 | [∀ i, IsClosedImmersion (q.app i).left] |
| 38 | (P : ProjectivePresentations.ProjectivePresentation (Over.mk (Smooth.DiagramGluing.smoothDiagramGluedMap G))) : |
| 39 | ProjectivePresentations.ProjectivePresentation (Over.mk (Smooth.DiagramGluing.smoothDiagramGluedMap F)) := by |
| 40 | have : IsClosedImmersion (Closed.DiagramGluedStructure.equifiberedOverGluedMorphism q hq).left := |
| 41 | Closed.DiagramGluedStructure.equifiberedOverGluedMorphism_closed q hq |
| 42 | exact P.ofClosedImmersion (Closed.DiagramGluedStructure.equifiberedOverGluedMorphism q hq) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ClosedDiagramGluing |