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.ControlledIdealKernel |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Open.ImmersionSmoothImage |
| 3 | |
| 4 | /-! # Center Incidence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Integral.CenterIncidence.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Vanishing on a nonempty open part of an integral center forces containment in that whole center. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem integral_center_kernel_of_nonempty_open |
| 17 | {V Z X : Scheme.{u}} [IsIntegral Z] [Nonempty V] |
| 18 | (j : V ⟶ Z) [IsOpenImmersion j] (i : Z ⟶ X) : (j ≫ i).ker = i.ker := by |
| 19 | let : IsDominant j := ⟨j.isOpenEmbedding.isOpen_range.dense (Set.range_nonempty j)⟩ |
| 20 | let : IsSchemeTheoreticallyDominant j := IsSchemeTheoreticallyDominant.of_isDominant j |
| 21 | rw [Scheme.Hom.ker_comp, j.ker_eq_bot, Scheme.IdealSheafData.map_bot] |
| 22 | |
| 23 | theorem idealSheaf_contains_integral_center_of_open_vanishing |
| 24 | {V Z X : Scheme.{u}} [IsIntegral Z] [Nonempty V] |
| 25 | (j : V ⟶ Z) [IsOpenImmersion j] (i : Z ⟶ X) (H : X.IdealSheafData) |
| 26 | (h : H.comap (j ≫ i) = ⊥) : H ≤ i.ker := by |
| 27 | rw [← integral_center_kernel_of_nonempty_open j i] |
| 28 | exact (ControlledIdealKernel.Construction.idealSheaf_le_ker_iff_comap_eq_bot H (j ≫ i)).mpr h |
| 29 | |
| 30 | theorem idealSheaf_contains_integral_subscheme_of_open_vanishing |
| 31 | {X : Scheme.{u}} (I H : X.IdealSheafData) [IsIntegral I.subscheme] |
| 32 | (U : I.subscheme.Opens) [Nonempty U.toScheme] |
| 33 | (h : H.comap (U.ι ≫ I.subschemeι) = ⊥) : H ≤ I := by |
| 34 | have hle := idealSheaf_contains_integral_center_of_open_vanishing U.ι I.subschemeι H h |
| 35 | rw [Scheme.IdealSheafData.ker_subschemeι] at hle |
| 36 | exact hle |
| 37 | |
| 38 | theorem integral_center_contains_of_affine_containment |
| 39 | {X : Scheme.{u}} (I H : X.IdealSheafData) [IsIntegral I.subscheme] |
| 40 | (U : X.affineOpens) (hproper : I.ideal U ≠ ⊤) (hH : H.ideal U ≤ I.ideal U) : H ≤ I := by |
| 41 | let : Nontrivial (Γ(X, U) ⧸ I.ideal U) := Ideal.Quotient.nontrivial_iff.mpr hproper |
| 42 | let j : Spec (.of (Γ(X, U) ⧸ I.ideal U)) ⟶ I.subscheme := I.subschemeCover.f U |
| 43 | let : IsOpenImmersion j := I.subschemeCover.openCover.map_prop U |
| 44 | have hcomp : j ≫ I.subschemeι = |
| 45 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (I.ideal U))) ≫ U.2.fromSpec := by |
| 46 | have he := I.subschemeCover_map_subschemeι U |
| 47 | change j ≫ I.subschemeι = |
| 48 | (Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (I.ideal U))) ≫ U.2.isoSpec.inv) ≫ U.1.ι at he |
| 49 | exact he.trans (Category.assoc _ _ _) |
| 50 | have hzero : H.comap (j ≫ I.subschemeι) = ⊥ := by |
| 51 | rw [hcomp, Scheme.IdealSheafData.comap_comp] |
| 52 | apply (ControlledIdealKernel.Construction.idealSheaf_le_ker_iff_comap_eq_bot _ _).mp |
| 53 | rw [Affine.IdealSheafIdentification.Construction.idealSheaf_comap_fromSpec_eq_quotient_kernel] |
| 54 | exact Global.DifferentialTransform.Construction.affineQuotientKernel_mono hH |
| 55 | have hle := idealSheaf_contains_integral_center_of_open_vanishing j I.subschemeι H hzero |
| 56 | rw [Scheme.IdealSheafData.ker_subschemeι] at hle |
| 57 | exact hle |
| 58 | |
| 59 | theorem integral_center_affine_ideal_prime |
| 60 | {X : Scheme.{u}} (I : X.IdealSheafData) [IsIntegral I.subscheme] |
| 61 | (U : X.affineOpens) (hproper : I.ideal U ≠ ⊤) : (I.ideal U).IsPrime := by |
| 62 | let : Nontrivial (Γ(X, U) ⧸ I.ideal U) := Ideal.Quotient.nontrivial_iff.mpr hproper |
| 63 | let j : Spec (.of (Γ(X, U) ⧸ I.ideal U)) ⟶ I.subscheme := I.subschemeCover.f U |
| 64 | let : IsOpenImmersion j := I.subschemeCover.openCover.map_prop U |
| 65 | have hi : IsIntegral (Spec (.of (Γ(X, U) ⧸ I.ideal U))) := isIntegral_of_isOpenImmersion j |
| 66 | exact (Ideal.Quotient.isDomain_iff_prime (I.ideal U)).mp |
| 67 | ((affine_isIntegral_iff (.of (Γ(X, U) ⧸ I.ideal U))).mp hi) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.Resolution.Blowups.Integral.CenterIncidence.Construction |