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 Mathlib.AlgebraicGeometry.Morphisms.Immersion |
| 3 | import Mathlib.AlgebraicGeometry.IdealSheaf.Functorial |
| 4 | |
| 5 | /-! # Supported Global Center -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.SupportedGlobalCenter.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Extension of a closed center from an open subscheme when its entire |
| 12 | support lies in a closed stratum contained in that open. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | /-- The local closed center is closed in the whole scheme when the |
| 19 | support cannot leave a closed stratum contained in the chosen open. -/ |
| 20 | theorem supported_center_composite_isClosedImmersion |
| 21 | {C U X : Scheme.{u}} (i : C ⟶ U) (j : U ⟶ X) |
| 22 | [IsClosedImmersion i] [IsOpenImmersion j] |
| 23 | (Z : Set X) (hZ : IsClosed Z) (hCZ : Set.range (i ≫ j) ⊆ Z) |
| 24 | (hZU : Z ⊆ Set.range j) : IsClosedImmersion (i ≫ j) := by |
| 25 | apply IsClosedImmersion.of_isPreimmersion |
| 26 | obtain ⟨D, hD, he⟩ := j.isOpenEmbedding.isInducing.image_eq_isClosed_inter_range |
| 27 | i.isClosedEmbedding.isClosed_range |
| 28 | have hcomp : j '' Set.range i = Set.range (i ≫ j) := (Set.range_comp j i).symm |
| 29 | rw [hcomp] at he |
| 30 | have hrange : Set.range (i ≫ j) = D ∩ Z := by |
| 31 | ext x |
| 32 | constructor |
| 33 | · intro hx |
| 34 | exact ⟨(he ▸ hx).1, hCZ hx⟩ |
| 35 | · rintro ⟨hxD, hxZ⟩ |
| 36 | exact he.symm ▸ ⟨hxD, hZU hxZ⟩ |
| 37 | rw [hrange] |
| 38 | exact hD.inter hZ |
| 39 | |
| 40 | /-- The kernel ideal sheaf of the extended center has exactly its actual |
| 41 | closed support; extension has introduced no additional closure points. -/ |
| 42 | theorem supported_center_kernel_support |
| 43 | {C U X : Scheme.{u}} (i : C ⟶ U) (j : U ⟶ X) |
| 44 | [IsClosedImmersion i] [IsOpenImmersion j] |
| 45 | (Z : Set X) (hZ : IsClosed Z) (hCZ : Set.range (i ≫ j) ⊆ Z) |
| 46 | (hZU : Z ⊆ Set.range j) : |
| 47 | ((i ≫ j).ker.support : Set X) = Set.range (i ≫ j) := by |
| 48 | let : IsClosedImmersion (i ≫ j) := supported_center_composite_isClosedImmersion i j Z hZ hCZ hZU |
| 49 | rw [Scheme.Hom.support_ker] |
| 50 | exact (i ≫ j).isClosedEmbedding.isClosed_range.closure_eq |
| 51 | |
| 52 | /-- Restricting the extended ideal sheaf to the original open recovers |
| 53 | the precise local center ideal sheaf. -/ |
| 54 | theorem supported_center_kernel_comap |
| 55 | {C U X : Scheme.{u}} (i : C ⟶ U) (j : U ⟶ X) |
| 56 | [IsClosedImmersion i] [IsOpenImmersion j] |
| 57 | (Z : Set X) (hZ : IsClosed Z) (hCZ : Set.range (i ≫ j) ⊆ Z) |
| 58 | (hZU : Z ⊆ Set.range j) : (i ≫ j).ker.comap j = i.ker := by |
| 59 | let : IsClosedImmersion (i ≫ j) := supported_center_composite_isClosedImmersion i j Z hZ hCZ hZU |
| 60 | have hpb : IsPullback i (𝟙 C) j (i ≫ j) := IsPullback.of_vert_isIso_mono ⟨by simp⟩ |
| 61 | ext1 |
| 62 | funext W |
| 63 | rw [Scheme.IdealSheafData.ideal_comap_of_isOpenImmersion] |
| 64 | exact (Scheme.ker_ideal_of_isPullback_of_isOpenImmersion (i ≫ j) i (𝟙 C) j hpb W).symm |
| 65 | |
| 66 | /-- A center confined to a proper closed stratum has a nonzero global |
| 67 | ideal sheaf, as required by the integral global blowup construction. -/ |
| 68 | theorem supported_center_kernel_ne_bot |
| 69 | {C U X : Scheme.{u}} (i : C ⟶ U) (j : U ⟶ X) |
| 70 | [IsClosedImmersion i] [IsOpenImmersion j] |
| 71 | (Z : Set X) (hZ : IsClosed Z) (hCZ : Set.range (i ≫ j) ⊆ Z) |
| 72 | (hZU : Z ⊆ Set.range j) (hproper : Z ≠ Set.univ) : (i ≫ j).ker ≠ ⊥ := by |
| 73 | intro hzero |
| 74 | have hs := supported_center_kernel_support i j Z hZ hCZ hZU |
| 75 | rw [hzero] at hs |
| 76 | have hrange : Set.range (i ≫ j) = Set.univ := hs.symm |
| 77 | apply hproper |
| 78 | apply Set.eq_univ_of_univ_subset |
| 79 | rwa [← hrange] |
| 80 | |
| 81 | /-- A local center supported in a proper closed stratum defines a genuine |
| 82 | global proper birational blowup. The whole complement of that stratum |
| 83 | is unchanged. No choice or termination of centers is asserted here. -/ |
| 84 | theorem supported_global_center_blowup_step |
| 85 | {C U X : Scheme.{u}} [IsIntegral X] [IsLocallyNoetherian X] |
| 86 | (i : C ⟶ U) (j : U ⟶ X) [IsClosedImmersion i] [IsOpenImmersion j] |
| 87 | (Z : Set X) (hZ : IsClosed Z) (hCZ : Set.range (i ≫ j) ⊆ Z) |
| 88 | (hZU : Z ⊆ Set.range j) (hproper : Z ≠ Set.univ) : |
| 89 | let I := (i ≫ j).ker |
| 90 | let hI := supported_center_kernel_ne_bot i j Z hZ hCZ hZU hproper |
| 91 | IsIntegral (GlobalBlowup.Data.Construction.globalBlowup I hI) ∧ IsProper (GlobalBlowup.Data.Construction.globalBlowupToBase I hI) ∧ |
| 92 | (∃ e : (GlobalBlowup.Data.Construction.globalBlowup I hI).PartialIso X, |
| 93 | e.source.ι ≫ GlobalBlowup.Data.Construction.globalBlowupToBase I hI = e.iso.hom ≫ e.target.ι) ∧ |
| 94 | IsIso (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ∣_ ⟨Zᶜ, hZ.isOpen_compl⟩) := by |
| 95 | let I := (i ≫ j).ker |
| 96 | let hI := supported_center_kernel_ne_bot i j Z hZ hCZ hZU hproper |
| 97 | refine ⟨inferInstance, inferInstance, GlobalBlowup.Data.Construction.globalBlowup_partialIso I hI, ?_⟩ |
| 98 | let : IsIso (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ∣_ I.support.compl) := |
| 99 | Blowup.Complement.Construction.globalBlowup_supportComplement_isIso I hI |
| 100 | apply Blowup.Complement.Construction.isIso_restrict_of_le (GlobalBlowup.Data.Construction.globalBlowupToBase I hI) |
| 101 | (V := I.support.compl) |
| 102 | intro x hx |
| 103 | change x ∉ (I.support : Set X) |
| 104 | intro hxI |
| 105 | have hsupport := supported_center_kernel_support i j Z hZ hCZ hZU |
| 106 | change ((i ≫ j).ker.support : Set X) = Set.range (i ≫ j) at hsupport |
| 107 | have hxr : x ∈ Set.range (i ≫ j) := hsupport ▸ hxI |
| 108 | exact hx (hCZ hxr) |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.AlgebraicGeometry.Resolution.Blowups.SupportedGlobalCenter.Construction |