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.Global.CenterSmooth |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.AffineCenter |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Affine.ComplexNaturality |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.ComplexAffineDifferentialIdeal |
| 5 | |
| 6 | /-! # Pointed Smooth Center -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Global.PointedSmoothCenter.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Pointed actual affine open charts detect smoothness of native closed subschemes. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | theorem kernel_subscheme_smooth_of_closed_immersion |
| 19 | {Z X B : Scheme.{u}} (i : Z ⟶ X) (f : X ⟶ B) [IsClosedImmersion i] [Smooth (i ≫ f)] : |
| 20 | Smooth (i.ker.subschemeι ≫ f) := by |
| 21 | have hi : inv i.toImage ≫ i = i.imageι := (IsIso.inv_comp_eq i.toImage).mpr i.toImage_imageι.symm |
| 22 | have he : inv i.toImage ≫ (i ≫ f) = i.ker.subschemeι ≫ f := by |
| 23 | rw [← Category.assoc, hi] |
| 24 | exact he ▸ (inferInstance : Smooth (inv i.toImage ≫ (i ≫ f))) |
| 25 | |
| 26 | theorem idealSheaf_subscheme_smooth_of_open_charts |
| 27 | {X B : Scheme.{u}} {ι : Type v} (I : X.IdealSheafData) (f : X ⟶ B) |
| 28 | (U : ι → Scheme.{u}) (j : ∀ a, U a ⟶ X) [∀ a, IsOpenImmersion (j a)] |
| 29 | (hcover : ⨆ a, (j a).opensRange = ⊤) |
| 30 | (hlocal : ∀ a, Smooth ((I.comap (j a)).subschemeι ≫ j a ≫ f)) : |
| 31 | Smooth (I.subschemeι ≫ f) := by |
| 32 | let k : ∀ a, (I.comap (j a)).subscheme ⟶ I.subscheme := fun a => |
| 33 | (I.comapIso (j a)).hom ≫ pullback.snd (j a) I.subschemeι |
| 34 | have hcomp (a : ι) : k a ≫ I.subschemeι = (I.comap (j a)).subschemeι ≫ j a := by |
| 35 | dsimp only [k] |
| 36 | rw [Category.assoc, ← pullback.condition, ← Category.assoc, Scheme.IdealSheafData.comapIso_hom_fst] |
| 37 | have hrange (a : ι) : (k a).opensRange = I.subschemeι ⁻¹ᵁ (j a).opensRange := by |
| 38 | dsimp only [k] |
| 39 | rw [Scheme.Hom.opensRange_comp_of_isIso, Scheme.Hom.opensRange_pullbackSnd] |
| 40 | have hsource : ⨆ a, (k a).opensRange = ⊤ := by |
| 41 | simp_rw [hrange] |
| 42 | rw [← Scheme.Hom.preimage_iSup, hcover, Scheme.Hom.preimage_top] |
| 43 | let : IsZariskiLocalAtSource @AlgebraicGeometry.Smooth.{u} := |
| 44 | HasRingHomProperty.instIsZariskiLocalAtSource (Q := @RingHom.Smooth) |
| 45 | apply IsZariskiLocalAtSource.of_iSup_eq_top (P := @Smooth) (fun a => (k a).opensRange) hsource |
| 46 | intro a |
| 47 | let : Smooth (k a ≫ (I.subschemeι ≫ f)) := by |
| 48 | rw [← Category.assoc, hcomp, Category.assoc] |
| 49 | exact hlocal a |
| 50 | exact SupportedBlowupSmoothGluing.Construction.smooth_on_opensRange_of_open_immersion (I.subschemeι ≫ f) (k a) |
| 51 | |
| 52 | theorem affineQuotientKernel_complex_subscheme_smooth |
| 53 | (R : CommRingCat) [Algebra ℂ R] (K : Ideal R) [Algebra.Smooth ℂ (R ⧸ K)] : |
| 54 | Smooth ((Affine.QuotientKernel.Construction.affineQuotientKernel K).subschemeι ≫ ComplexAffineDifferentialIdeal.Construction.complexSpecStructure R) := by |
| 55 | let i := Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk K)) |
| 56 | let : IsClosedImmersion i := IsClosedImmersion.spec_of_surjective _ Ideal.Quotient.mk_surjective |
| 57 | have he : i ≫ ComplexAffineDifferentialIdeal.Construction.complexSpecStructure R = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure (R ⧸ K) := by |
| 58 | rw [ComplexAffineDifferentialIdeal.Construction.complexSpecStructure, ← Spec.map_comp] |
| 59 | rfl |
| 60 | let : Smooth (ComplexAffineDifferentialIdeal.Construction.complexSpecStructure (R ⧸ K)) := |
| 61 | (HasRingHomProperty.Spec_iff (P := @Smooth) (φ := CommRingCat.ofHom (algebraMap ℂ (R ⧸ K)))).mpr |
| 62 | (RingHom.smooth_algebraMap.mpr inferInstance) |
| 63 | let : Smooth (i ≫ ComplexAffineDifferentialIdeal.Construction.complexSpecStructure R) := he.symm ▸ inferInstance |
| 64 | exact kernel_subscheme_smooth_of_closed_immersion i (ComplexAffineDifferentialIdeal.Construction.complexSpecStructure R) |
| 65 | |
| 66 | theorem idealSheaf_complex_center_smooth_of_pointed_open_charts |
| 67 | {X : Scheme} (I : X.IdealSheafData) (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) |
| 68 | (hlocal : ∀ x : X, ∃ (R : CommRingCat) (_ : Algebra ℂ R) (j : Spec R ⟶ X), |
| 69 | IsOpenImmersion j ∧ j ≫ f = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure R ∧ |
| 70 | ∃ q : PrimeSpectrum R, j q = x ∧ ∃ K : Ideal R, |
| 71 | I.comap j = Affine.QuotientKernel.Construction.affineQuotientKernel K ∧ Algebra.Smooth ℂ (R ⧸ K)) : |
| 72 | Smooth (I.subschemeι ≫ f) := by |
| 73 | classical |
| 74 | choose R aR j hj hg q hq K hK hs using hlocal |
| 75 | let : ∀ x, Algebra ℂ (R x) := aR |
| 76 | let : ∀ x, IsOpenImmersion (j x) := hj |
| 77 | have hcover : ⨆ x, (j x).opensRange = ⊤ := by |
| 78 | apply top_le_iff.mp |
| 79 | intro x _ |
| 80 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨x, q x, hq x⟩ |
| 81 | apply idealSheaf_subscheme_smooth_of_open_charts I f (fun x => Spec (R x)) j hcover |
| 82 | intro x |
| 83 | rw [hK, hg] |
| 84 | let : Algebra.Smooth ℂ (R x ⧸ K x) := hs x |
| 85 | exact affineQuotientKernel_complex_subscheme_smooth (R x) (K x) |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.Resolution.Blowups.Global.PointedSmoothCenter.Construction |