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.Smooth.AlgebraFunctorRecovery |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AlgebraSchemeDiagramIsomorphisms |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SchemeTensorDiagramIso |
| 4 | |
| 5 | /-! # Scheme Functor Recovery -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Descended smooth algebra functors give smooth affine scheme diagrams with natural base-change recovery. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u v w |
| 16 | |
| 17 | variable {R : Type u} [CommRing R] {J : Type v} [Category.{w} J] |
| 18 | variable {A : Jᵒᵖ ⥤ CommAlgCat.{u} R} (M : AlgebraFunctorModel.SmoothAlgebraFunctorModel R A) |
| 19 | |
| 20 | abbrev AlgebraFunctorModel.SmoothAlgebraFunctorModel.schemeFunctor : J ⥤ Over (Spec (.of M.coefficients)) := |
| 21 | AlgebraSchemeDiagrams.algebraSchemeDiagram M.coefficients M.algebraFunctor |
| 22 | |
| 23 | instance AlgebraFunctorModel.SmoothAlgebraFunctorModel.schemeFunctor_smooth (i : J) : Smooth (M.schemeFunctor.obj i).hom := by |
| 24 | have (j : Jᵒᵖ) : Algebra.Smooth M.coefficients (M.algebraFunctor.obj j) := M.smooth j |
| 25 | exact AlgebraSchemeDiagrams.algebraSchemeDiagram_smooth _ _ i |
| 26 | |
| 27 | instance AlgebraFunctorModel.SmoothAlgebraFunctorModel.schemeFunctor_open {i j : J} (f : i ⟶ j) : |
| 28 | IsOpenImmersion (M.schemeFunctor.map f).left := M.arrow_open ⟨Opposite.op j, Opposite.op i, f.op⟩ |
| 29 | |
| 30 | def AlgebraFunctorModel.SmoothAlgebraFunctorModel.schemeRecoveryIso : |
| 31 | M.schemeFunctor ⋙ Over.pullback (Spec.map (CommRingCat.ofHom M.coefficients.val.toRingHom)) ≅ |
| 32 | AlgebraSchemeDiagrams.algebraSchemeDiagram R A := |
| 33 | (SchemeTensorDiagramIso.algebraSchemeTensorDiagramIso M.coefficients R M.algebraFunctor).symm ≪≫ |
| 34 | AlgebraSchemeDiagramIsomorphisms.algebraSchemeDiagramIso R M.recoveryIso |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth |