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.IntrinsicImmersionNormalPair |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.NormalPairTransition |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.NormalPairRecenter |
| 4 | import Mathlib.Geometry.Manifold.MFDeriv.Atlas |
| 5 | |
| 6 | /-! # Normal Coordinates Differentiable -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.ComplexPoints.Analytic.NormalCoordinatesDifferentiable |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Differentiability of the constructed normal coordinates |
| 14 | |
| 15 | The normal coordinates constructed from a genuine immersion are compositions |
| 16 | of its maximal-atlas charts with a continuous linear equivalence and a |
| 17 | translation. We prove their regularity directly from those constructions. |
| 18 | No regularity is asserted for an arbitrary topological normal-pair structure. |
| 19 | -/ |
| 20 | |
| 21 | open scoped ContDiff _root_.Manifold _root_.Topology |
| 22 | open Set |
| 23 | |
| 24 | section |
| 25 | |
| 26 | section TangentialTranslations |
| 27 | |
| 28 | variable {K E G C N : Type*} [NontriviallyNormedField K] |
| 29 | variable [NormedAddCommGroup E] [NormedSpace K E] |
| 30 | variable [NormedAddCommGroup G] [NormedSpace K G] |
| 31 | variable [NormedAddCommGroup C] [NormedSpace K C] |
| 32 | variable [TopologicalSpace N] [ChartedSpace G N] |
| 33 | |
| 34 | /-- Translating only the tangential coordinates of an actual differentiable |
| 35 | chart preserves differentiability in both directions. This applies to |
| 36 | recentered normal pairs once the original chart's regularity is proved. -/ |
| 37 | theorem mdifferentiable_transHomeomorph_tangentialTranslation |
| 38 | (c : OpenPartialHomeomorph N (E × C)) |
| 39 | (hc : c.MDifferentiable 𝓘(K, G) 𝓘(K, E × C)) (a : E) : |
| 40 | (c.transHomeomorph ((Homeomorph.subRight a).prodCongr (Homeomorph.refl C))).MDifferentiable |
| 41 | 𝓘(K, G) 𝓘(K, E × C) := by |
| 42 | let t : (E × C) ≃ₜ (E × C) := |
| 43 | (Homeomorph.subRight a).prodCongr (Homeomorph.refl C) |
| 44 | have ht : t.toOpenPartialHomeomorph.MDifferentiable 𝓘(K, E × C) 𝓘(K, E × C) := by |
| 45 | constructor |
| 46 | · have ht' : ContDiff K 1 (fun z : E × C => (z.1 - a, z.2)) := |
| 47 | (contDiff_fst.sub contDiff_const).prodMk contDiff_snd |
| 48 | exact ht'.contMDiff.contMDiffOn.mdifferentiableOn one_ne_zero |
| 49 | · have ht' : ContDiff K 1 (fun z : E × C => (z.1 + a, z.2)) := |
| 50 | (contDiff_fst.add contDiff_const).prodMk contDiff_snd |
| 51 | exact ht'.contMDiff.contMDiffOn.mdifferentiableOn one_ne_zero |
| 52 | rw [OpenPartialHomeomorph.transHomeomorph_eq_trans] |
| 53 | exact hc.trans ht |
| 54 | |
| 55 | namespace ImmersionNormalPair |
| 56 | |
| 57 | variable {M : Type*} {f : M → N} {x : M} |
| 58 | |
| 59 | /-- Recentering transports a proved ambient-chart differentiability |
| 60 | statement; it does not impose regularity on an arbitrary topological pair. -/ |
| 61 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair.recenterChart_mdifferentiable (P : NormalPairRecenter.ImmersionNormalPair E C f x) |
| 62 | (hP : P.ambientChart.MDifferentiable 𝓘(K, G) 𝓘(K, E × C)) (z : M) : |
| 63 | (P.recenterChart z).MDifferentiable 𝓘(K, G) 𝓘(K, E × C) := |
| 64 | mdifferentiable_transHomeomorph_tangentialTranslation P.ambientChart hP |
| 65 | (P.ambientChart (f z)).1 |
| 66 | |
| 67 | /-- The full-image normal pair obtained by recentering and shrinking keeps |
| 68 | the proved differentiability of its ambient coordinates and inverse. -/ |
| 69 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair.recenterWithin_ambientChart_mdifferentiable (P : NormalPairRecenter.ImmersionNormalPair E C f x) |
| 70 | (hP : P.ambientChart.MDifferentiable 𝓘(K, G) 𝓘(K, E × C)) |
| 71 | (z : M) (hz : f z ∈ P.neighborhood) (U : Set N) (hU : U ∈ 𝓝 (f z)) : |
| 72 | (P.recenterWithin z hz U hU).ambientChart.MDifferentiable |
| 73 | 𝓘(K, G) 𝓘(K, E × C) := |
| 74 | P.recenterChart_mdifferentiable hP z |
| 75 | |
| 76 | end ImmersionNormalPair |
| 77 | |
| 78 | end TangentialTranslations |
| 79 | |
| 80 | section ConstructedCoordinates |
| 81 | |
| 82 | variable {K E G C M N : Type*} [NontriviallyNormedField K] |
| 83 | variable [NormedAddCommGroup E] [NormedSpace K E] |
| 84 | variable [NormedAddCommGroup G] [NormedSpace K G] |
| 85 | variable [NormedAddCommGroup C] [NormedSpace K C] |
| 86 | variable [TopologicalSpace M] [ChartedSpace E M] |
| 87 | variable [TopologicalSpace N] [ChartedSpace G N] |
| 88 | variable {n : ℕ∞ω} {f : M → N} {x : M} |
| 89 | |
| 90 | /-- Centering the immersion's source chart preserves its differentiability |
| 91 | order on the actual source. -/ |
| 92 | theorem contMDiffOn_immersionSourceCoordinates |
| 93 | (h : Manifold.IsImmersionAtOfComplement C 𝓘(K, E) 𝓘(K, G) n f x) : |
| 94 | ContMDiffOn 𝓘(K, E) 𝓘(K, E) n (NormalPairRecenter.immersionSourceCoordinates h) |
| 95 | (NormalPairRecenter.immersionSourceCoordinates h).source := by |
| 96 | have ht : ContDiff K n (fun z : E => z - h.domChart x) := |
| 97 | contDiff_id.sub contDiff_const |
| 98 | exact ht.contMDiff.comp_contMDiffOn |
| 99 | (contMDiffOn_of_mem_maximalAtlas h.domChart_mem_maximalAtlas) |
| 100 | |
| 101 | /-- The inverse centered source chart has the same differentiability order. -/ |
| 102 | theorem contMDiffOn_immersionSourceCoordinates_symm |
| 103 | (h : Manifold.IsImmersionAtOfComplement C 𝓘(K, E) 𝓘(K, G) n f x) : |
| 104 | ContMDiffOn 𝓘(K, E) 𝓘(K, E) n (NormalPairRecenter.immersionSourceCoordinates h).symm |
| 105 | (NormalPairRecenter.immersionSourceCoordinates h).target := by |
| 106 | have ht : ContDiff K n (fun z : E => z + h.domChart x) := |
| 107 | contDiff_id.add contDiff_const |
| 108 | exact (contMDiffOn_symm_of_mem_maximalAtlas h.domChart_mem_maximalAtlas).comp |
| 109 | ht.contMDiff.contMDiffOn (fun _ hz => hz) |
| 110 | |
| 111 | /-- The actual split and centered ambient chart is as differentiable as |
| 112 | the genuine immersion chart from which it was constructed. -/ |
| 113 | theorem contMDiffOn_immersionNormalCoordinates |
| 114 | (h : Manifold.IsImmersionAtOfComplement C 𝓘(K, E) 𝓘(K, G) n f x) : |
| 115 | ContMDiffOn 𝓘(K, G) 𝓘(K, E × C) n (NormalPairRecenter.immersionNormalCoordinates h) |
| 116 | (NormalPairRecenter.immersionNormalCoordinates h).source := by |
| 117 | have ht : ContDiff K n (fun z : G => |
| 118 | ((h.equiv.symm z).1 - h.domChart x, (h.equiv.symm z).2)) := |
| 119 | (h.equiv.symm.contDiff.fst.sub contDiff_const).prodMk h.equiv.symm.contDiff.snd |
| 120 | exact ht.contMDiff.comp_contMDiffOn |
| 121 | (contMDiffOn_of_mem_maximalAtlas h.codChart_mem_maximalAtlas) |
| 122 | |
| 123 | /-- Its actual inverse is also differentiable on the complete chart target. -/ |
| 124 | theorem contMDiffOn_immersionNormalCoordinates_symm |
| 125 | (h : Manifold.IsImmersionAtOfComplement C 𝓘(K, E) 𝓘(K, G) n f x) : |
| 126 | ContMDiffOn 𝓘(K, E × C) 𝓘(K, G) n (NormalPairRecenter.immersionNormalCoordinates h).symm |
| 127 | (NormalPairRecenter.immersionNormalCoordinates h).target := by |
| 128 | have ht : ContDiff K n (fun z : E × C => h.equiv (z.1 + h.domChart x, z.2)) := |
| 129 | h.equiv.contDiff.comp ((contDiff_fst.add contDiff_const).prodMk contDiff_snd) |
| 130 | exact (contMDiffOn_symm_of_mem_maximalAtlas h.codChart_mem_maximalAtlas).comp |
| 131 | ht.contMDiff.contMDiffOn (fun _ hz => hz) |
| 132 | |
| 133 | /-- A positive-order source chart is a genuine differentiable local |
| 134 | homeomorphism, with differentiable inverse. -/ |
| 135 | theorem immersionSourceCoordinates_mdifferentiable |
| 136 | (h : Manifold.IsImmersionAtOfComplement C 𝓘(K, E) 𝓘(K, G) n f x) |
| 137 | (hn : n ≠ 0) : |
| 138 | (NormalPairRecenter.immersionSourceCoordinates h).MDifferentiable 𝓘(K, E) 𝓘(K, E) := |
| 139 | ⟨(contMDiffOn_immersionSourceCoordinates h).mdifferentiableOn hn, |
| 140 | (contMDiffOn_immersionSourceCoordinates_symm h).mdifferentiableOn hn⟩ |
| 141 | |
| 142 | /-- Positive-order normal coordinates are genuine differentiable local |
| 143 | homeomorphisms in both directions. -/ |
| 144 | theorem immersionNormalCoordinates_mdifferentiable |
| 145 | (h : Manifold.IsImmersionAtOfComplement C 𝓘(K, E) 𝓘(K, G) n f x) |
| 146 | (hn : n ≠ 0) : |
| 147 | (NormalPairRecenter.immersionNormalCoordinates h).MDifferentiable 𝓘(K, G) 𝓘(K, E × C) := |
| 148 | ⟨(contMDiffOn_immersionNormalCoordinates h).mdifferentiableOn hn, |
| 149 | (contMDiffOn_immersionNormalCoordinates_symm h).mdifferentiableOn hn⟩ |
| 150 | |
| 151 | /-- The ambient chart of the actual full-image normal pair inherits the |
| 152 | proved differentiability; the embedding only selects its radius. -/ |
| 153 | theorem normalPairOfImmersion_ambientChart_mdifferentiable |
| 154 | (h : Manifold.IsImmersionAtOfComplement C 𝓘(K, E) 𝓘(K, G) n f x) |
| 155 | (hf : Topology.IsEmbedding f) (hn : n ≠ 0) : |
| 156 | (NormalPairRecenter.normalPairOfImmersion h hf).ambientChart.MDifferentiable |
| 157 | 𝓘(K, G) 𝓘(K, E × C) := |
| 158 | immersionNormalCoordinates_mdifferentiable h hn |
| 159 | |
| 160 | /-- The same statement for the actual complement chosen by `IsImmersionAt`. -/ |
| 161 | theorem immersionNormalPair_ambientChart_mdifferentiable |
| 162 | (h : Manifold.IsImmersionAt 𝓘(K, E) 𝓘(K, G) n f x) |
| 163 | (hf : Topology.IsEmbedding f) (hn : n ≠ 0) : |
| 164 | (NormalPairRecenter.immersionNormalPair h hf).ambientChart.MDifferentiable |
| 165 | 𝓘(K, G) 𝓘(K, E × h.complement) := |
| 166 | normalPairOfImmersion_ambientChart_mdifferentiable |
| 167 | h.isImmersionAtOfComplement_complement hf hn |
| 168 | |
| 169 | variable {D : Type*} [NormedAddCommGroup D] [NormedSpace K D] {m : ℕ∞ω} |
| 170 | |
| 171 | /-- The transition on the verified overlap of two actual immersion normal |
| 172 | pairs is differentiable with a differentiable inverse. The two normal |
| 173 | coordinate models may be different. -/ |
| 174 | theorem normalPairOfImmersion_transition_mdifferentiable |
| 175 | (h : Manifold.IsImmersionAtOfComplement C 𝓘(K, E) 𝓘(K, G) n f x) |
| 176 | (k : Manifold.IsImmersionAtOfComplement D 𝓘(K, E) 𝓘(K, G) m f x) |
| 177 | (hf : Topology.IsEmbedding f) (hn : n ≠ 0) (hm : m ≠ 0) : |
| 178 | ((NormalPairRecenter.normalPairOfImmersion h hf).transition (NormalPairRecenter.normalPairOfImmersion k hf)).MDifferentiable |
| 179 | 𝓘(K, E × C) 𝓘(K, E × D) := |
| 180 | NormalPairRecenter.ImmersionNormalPair.transition_mdifferentiable |
| 181 | (NormalPairRecenter.normalPairOfImmersion h hf) (NormalPairRecenter.normalPairOfImmersion k hf) |
| 182 | (normalPairOfImmersion_ambientChart_mdifferentiable h hf hn) |
| 183 | (normalPairOfImmersion_ambientChart_mdifferentiable k hf hm) |
| 184 | |
| 185 | set_option backward.isDefEq.respectTransparency false in |
| 186 | /-- Invertibility of the actual transition derivative follows from the |
| 187 | proved differentiability of the actual inverse, with no chosen linear map. -/ |
| 188 | theorem normalPairOfImmersion_transition_fderiv_bijective |
| 189 | (h : Manifold.IsImmersionAtOfComplement C 𝓘(K, E) 𝓘(K, G) n f x) |
| 190 | (k : Manifold.IsImmersionAtOfComplement D 𝓘(K, E) 𝓘(K, G) m f x) |
| 191 | (hf : Topology.IsEmbedding f) (hn : n ≠ 0) (hm : m ≠ 0) : |
| 192 | Function.Bijective |
| 193 | (fderiv K ((NormalPairRecenter.normalPairOfImmersion h hf).transition (NormalPairRecenter.normalPairOfImmersion k hf)) |
| 194 | (0, 0)) := by |
| 195 | have hd := normalPairOfImmersion_transition_mdifferentiable h k hf hn hm |
| 196 | let L : (E × C) ≃L[K] (E × D) := hd.mfderiv |
| 197 | ((NormalPairRecenter.normalPairOfImmersion h hf).zero_mem_transition_source (NormalPairRecenter.normalPairOfImmersion k hf)) |
| 198 | have hL : L.toContinuousLinearMap = |
| 199 | fderiv K ((NormalPairRecenter.normalPairOfImmersion h hf).transition (NormalPairRecenter.normalPairOfImmersion k hf)) |
| 200 | (0, 0) := mfderiv_eq_fderiv |
| 201 | have hb : Function.Bijective L.toContinuousLinearMap := L.bijective |
| 202 | rwa [hL] at hb |
| 203 | |
| 204 | /-- At an arbitrary shared image point of two genuine normal pairs, |
| 205 | recentering inside the overlap gives a differentiable coordinate transition |
| 206 | with differentiable inverse. All chart regularity comes from the immersion. -/ |
| 207 | theorem normalPairOfImmersion_recentered_transition_mdifferentiable |
| 208 | (h : Manifold.IsImmersionAtOfComplement C 𝓘(K, E) 𝓘(K, G) n f x) |
| 209 | {y : M} (k : Manifold.IsImmersionAtOfComplement D 𝓘(K, E) 𝓘(K, G) m f y) |
| 210 | (hf : Topology.IsEmbedding f) (hn : n ≠ 0) (hm : m ≠ 0) |
| 211 | (z : M) (hz : f z ∈ (NormalPairRecenter.normalPairOfImmersion h hf).neighborhood) |
| 212 | (hz' : f z ∈ (NormalPairRecenter.normalPairOfImmersion k hf).neighborhood) |
| 213 | (U : Set N) (hU : U ∈ 𝓝 (f z)) : |
| 214 | (((NormalPairRecenter.normalPairOfImmersion h hf).recenterWithin z hz U hU).transition |
| 215 | ((NormalPairRecenter.normalPairOfImmersion k hf).recenterWithin z hz' U hU)).MDifferentiable |
| 216 | 𝓘(K, E × C) 𝓘(K, E × D) := |
| 217 | NormalPairRecenter.ImmersionNormalPair.transition_mdifferentiable _ _ |
| 218 | ((NormalPairRecenter.normalPairOfImmersion h hf).recenterWithin_ambientChart_mdifferentiable |
| 219 | (normalPairOfImmersion_ambientChart_mdifferentiable h hf hn) z hz U hU) |
| 220 | ((NormalPairRecenter.normalPairOfImmersion k hf).recenterWithin_ambientChart_mdifferentiable |
| 221 | (normalPairOfImmersion_ambientChart_mdifferentiable k hf hm) z hz' U hU) |
| 222 | |
| 223 | end ConstructedCoordinates |
| 224 | |
| 225 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 226 | |
| 227 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 228 | variable [IsIntegral X.left] [Smooth X.hom] [IsIntegral Y.left] [Smooth Y.hom] |
| 229 | |
| 230 | local notation "ModelX" => (Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ) |
| 231 | local notation "ModelY" => (Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) → ℂ) |
| 232 | |
| 233 | /-- The native scheme immersion's actual normal pair has a complex |
| 234 | differentiable ambient chart and inverse, with no regularity hypothesis left. -/ |
| 235 | theorem nativeSchemeNormalPair_ambientChart_mdifferentiable |
| 236 | (φ : X ⟶ Y) [AlgebraicGeometry.IsImmersion φ.left] (x : SchemePointHomeomorphs.schemeComplexPoints X) : |
| 237 | (IntrinsicImmersionNormalPair.nativeSchemeNormalPair φ x).ambientChart.MDifferentiable |
| 238 | 𝓘(ℂ, ModelY) 𝓘(ℂ, ModelX × IntrinsicImmersionNormalPair.NativeSchemeChartComplement φ x) := |
| 239 | immersionNormalPair_ambientChart_mdifferentiable (ImmersionNormalForm.nativeScheme_isImmersionAt φ x) |
| 240 | (SchemePointHomeomorphs.schemeComplexPoints.isEmbedding_map_of_isImmersion φ) (by simp) |
| 241 | |
| 242 | end |
| 243 | |
| 244 | namespace DimensionCycleSupport |
| 245 | |
| 246 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 247 | |
| 248 | /-- The regular support's actual normal pair is a genuine complex |
| 249 | differentiable chart of the boundary-complement ambient manifold. -/ |
| 250 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularComplementNormalPair_ambientChart_mdifferentiable |
| 251 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) (x : Z.regularAnalyticSpace) : |
| 252 | (Z.regularComplementNormalPair x).ambientChart.MDifferentiable |
| 253 | 𝓘(ℂ, V.analyticModel) |
| 254 | 𝓘(ℂ, Z.regularAnalyticModel × Z.RegularComplementChartComplement x) := |
| 255 | immersionNormalPair_ambientChart_mdifferentiable |
| 256 | (Z.regularComplement_isImmersionAt x) |
| 257 | Z.isClosedEmbedding_regularComplementInclusion.isEmbedding (by simp) |
| 258 | |
| 259 | end DimensionCycleSupport |
| 260 | |
| 261 | end |
| 262 | |
| 263 | end OAI.AlgebraicGeometry.ComplexPoints.Analytic.NormalCoordinatesDifferentiable |