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.Blowup.Complement |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.PointedSmoothCenter |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Integral.SchemeImage |
| 4 | |
| 5 | /-! # Disjoint Center -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Blowup.DisjointCenter.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A center disjoint from the blown-up center pulls back isomorphically as an actual closed subscheme. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem isIso_pullback_snd_of_isIso_on_open |
| 18 | {Y X Z : Scheme.{u}} (π : Y ⟶ X) (j : Z ⟶ X) (U : X.Opens) |
| 19 | [IsIso (π ∣_ U)] (hj : Set.range j ⊆ U) : IsIso (pullback.snd π j) := by |
| 20 | let k := IsOpenImmersion.lift U.ι j (by simpa only [Scheme.Opens.range_ι] using hj) |
| 21 | have hk : k ≫ U.ι = j := IsOpenImmersion.lift_fac U.ι j _ |
| 22 | have h := (IsPullback.of_hasPullback (π ∣_ U) k).paste_horiz (isPullback_morphismRestrict π U).flip |
| 23 | rw [hk] at h |
| 24 | rw [← h.isoPullback_inv_snd] |
| 25 | infer_instance |
| 26 | |
| 27 | def closedPullbackToBase {Y X : Scheme.{u}} (π : Y ⟶ X) (L : X.IdealSheafData) : |
| 28 | (L.comap π).subscheme ⟶ L.subscheme := |
| 29 | (L.comapIso π).hom ≫ pullback.snd π L.subschemeι |
| 30 | |
| 31 | theorem closedPullbackToBase_over {Y X : Scheme.{u}} (π : Y ⟶ X) (L : X.IdealSheafData) : |
| 32 | closedPullbackToBase π L ≫ L.subschemeι = (L.comap π).subschemeι ≫ π := by |
| 33 | rw [closedPullbackToBase, Category.assoc, ← pullback.condition, ← Category.assoc, |
| 34 | Scheme.IdealSheafData.comapIso_hom_fst] |
| 35 | |
| 36 | theorem globalBlowup_disjoint_center_isIso |
| 37 | {X : Scheme.{u}} [IsIntegral X] [IsLocallyNoetherian X] |
| 38 | (K L : X.IdealSheafData) (hK : K ≠ ⊥) (hdisjoint : K ⊔ L = ⊤) : |
| 39 | IsIso (closedPullbackToBase (GlobalBlowup.Data.Construction.globalBlowupToBase K hK) L) := by |
| 40 | let π := GlobalBlowup.Data.Construction.globalBlowupToBase K hK |
| 41 | let : IsIso (π ∣_ K.support.compl) := Complement.Construction.globalBlowup_supportComplement_isIso K hK |
| 42 | have hj : Set.range L.subschemeι ⊆ K.support.compl := by |
| 43 | rintro x ⟨z, rfl⟩ hx |
| 44 | have hs := congrArg Scheme.IdealSheafData.support hdisjoint |
| 45 | rw [Scheme.IdealSheafData.support_sup, Scheme.IdealSheafData.support_top] at hs |
| 46 | have hm : L.subschemeι z ∈ K.support ⊓ L.support := ⟨hx, z.property⟩ |
| 47 | rw [hs] at hm |
| 48 | exact hm |
| 49 | let : IsIso (pullback.snd π L.subschemeι) := isIso_pullback_snd_of_isIso_on_open π L.subschemeι _ hj |
| 50 | unfold closedPullbackToBase |
| 51 | infer_instance |
| 52 | |
| 53 | theorem globalBlowup_disjoint_center_smooth |
| 54 | {X B : Scheme.{u}} [IsIntegral X] [IsLocallyNoetherian X] |
| 55 | (f : X ⟶ B) (K L : X.IdealSheafData) (hK : K ≠ ⊥) (hdisjoint : K ⊔ L = ⊤) |
| 56 | [Smooth (L.subschemeι ≫ f)] : |
| 57 | Smooth ((L.comap (GlobalBlowup.Data.Construction.globalBlowupToBase K hK)).subschemeι ≫ (GlobalBlowup.Data.Construction.globalBlowupToBase K hK ≫ f)) := by |
| 58 | let π := GlobalBlowup.Data.Construction.globalBlowupToBase K hK |
| 59 | let : IsIso (closedPullbackToBase π L) := globalBlowup_disjoint_center_isIso K L hK hdisjoint |
| 60 | have he : closedPullbackToBase π L ≫ (L.subschemeι ≫ f) = |
| 61 | (L.comap π).subschemeι ≫ (π ≫ f) := by |
| 62 | rw [← Category.assoc, closedPullbackToBase_over, Category.assoc] |
| 63 | exact he ▸ (inferInstance : Smooth (closedPullbackToBase π L ≫ (L.subschemeι ≫ f))) |
| 64 | |
| 65 | theorem globalBlowup_disjoint_center_integral |
| 66 | {X : Scheme.{u}} [IsIntegral X] [IsLocallyNoetherian X] |
| 67 | (K L : X.IdealSheafData) (hK : K ≠ ⊥) (hdisjoint : K ⊔ L = ⊤) [IsIntegral L.subscheme] : |
| 68 | IsIntegral (L.comap (GlobalBlowup.Data.Construction.globalBlowupToBase K hK)).subscheme := by |
| 69 | let π := GlobalBlowup.Data.Construction.globalBlowupToBase K hK |
| 70 | let j := closedPullbackToBase π L |
| 71 | let : IsIso j := globalBlowup_disjoint_center_isIso K L hK hdisjoint |
| 72 | let : Nonempty (L.comap π).subscheme := ⟨inv j (Nonempty.some inferInstance)⟩ |
| 73 | exact isIntegral_of_isOpenImmersion j |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.Resolution.Blowups.Blowup.DisjointCenter.Construction |