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.DiagramEquifiberedDescent |
| 3 | |
| 4 | /-! # Diagram Scheme Models -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Closed algebra diagram models give smooth affine source charts and compatible closed embeddings. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry TensorProduct |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | variable {C R : Type u} [CommRing C] [CommRing R] [Algebra C R] |
| 17 | variable {J : Type v} [Category.{w} J] {A B : Jᵒᵖ ⥤ CommAlgCat.{u} C} |
| 18 | variable (M : AlgebraDiagramModel.ClosedAlgebraDiagramModel (R := R) A B) |
| 19 | |
| 20 | abbrev AlgebraDiagramModel.ClosedAlgebraDiagramModel.sourceDiagram : J ⥤ Over (Spec (.of M.closingCoefficients)) := |
| 21 | AlgebraSchemeDiagrams.algebraSchemeDiagram M.closingCoefficients |
| 22 | ((B ⋙ AlgebraTensorFunctor.algebraTensorFunctor C M.coefficients) ⋙ |
| 23 | AlgebraTensorFunctor.algebraTensorFunctor M.coefficients M.closingCoefficients) |
| 24 | |
| 25 | abbrev AlgebraDiagramModel.ClosedAlgebraDiagramModel.targetDiagram : J ⥤ Over (Spec (.of M.closingCoefficients)) := |
| 26 | AlgebraSchemeDiagrams.algebraSchemeDiagram M.closingCoefficients |
| 27 | ((A ⋙ AlgebraTensorFunctor.algebraTensorFunctor C M.coefficients) ⋙ |
| 28 | AlgebraTensorFunctor.algebraTensorFunctor M.coefficients M.closingCoefficients) |
| 29 | |
| 30 | abbrev AlgebraDiagramModel.ClosedAlgebraDiagramModel.schemeMap : M.sourceDiagram ⟶ M.targetDiagram := |
| 31 | AlgebraSchemeDiagrams.algebraSchemeDiagramMap M.closingCoefficients |
| 32 | (Functor.whiskerRight M.map (AlgebraTensorFunctor.algebraTensorFunctor M.coefficients M.closingCoefficients)) |
| 33 | |
| 34 | instance AlgebraDiagramModel.ClosedAlgebraDiagramModel.schemeMap_closed (i : J) : IsClosedImmersion (M.schemeMap.app i).left := M.closed i |
| 35 | |
| 36 | instance AlgebraDiagramModel.ClosedAlgebraDiagramModel.schemeMap_recovered (i : J) : IsIso ((Over.pullback |
| 37 | (Spec.map (CommRingCat.ofHom (algebraMap M.closingCoefficients R)))).map |
| 38 | (M.schemeMap.app i)) := M.recovered i |
| 39 | |
| 40 | instance AlgebraDiagramModel.ClosedAlgebraDiagramModel.sourceDiagram_smooth [∀ i, Algebra.Smooth C (B.obj i)] (i : J) : |
| 41 | Smooth (M.sourceDiagram.obj i).hom := by |
| 42 | have (j : Jᵒᵖ) : Algebra.Smooth M.closingCoefficients |
| 43 | (((B ⋙ AlgebraTensorFunctor.algebraTensorFunctor C M.coefficients) ⋙ |
| 44 | AlgebraTensorFunctor.algebraTensorFunctor M.coefficients M.closingCoefficients).obj j) := |
| 45 | inferInstanceAs (Algebra.Smooth M.closingCoefficients |
| 46 | (M.closingCoefficients ⊗[M.coefficients] (M.coefficients ⊗[C] B.obj j))) |
| 47 | exact AlgebraSchemeDiagrams.algebraSchemeDiagram_smooth _ _ i |
| 48 | |
| 49 | theorem AlgebraDiagramModel.ClosedAlgebraDiagramModel.exists_equifibered_extension [Finite J] [Quiver.IsThin J] |
| 50 | [∀ i, Algebra.Smooth C (B.obj i)] |
| 51 | [∀ {i j} (h : i ⟶ j), IsOpenImmersion (M.targetDiagram.map h).left] |
| 52 | (E : Subalgebra M.closingCoefficients R) (hE : E.FG) : |
| 53 | ∃ D : Subalgebra M.closingCoefficients R, E ≤ D ∧ D.FG ∧ |
| 54 | (Functor.whiskerRight M.schemeMap (Over.pullback |
| 55 | (Spec.map (CommRingCat.ofHom (R := M.closingCoefficients) (S := D) |
| 56 | (algebraMap M.closingCoefficients D))))).Equifibered := |
| 57 | Affine.DiagramEquifiberedDescent.exists_affine_diagram_equifibered_extension M.sourceDiagram M.targetDiagram M.schemeMap E hE |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed |