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.AlgebraFunctorDescent |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.SchemeFunctorRecovery |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoordinateDiagramIso |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.AffineSchemeModels |
| 5 | |
| 6 | /-! # Affine Functor Descent -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.AffineFunctorDescent |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Finite thin diagrams of smooth affine schemes descend with open arrows and a natural recovery isomorphism. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u v w |
| 17 | |
| 18 | theorem exists_smooth_affine_functor_model |
| 19 | (R : Type u) [CommRing R] {J : Type v} [Category.{w} J] [Finite J] [Quiver.IsThin J] |
| 20 | (F : J ⥤ Over (Spec (.of R))) [∀ i, IsAffine (F.obj i).left] [∀ i, Smooth (F.obj i).hom] |
| 21 | [∀ {i j} (f : i ⟶ j), IsOpenImmersion (F.map f).left] |
| 22 | (C : Subalgebra ℤ R) [Algebra.FiniteType ℤ C] : |
| 23 | ∃ D : Subalgebra ℤ R, C ≤ D ∧ Algebra.FiniteType ℤ D ∧ |
| 24 | ∃ G : J ⥤ Over (Spec (.of D)), (∀ i, IsAffine (G.obj i).left) ∧ |
| 25 | (∀ i, Smooth (G.obj i).hom) ∧ (∀ {i j} (f : i ⟶ j), IsOpenImmersion (G.map f).left) ∧ |
| 26 | Nonempty (G ⋙ Over.pullback (Spec.map (CommRingCat.ofHom D.val.toRingHom)) ≅ F) := by |
| 27 | have : Finite Jᵒᵖ := Finite.of_injective Opposite.unop Opposite.unop_injective |
| 28 | have (i : Jᵒᵖ) : Algebra.Smooth R ((Affine.CoordinateFunctor.affineCoordinateFunctor R F).obj i) := |
| 29 | AffineSchemeModels.affineOverAlgebra_smooth R (F.obj i.unop) |
| 30 | have {i j : Jᵒᵖ} (f : i ⟶ j) : IsOpenImmersion |
| 31 | (Spec.map (CommRingCat.ofHom ((Affine.CoordinateFunctor.affineCoordinateFunctor R F).map f).hom.toRingHom)) := |
| 32 | Affine.OverMorphisms.affineOverMap_isOpenImmersion R (F.map f.unop) |
| 33 | obtain ⟨M, hM⟩ := AlgebraFunctorDescent.exists_smoothAlgebraFunctorModel_above R (Affine.CoordinateFunctor.affineCoordinateFunctor R F) C |
| 34 | refine ⟨M.coefficients, hM, M.finiteType, M.schemeFunctor, fun i => ?_, |
| 35 | fun i => M.schemeFunctor_smooth i, fun f => M.schemeFunctor_open f, ?_⟩ |
| 36 | · exact AlgebraSchemeDiagrams.algebraSchemeDiagram_affine _ _ i |
| 37 | · exact ⟨M.schemeRecoveryIso ≪≫ (Affine.CoordinateDiagramIso.affineCoordinateDiagramIso R F).symm⟩ |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.AffineFunctorDescent |