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 Mathlib.Geometry.Manifold.MFDeriv.NormedSpace |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps |
| 3 | import Mathlib.Geometry.Manifold.MFDeriv.Atlas |
| 4 | import Mathlib.Geometry.Manifold.MFDeriv.FDeriv |
| 5 | |
| 6 | /-! # Affine Open Differential -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.ComplexPoints.Analytic.AffineOpenDifferential |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Differentials of genuine affine open immersions |
| 14 | |
| 15 | An actual affine open immersion is a smooth map from the smooth-domain |
| 16 | character manifold to the native scheme-point manifold. Its derivative is |
| 17 | bijective: lifting an affine chart through the immersion gives a chart whose |
| 18 | transitions with the native atlas are analytic in both directions. |
| 19 | -/ |
| 20 | |
| 21 | open scoped ContDiff _root_.Manifold _root_.Topology |
| 22 | open _root_.CategoryTheory _root_.AlgebraicGeometry ChartedSpace |
| 23 | |
| 24 | section Euclidean |
| 25 | |
| 26 | variable {𝕜 E F : Type*} [NontriviallyNormedField 𝕜] |
| 27 | variable [NormedAddCommGroup E] [NormedSpace 𝕜 E] |
| 28 | variable [NormedAddCommGroup F] [NormedSpace 𝕜 F] |
| 29 | |
| 30 | set_option backward.isDefEq.respectTransparency false in |
| 31 | /-- A differentiable open partial homeomorphism with differentiable inverse |
| 32 | has bijective ordinary derivative at every point of its source. -/ |
| 33 | theorem bijective_fderiv_openPartialHomeomorph (e : OpenPartialHomeomorph E F) |
| 34 | (he : ContDiffOn 𝕜 1 e e.source) (he' : ContDiffOn 𝕜 1 e.symm e.target) |
| 35 | {x : E} (hx : x ∈ e.source) : Function.Bijective (fderiv 𝕜 e x) := by |
| 36 | have h : e.MDifferentiable (𝓘(𝕜, E)) (𝓘(𝕜, F)) := by |
| 37 | constructor |
| 38 | · exact mdifferentiableOn_iff_differentiableOn.mpr (he.differentiableOn one_ne_zero) |
| 39 | · exact mdifferentiableOn_iff_differentiableOn.mpr (he'.differentiableOn one_ne_zero) |
| 40 | simpa only [mfderiv_eq_fderiv, TangentSpace] using h.mfderiv_bijective hx |
| 41 | |
| 42 | end Euclidean |
| 43 | |
| 44 | section Charts |
| 45 | |
| 46 | variable {X : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 47 | |
| 48 | /-- An affine point map has analytic coordinate expressions in the native |
| 49 | regular atlas, with any regular source chart. -/ |
| 50 | theorem contDiffOn_affinePointMap_regularCharts (A : CommAlgCat ℂ) |
| 51 | (i : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) {n m : ℕ} |
| 52 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin n → ℂ)) |
| 53 | (d : OpenPartialHomeomorph (SchemePointHomeomorphs.schemeComplexPoints X) (Fin m → ℂ)) |
| 54 | (he : e ∈ SmoothSchemeManifold.affineRegularAtlas A n) (hd : d ∈ IntrinsicSmoothSchemeManifold.schemeRegularAtlas X m) : |
| 55 | ContDiffOn ℂ ω |
| 56 | (fun z => d (SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (e.symm z))) |
| 57 | (e.target ∩ {z | SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (e.symm z) ∈ d.source}) := by |
| 58 | obtain ⟨V, hV, f, hf, rfl⟩ := hd |
| 59 | exact IntrinsicSmoothSchemeMaps.contDiffOn_affineMap_regularCharts A (SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X V) |
| 60 | i (SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X V hV) e f he hf |
| 61 | |
| 62 | /-- In arbitrary regular coordinates, an actual affine open immersion has |
| 63 | bijective complex and real ordinary derivatives. -/ |
| 64 | theorem fderiv_affineOpenPointMap_charts_bijective (A : CommAlgCat ℂ) |
| 65 | (i : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) [IsOpenImmersion i.left] {n m : ℕ} |
| 66 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin n → ℂ)) |
| 67 | (d : OpenPartialHomeomorph (SchemePointHomeomorphs.schemeComplexPoints X) (Fin m → ℂ)) |
| 68 | (he : e ∈ SmoothSchemeManifold.affineRegularAtlas A n) (hd : d ∈ IntrinsicSmoothSchemeManifold.schemeRegularAtlas X m) |
| 69 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (hx : x ∈ e.source) |
| 70 | (hdx : SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i x ∈ d.source) : |
| 71 | Function.Bijective (fderiv ℂ |
| 72 | (fun z => d (SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (e.symm z))) (e x)) ∧ |
| 73 | Function.Bijective (fderiv ℝ |
| 74 | (fun z => d (SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (e.symm z))) (e x)) := by |
| 75 | obtain ⟨V, hV, f, hf, rfl⟩ := hd |
| 76 | let B := SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X V |
| 77 | let j := SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X V hV |
| 78 | let T := (SmoothSchemeManifold.affineChartOnScheme A i e).symm.trans (SmoothSchemeManifold.affineChartOnScheme B j f) |
| 79 | have hT : ContDiffOn ℂ 1 T T.source := |
| 80 | (AffineOpenTransitions.contDiffOn_affineOpenChartTransition A B i j e f he hf).of_le (by simp) |
| 81 | have hT' : ContDiffOn ℂ 1 T.symm T.target := by |
| 82 | change ContDiffOn ℂ 1 |
| 83 | ((SmoothSchemeManifold.affineChartOnScheme B j f).symm.trans (SmoothSchemeManifold.affineChartOnScheme A i e)) |
| 84 | ((SmoothSchemeManifold.affineChartOnScheme B j f).symm.trans (SmoothSchemeManifold.affineChartOnScheme A i e)).source |
| 85 | exact (AffineOpenTransitions.contDiffOn_affineOpenChartTransition B A j i f e hf he).of_le (by simp) |
| 86 | have hTx : e x ∈ T.source := by |
| 87 | refine ⟨e.map_source hx, ?_⟩ |
| 88 | change SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (e.symm (e x)) ∈ |
| 89 | (SmoothSchemeManifold.affineChartOnScheme B j f).source |
| 90 | rw [e.left_inv hx] |
| 91 | exact hdx |
| 92 | exact ⟨bijective_fderiv_openPartialHomeomorph T hT hT' hTx, |
| 93 | bijective_fderiv_openPartialHomeomorph T |
| 94 | (hT.restrict_scalars ℝ) (hT'.restrict_scalars ℝ) hTx⟩ |
| 95 | |
| 96 | end Charts |
| 97 | |
| 98 | variable {X : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] |
| 99 | variable (A : CommAlgCat ℂ) [IsDomain A] [Algebra.Smooth ℂ A] |
| 100 | |
| 101 | local notation "ModelA" => (Fin (OAI.AlgebraicGeometry.Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ A) → ℂ) |
| 102 | local notation "ModelX" => (Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ) |
| 103 | |
| 104 | /-- A genuine affine scheme map induces an analytic map from its smooth-domain |
| 105 | point manifold to the native target manifold. -/ |
| 106 | theorem contMDiff_affinePointMap (i : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) (r : ℕ∞ω) : |
| 107 | ContMDiff (𝓘(ℂ, ModelA)) (𝓘(ℂ, ModelX)) r (SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i) := by |
| 108 | apply contMDiff_iff.mpr |
| 109 | refine ⟨SchemePointHomeomorphs.schemeComplexPoints.continuous_affinePointMap A i, ?_⟩ |
| 110 | intro x y |
| 111 | simpa only [extChartAt_coe, extChartAt_coe_symm, extChartAt_source, |
| 112 | extChartAt_target, modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, |
| 113 | Function.comp_id, Function.id_comp, Set.preimage_id, Set.range_id, |
| 114 | Set.inter_univ, Function.comp_def, id_eq, Set.preimage, |
| 115 | Set.mem_ofPred_eq, Set.ofPred_mem_eq] |
| 116 | using (contDiffOn_affinePointMap_regularCharts A i |
| 117 | (chartAt ModelA x) (chartAt ModelX y) |
| 118 | (chart_mem_atlas _ x) (chart_mem_atlas _ y)).of_le (show r ≤ ω from le_top) |
| 119 | |
| 120 | /-- The same genuine affine scheme map is smooth for the underlying real |
| 121 | manifolds. -/ |
| 122 | theorem real_contMDiff_affinePointMap (i : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) (r : ℕ∞ω) : |
| 123 | ContMDiff (𝓘(ℝ, ModelA)) (𝓘(ℝ, ModelX)) r (SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i) := by |
| 124 | apply contMDiff_iff.mpr |
| 125 | refine ⟨SchemePointHomeomorphs.schemeComplexPoints.continuous_affinePointMap A i, ?_⟩ |
| 126 | intro x y |
| 127 | simpa only [extChartAt_coe, extChartAt_coe_symm, extChartAt_source, |
| 128 | extChartAt_target, modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, |
| 129 | Function.comp_id, Function.id_comp, Set.preimage_id, Set.range_id, |
| 130 | Set.inter_univ, Function.comp_def, id_eq, Set.preimage, |
| 131 | Set.mem_ofPred_eq, Set.ofPred_mem_eq] |
| 132 | using ((contDiffOn_affinePointMap_regularCharts A i |
| 133 | (chartAt ModelA x) (chartAt ModelX y) |
| 134 | (chart_mem_atlas _ x) (chart_mem_atlas _ y)).of_le |
| 135 | (show r ≤ ω from le_top)).restrict_scalars ℝ |
| 136 | |
| 137 | set_option backward.isDefEq.respectTransparency false in |
| 138 | /-- The complex manifold derivative of an affine point map is its ordinary |
| 139 | derivative in the constructed preferred charts. -/ |
| 140 | theorem mfderiv_affinePointMap_eq_chart_fderiv (i : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) |
| 141 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 142 | mfderiv (𝓘(ℂ, ModelA)) (𝓘(ℂ, ModelX)) (SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i) x = |
| 143 | fderiv ℂ (fun z => chartAt ModelX (SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i x) |
| 144 | (SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i ((chartAt ModelA x).symm z))) |
| 145 | (chartAt ModelA x x) := by |
| 146 | rw [((contMDiff_affinePointMap A i 1).mdifferentiableAt (x := x) one_ne_zero).mfderiv_abuse] |
| 147 | simp only [writtenInExtChartAt, extChartAt_coe, extChartAt_coe_symm, |
| 148 | modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, |
| 149 | Function.comp_def, id_eq, Set.range_id, fderivWithin_univ] |
| 150 | |
| 151 | set_option backward.isDefEq.respectTransparency false in |
| 152 | /-- The analogous chart formula for the real manifold derivative. -/ |
| 153 | theorem real_mfderiv_affinePointMap_eq_chart_fderiv (i : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) |
| 154 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 155 | mfderiv (𝓘(ℝ, ModelA)) (𝓘(ℝ, ModelX)) (SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i) x = |
| 156 | fderiv ℝ (fun z => chartAt ModelX (SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i x) |
| 157 | (SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i ((chartAt ModelA x).symm z))) |
| 158 | (chartAt ModelA x x) := by |
| 159 | rw [((real_contMDiff_affinePointMap A i 1).mdifferentiableAt |
| 160 | (x := x) one_ne_zero).mfderiv_abuse] |
| 161 | simp only [writtenInExtChartAt, extChartAt_coe, extChartAt_coe_symm, |
| 162 | modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, |
| 163 | Function.comp_def, id_eq, Set.range_id, fderivWithin_univ] |
| 164 | |
| 165 | /-- Every actual affine open immersion has bijective complex differential |
| 166 | between the established affine and native scheme-point manifolds. -/ |
| 167 | theorem mfderiv_affinePointMap_bijective (i : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) |
| 168 | [IsOpenImmersion i.left] (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 169 | Function.Bijective |
| 170 | (mfderiv (𝓘(ℂ, ModelA)) (𝓘(ℂ, ModelX)) (SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i) x) := by |
| 171 | rw [mfderiv_affinePointMap_eq_chart_fderiv] |
| 172 | exact (fderiv_affineOpenPointMap_charts_bijective A i |
| 173 | (chartAt ModelA x) (chartAt ModelX (SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i x)) |
| 174 | (chart_mem_atlas _ x) (chart_mem_atlas _ _) x |
| 175 | (mem_chart_source _ x) (mem_chart_source _ _)).1 |
| 176 | |
| 177 | /-- The underlying real differential of an actual affine open immersion is |
| 178 | also bijective. -/ |
| 179 | theorem real_mfderiv_affinePointMap_bijective (i : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) |
| 180 | [IsOpenImmersion i.left] (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 181 | Function.Bijective |
| 182 | (mfderiv (𝓘(ℝ, ModelA)) (𝓘(ℝ, ModelX)) (SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i) x) := by |
| 183 | rw [real_mfderiv_affinePointMap_eq_chart_fderiv] |
| 184 | exact (fderiv_affineOpenPointMap_charts_bijective A i |
| 185 | (chartAt ModelA x) (chartAt ModelX (SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i x)) |
| 186 | (chart_mem_atlas _ x) (chart_mem_atlas _ _) x |
| 187 | (mem_chart_source _ x) (mem_chart_source _ _)).2 |
| 188 | |
| 189 | end |
| 190 | |
| 191 | end OAI.AlgebraicGeometry.ComplexPoints.Analytic.AffineOpenDifferential |