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.Open.ImmersionSmoothImage |
| 2 | import Mathlib.Topology.NoetherianSpace |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.MixedBoundary |
| 4 | |
| 5 | /-! # Center Components -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.CenterComponents.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Irreducible components of a smooth complex scheme are disjoint integral open and closed subschemes. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | theorem smooth_complex_scheme_isReduced {X : Scheme} |
| 18 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] : IsReduced X := by |
| 19 | choose Y j hj hY hs y hy using Open.ImmersionSmoothImage.Construction.smooth_complex_pointed_integral_chart f |
| 20 | let : ∀ x, IsOpenImmersion (j x) := hj |
| 21 | let C : X.OpenCover := Scheme.Cover.mkOfCovers X Y j (fun x => ⟨x, y x, hy x⟩) |
| 22 | (fun _ => inferInstance) |
| 23 | let : ∀ i : C.I₀, IsReduced (C.X i) := fun i => by |
| 24 | let : IsIntegral (Y i) := hY i |
| 25 | exact inferInstanceAs (IsReduced (Y i)) |
| 26 | exact IsReduced.of_openCover X C |
| 27 | |
| 28 | theorem smooth_complex_irreducible_component_open {X : Scheme} |
| 29 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (C : Set X) (hC : C ∈ irreducibleComponents X) : IsOpen C := by |
| 30 | rw [isOpen_iff_forall_mem_open] |
| 31 | intro x hx |
| 32 | obtain ⟨Y, j, hj, hY, hs, y, hy⟩ := Open.ImmersionSmoothImage.Construction.smooth_complex_pointed_integral_chart f x |
| 33 | let : IsOpenImmersion j := hj |
| 34 | let : IsIntegral Y := hY |
| 35 | have hp := preimage_mem_irreducibleComponents hC j.isOpenEmbedding ⟨x, hx, y, hy⟩ |
| 36 | rw [irreducibleComponents_eq_singleton] at hp |
| 37 | have he : j ⁻¹' C = Set.univ := Set.mem_singleton_iff.mp hp |
| 38 | refine ⟨Set.range j, ?_, j.isOpenEmbedding.isOpen_range, ⟨y, hy⟩⟩ |
| 39 | rintro _ ⟨z, rfl⟩ |
| 40 | have hz : z ∈ j ⁻¹' C := by rw [he]; trivial |
| 41 | exact hz |
| 42 | |
| 43 | theorem smooth_complex_irreducible_components_disjoint {X : Scheme} |
| 44 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (C D : Set X) |
| 45 | (hC : C ∈ irreducibleComponents X) (hD : D ∈ irreducibleComponents X) (hne : C ≠ D) : |
| 46 | Disjoint C D := by |
| 47 | apply Set.disjoint_left.mpr |
| 48 | intro x hxC hxD |
| 49 | have hDC : D ⊆ C := |
| 50 | (subset_closure_inter_of_isPreirreducible_of_isOpen hD.1.2 |
| 51 | (smooth_complex_irreducible_component_open f C hC) ⟨x, hxD, hxC⟩).trans |
| 52 | (closure_minimal Set.inter_subset_right (isClosed_of_mem_irreducibleComponents C hC)) |
| 53 | exact hne (Set.Subset.antisymm (hD.2 hC.1 hDC) hDC) |
| 54 | |
| 55 | def smoothIntegralComponentOpen {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] |
| 56 | (C : irreducibleComponents X) : X.Opens := |
| 57 | ⟨C.val, smooth_complex_irreducible_component_open f C.val C.property⟩ |
| 58 | |
| 59 | theorem smoothIntegralComponentOpen_isIntegral {X : Scheme} |
| 60 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (C : irreducibleComponents X) : |
| 61 | IsIntegral (smoothIntegralComponentOpen f C).toScheme := by |
| 62 | let : IsReduced X := smooth_complex_scheme_isReduced f |
| 63 | let : IrreducibleSpace (smoothIntegralComponentOpen f C).toScheme := |
| 64 | isIrreducible_iff_irreducibleSpace.mp C.property.1 |
| 65 | exact isIntegral_of_irreducibleSpace_of_isReduced _ |
| 66 | |
| 67 | theorem smoothIntegralComponentOpen_cover {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] : |
| 68 | ⨆ C : irreducibleComponents X, smoothIntegralComponentOpen f C = ⊤ := by |
| 69 | apply top_le_iff.mp |
| 70 | intro x _ |
| 71 | exact Opens.mem_iSup.mpr ⟨⟨irreducibleComponent x, irreducibleComponent_mem_irreducibleComponents x⟩, |
| 72 | mem_irreducibleComponent⟩ |
| 73 | |
| 74 | theorem smoothIntegralComponentOpen_closedImmersion {X : Scheme} |
| 75 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (C : irreducibleComponents X) : |
| 76 | IsClosedImmersion (smoothIntegralComponentOpen f C).ι := by |
| 77 | apply IsClosedImmersion.iff_isPreimmersion.mpr |
| 78 | refine ⟨inferInstance, ?_⟩ |
| 79 | change IsClosed (Set.range (Subtype.val : (smoothIntegralComponentOpen f C) → X)) |
| 80 | rw [Subtype.range_coe] |
| 81 | exact isClosed_of_mem_irreducibleComponents C.val C.property |
| 82 | |
| 83 | theorem smoothIntegralComponents_finite {X : Scheme} [NoetherianSpace X] : |
| 84 | (irreducibleComponents X).Finite := NoetherianSpace.finite_irreducibleComponents |
| 85 | |
| 86 | end |
| 87 | |
| 88 | /-! Smooth center components as actual native ideal sheaves on the ambient scheme. -/ |
| 89 | |
| 90 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 91 | |
| 92 | variable {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (I : X.IdealSheafData) [Smooth (I.subschemeι ≫ f)] |
| 93 | |
| 94 | abbrev smoothCenterComponentFintype [NoetherianSpace I.subscheme] : |
| 95 | Fintype (irreducibleComponents I.subscheme) := |
| 96 | (smoothIntegralComponents_finite (X := I.subscheme)).fintype |
| 97 | |
| 98 | def smoothCenterComponentEmbedding (C : irreducibleComponents I.subscheme) : |
| 99 | (smoothIntegralComponentOpen (I.subschemeι ≫ f) C).toScheme ⟶ X := |
| 100 | (smoothIntegralComponentOpen (I.subschemeι ≫ f) C).ι ≫ I.subschemeι |
| 101 | |
| 102 | instance smoothCenterComponentEmbedding_closedImmersion (C : irreducibleComponents I.subscheme) : |
| 103 | IsClosedImmersion (smoothCenterComponentEmbedding f I C) := by |
| 104 | let : IsClosedImmersion (smoothIntegralComponentOpen (I.subschemeι ≫ f) C).ι := |
| 105 | smoothIntegralComponentOpen_closedImmersion (I.subschemeι ≫ f) C |
| 106 | unfold smoothCenterComponentEmbedding |
| 107 | infer_instance |
| 108 | |
| 109 | def smoothCenterComponentIdeal (C : irreducibleComponents I.subscheme) : X.IdealSheafData := |
| 110 | (smoothCenterComponentEmbedding f I C).ker |
| 111 | |
| 112 | theorem smoothCenterComponentIdeal_contains (C : irreducibleComponents I.subscheme) : |
| 113 | I ≤ smoothCenterComponentIdeal f I C := by |
| 114 | have h := (smoothIntegralComponentOpen (I.subschemeι ≫ f) C).ι.le_ker_comp I.subschemeι |
| 115 | rw [Scheme.IdealSheafData.ker_subschemeι] at h |
| 116 | exact h |
| 117 | |
| 118 | theorem smoothCenterComponentIdeal_integral (C : irreducibleComponents I.subscheme) : |
| 119 | IsIntegral (smoothCenterComponentIdeal f I C).subscheme := by |
| 120 | let : IsIntegral (smoothIntegralComponentOpen (I.subschemeι ≫ f) C).toScheme := |
| 121 | smoothIntegralComponentOpen_isIntegral (I.subschemeι ≫ f) C |
| 122 | exact Integral.SchemeImage.Construction.scheme_image_isIntegral (smoothCenterComponentEmbedding f I C) |
| 123 | |
| 124 | theorem smoothCenterComponentIdeal_smooth (C : irreducibleComponents I.subscheme) : |
| 125 | Smooth ((smoothCenterComponentIdeal f I C).subschemeι ≫ f) := by |
| 126 | let : Smooth (smoothCenterComponentEmbedding f I C ≫ f) := by |
| 127 | unfold smoothCenterComponentEmbedding |
| 128 | rw [Category.assoc] |
| 129 | infer_instance |
| 130 | exact Global.PointedSmoothCenter.Construction.kernel_subscheme_smooth_of_closed_immersion (smoothCenterComponentEmbedding f I C) f |
| 131 | |
| 132 | def smoothCenterComponentOpenCover : I.subscheme.OpenCover := |
| 133 | Scheme.Cover.mkOfCovers (irreducibleComponents I.subscheme) |
| 134 | (fun C => (smoothIntegralComponentOpen (I.subschemeι ≫ f) C).toScheme) |
| 135 | (fun C => (smoothIntegralComponentOpen (I.subschemeι ≫ f) C).ι) |
| 136 | (fun x => ⟨⟨irreducibleComponent x, irreducibleComponent_mem_irreducibleComponents x⟩, |
| 137 | ⟨x, mem_irreducibleComponent⟩, rfl⟩) (fun _ => inferInstance) |
| 138 | |
| 139 | theorem smoothCenterComponentIdeal_iInf : |
| 140 | ⨅ C : irreducibleComponents I.subscheme, smoothCenterComponentIdeal f I C = I := by |
| 141 | have h := I.subschemeι.iInf_ker_openCover_map_comp (smoothCenterComponentOpenCover f I) |
| 142 | rw [Scheme.IdealSheafData.ker_subschemeι] at h |
| 143 | exact h |
| 144 | |
| 145 | theorem smoothCenterComponentEmbedding_disjoint |
| 146 | (C D : irreducibleComponents I.subscheme) (hne : C ≠ D) : |
| 147 | Disjoint (Set.range (smoothCenterComponentEmbedding f I C)) |
| 148 | (Set.range (smoothCenterComponentEmbedding f I D)) := by |
| 149 | apply Set.disjoint_left.mpr |
| 150 | rintro x ⟨c, hc⟩ ⟨d, hd⟩ |
| 151 | have he : c.val = d.val := I.subschemeι.injective (hc.trans hd.symm) |
| 152 | have hdis := smooth_complex_irreducible_components_disjoint (I.subschemeι ≫ f) |
| 153 | C.val D.val C.property D.property (fun h => hne (Subtype.ext h)) |
| 154 | exact Set.disjoint_left.mp hdis c.property (he ▸ d.property) |
| 155 | |
| 156 | theorem smoothCenterComponentIdeal_support (C : irreducibleComponents I.subscheme) : |
| 157 | ((smoothCenterComponentIdeal f I C).support : Set X) = |
| 158 | Set.range (smoothCenterComponentEmbedding f I C) := by |
| 159 | rw [smoothCenterComponentIdeal, Scheme.Hom.support_ker] |
| 160 | exact (smoothCenterComponentEmbedding f I C).isClosedEmbedding.isClosed_range.closure_eq |
| 161 | |
| 162 | theorem smoothCenterComponentIdeal_sup (C D : irreducibleComponents I.subscheme) (hne : C ≠ D) : |
| 163 | smoothCenterComponentIdeal f I C ⊔ smoothCenterComponentIdeal f I D = ⊤ := by |
| 164 | apply (Scheme.IdealSheafData.support_eq_bot_iff _).mp |
| 165 | rw [Scheme.IdealSheafData.support_sup] |
| 166 | apply SetLike.coe_injective |
| 167 | change ((smoothCenterComponentIdeal f I C).support : Set X) ∩ |
| 168 | ((smoothCenterComponentIdeal f I D).support : Set X) = ∅ |
| 169 | rw [smoothCenterComponentIdeal_support, smoothCenterComponentIdeal_support] |
| 170 | exact Set.disjoint_iff_inter_eq_empty.mp (smoothCenterComponentEmbedding_disjoint f I C D hne) |
| 171 | |
| 172 | theorem smoothCenterComponentIdeal_ne_bot (hI : I ≠ ⊥) (C : irreducibleComponents I.subscheme) : |
| 173 | smoothCenterComponentIdeal f I C ≠ ⊥ := by |
| 174 | intro h |
| 175 | exact hI (le_bot_iff.mp (h ▸ smoothCenterComponentIdeal_contains f I C)) |
| 176 | |
| 177 | theorem smoothCenterComponentIdeal_permissible (J : X.IdealSheafData) (b : ℕ) |
| 178 | (hJ : J ≤ I ^ b) (C : irreducibleComponents I.subscheme) : |
| 179 | J ≤ smoothCenterComponentIdeal f I C ^ b := |
| 180 | hJ.trans (pow_le_pow_left' (smoothCenterComponentIdeal_contains f I C) b) |
| 181 | |
| 182 | theorem smoothCenterComponentIdeal_prod [Fintype (irreducibleComponents I.subscheme)] : |
| 183 | ∏ C : irreducibleComponents I.subscheme, smoothCenterComponentIdeal f I C = I := by |
| 184 | classical |
| 185 | calc |
| 186 | _ = ⨅ C : irreducibleComponents I.subscheme, smoothCenterComponentIdeal f I C := by |
| 187 | ext1 |
| 188 | funext U |
| 189 | rw [Global.MixedBoundary.Construction.idealSheaf_finset_prod_ideal, Scheme.IdealSheafData.ideal_iInf, iInf_apply] |
| 190 | change (∏ C, (smoothCenterComponentIdeal f I C).ideal U) = |
| 191 | ⨅ C, (smoothCenterComponentIdeal f I C).ideal U |
| 192 | have hcop : (↑(Finset.univ : Finset (irreducibleComponents I.subscheme)) : |
| 193 | Set (irreducibleComponents I.subscheme)).Pairwise |
| 194 | (fun C D => IsCoprime ((smoothCenterComponentIdeal f I C).ideal U) |
| 195 | ((smoothCenterComponentIdeal f I D).ideal U)) := by |
| 196 | intro C _ D _ hne |
| 197 | apply Ideal.isCoprime_iff_sup_eq.mpr |
| 198 | have h := congrArg (fun K : X.IdealSheafData => K.ideal U) (smoothCenterComponentIdeal_sup f I C D hne) |
| 199 | exact h |
| 200 | simpa only [Finset.mem_univ, iInf_true] using Ideal.prod_eq_iInf_of_pairwise_isCoprime hcop |
| 201 | _ = I := smoothCenterComponentIdeal_iInf f I |
| 202 | |
| 203 | end |
| 204 | |
| 205 | end OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.CenterComponents.Construction |