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.BoundaryContainment |
| 2 | import OAI.AlgebraicGeometry.Cycles.Functoriality.CycleProjection |
| 3 | |
| 4 | /-! # Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Cycles.Functoriality.Support.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | theorem supportImageOverMap_inclusion {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 15 | (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) (p q : ℕ) |
| 16 | (hdeg : p + Y.complexDimension = q + X.complexDimension) |
| 17 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport X p) |
| 18 | (hdim : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (UnitCap.imageSupport f Z) Y.structureMap = |
| 19 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z.1 X.structureMap) : |
| 20 | ImageOpen.Construction.supportImageOverMap f hf p q hdeg Z hdim ≫ (ImageOpen.Construction.imageCycleSupport f p q hdeg Z hdim).toAmbient = |
| 21 | Z.toAmbient ≫ f := by |
| 22 | apply Over.OverMorphism.ext |
| 23 | exact SupportMap.Construction.supportImageMap_inclusion f hf Z |
| 24 | |
| 25 | theorem regularAmbientMap_eq_schemeMap {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 26 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 27 | CycleProjection.Construction.regularAmbientMap Z = ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map (Z.regularToSupport ≫ Z.toAmbient) := by |
| 28 | ext x |
| 29 | rfl |
| 30 | |
| 31 | /-- The map from a smooth support open to the ambient variety factors |
| 32 | through its canonical regular locus by the actual scheme morphisms. -/ |
| 33 | theorem smoothSupportOpen_ambient_map {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 34 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) (U : Z.scheme.Opens) (hU : U ≤ Z.structureMap.smoothLocus) : |
| 35 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map (ImageOpen.Construction.smoothSupportOpenToRegular Z U hU) ≫ CycleProjection.Construction.regularAmbientMap Z = |
| 36 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map (AnalyticRestriction.Construction.openSchemeInclusion Z.toOver U ≫ Z.toAmbient) := by |
| 37 | have h : ImageOpen.Construction.smoothSupportOpenToRegular Z U hU ≫ (Z.regularToSupport ≫ Z.toAmbient) = |
| 38 | AnalyticRestriction.Construction.openSchemeInclusion Z.toOver U ≫ Z.toAmbient := by |
| 39 | rw [← Category.assoc, ImageOpen.Construction.smoothSupportOpenToRegular_inclusion] |
| 40 | rw [regularAmbientMap_eq_schemeMap] |
| 41 | exact (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map_comp (ImageOpen.Construction.smoothSupportOpenToRegular Z U hU) |
| 42 | (Z.regularToSupport ≫ Z.toAmbient)).symm.trans |
| 43 | (congrArg (fun k => ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map k) h) |
| 44 | |
| 45 | /-- The native analytic covering square is the realization of the |
| 46 | restriction square for the actual support morphism. -/ |
| 47 | theorem restricted_support_cover_square |
| 48 | {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p q : ℕ} |
| 49 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport X p) (T : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport Y q) |
| 50 | (f : X.toOver ⟶ Y.toOver) (i : Z.toOver ⟶ T.toOver) |
| 51 | (hi : i ≫ T.toAmbient = Z.toAmbient ≫ f) |
| 52 | (U : T.scheme.Opens) (hT : U ≤ T.structureMap.smoothLocus) |
| 53 | (hZ : i.left ⁻¹ᵁ U ≤ Z.structureMap.smoothLocus) : |
| 54 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map (ImageOpen.Construction.smoothSupportOpenToRegular Z (i.left ⁻¹ᵁ U) hZ) ≫ |
| 55 | CycleProjection.Construction.regularAmbientMap Z) ≫ ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f = |
| 56 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map (AnalyticRestriction.Construction.restrictedSchemeMap i U) ≫ |
| 57 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map (ImageOpen.Construction.smoothSupportOpenToRegular T U hT) ≫ CycleProjection.Construction.regularAmbientMap T) := by |
| 58 | have h : (AnalyticRestriction.Construction.openSchemeInclusion Z.toOver (i.left ⁻¹ᵁ U) ≫ Z.toAmbient) ≫ f = |
| 59 | AnalyticRestriction.Construction.restrictedSchemeMap i U ≫ (AnalyticRestriction.Construction.openSchemeInclusion T.toOver U ≫ T.toAmbient) := by |
| 60 | rw [Category.assoc, ← hi, ← Category.assoc, ← AnalyticRestriction.Construction.restrictedSchemeMap_inclusion, Category.assoc] |
| 61 | rw [smoothSupportOpen_ambient_map, smoothSupportOpen_ambient_map] |
| 62 | exact (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map_comp |
| 63 | (AnalyticRestriction.Construction.openSchemeInclusion Z.toOver (i.left ⁻¹ᵁ U) ≫ Z.toAmbient) f).symm.trans |
| 64 | ((congrArg (fun k => ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map k) h).trans |
| 65 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map_comp (AnalyticRestriction.Construction.restrictedSchemeMap i U) |
| 66 | (AnalyticRestriction.Construction.openSchemeInclusion T.toOver U ≫ T.toAmbient))) |
| 67 | |
| 68 | /-- The smooth support open contains the entire regular preimage of |
| 69 | a compact set retained in the ambient boundary complement. -/ |
| 70 | theorem regularPreimage_subset_smoothSupportOpen_range |
| 71 | {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 72 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) (U : Z.scheme.Opens) (hU : U ≤ Z.structureMap.smoothLocus) |
| 73 | (L : Set V.analyticSpace) (hL : L ⊆ TraceDetection.Construction.algebraicComplementOpen V (ImageOpen.Construction.supportOpenBoundary Z U)) : |
| 74 | CycleProjection.Construction.regularAmbientMap Z ⁻¹' L ⊆ |
| 75 | Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (ImageOpen.Construction.smoothSupportOpenToRegular Z U hU)) := by |
| 76 | rw [ImageOpen.Construction.smoothSupportOpenToRegular_range] |
| 77 | intro x hx |
| 78 | exact BoundaryContainment.Construction.supportPoint_mem_open_of_boundaryComplement Z U (Z.regularAnalyticInclusion x) (hL hx) |
| 79 | |
| 80 | /-- The same containment for the source, using the commuting support map. -/ |
| 81 | theorem sourceRegularPreimage_subset_smoothSupportOpen_range |
| 82 | {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p q : ℕ} |
| 83 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport X p) (T : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport Y q) |
| 84 | (f : X.toOver ⟶ Y.toOver) (i : Z.toOver ⟶ T.toOver) |
| 85 | (hi : i ≫ T.toAmbient = Z.toAmbient ≫ f) |
| 86 | (U : T.scheme.Opens) (hZ : i.left ⁻¹ᵁ U ≤ Z.structureMap.smoothLocus) |
| 87 | (L : Set Y.analyticSpace) (hL : L ⊆ TraceDetection.Construction.algebraicComplementOpen Y (ImageOpen.Construction.supportOpenBoundary T U)) : |
| 88 | CycleProjection.Construction.regularAmbientMap Z ⁻¹' (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f ⁻¹' L) ⊆ |
| 89 | Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (ImageOpen.Construction.smoothSupportOpenToRegular Z (i.left ⁻¹ᵁ U) hZ)) := by |
| 90 | rw [ImageOpen.Construction.smoothSupportOpenToRegular_range] |
| 91 | intro x hx |
| 92 | have hpoint : T.analyticInclusion (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i (Z.regularAnalyticInclusion x)) = |
| 93 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f (CycleProjection.Construction.regularAmbientMap Z x) := by |
| 94 | exact congrArg (fun k : Z.toOver ⟶ Y.toOver => ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map k (Z.regularAnalyticInclusion x)) hi |
| 95 | have hmem := BoundaryContainment.Construction.supportPoint_mem_open_of_boundaryComplement T U |
| 96 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i (Z.regularAnalyticInclusion x)) (by rw [hpoint]; exact hL hx) |
| 97 | exact hmem |
| 98 | |
| 99 | end |
| 100 | |
| 101 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 102 | |
| 103 | /-- The whole integral variety as an actual irreducible closed support. -/ |
| 104 | def fullIrreducibleSupport (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : IrreducibleCloseds V.carrier := |
| 105 | ⟨Set.univ, IrreducibleSpace.isIrreducible_univ V.carrier, isClosed_univ⟩ |
| 106 | |
| 107 | instance fullIrreducibleSupport_inclusion_isIso (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 108 | IsIso (CycleClass.Geometric.GenericPoint.reducedSupportι (fullIrreducibleSupport V)) := by |
| 109 | let : Surjective (CycleClass.Geometric.GenericPoint.reducedSupportι (fullIrreducibleSupport V)) := ⟨by |
| 110 | apply Set.range_eq_univ.mp |
| 111 | exact CycleClass.Geometric.GenericPoint.range_reducedSupportι (fullIrreducibleSupport V)⟩ |
| 112 | exact isIso_of_isClosedImmersion_of_surjective _ |
| 113 | |
| 114 | theorem fullIrreducibleSupport_codimension (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 115 | CycleClass.Geometric.DimensionCycles.dimensionCodimension V (fullIrreducibleSupport V) = 0 := by |
| 116 | have h := Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_openImmersion |
| 117 | (CycleClass.Geometric.GenericPoint.reducedSupportι (fullIrreducibleSupport V)) V.structureMap |
| 118 | change Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension V.structureMap - |
| 119 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (CycleClass.Geometric.GenericPoint.reducedSupportι (fullIrreducibleSupport V) ≫ V.structureMap) = 0 |
| 120 | rw [h, Nat.sub_self] |
| 121 | |
| 122 | /-- The full variety as a codimension-zero cycle support. -/ |
| 123 | def fullCycleSupport (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V 0 := |
| 124 | ⟨fullIrreducibleSupport V, fullIrreducibleSupport_codimension V⟩ |
| 125 | |
| 126 | instance fullCycleSupport_inclusion_isIso (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 127 | IsIso (fullCycleSupport V).inclusion := |
| 128 | inferInstanceAs (IsIso (CycleClass.Geometric.GenericPoint.reducedSupportι (fullIrreducibleSupport V))) |
| 129 | |
| 130 | instance fullCycleSupport_toAmbient_isIso (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 131 | IsIso (fullCycleSupport V).toAmbient := by |
| 132 | let : IsIso (fullCycleSupport V).inclusion := fullCycleSupport_inclusion_isIso V |
| 133 | let e : (fullCycleSupport V).scheme ≅ V.carrier := asIso (fullCycleSupport V).inclusion |
| 134 | exact (Over.isoMk (f := (fullCycleSupport V).toOver) (g := V.toOver) |
| 135 | e rfl).isIso_hom |
| 136 | |
| 137 | instance fullCycleSupport_structureMap_smooth (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 138 | Smooth (fullCycleSupport V).structureMap := by |
| 139 | let : Smooth V.structureMap := V.presentation.smooth |
| 140 | change Smooth ((fullCycleSupport V).inclusion ≫ V.structureMap) |
| 141 | infer_instance |
| 142 | |
| 143 | instance fullCycleSupport_regularToSupport_isIso (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 144 | IsIso (fullCycleSupport V).regularToSupport := by |
| 145 | let Z := fullCycleSupport V |
| 146 | let : Surjective (CycleClass.Geometric.SmoothStratum.smoothStratumι Z.structureMap) := ⟨by |
| 147 | intro x |
| 148 | refine ⟨⟨x, ?_⟩, rfl⟩ |
| 149 | rw [Scheme.Hom.smoothLocus_eq_top] |
| 150 | trivial⟩ |
| 151 | let : IsIso (CycleClass.Geometric.SmoothStratum.smoothStratumι Z.structureMap) := |
| 152 | (isIso_iff_isOpenImmersion_and_surjective _).mpr ⟨inferInstance, inferInstance⟩ |
| 153 | let : IsIso Z.regularToSupport.left := inferInstanceAs (IsIso (CycleClass.Geometric.SmoothStratum.smoothStratumι Z.structureMap)) |
| 154 | exact (Over.isoMk (f := Z.regularOver) (g := Z.toOver) |
| 155 | (asIso (CycleClass.Geometric.SmoothStratum.smoothStratumι Z.structureMap)) rfl).isIso_hom |
| 156 | |
| 157 | instance fullCycleSupport_regularAmbientMap_isIso (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 158 | IsIso (CycleProjection.Construction.regularAmbientMap (fullCycleSupport V)) := by |
| 159 | rw [regularAmbientMap_eq_schemeMap] |
| 160 | exact (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.mapIso |
| 161 | (asIso ((fullCycleSupport V).regularToSupport ≫ (fullCycleSupport V).toAmbient))).isIso_hom |
| 162 | |
| 163 | theorem fullCycleSupport_regularAmbientOpen_eq_top (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 164 | (fullCycleSupport V).regularAmbientOpen = ⊤ := by |
| 165 | apply top_unique |
| 166 | intro x _ |
| 167 | obtain ⟨z, hz⟩ := (ConcreteCategory.bijective_of_isIso |
| 168 | (CycleProjection.Construction.regularAmbientMap (fullCycleSupport V))).2 x |
| 169 | exact hz ▸ ((fullCycleSupport V).regularComplementInclusion z).property |
| 170 | |
| 171 | theorem fullCycleSupport_regularDimension (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 172 | (fullCycleSupport V).regularComplexDimension = V.complexDimension := by |
| 173 | have h := (fullCycleSupport V).regularComplexDimension_add_codimension |
| 174 | simpa only [Nat.add_zero] using h |
| 175 | |
| 176 | end |
| 177 | |
| 178 | end OAI.AlgebraicGeometry.Cycles.Functoriality.Support.Construction |