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.Resolution.Blowups.ClosedTransformProjectivity |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.SchemeTheoreticallyDominant |
| 3 | import Mathlib.RingTheory.Ideal.Quotient.Nilpotent |
| 4 | |
| 5 | /-! # Scheme Image -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Integral.SchemeImage.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual scheme-theoretic image of an integral source is integral. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem scheme_image_isReduced |
| 18 | {Z Y : Scheme.{u}} (f : Z ⟶ Y) [QuasiCompact f] [IsReduced Z] : IsReduced f.image := by |
| 19 | have hred (U : Y.affineOpens) : IsReduced (Spec (.of (Γ(Y, U) ⧸ f.ker.ideal U))) := by |
| 20 | have hrad : (f.ker.ideal U).IsRadical := by |
| 21 | rw [Scheme.Hom.ker_apply] |
| 22 | intro a ha |
| 23 | obtain ⟨n, hn⟩ := ha |
| 24 | change (f.app U.1).hom a = 0 |
| 25 | apply IsNilpotent.eq_zero |
| 26 | refine ⟨n, ?_⟩ |
| 27 | change (f.app U.1).hom (a ^ n) = 0 at hn |
| 28 | rwa [map_pow] at hn |
| 29 | let : _root_.IsReduced (Γ(Y, U) ⧸ f.ker.ideal U) := |
| 30 | (Ideal.isRadical_iff_quotient_reduced (f.ker.ideal U)).mp hrad |
| 31 | infer_instance |
| 32 | let : ∀ U : f.ker.subschemeCover.openCover.I₀, IsReduced (f.ker.subschemeCover.openCover.X U) := |
| 33 | fun U => hred U |
| 34 | exact IsReduced.of_openCover f.image f.ker.subschemeCover.openCover |
| 35 | |
| 36 | theorem scheme_image_isIntegral |
| 37 | {Z Y : Scheme.{u}} (f : Z ⟶ Y) [QuasiCompact f] [IsIntegral Z] : IsIntegral f.image := by |
| 38 | let : IsReduced f.image := scheme_image_isReduced f |
| 39 | have hr : IsIrreducible (Set.range f.toImage) := by |
| 40 | simpa only [Set.image_univ] using (IrreducibleSpace.isIrreducible_univ Z).image |
| 41 | f.toImage f.toImage.continuous.continuousOn |
| 42 | have hwhole : IsIrreducible (Set.univ : Set f.image) := f.toImage.denseRange.closure_eq ▸ hr.closure |
| 43 | let : IrreducibleSpace f.image := (irreducibleSpace_def f.image).mpr hwhole |
| 44 | exact isIntegral_of_irreducibleSpace_of_isReduced f.image |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.Resolution.Blowups.Integral.SchemeImage.Construction |