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.AlgebraDiagramModel |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.TensorCoordinateIso |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoordinateFiniteType |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.AffineSchemeModels |
| 5 | |
| 6 | /-! # Affine Functor Models -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.AffineFunctorModels |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Isomorphic recovered affine diagrams admit compatible closed models without flatness of the ambient charts. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u v w |
| 17 | |
| 18 | theorem exists_closed_affine_functor_model |
| 19 | {C R : Type u} [CommRing C] [CommRing R] [Algebra C R] |
| 20 | {J : Type v} [Category.{w} J] [Finite J] |
| 21 | (F G : J ⥤ Over (Spec (.of C))) |
| 22 | [∀ i, IsAffine (F.obj i).left] [∀ i, IsAffine (G.obj i).left] |
| 23 | [∀ i, Smooth (F.obj i).hom] [∀ i, LocallyOfFiniteType (G.obj i).hom] |
| 24 | (e : F ⋙ Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap C R))) ≅ |
| 25 | G ⋙ Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap C R)))) |
| 26 | (E : Subalgebra C R) (hE : E.FG) : |
| 27 | ∃ M : AlgebraDiagramModel.ClosedAlgebraDiagramModel (R := R) |
| 28 | (Affine.CoordinateFunctor.affineCoordinateFunctor C G) (Affine.CoordinateFunctor.affineCoordinateFunctor C F), E ≤ M.coefficients := by |
| 29 | have (i : Jᵒᵖ) : Algebra.Smooth C ((Affine.CoordinateFunctor.affineCoordinateFunctor C F).obj i) := |
| 30 | HilbertConstruction.Smooth.AffineSchemeModels.affineOverAlgebra_smooth C (F.obj i.unop) |
| 31 | have (i : Jᵒᵖ) : Algebra.FiniteType C ((Affine.CoordinateFunctor.affineCoordinateFunctor C G).obj i) := |
| 32 | Affine.CoordinateFiniteType.affineOverAlgebra_finiteType C (G.obj i.unop) |
| 33 | exact AlgebraDiagramModel.exists_closedAlgebraDiagramModel (Affine.CoordinateFunctor.affineCoordinateFunctor C G) (Affine.CoordinateFunctor.affineCoordinateFunctor C F) |
| 34 | (Affine.TensorCoordinateIso.affineTensorCoordinateMap F G e) (Affine.TensorCoordinateIso.affineTensorCoordinateMap_bijective F G e) E hE |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.AffineFunctorModels |