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.ResolutionGeometry |
| 2 | import Mathlib.Order.KrullDimension |
| 3 | |
| 4 | /-! # Base Cases -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.BaseCases.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The smooth and zero-dimensional base cases for Blowups. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | /-- A smooth integral projective complex scheme is its own strong resolution. -/ |
| 15 | theorem resolution_of_singularities_of_smooth |
| 16 | (X : Scheme) (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X] [Smooth f] |
| 17 | (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation X f) : |
| 18 | letI : LocallyOfFinitePresentation f := P.locallyOfFinitePresentation |
| 19 | ∃ (R : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (π : R.carrier ⟶ X), |
| 20 | π ≫ f = R.structureMap ∧ IsProper π ∧ |
| 21 | (∃ e : R.carrier.PartialIso X, e.source.ι ≫ π = e.iso.hom ≫ e.target.ι) ∧ |
| 22 | IsIso (π ∣_ f.smoothLocus) := by |
| 23 | let : LocallyOfFinitePresentation f := P.locallyOfFinitePresentation |
| 24 | let R : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety := |
| 25 | ⟨{ carrier := X, structureMap := f, projective := P, smooth := inferInstance }, inferInstance⟩ |
| 26 | refine ⟨R, 𝟙 X, Category.id_comp f, inferInstance, ?_, ?_⟩ |
| 27 | · refine ⟨Scheme.PartialIso.refl X, ?_⟩ |
| 28 | change (⊤ : X.Opens).ι ≫ 𝟙 X = 𝟙 (⊤ : X.Opens).toScheme ≫ (⊤ : X.Opens).ι |
| 29 | simp only [Category.comp_id, Category.id_comp] |
| 30 | · change IsIso (𝟙 X ∣_ f.smoothLocus) |
| 31 | exact IsZariskiLocalAtTarget.restrict (P := MorphismProperty.isomorphisms Scheme) |
| 32 | (inferInstance : IsIso (𝟙 X)) f.smoothLocus |
| 33 | |
| 34 | /-- An integral complex scheme of finite presentation and Krull dimension zero |
| 35 | is smooth: its dense smooth locus contains its unique point. -/ |
| 36 | theorem smooth_of_krullDimLE_zero |
| 37 | (X : Scheme) (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X] |
| 38 | [LocallyOfFinitePresentation f] [Order.KrullDimLE 0 X] : Smooth f := by |
| 39 | let : PartialOrder X := specializationOrder X |
| 40 | have hdim : Order.krullDim X = 0 := le_antisymm |
| 41 | (by simpa using (Order.KrullDimLE.krullDim_le (n := 0) (α := X))) |
| 42 | Order.krullDim_nonneg |
| 43 | let : Subsingleton X := Order.krullDim_eq_zero_iff_of_orderTop.mp hdim |
| 44 | obtain ⟨x, hx⟩ := f.dense_smoothLocus_of_perfectField.nonempty |
| 45 | apply Scheme.Hom.smoothLocus_eq_top_iff.mp |
| 46 | apply top_le_iff.mp |
| 47 | intro y _ |
| 48 | exact (Subsingleton.elim x y) ▸ hx |
| 49 | |
| 50 | /-- Strong resolution for an integral projective complex scheme of dimension zero. -/ |
| 51 | theorem resolution_of_singularities_dim_zero |
| 52 | (X : Scheme) (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X] [Order.KrullDimLE 0 X] |
| 53 | (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation X f) : |
| 54 | letI : LocallyOfFinitePresentation f := P.locallyOfFinitePresentation |
| 55 | ∃ (R : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (π : R.carrier ⟶ X), |
| 56 | π ≫ f = R.structureMap ∧ IsProper π ∧ |
| 57 | (∃ e : R.carrier.PartialIso X, e.source.ι ≫ π = e.iso.hom ≫ e.target.ι) ∧ |
| 58 | IsIso (π ∣_ f.smoothLocus) := by |
| 59 | let : LocallyOfFinitePresentation f := P.locallyOfFinitePresentation |
| 60 | let : Smooth f := smooth_of_krullDimLE_zero X f |
| 61 | exact resolution_of_singularities_of_smooth X f P |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.Resolution.Blowups.BaseCases.Construction |