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.DiagramPullbackGluedIso |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.Products |
| 3 | |
| 4 | /-! # Diagram Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.DiagramBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Projective presentations survive gluing after a coefficient base change. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {C D : Type u} [CommRing C] [CommRing D] |
| 17 | variable {J : Type v} [Category J] [Quiver.IsThin J] [Small.{u} J] |
| 18 | variable (F : J ⥤ Over (Spec (.of C))) (c : Spec (.of D) ⟶ Spec (.of C)) |
| 19 | variable [∀ {i j} (h : i ⟶ j), IsOpenImmersion (F.map h).left] |
| 20 | variable [((F ⋙ Over.forget (Spec (.of C))) ⋙ Scheme.forget).IsLocallyDirected] |
| 21 | |
| 22 | local instance {i j : J} (h : i ⟶ j) : IsOpenImmersion ((F ⋙ Over.forget (Spec (.of C))).map h) := |
| 23 | inferInstanceAs (IsOpenImmersion (F.map h).left) |
| 24 | |
| 25 | local instance {i j : J} (h : i ⟶ j) : |
| 26 | IsOpenImmersion (((F ⋙ Over.pullback c) ⋙ Over.forget (Spec (.of D))).map h) := |
| 27 | DiagramPullbackProjection.diagramPullback_open F c h |
| 28 | |
| 29 | local instance : |
| 30 | (((F ⋙ Over.pullback c) ⋙ Over.forget (Spec (.of D))) ⋙ Scheme.forget).IsLocallyDirected := |
| 31 | DiagramPullbackProjection.diagramPullback_locallyDirected F c |
| 32 | |
| 33 | def projectiveDiagramBaseChange (P : ProjectivePresentations.ProjectivePresentation (Over.mk (Smooth.DiagramGluing.smoothDiagramGluedMap F))) : |
| 34 | ProjectivePresentations.ProjectivePresentation (Over.mk (Smooth.DiagramGluing.smoothDiagramGluedMap (F ⋙ Over.pullback c))) := |
| 35 | (P.baseChange c).ofSourceIso (DiagramPullbackGluedIso.diagramPullbackGluedOverIso F c) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.DiagramBaseChange |