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.ComplexPoints.Analytic.CycleStratumRealization |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SupportRegularBoundary |
| 3 | import Mathlib.Topology.Constructions |
| 4 | import Mathlib.Geometry.Manifold.ContMDiff.Basic |
| 5 | |
| 6 | /-! # Regular Locus Complement -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.ComplexPoints.Analytic.RegularLocusComplement |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # The regular locus inside the complement of its singular boundary |
| 14 | |
| 15 | Removing the singular boundary turns the actual regular-locus embedding into |
| 16 | a closed embedding in an open subset of the ambient analytic manifold. |
| 17 | -/ |
| 18 | |
| 19 | open scoped ContDiff _root_.Manifold _root_.Topology |
| 20 | |
| 21 | section |
| 22 | |
| 23 | section ClosedContainer |
| 24 | |
| 25 | variable {M N : Type*} [TopologicalSpace M] [TopologicalSpace N] |
| 26 | |
| 27 | omit [TopologicalSpace M] [TopologicalSpace N] in |
| 28 | /-- Removing exactly the difference between a closed container and an |
| 29 | embedded range leaves that range as the container's intersection with the |
| 30 | open-complement subtype. This statement uses the actual codomain restriction. -/ |
| 31 | theorem range_codRestrict_complement_of_boundary |
| 32 | (f : M → N) (F C : Set N) (hsub : Set.range f ⊆ F) |
| 33 | (hC : C = F \ Set.range f) (havoid : ∀ x, f x ∈ Cᶜ) : |
| 34 | Set.range (Set.codRestrict f Cᶜ havoid) = Subtype.val ⁻¹' F := by |
| 35 | ext y |
| 36 | constructor |
| 37 | · rintro ⟨x, rfl⟩ |
| 38 | exact hsub ⟨x, rfl⟩ |
| 39 | · intro hy |
| 40 | have hyrange : y.val ∈ Set.range f := by |
| 41 | by_contra h |
| 42 | apply y.property |
| 43 | exact (congrArg (fun S : Set N => (y.val : N) ∈ S) hC).mpr ⟨hy, h⟩ |
| 44 | obtain ⟨x, hx⟩ := hyrange |
| 45 | exact ⟨x, Subtype.ext hx⟩ |
| 46 | |
| 47 | /-- An embedding becomes closed after removing the precise boundary of its |
| 48 | range inside a closed container. No compactness or assumed closedness of the |
| 49 | original embedded range is needed. -/ |
| 50 | theorem isClosedEmbedding_codRestrict_complement_of_boundary |
| 51 | (f : M → N) (hf : Topology.IsEmbedding f) |
| 52 | (F C : Set N) (hF : IsClosed F) (hsub : Set.range f ⊆ F) |
| 53 | (hC : C = F \ Set.range f) (havoid : ∀ x, f x ∈ Cᶜ) : |
| 54 | Topology.IsClosedEmbedding (Set.codRestrict f Cᶜ havoid) := by |
| 55 | refine ⟨hf.codRestrict Cᶜ havoid, ?_⟩ |
| 56 | rw [range_codRestrict_complement_of_boundary f F C hsub hC havoid] |
| 57 | exact hF.preimage continuous_subtype_val |
| 58 | |
| 59 | end ClosedContainer |
| 60 | |
| 61 | variable {𝕜 : Type*} [NontriviallyNormedField 𝕜] |
| 62 | variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace 𝕜 E] |
| 63 | variable [NormedAddCommGroup F] [NormedSpace 𝕜 F] |
| 64 | variable {M N : Type*} [TopologicalSpace M] [ChartedSpace E M] |
| 65 | variable [TopologicalSpace N] [ChartedSpace F N] |
| 66 | |
| 67 | /-- Restricting a map's codomain to an actual open submanifold preserves every |
| 68 | order of smoothness, including analyticity, in the inherited charts. -/ |
| 69 | theorem contMDiff_intoOpen_iff (U : TopologicalSpace.Opens N) (f : M → U) (r : ℕ∞ω) : |
| 70 | ContMDiff (𝓘(𝕜, E)) (𝓘(𝕜, F)) r (Subtype.val ∘ f) ↔ |
| 71 | ContMDiff (𝓘(𝕜, E)) (𝓘(𝕜, F)) r f := by |
| 72 | simp only [ContMDiff, ContMDiffAt, ContMDiffWithinAt, |
| 73 | ChartedSpace.liftPropWithinAt_subtypeVal_comp_iff] |
| 74 | |
| 75 | /-- Differentiability also agrees under the genuine open codomain restriction. -/ |
| 76 | theorem mdifferentiableAt_intoOpen_iff (U : TopologicalSpace.Opens N) (f : M → U) (x : M) : |
| 77 | MDifferentiableAt (𝓘(𝕜, E)) (𝓘(𝕜, F)) (Subtype.val ∘ f) x ↔ |
| 78 | MDifferentiableAt (𝓘(𝕜, E)) (𝓘(𝕜, F)) f x := by |
| 79 | simp only [MDifferentiableAt, ChartedSpace.LiftPropAt, |
| 80 | ChartedSpace.liftPropWithinAt_subtypeVal_comp_iff] |
| 81 | |
| 82 | set_option backward.isDefEq.respectTransparency false in |
| 83 | /-- In the inherited open charts, the two actual manifold differentials |
| 84 | coincide after the standard identification with their model vector spaces. -/ |
| 85 | theorem mfderiv_intoOpen_eq (U : TopologicalSpace.Opens N) (f : M → U) (x : M) : |
| 86 | (show E →L[𝕜] F from mfderiv (𝓘(𝕜, E)) (𝓘(𝕜, F)) f x) = |
| 87 | (show E →L[𝕜] F from mfderiv (𝓘(𝕜, E)) (𝓘(𝕜, F)) (Subtype.val ∘ f) x) := by |
| 88 | unfold mfderiv |
| 89 | rw [← mdifferentiableAt_intoOpen_iff U f x] |
| 90 | rfl |
| 91 | |
| 92 | end |
| 93 | |
| 94 | namespace DimensionCycleSupport |
| 95 | |
| 96 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 97 | |
| 98 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 99 | |
| 100 | /-- The actual open part of the ambient analytic variety obtained by deleting |
| 101 | the support's closed singular boundary. Its charts are the inherited open |
| 102 | submanifold charts of the ambient variety. -/ |
| 103 | def _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularAmbientOpen (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 104 | TopologicalSpace.Opens V.analyticSpace := |
| 105 | ⟨Z.analyticSingularBoundaryᶜ, Z.isClosed_analyticSingularBoundary.isOpen_compl⟩ |
| 106 | |
| 107 | @[simp] |
| 108 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularAmbientOpen_coe (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 109 | (Z.regularAmbientOpen : Set V.analyticSpace) = Z.analyticSingularBoundaryᶜ := rfl |
| 110 | |
| 111 | /-- The genuine ambient open submanifold containing the support's regular |
| 112 | locus as a closed embedded subspace. -/ |
| 113 | abbrev _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularAmbientSpace (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : Type := Z.regularAmbientOpen |
| 114 | |
| 115 | /-- The actual regular-locus point map, with codomain restricted to the |
| 116 | complement of the singular boundary. -/ |
| 117 | def _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularComplementInclusion (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 118 | Z.regularAnalyticSpace → Z.regularAmbientSpace := |
| 119 | fun x => ⟨Z.regularAnalyticToAmbient x, Z.regularAnalyticToAmbient_not_mem_boundary x⟩ |
| 120 | |
| 121 | instance _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularAmbientSpace_nonempty (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 122 | Nonempty Z.regularAmbientSpace := |
| 123 | Nonempty.map Z.regularComplementInclusion inferInstance |
| 124 | |
| 125 | @[simp] |
| 126 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularComplementInclusion_val (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 127 | (x : Z.regularAnalyticSpace) : |
| 128 | (Z.regularComplementInclusion x).val = Z.regularAnalyticToAmbient x := rfl |
| 129 | |
| 130 | /-- The restricted map has exactly the underlying algebraic point map. -/ |
| 131 | @[simp] |
| 132 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.underlying_regularComplementInclusion (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 133 | (x : Z.regularAnalyticSpace) : |
| 134 | SchemePointHomeomorphs.schemeComplexPoints.underlying (Z.regularComplementInclusion x).val = |
| 135 | Z.regularToAmbient.left (SchemePointHomeomorphs.schemeComplexPoints.underlying x) := |
| 136 | SchemePointHomeomorphs.schemeComplexPoints.underlying_map Z.regularToAmbient x |
| 137 | |
| 138 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.continuous_regularComplementInclusion (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 139 | Continuous Z.regularComplementInclusion := |
| 140 | Z.continuous_regularAnalyticToAmbient.subtype_mk _ |
| 141 | |
| 142 | /-- The regular locus is precisely the part of the original support lying |
| 143 | inside the actual boundary complement. -/ |
| 144 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.range_regularComplementInclusion (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 145 | Set.range Z.regularComplementInclusion = |
| 146 | Subtype.val ⁻¹' Set.range Z.analyticInclusion := |
| 147 | range_codRestrict_complement_of_boundary Z.regularAnalyticToAmbient |
| 148 | (Set.range Z.analyticInclusion) Z.analyticSingularBoundary |
| 149 | Z.range_regularAnalyticToAmbient_subset Z.analyticSingularBoundary_eq_sdiff |
| 150 | Z.regularAnalyticToAmbient_not_mem_boundary |
| 151 | |
| 152 | /-- Deleting the singular boundary makes the genuine regular-locus map a |
| 153 | closed embedding for the ordinary analytic topology. -/ |
| 154 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.isClosedEmbedding_regularComplementInclusion (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 155 | Topology.IsClosedEmbedding Z.regularComplementInclusion := |
| 156 | isClosedEmbedding_codRestrict_complement_of_boundary Z.regularAnalyticToAmbient |
| 157 | Z.isEmbedding_regularAnalyticToAmbient (Set.range Z.analyticInclusion) |
| 158 | Z.analyticSingularBoundary Z.isClosedEmbedding_analyticInclusion.isClosed_range |
| 159 | Z.range_regularAnalyticToAmbient_subset Z.analyticSingularBoundary_eq_sdiff |
| 160 | Z.regularAnalyticToAmbient_not_mem_boundary |
| 161 | |
| 162 | local instance (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : IsIntegral Z.regularOver.left := |
| 163 | inferInstanceAs (IsIntegral Z.regularScheme) |
| 164 | |
| 165 | local instance (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : Smooth Z.regularOver.hom := |
| 166 | inferInstanceAs (Smooth Z.regularToBase) |
| 167 | |
| 168 | local instance : IsIntegral V.toOver.left := V.property |
| 169 | local instance : Smooth V.toOver.hom := V.presentation.smooth |
| 170 | |
| 171 | /-- The actual codomain restriction is analytic in the inherited complex |
| 172 | manifold charts, and hence smooth to every order. -/ |
| 173 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.contMDiff_regularComplementInclusion (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) (r : ℕ∞ω) : |
| 174 | ContMDiff (𝓘(ℂ, Z.regularAnalyticModel)) (𝓘(ℂ, V.analyticModel)) r |
| 175 | Z.regularComplementInclusion := by |
| 176 | apply (contMDiff_intoOpen_iff Z.regularAmbientOpen Z.regularComplementInclusion r).mp |
| 177 | exact IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map Z.regularToAmbient r |
| 178 | |
| 179 | /-- The same map is smooth on the inherited underlying real manifolds. -/ |
| 180 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.real_contMDiff_regularComplementInclusion (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) (r : ℕ∞ω) : |
| 181 | ContMDiff (𝓘(ℝ, Z.regularAnalyticModel)) (𝓘(ℝ, V.analyticModel)) r |
| 182 | Z.regularComplementInclusion := by |
| 183 | apply (contMDiff_intoOpen_iff Z.regularAmbientOpen Z.regularComplementInclusion r).mp |
| 184 | exact IntrinsicSmoothSchemeMaps.real_contMDiff_nativeScheme_map Z.regularToAmbient r |
| 185 | |
| 186 | set_option backward.isDefEq.respectTransparency false in |
| 187 | /-- The differential of the closed embedding in the boundary complement is |
| 188 | exactly the previously established ambient complex differential. -/ |
| 189 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.mfderiv_regularComplementInclusion_eq_ambient (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 190 | (x : Z.regularAnalyticSpace) : |
| 191 | (show Z.regularAnalyticModel →L[ℂ] V.analyticModel from |
| 192 | mfderiv (𝓘(ℂ, Z.regularAnalyticModel)) (𝓘(ℂ, V.analyticModel)) |
| 193 | Z.regularComplementInclusion x) = |
| 194 | (show Z.regularAnalyticModel →L[ℂ] V.analyticModel from |
| 195 | mfderiv (𝓘(ℂ, Z.regularAnalyticModel)) (𝓘(ℂ, V.analyticModel)) |
| 196 | Z.regularAnalyticToAmbient x) := |
| 197 | mfderiv_intoOpen_eq Z.regularAmbientOpen Z.regularComplementInclusion x |
| 198 | |
| 199 | set_option backward.isDefEq.respectTransparency false in |
| 200 | /-- The equality also holds for the actual real differentials, allowing the |
| 201 | real normal quotient to be carried into this open ambient manifold. -/ |
| 202 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.real_mfderiv_regularComplementInclusion_eq_ambient (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 203 | (x : Z.regularAnalyticSpace) : |
| 204 | (show Z.regularAnalyticModel →L[ℝ] V.analyticModel from |
| 205 | mfderiv (𝓘(ℝ, Z.regularAnalyticModel)) (𝓘(ℝ, V.analyticModel)) |
| 206 | Z.regularComplementInclusion x) = |
| 207 | (show Z.regularAnalyticModel →L[ℝ] V.analyticModel from |
| 208 | mfderiv (𝓘(ℝ, Z.regularAnalyticModel)) (𝓘(ℝ, V.analyticModel)) |
| 209 | Z.regularAnalyticToAmbient x) := |
| 210 | mfderiv_intoOpen_eq Z.regularAmbientOpen Z.regularComplementInclusion x |
| 211 | |
| 212 | /-- The actual complex differential remains injective after restricting the |
| 213 | target to the open complement of the singular boundary. -/ |
| 214 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.mfderiv_regularComplementInclusion_injective (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 215 | (x : Z.regularAnalyticSpace) : |
| 216 | Function.Injective |
| 217 | (mfderiv (𝓘(ℂ, Z.regularAnalyticModel)) (𝓘(ℂ, V.analyticModel)) |
| 218 | Z.regularComplementInclusion x) := by |
| 219 | exact (congrArg (fun L : Z.regularAnalyticModel →L[ℂ] V.analyticModel => |
| 220 | Function.Injective L) (Z.mfderiv_regularComplementInclusion_eq_ambient x)).mpr |
| 221 | (IntrinsicSmoothImmersion.mfderiv_nativeScheme_immersion_injective Z.regularToAmbient x) |
| 222 | |
| 223 | /-- The actual underlying real differential of the closed regular-locus |
| 224 | embedding is injective as well. -/ |
| 225 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.real_mfderiv_regularComplementInclusion_injective (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 226 | (x : Z.regularAnalyticSpace) : |
| 227 | Function.Injective |
| 228 | (mfderiv (𝓘(ℝ, Z.regularAnalyticModel)) (𝓘(ℝ, V.analyticModel)) |
| 229 | Z.regularComplementInclusion x) := by |
| 230 | exact (congrArg (fun L : Z.regularAnalyticModel →L[ℝ] V.analyticModel => |
| 231 | Function.Injective L) (Z.real_mfderiv_regularComplementInclusion_eq_ambient x)).mpr |
| 232 | (IntrinsicSmoothImmersion.real_mfderiv_nativeScheme_immersion_injective Z.regularToAmbient x) |
| 233 | |
| 234 | end DimensionCycleSupport |
| 235 | |
| 236 | end |
| 237 | |
| 238 | end OAI.AlgebraicGeometry.ComplexPoints.Analytic.RegularLocusComplement |