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 Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 2 | import Mathlib.AlgebraicGeometry.Properties |
| 3 | import Mathlib.RingTheory.Ideal.Quotient.Nilpotent |
| 4 | |
| 5 | /-! # Integral Scheme -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntegralScheme.IntegralSchemeImage |
| 8 | |
| 9 | /-! Scheme-theoretic images of quasi-compact maps from integral schemes are integral. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem reduced {X Y : Scheme.{u}} (f : X ⟶ Y) [IsReduced X] [QuasiCompact f] : |
| 16 | IsReduced f.image := by |
| 17 | have hred (U : Y.affineOpens) : _root_.IsReduced (Γ(Y, U) ⧸ f.ker.ideal U) := by |
| 18 | apply (Ideal.isRadical_iff_quotient_reduced _).mp |
| 19 | rw [f.ker_apply U, RingHom.ker_eq_comap_bot] |
| 20 | exact Ideal.isRadical_bot.comap _ |
| 21 | have (U : f.ker.subschemeCover.openCover.I₀) : |
| 22 | IsReduced (f.ker.subschemeCover.openCover.X U) := by |
| 23 | have := hred U |
| 24 | change IsReduced (Spec (.of (Γ(Y, U.1) ⧸ f.ker.ideal U))) |
| 25 | infer_instance |
| 26 | exact IsReduced.of_openCover f.image f.ker.subschemeCover.openCover |
| 27 | |
| 28 | theorem irreducible {X Y : Scheme.{u}} (f : X ⟶ Y) [IrreducibleSpace X] [QuasiCompact f] : |
| 29 | IrreducibleSpace f.image := by |
| 30 | have hr : IsIrreducible (Set.range f.toImage) := by |
| 31 | rw [← Set.image_univ] |
| 32 | exact (IrreducibleSpace.isIrreducible_univ X).image f.toImage f.toImage.continuous.continuousOn |
| 33 | have hc : IsIrreducible (Set.univ : Set f.image) := by |
| 34 | rw [← f.toImage.denseRange.closure_eq] |
| 35 | exact hr.closure |
| 36 | exact (irreducibleSpace_def f.image).mpr hc |
| 37 | |
| 38 | theorem integral {X Y : Scheme.{u}} (f : X ⟶ Y) [IsIntegral X] [QuasiCompact f] : |
| 39 | IsIntegral f.image := by |
| 40 | have := reduced f |
| 41 | have := irreducible f |
| 42 | exact isIntegral_of_irreducibleSpace_of_isReduced f.image |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntegralScheme.IntegralSchemeImage |