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.ModelAmbientBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.AmbientGluedRecovery |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.ModelNoetherianCoefficients |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.ProjectiveModelExtension |
| 5 | |
| 6 | /-! # Projective Ambient Models -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A closed affine diagram model produces a smooth projective scheme inside the actual base-changed original ambient gluing. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | variable {C R : Type u} [CommRing C] [CommRing R] [Algebra C R] [IsNoetherianRing C] |
| 19 | variable {J : Type v} [Category J] [Quiver.IsThin J] [Small.{u} J] [Finite J] |
| 20 | variable (G : J ⥤ Over (Spec (.of C))) [∀ i, IsAffine (G.obj i).left] |
| 21 | variable [∀ {i j} (h : i ⟶ j), IsOpenImmersion (G.map h).left] |
| 22 | variable [((G ⋙ Over.forget (Spec (.of C))) ⋙ Scheme.forget).IsLocallyDirected] |
| 23 | variable {B : Jᵒᵖ ⥤ CommAlgCat.{u} C} [∀ i, Algebra.Smooth C (B.obj i)] |
| 24 | variable (M : Closed.AlgebraDiagramModel.ClosedAlgebraDiagramModel (R := R) (Affine.CoordinateFunctor.affineCoordinateFunctor C G) B) |
| 25 | |
| 26 | local instance Closed.AlgebraDiagramModel.ClosedAlgebraDiagramModel.smoothProjectiveAmbient_open_1 {i j : J} (h : i ⟶ j) : IsOpenImmersion ((G ⋙ Over.forget (Spec (.of C))).map h) := |
| 27 | inferInstanceAs (IsOpenImmersion (G.map h).left) |
| 28 | |
| 29 | theorem Closed.AlgebraDiagramModel.ClosedAlgebraDiagramModel.exists_smooth_projective_ambient_model |
| 30 | (P : Projective.ProjectivePresentations.ProjectivePresentation (Over.mk (HilbertConstruction.Smooth.DiagramGluing.smoothDiagramGluedMap G))) |
| 31 | (E : Subalgebra M.closingCoefficients R) (hE : E.FG) : |
| 32 | ∃ D : Subalgebra M.closingCoefficients R, E ≤ D ∧ D.FG ∧ |
| 33 | ∃ Y : Over (Spec (.of D)), Smooth Y.hom ∧ IsNoetherian Y.left ∧ |
| 34 | Nonempty (Projective.ProjectivePresentations.ProjectivePresentation Y) ∧ |
| 35 | ∃ j : Y ⟶ M.ambientBaseChange D (Over.mk (HilbertConstruction.Smooth.DiagramGluing.smoothDiagramGluedMap G)), |
| 36 | IsClosedImmersion j.left ∧ IsIso ((Over.pullback |
| 37 | (Spec.map (CommRingCat.ofHom (R := D) (S := R) (algebraMap D R)))).map j) := by |
| 38 | have : IsNoetherianRing M.closingCoefficients := M.closingCoefficients_noetherian |
| 39 | have {i j : J} (h : i ⟶ j) : IsOpenImmersion (M.targetDiagram.map h).left := M.targetDiagram_open G h |
| 40 | have : ((M.targetDiagram ⋙ Over.forget (Spec (.of M.closingCoefficients))) ⋙ Scheme.forget).IsLocallyDirected := |
| 41 | M.targetDiagram_locallyDirected G |
| 42 | obtain ⟨D, hED, hD, Y, hs, hn, hp, j, hj, hr⟩ := |
| 43 | M.exists_smooth_projective_extension (M.targetGluedProjective G P) E hE |
| 44 | let c : Spec (.of D) ⟶ Spec (.of M.closingCoefficients) := |
| 45 | Spec.map (CommRingCat.ofHom (R := M.closingCoefficients) (S := D) (algebraMap M.closingCoefficients D)) |
| 46 | let r : Spec (.of R) ⟶ Spec (.of D) := |
| 47 | Spec.map (CommRingCat.ofHom (R := D) (S := R) (algebraMap D R)) |
| 48 | let e := (Over.pullback c).mapIso (M.targetGluedBaseChangeIso G) |
| 49 | have : IsClosedImmersion j.left := hj |
| 50 | have : IsClosedImmersion e.hom.left := Grassmann.ProjectivePresentation.overIso_closedImmersion e |
| 51 | have : IsIso ((Over.pullback r).map j) := hr |
| 52 | refine ⟨D, hED, hD, Y, hs, hn, hp, j ≫ e.hom, ?_, ?_⟩ |
| 53 | · change IsClosedImmersion (j.left ≫ e.hom.left) |
| 54 | exact IsClosedImmersion.comp _ _ |
| 55 | · change IsIso ((Over.pullback r).map (j ≫ e.hom)) |
| 56 | rw [Functor.map_comp] |
| 57 | infer_instance |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |