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.Cycles.Functoriality.RestrictionDegree |
| 2 | import OAI.AlgebraicGeometry.Cycles.Functoriality.DimensionDrop |
| 3 | import OAI.AlgebraicGeometry.Cycles.Functoriality.IntrinsicEtale |
| 4 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicOpenDifferential |
| 5 | |
| 6 | /-! # Image Open -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Cycles.Functoriality.ImageOpen.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | /-- The image support in its prescribed codimension when dimension is preserved. -/ |
| 17 | def imageCycleSupport {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 18 | (f : X.toOver ⟶ Y.toOver) (p q : ℕ) |
| 19 | (hdeg : p + Y.complexDimension = q + X.complexDimension) |
| 20 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport X p) |
| 21 | (hdim : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (UnitCap.imageSupport f Z) Y.structureMap = |
| 22 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z.1 X.structureMap) : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport Y q := |
| 23 | ⟨UnitCap.imageSupport f Z, UnitCap.imageCodimension_eq f p q hdeg Z hdim⟩ |
| 24 | |
| 25 | /-- The actual proper support map, retaining the complex structure morphisms. -/ |
| 26 | def supportImageOverMap {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 27 | (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) (p q : ℕ) |
| 28 | (hdeg : p + Y.complexDimension = q + X.complexDimension) |
| 29 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport X p) |
| 30 | (hdim : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (UnitCap.imageSupport f Z) Y.structureMap = |
| 31 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z.1 X.structureMap) : |
| 32 | Z.toOver ⟶ (imageCycleSupport f p q hdeg Z hdim).toOver := |
| 33 | Over.homMk (SupportMap.Construction.supportImageMap f hf Z) (SupportMap.Construction.supportImageMap_over f hf Z) |
| 34 | |
| 35 | /-- A dimension-preserving proper support map has an actual finite etale |
| 36 | generic open whose source and target are both smooth. -/ |
| 37 | theorem supportImageOverMap_exists_good_open {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 38 | (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) (p q : ℕ) |
| 39 | (hdeg : p + Y.complexDimension = q + X.complexDimension) |
| 40 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport X p) |
| 41 | (hdim : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (UnitCap.imageSupport f Z) Y.structureMap = |
| 42 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z.1 X.structureMap) : |
| 43 | let T := imageCycleSupport f p q hdeg Z hdim |
| 44 | let i := supportImageOverMap f hf p q hdeg Z hdim |
| 45 | ∃ U : T.scheme.Opens, genericPoint T.scheme ∈ U ∧ |
| 46 | IsFinite (i.left ∣_ U) ∧ Etale (i.left ∣_ U) ∧ |
| 47 | Smooth (U.ι ≫ T.structureMap) ∧ |
| 48 | Smooth ((i.left ⁻¹ᵁ U).ι ≫ Z.structureMap) := by |
| 49 | let T := imageCycleSupport f p q hdeg Z hdim |
| 50 | let i := supportImageOverMap f hf p q hdeg Z hdim |
| 51 | let : IsIntegral Z.toOver.left := inferInstanceAs (IsIntegral Z.scheme) |
| 52 | let : IsIntegral T.toOver.left := inferInstanceAs (IsIntegral T.scheme) |
| 53 | let : IsProper i.left := SupportMap.Construction.supportImageMap_isProper f hf Z |
| 54 | let : IsProper T.structureMap := T.projectivePresentation.isProper |
| 55 | let : IsNoetherian T.toOver.left := Foundations.Scheme.ClosedProjective.isNoetherian_of_isProper_toSpec T.structureMap |
| 56 | have hi : i.left ≫ T.structureMap = Z.structureMap := SupportMap.Construction.supportImageMap_over f hf Z |
| 57 | obtain ⟨U, hU, hfin, het, hsT, hsZ⟩ := GenericEtale.Construction.exists_generic_smooth_finiteEtale_open |
| 58 | i.left T.structureMap (SupportMap.Construction.supportImageMap_genericPoint f hf Z) (by |
| 59 | rw [hi] |
| 60 | exact hdim) |
| 61 | refine ⟨U, hU, hfin, het, hsT, ?_⟩ |
| 62 | rwa [hi] at hsZ |
| 63 | |
| 64 | /-- The omitted part of a support is a genuine algebraic closed subset |
| 65 | of the ambient variety. -/ |
| 66 | def supportOpenBoundary {Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {q : ℕ} |
| 67 | (T : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport Y q) (U : T.scheme.Opens) : Closeds Y.carrier := |
| 68 | ⟨T.inclusion '' (U : Set T.scheme)ᶜ, |
| 69 | T.inclusion.isClosedMap _ U.isOpen.isClosed_compl⟩ |
| 70 | |
| 71 | theorem supportOpenBoundary_subset {Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {q : ℕ} |
| 72 | (T : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport Y q) (U : T.scheme.Opens) : |
| 73 | (supportOpenBoundary T U : Set Y.carrier) ⊆ T.1 := by |
| 74 | rintro x ⟨z, _, rfl⟩ |
| 75 | rw [← CycleClass.Geometric.GenericPoint.range_reducedSupportι T.1] |
| 76 | exact Set.mem_range_self z |
| 77 | |
| 78 | theorem genericPoint_not_mem_supportOpenBoundary {Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {q : ℕ} |
| 79 | (T : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport Y q) (U : T.scheme.Opens) (hU : genericPoint T.scheme ∈ U) : |
| 80 | T.genericPoint ∉ supportOpenBoundary T U := by |
| 81 | rintro ⟨z, hz, he⟩ |
| 82 | have he' : z = genericPoint T.scheme := |
| 83 | T.inclusion.isClosedEmbedding.injective (he.trans T.inclusion_genericPoint.symm) |
| 84 | exact hz (he'.symm ▸ hU) |
| 85 | |
| 86 | /-- Removing a dense open from a support leaves only subsets of strictly |
| 87 | higher codimension than the cycle itself. -/ |
| 88 | theorem supportOpenBoundary_codimension {Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {q : ℕ} |
| 89 | (T : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport Y q) (U : T.scheme.Opens) (hU : genericPoint T.scheme ∈ U) |
| 90 | (A : IrreducibleCloseds Y.carrier) (hA : (A : Set Y.carrier) ⊆ supportOpenBoundary T U) : |
| 91 | q < CycleClass.Geometric.DimensionCycles.dimensionCodimension Y A := by |
| 92 | have hle : A ≤ T.1 := hA.trans (supportOpenBoundary_subset T U) |
| 93 | have hne : A ≠ T.1 := by |
| 94 | intro he |
| 95 | subst A |
| 96 | have hη : T.genericPoint ∈ (T.1 : Set Y.carrier) := by |
| 97 | rw [← T.genericPoint_spec] |
| 98 | exact subset_closure (Set.mem_singleton T.genericPoint) |
| 99 | exact genericPoint_not_mem_supportOpenBoundary T U hU (hA hη) |
| 100 | have hd := Foundations.Scheme.SupportDimensionDrop.supportTranscendenceDimension_lt_of_lt A T.1 Y.structureMap (lt_of_le_of_ne hle hne) |
| 101 | have ha := CycleClass.Geometric.DimensionCycles.supportDimension_add_dimensionCodimension Y A |
| 102 | have ht := T.dimension_add_codimension |
| 103 | omega |
| 104 | |
| 105 | end |
| 106 | |
| 107 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicOpenDifferential |
| 108 | open scoped _root_.Manifold ContDiff |
| 109 | |
| 110 | local instance supportOver_isIntegral {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 111 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : IsIntegral Z.toOver.left := |
| 112 | inferInstanceAs (IsIntegral Z.scheme) |
| 113 | |
| 114 | /-- Native open immersions of smooth complex schemes are analytic local diffeomorphisms. -/ |
| 115 | theorem isLocalDiffeomorph_nativeScheme_openImmersion |
| 116 | {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [IsIntegral Y.left] |
| 117 | [Smooth X.hom] [Smooth Y.hom] (f : X ⟶ Y) [IsOpenImmersion f.left] : |
| 118 | IsLocalDiffeomorph |
| 119 | (𝓘(ℂ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ)) |
| 120 | (𝓘(ℂ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) → ℂ)) |
| 121 | ω (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f) := by |
| 122 | intro x |
| 123 | exact AnalyticInverse.Construction.isLocalDiffeomorphAt_of_bijective_mfderiv _ (ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map f ω) x |
| 124 | (ComplexPoints.Analytic.IntrinsicOpenDifferential.mfderiv_nativeScheme_openImmersion_bijective f x) |
| 125 | |
| 126 | /-- A smooth support open maps into the canonical regular locus. -/ |
| 127 | def smoothSupportOpenToRegular {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 128 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) (U : Z.scheme.Opens) (hU : U ≤ Z.structureMap.smoothLocus) : |
| 129 | AnalyticRestriction.Construction.openSchemeOver Z.toOver U ⟶ Z.regularOver := |
| 130 | Over.homMk (Z.scheme.homOfLE hU) (by |
| 131 | change Z.scheme.homOfLE hU ≫ (Z.structureMap.smoothLocus.ι ≫ Z.structureMap) = U.ι ≫ Z.structureMap |
| 132 | rw [← Category.assoc, Scheme.homOfLE_ι]) |
| 133 | |
| 134 | instance smoothSupportOpenToRegular_isOpenImmersion {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 135 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) (U : Z.scheme.Opens) (hU : U ≤ Z.structureMap.smoothLocus) : |
| 136 | IsOpenImmersion (smoothSupportOpenToRegular Z U hU).left := |
| 137 | inferInstanceAs (IsOpenImmersion (Z.scheme.homOfLE hU)) |
| 138 | |
| 139 | theorem smoothSupportOpenToRegular_inclusion {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 140 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) (U : Z.scheme.Opens) (hU : U ≤ Z.structureMap.smoothLocus) : |
| 141 | smoothSupportOpenToRegular Z U hU ≫ Z.regularToSupport = AnalyticRestriction.Construction.openSchemeInclusion Z.toOver U := by |
| 142 | apply Over.OverMorphism.ext |
| 143 | exact Z.scheme.homOfLE_ι hU |
| 144 | |
| 145 | /-- Every nonempty open of a support has the regular locus's native |
| 146 | complex dimension, as measured by its actual function field. -/ |
| 147 | theorem supportOpen_complexDimension {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 148 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) (U : Z.scheme.Opens) [Nonempty U] : |
| 149 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension (AnalyticRestriction.Construction.openSchemeOver Z.toOver U).hom = |
| 150 | Z.regularComplexDimension := by |
| 151 | let : IsIntegral Z.toOver.left := inferInstanceAs (IsIntegral Z.scheme) |
| 152 | let : IsIntegral (AnalyticRestriction.Construction.openSchemeOver Z.toOver U).left := inferInstanceAs (IsIntegral U.toScheme) |
| 153 | let : LocallyOfFiniteType (AnalyticRestriction.Construction.openSchemeOver Z.toOver U).hom := |
| 154 | inferInstanceAs (LocallyOfFiniteType (U.ι ≫ Z.structureMap)) |
| 155 | rw [← Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension] |
| 156 | change Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (U.ι ≫ Z.structureMap) = _ |
| 157 | rw [Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_open] |
| 158 | exact Z.regularComplexDimension_eq_supportDimension.symm |
| 159 | |
| 160 | /-- The image in the regular locus is exactly the points above the |
| 161 | chosen algebraic open of the support. -/ |
| 162 | theorem smoothSupportOpenToRegular_range {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 163 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) (U : Z.scheme.Opens) (hU : U ≤ Z.structureMap.smoothLocus) : |
| 164 | Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (smoothSupportOpenToRegular Z U hU)) = |
| 165 | Z.regularAnalyticInclusion ⁻¹' (AnalyticRestriction.Construction.schemeAnalyticOpen Z.toOver U : Set Z.analyticSpace) := by |
| 166 | have hcomp (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (AnalyticRestriction.Construction.openSchemeOver Z.toOver U)) : |
| 167 | Z.regularAnalyticInclusion (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (smoothSupportOpenToRegular Z U hU) x) = |
| 168 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (AnalyticRestriction.Construction.openSchemeInclusion Z.toOver U) x := by |
| 169 | change ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map Z.regularToSupport |
| 170 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (smoothSupportOpenToRegular Z U hU) x) = _ |
| 171 | rw [← ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map_comp, smoothSupportOpenToRegular_inclusion] |
| 172 | ext x |
| 173 | constructor |
| 174 | · rintro ⟨z, rfl⟩ |
| 175 | change Z.regularAnalyticInclusion (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (smoothSupportOpenToRegular Z U hU) z) ∈ |
| 176 | (AnalyticRestriction.Construction.schemeAnalyticOpen Z.toOver U : Set Z.analyticSpace) |
| 177 | rw [hcomp] |
| 178 | exact (AnalyticRestriction.Construction.openSchemePointHomeomorph Z.toOver U z).property |
| 179 | · intro hx |
| 180 | let z := (AnalyticRestriction.Construction.openSchemePointHomeomorph Z.toOver U).symm ⟨Z.regularAnalyticInclusion x, hx⟩ |
| 181 | refine ⟨z, Z.isOpenEmbedding_regularAnalyticInclusion.injective ?_⟩ |
| 182 | rw [hcomp] |
| 183 | exact congrArg Subtype.val ((AnalyticRestriction.Construction.openSchemePointHomeomorph Z.toOver U).apply_symm_apply |
| 184 | ⟨Z.regularAnalyticInclusion x, hx⟩) |
| 185 | |
| 186 | end |
| 187 | |
| 188 | end OAI.AlgebraicGeometry.Cycles.Functoriality.ImageOpen.Construction |