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.CycleClass.Thom.Normalization.Open |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.PrincipalBoundary |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.Open |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientTopology |
| 5 | |
| 6 | /-! # Good Smooth Map -/ |
| 7 | |
| 8 | namespace OAI |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions |
| 13 | |
| 14 | /-! The constructed generic normalization cover embeds into the actual smooth normalization retained for the divisor computation, and both have the same original ambient map. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GenericCover.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.Open.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.Scheme.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.SmoothLocus.Constructions.Open |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.PrincipalBoundary.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.Open.Constructions.Construction |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | |
| 24 | theorem goodOpen_subset_smoothBase (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [LocallyOfFiniteType X.hom] : |
| 25 | GenericCover.Constructions.goodOpen X ≤ SmoothLocus.Constructions.Open.normalizationSmoothBase X.left X.hom := by |
| 26 | let : IsFinite (Normalization.Scheme.Constructions.normalizationMap X.left) := Normalization.Scheme.Constructions.normalizationMap_isFinite X.left X.hom |
| 27 | let : LocallyOfFiniteType (GenericCover.Constructions.normalizationOver X).hom := by |
| 28 | change LocallyOfFiniteType (Normalization.Scheme.Constructions.normalizationMap X.left ≫ X.hom) |
| 29 | infer_instance |
| 30 | let : Smooth (((GenericCover.Constructions.normalizationOverMap X).left ⁻¹ᵁ GenericCover.Constructions.goodOpen X).ι ≫ (GenericCover.Constructions.normalizationOver X).hom) := |
| 31 | (GenericCover.Constructions.goodOpen_spec X).2.2.2.2 |
| 32 | have hs := ProperImage.RestrictionDegree.Constructions.Construction.open_subset_smoothLocus (GenericCover.Constructions.normalizationOver X).hom ((GenericCover.Constructions.normalizationOverMap X).left ⁻¹ᵁ GenericCover.Constructions.goodOpen X) |
| 33 | intro x hx |
| 34 | rintro ⟨y, hy, hyx⟩ |
| 35 | have hyy : y ∈ (GenericCover.Constructions.normalizationOverMap X).left ⁻¹ᵁ GenericCover.Constructions.goodOpen X := by |
| 36 | change Normalization.Scheme.Constructions.normalizationMap X.left y ∈ GenericCover.Constructions.goodOpen X |
| 37 | exact hyx.symm ▸ hx |
| 38 | exact hy (hs hyy) |
| 39 | |
| 40 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (D : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 41 | |
| 42 | local instance : IsIntegral D.toOver.left := inferInstanceAs (IsIntegral D.scheme) |
| 43 | local instance : LocallyOfFiniteType D.toOver.hom := inferInstanceAs (LocallyOfFiniteType D.structureMap) |
| 44 | |
| 45 | theorem goodSource_le_smooth : ((GenericCover.Constructions.normalizationOverMap D.toOver).left ⁻¹ᵁ GenericCover.Constructions.goodOpen D.toOver) ≤ |
| 46 | (AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ AmbientMap.Constructions.ambientOpen V D.val := by |
| 47 | rw [AmbientMap.Constructions.preimage_ambientOpen] |
| 48 | exact fun _ hx => goodOpen_subset_smoothBase D.toOver hx |
| 49 | |
| 50 | def sourceToSmooth : GenericCover.Constructions.sourceOpen D.toOver ⟶ AmbientMap.Constructions.smoothNormalizationOver V D.val := |
| 51 | Over.homMk ((Normalization.Scheme.Constructions.normalization D.scheme).homOfLE (goodSource_le_smooth D)) (by |
| 52 | change (Normalization.Scheme.Constructions.normalization D.scheme).homOfLE (goodSource_le_smooth D) ≫ |
| 53 | (((AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ AmbientMap.Constructions.ambientOpen V D.val).ι ≫ |
| 54 | (Normalization.Scheme.Constructions.normalizationMap D.scheme ≫ D.structureMap)) = |
| 55 | ((GenericCover.Constructions.normalizationOverMap D.toOver).left ⁻¹ᵁ GenericCover.Constructions.goodOpen D.toOver).ι ≫ |
| 56 | (Normalization.Scheme.Constructions.normalizationMap D.scheme ≫ D.structureMap) |
| 57 | exact (Category.assoc _ _ _).symm.trans |
| 58 | (congrArg (fun k => k ≫ (Normalization.Scheme.Constructions.normalizationMap D.scheme ≫ D.structureMap)) |
| 59 | ((Normalization.Scheme.Constructions.normalization D.scheme).homOfLE_ι (goodSource_le_smooth D)))) |
| 60 | |
| 61 | instance sourceToSmooth_open : IsOpenImmersion (sourceToSmooth D).left := |
| 62 | inferInstanceAs (IsOpenImmersion ((Normalization.Scheme.Constructions.normalization D.scheme).homOfLE (goodSource_le_smooth D))) |
| 63 | |
| 64 | theorem sourceToSmooth_ambient : sourceToSmooth D ≫ PrincipalBoundary.Constructions.fullAmbientMap V D.val = |
| 65 | GenericCover.Constructions.coverMap D.toOver ≫ Open.Constructions.targetToAmbient D := by |
| 66 | apply Over.OverMorphism.ext |
| 67 | change (Normalization.Scheme.Constructions.normalization D.scheme).homOfLE (goodSource_le_smooth D) ≫ (PrincipalBoundary.Constructions.fullAmbientMap V D.val).left = _ |
| 68 | rw [PrincipalBoundary.Constructions.fullAmbientMap_left] |
| 69 | change (Normalization.Scheme.Constructions.normalization D.scheme).homOfLE (goodSource_le_smooth D) ≫ |
| 70 | (((AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ AmbientMap.Constructions.ambientOpen V D.val).ι ≫ |
| 71 | (Normalization.Scheme.Constructions.normalizationMap D.scheme ≫ D.inclusion)) = |
| 72 | (Normalization.Scheme.Constructions.normalizationMap D.scheme ∣_ GenericCover.Constructions.goodOpen D.toOver) ≫ ((GenericCover.Constructions.goodOpen D.toOver).ι ≫ D.inclusion) |
| 73 | exact ((Category.assoc _ _ _).symm.trans |
| 74 | (congrArg (fun k => k ≫ (Normalization.Scheme.Constructions.normalizationMap D.scheme ≫ D.inclusion)) |
| 75 | ((Normalization.Scheme.Constructions.normalization D.scheme).homOfLE_ι (goodSource_le_smooth D)))).trans |
| 76 | ((Category.assoc _ _ _).symm.trans |
| 77 | ((congrArg (fun k => k ≫ D.inclusion) |
| 78 | (morphismRestrict_ι (Normalization.Scheme.Constructions.normalizationMap D.scheme) (GenericCover.Constructions.goodOpen D.toOver)).symm).trans |
| 79 | (Category.assoc _ _ _))) |
| 80 | |
| 81 | end AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions |
| 82 | |
| 83 | namespace AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.Range |
| 84 | |
| 85 | /-! The genuine generic normalization cover contains every smooth-normalization point over the retained ambient open. -/ |
| 86 | |
| 87 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 88 | |
| 89 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GenericCover.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.Open.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions |
| 90 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.Scheme.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.PrincipalBoundary.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.Open.Constructions.Construction |
| 91 | |
| 92 | set_option backward.isDefEq.respectTransparency false |
| 93 | set_option backward.isDefEq.respectTransparency.types false |
| 94 | |
| 95 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (D : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 96 | |
| 97 | local instance : IsIntegral D.toOver.left := inferInstanceAs (IsIntegral D.scheme) |
| 98 | local instance : LocallyOfFiniteType D.toOver.hom := inferInstanceAs (LocallyOfFiniteType D.structureMap) |
| 99 | |
| 100 | theorem fullAmbientMap_apply (y : (AmbientMap.Constructions.smoothNormalizationOver V D.val).left) : |
| 101 | (PrincipalBoundary.Constructions.fullAmbientMap V D.val).left y = D.inclusion (Normalization.Scheme.Constructions.normalizationMap D.scheme y.val) := by |
| 102 | rw [PrincipalBoundary.Constructions.fullAmbientMap_left] |
| 103 | rfl |
| 104 | |
| 105 | theorem sourceToSmooth_mem_range (y : (AmbientMap.Constructions.smoothNormalizationOver V D.val).left) : |
| 106 | y ∈ Set.range (sourceToSmooth D).left ↔ Normalization.Scheme.Constructions.normalizationMap D.scheme y.val ∈ GenericCover.Constructions.goodOpen D.toOver := by |
| 107 | constructor |
| 108 | · rintro ⟨x, rfl⟩ |
| 109 | have he := (Normalization.Scheme.Constructions.normalization D.scheme).homOfLE_apply (goodSource_le_smooth D) x |
| 110 | change Normalization.Scheme.Constructions.normalizationMap D.scheme |
| 111 | (((Normalization.Scheme.Constructions.normalization D.scheme).homOfLE (goodSource_le_smooth D)) x).val ∈ GenericCover.Constructions.goodOpen D.toOver |
| 112 | exact (congrArg (Normalization.Scheme.Constructions.normalizationMap D.scheme) he).symm ▸ x.property |
| 113 | · intro hy |
| 114 | let x : (GenericCover.Constructions.sourceOpen D.toOver).left := ⟨y.val, hy⟩ |
| 115 | refine ⟨x, ?_⟩ |
| 116 | apply Subtype.ext |
| 117 | exact (Normalization.Scheme.Constructions.normalization D.scheme).homOfLE_apply (goodSource_le_smooth D) x |
| 118 | |
| 119 | theorem sourceToSmooth_range : Set.range (sourceToSmooth D).left = |
| 120 | (PrincipalBoundary.Constructions.fullAmbientMap V D.val).left ⁻¹' (Open.Constructions.omittedBoundary D : Set V.carrier)ᶜ := by |
| 121 | ext y |
| 122 | rw [sourceToSmooth_mem_range] |
| 123 | change _ ↔ ¬ (PrincipalBoundary.Constructions.fullAmbientMap V D.val).left y ∈ ProperImage.Open.Constructions.Construction.supportOpenBoundary D (GenericCover.Constructions.goodOpen D.toOver) |
| 124 | rw [fullAmbientMap_apply] |
| 125 | have he := Set.ext_iff.mp (ProperImage.Open.Constructions.Construction.supportOpenBoundary_preimage D (GenericCover.Constructions.goodOpen D.toOver)) |
| 126 | (Normalization.Scheme.Constructions.normalizationMap D.scheme y.val) |
| 127 | exact ((not_congr he).trans not_not).symm |
| 128 | |
| 129 | theorem sourceToSmooth_analytic_range : Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (sourceToSmooth D)) = |
| 130 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V D.val) ⁻¹' (Open.Constructions.goodAmbient D : Set V.analyticSpace) := by |
| 131 | rw [ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.range_map_of_isImmersion, sourceToSmooth_range] |
| 132 | rfl |
| 133 | |
| 134 | end AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.Range |
| 135 | |
| 136 | namespace AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen |
| 137 | |
| 138 | /-! Restricting the genuine finite normalization to an ambient affine open inside the smooth-normalization base gives the actual affine source used for the polynomial graph. -/ |
| 139 | |
| 140 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 141 | |
| 142 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.Scheme.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientTopology.Constructions |
| 143 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.PrincipalBoundary.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.Open.Constructions.Construction |
| 144 | |
| 145 | set_option backward.isDefEq.respectTransparency false |
| 146 | set_option backward.isDefEq.respectTransparency.types false |
| 147 | |
| 148 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (D : Geometric.DimensionCycles.DimensionCycleSupport V p) (B : V.carrier.Opens) |
| 149 | |
| 150 | local instance : IsIntegral (AmbientMap.Constructions.fullNormalizationOver V D.val).left := |
| 151 | inferInstanceAs (IsIntegral (Normalization.Scheme.Constructions.normalization D.scheme)) |
| 152 | |
| 153 | instance normalizationToAmbient_finite : IsFinite (AmbientMap.Constructions.normalizationToAmbient V D.val).left := by |
| 154 | let : IsFinite (Normalization.Scheme.Constructions.normalizationMap D.scheme) := Normalization.Scheme.Constructions.normalizationMap_isFinite D.scheme D.structureMap |
| 155 | change IsFinite (Normalization.Scheme.Constructions.normalizationMap D.scheme ≫ D.inclusion) |
| 156 | infer_instance |
| 157 | |
| 158 | def affineBase : Over Foundations.Scheme.ProjectiveSpace.complexBase := ProperImage.AnalyticRestriction.Constructions.Construction.openSchemeOver V.toOver B |
| 159 | def affineSource : Over Foundations.Scheme.ProjectiveSpace.complexBase := |
| 160 | ProperImage.AnalyticRestriction.Constructions.Construction.openSchemeOver (AmbientMap.Constructions.fullNormalizationOver V D.val) ((AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ B) |
| 161 | def affineMap : affineSource D B ⟶ affineBase B := ProperImage.AnalyticRestriction.Constructions.Construction.restrictedSchemeMap (AmbientMap.Constructions.normalizationToAmbient V D.val) B |
| 162 | def baseInclusion : affineBase B ⟶ V.toOver := ProperImage.AnalyticRestriction.Constructions.Construction.openSchemeInclusion V.toOver B |
| 163 | |
| 164 | instance affineMap_finite : IsFinite (affineMap D B).left := |
| 165 | inferInstanceAs (IsFinite ((AmbientMap.Constructions.normalizationToAmbient V D.val).left ∣_ B)) |
| 166 | instance baseInclusion_open : IsOpenImmersion (baseInclusion B).left := |
| 167 | inferInstanceAs (IsOpenImmersion B.ι) |
| 168 | |
| 169 | variable (hB : B ≤ AmbientMap.Constructions.ambientOpen V D.val) |
| 170 | |
| 171 | include hB in |
| 172 | theorem affineSource_le_smooth : (AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ B ≤ |
| 173 | (AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ AmbientMap.Constructions.ambientOpen V D.val := fun _ hx => hB hx |
| 174 | |
| 175 | def sourceToSmooth : affineSource D B ⟶ AmbientMap.Constructions.smoothNormalizationOver V D.val := |
| 176 | Over.homMk ((Normalization.Scheme.Constructions.normalization D.scheme).homOfLE (affineSource_le_smooth D B hB)) (by |
| 177 | exact (Category.assoc _ _ _).symm.trans |
| 178 | (congrArg (fun k => k ≫ (Normalization.Scheme.Constructions.normalizationMap D.scheme ≫ D.structureMap)) |
| 179 | ((Normalization.Scheme.Constructions.normalization D.scheme).homOfLE_ι (affineSource_le_smooth D B hB)))) |
| 180 | |
| 181 | instance sourceToSmooth_open : IsOpenImmersion (sourceToSmooth D B hB).left := |
| 182 | inferInstanceAs (IsOpenImmersion ((Normalization.Scheme.Constructions.normalization D.scheme).homOfLE (affineSource_le_smooth D B hB))) |
| 183 | |
| 184 | theorem sourceToSmooth_ambient : sourceToSmooth D B hB ≫ PrincipalBoundary.Constructions.fullAmbientMap V D.val = |
| 185 | affineMap D B ≫ baseInclusion B := by |
| 186 | apply Over.OverMorphism.ext |
| 187 | change (Normalization.Scheme.Constructions.normalization D.scheme).homOfLE (affineSource_le_smooth D B hB) ≫ |
| 188 | (PrincipalBoundary.Constructions.fullAmbientMap V D.val).left = _ |
| 189 | rw [PrincipalBoundary.Constructions.fullAmbientMap_left] |
| 190 | exact ((Category.assoc _ _ _).symm.trans |
| 191 | (congrArg (fun k => k ≫ (Normalization.Scheme.Constructions.normalizationMap D.scheme ≫ D.inclusion)) |
| 192 | ((Normalization.Scheme.Constructions.normalization D.scheme).homOfLE_ι (affineSource_le_smooth D B hB)))).trans |
| 193 | (morphismRestrict_ι (AmbientMap.Constructions.normalizationToAmbient V D.val).left B).symm |
| 194 | |
| 195 | include hB in |
| 196 | theorem affineSource_smooth : Smooth (affineSource D B).hom := by |
| 197 | let : Smooth (AmbientMap.Constructions.smoothNormalizationOver V D.val).hom := AmbientMap.Constructions.smoothNormalization_smooth V D.val |
| 198 | rw [← (sourceToSmooth D B hB).w] |
| 199 | infer_instance |
| 200 | |
| 201 | omit hB in |
| 202 | instance affineBase_smooth : Smooth (affineBase B).hom := |
| 203 | inferInstanceAs (Smooth (B.ι ≫ V.structureMap)) |
| 204 | |
| 205 | omit hB in |
| 206 | instance affineBase_integral [Nonempty B] : IsIntegral (affineBase B).left := |
| 207 | inferInstanceAs (IsIntegral (B : Scheme)) |
| 208 | |
| 209 | omit hB in |
| 210 | instance affineSource_integral [Nonempty ((AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ B)] : |
| 211 | IsIntegral (affineSource D B).left := |
| 212 | inferInstanceAs (IsIntegral (((AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ B) : Scheme)) |
| 213 | |
| 214 | omit hB in |
| 215 | theorem affineSource_affine (hA : IsAffineOpen B) : IsAffine (affineSource D B).left := by |
| 216 | let : IsAffine (affineBase B).left := hA |
| 217 | exact isAffine_of_isAffineHom (affineMap D B).left |
| 218 | |
| 219 | end AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen |
| 220 | |
| 221 | end |
| 222 | |
| 223 | end OAI |