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.DiagramAmbientIso |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DiagramPullbackProjection |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.EquifiberedOverDiagrams |
| 4 | |
| 5 | /-! # Ambient Directed Gluing -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The target of a recovered closed model has the locally directed gluing inherited from the actual ambient charts. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | theorem AlgebraDiagramModel.ClosedAlgebraDiagramModel.targetDiagram_locallyDirected |
| 18 | {C R : Type u} [CommRing C] [CommRing R] [Algebra C R] |
| 19 | {J : Type v} [Category J] [Quiver.IsThin J] |
| 20 | (G : J ⥤ Over (Spec (.of C))) [∀ i, IsAffine (G.obj i).left] |
| 21 | [∀ {i j} (h : i ⟶ j), IsOpenImmersion (G.map h).left] |
| 22 | [((G ⋙ Over.forget (Spec (.of C))) ⋙ Scheme.forget).IsLocallyDirected] |
| 23 | {B : Jᵒᵖ ⥤ CommAlgCat.{u} C} |
| 24 | (M : AlgebraDiagramModel.ClosedAlgebraDiagramModel (R := R) (Affine.CoordinateFunctor.affineCoordinateFunctor C G) B) : |
| 25 | ((M.targetDiagram ⋙ Over.forget (Spec (.of M.closingCoefficients))) ⋙ Scheme.forget).IsLocallyDirected := by |
| 26 | let c := Spec.map (CommRingCat.ofHom (algebraMap C M.coefficients)) |
| 27 | let d := Spec.map (CommRingCat.ofHom (algebraMap M.coefficients M.closingCoefficients)) |
| 28 | have {i j : J} (h : i ⟶ j) : IsOpenImmersion ((G ⋙ Over.pullback c).map h).left := |
| 29 | Affine.FunctorBaseChange.affineFunctorBaseChange_open G c h |
| 30 | have : (((G ⋙ Over.pullback c) ⋙ Over.forget (Spec (.of M.coefficients))) ⋙ Scheme.forget).IsLocallyDirected := |
| 31 | DiagramPullbackProjection.diagramPullback_locallyDirected G c |
| 32 | have {i j : J} (h : i ⟶ j) : IsOpenImmersion (((G ⋙ Over.pullback c) ⋙ Over.pullback d).map h).left := |
| 33 | Affine.FunctorBaseChange.affineFunctorBaseChange_open (G ⋙ Over.pullback c) d h |
| 34 | have : ((((G ⋙ Over.pullback c) ⋙ Over.pullback d) ⋙ Over.forget (Spec (.of M.closingCoefficients))) ⋙ |
| 35 | Scheme.forget).IsLocallyDirected := DiagramPullbackProjection.diagramPullback_locallyDirected (G ⋙ Over.pullback c) d |
| 36 | let e := M.targetBaseChangeIso G |
| 37 | exact EquifiberedOverDiagrams.equifiberedOverDiagram_locallyDirected e.hom (NatTrans.Equifibered.of_isIso e.hom) |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed |