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.SmoothSchemeManifold |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SmoothAffineMaps |
| 4 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.ClosedImmersionPointTopology |
| 5 | import Mathlib.Analysis.Calculus.FDeriv.Comp |
| 6 | import Mathlib.Analysis.Calculus.FDeriv.Congr |
| 7 | import Mathlib.Analysis.Calculus.FDeriv.RestrictScalars |
| 8 | import Mathlib.Geometry.Manifold.MFDeriv.Basic |
| 9 | |
| 10 | /-! # Smooth Closed Immersion -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.ComplexPoints.Analytic.SmoothClosedImmersion |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | /-! |
| 17 | # Differentials of genuine affine closed immersions |
| 18 | |
| 19 | A surjective map of complex coordinate rings induces an injective differential |
| 20 | on the native smooth affine point manifolds. The local proof lifts the source |
| 21 | chart's regular coordinate functions through the ring map and thereby constructs |
| 22 | an analytic left inverse to the map in actual regular coordinates. |
| 23 | -/ |
| 24 | |
| 25 | open scoped ContDiff _root_.Manifold _root_.Topology |
| 26 | open Filter |
| 27 | |
| 28 | variable {A B : Type*} [CommRing A] [Algebra ℂ A] [CommRing B] [Algebra ℂ B] |
| 29 | variable {n m : ℕ} |
| 30 | |
| 31 | /-- The genuine chart overlap for a map of affine characters is a neighborhood |
| 32 | of a point belonging to both charts. -/ |
| 33 | theorem affineChartComap_neighborhood |
| 34 | (h : A →ₐ[ℂ] B) |
| 35 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (Fin n → ℂ)) |
| 36 | (f : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin m → ℂ)) |
| 37 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (hx : x ∈ e.source) |
| 38 | (hfx : x.comp h ∈ f.source) : |
| 39 | e.target ∩ {z | (e.symm z).comp h ∈ f.source} ∈ 𝓝 (e x) := by |
| 40 | refine inter_mem (e.open_target.mem_nhds (e.map_source hx)) ?_ |
| 41 | have hc := (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap h).continuous.continuousAt.comp |
| 42 | (e.continuousAt_symm (e.map_source hx)) |
| 43 | have hh : f.source ∈ 𝓝 ((e.symm (e x)).comp h) := by |
| 44 | rw [e.left_inv hx] |
| 45 | exact f.open_source.mem_nhds hfx |
| 46 | exact hc hh |
| 47 | |
| 48 | /-- The map induced by a coordinate-ring homomorphism is analytic when written |
| 49 | in the concrete regular coordinate charts, at any point of their overlap. -/ |
| 50 | theorem contDiffAt_affineChartComap |
| 51 | (h : A →ₐ[ℂ] B) |
| 52 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (Fin n → ℂ)) |
| 53 | (f : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin m → ℂ)) |
| 54 | (he : e ∈ SmoothSchemeManifold.affineRegularAtlas B n) (hf : f ∈ SmoothSchemeManifold.affineRegularAtlas A m) |
| 55 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (hx : x ∈ e.source) |
| 56 | (hfx : x.comp h ∈ f.source) : |
| 57 | ContDiffAt ℂ ω (fun z => f ((e.symm z).comp h)) (e x) := by |
| 58 | obtain ⟨g, hg, hcoords⟩ := hf.2 |
| 59 | exact (SmoothSchemeManifold.contDiffOn_affineChartComapTransition h e f he.1 g hg hcoords).contDiffAt |
| 60 | (affineChartComap_neighborhood h e f x hx hfx) |
| 61 | |
| 62 | /-- Surjectivity of the actual coordinate-ring map supplies a local analytic |
| 63 | left inverse in regular coordinates. The inverse is built from lifted regular |
| 64 | functions and the chart's nonvanishing denominator. -/ |
| 65 | theorem exists_affineChartComap_localLeftInverse |
| 66 | (h : A →ₐ[ℂ] B) (hh : Function.Surjective h) |
| 67 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (Fin n → ℂ)) |
| 68 | (f : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin m → ℂ)) |
| 69 | (he : e ∈ SmoothSchemeManifold.affineRegularAtlas B n) (hf : f ∈ SmoothSchemeManifold.affineRegularAtlas A m) |
| 70 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (hx : x ∈ e.source) |
| 71 | (hfx : x.comp h ∈ f.source) : |
| 72 | ∃ Ψ : (Fin m → ℂ) → (Fin n → ℂ), |
| 73 | ContDiffAt ℂ ω Ψ (f (x.comp h)) ∧ |
| 74 | (fun z => Ψ (f ((e.symm z).comp h))) =ᶠ[𝓝 (e x)] id := by |
| 75 | classical |
| 76 | obtain ⟨g, hg, hcoords⟩ := he.2 |
| 77 | obtain ⟨gA, hgA⟩ := hh g |
| 78 | choose b k hb using hcoords |
| 79 | choose a ha using fun i => hh (b i) |
| 80 | let Ψ : (Fin m → ℂ) → (Fin n → ℂ) := |
| 81 | fun w i => f.symm w (a i) / (f.symm w gA) ^ (k i) |
| 82 | refine ⟨Ψ, ?_, ?_⟩ |
| 83 | · apply contDiffAt_pi.mpr |
| 84 | intro i |
| 85 | have htarget : f.target ∈ 𝓝 (f (x.comp h)) := |
| 86 | f.open_target.mem_nhds (f.map_source hfx) |
| 87 | have hnz : f.symm (f (x.comp h)) gA ≠ 0 := by |
| 88 | rw [f.left_inv hfx] |
| 89 | change x (h gA) ≠ 0 |
| 90 | rw [hgA] |
| 91 | exact hg x hx |
| 92 | exact ((hf.1 (a i)).contDiffAt htarget).div |
| 93 | (((hf.1 gA).contDiffAt htarget).pow (k i)) (pow_ne_zero _ hnz) |
| 94 | · filter_upwards [affineChartComap_neighborhood h e f x hx hfx] with z hz |
| 95 | funext i |
| 96 | change f.symm (f ((e.symm z).comp h)) (a i) / |
| 97 | (f.symm (f ((e.symm z).comp h)) gA) ^ (k i) = z i |
| 98 | rw [f.left_inv hz.2] |
| 99 | change e.symm z (h (a i)) / (e.symm z (h gA)) ^ (k i) = z i |
| 100 | rw [ha, hgA, ← hb i (e.symm z) (e.map_target hz.1), e.right_inv hz.1] |
| 101 | |
| 102 | /-- The ordinary complex derivative of a genuine affine closed immersion is |
| 103 | injective in any two of the established regular coordinate charts. -/ |
| 104 | theorem fderiv_affineChartComap_injective_of_surjective |
| 105 | (h : A →ₐ[ℂ] B) (hh : Function.Surjective h) |
| 106 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (Fin n → ℂ)) |
| 107 | (f : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin m → ℂ)) |
| 108 | (he : e ∈ SmoothSchemeManifold.affineRegularAtlas B n) (hf : f ∈ SmoothSchemeManifold.affineRegularAtlas A m) |
| 109 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (hx : x ∈ e.source) |
| 110 | (hfx : x.comp h ∈ f.source) : |
| 111 | Function.Injective (fderiv ℂ (fun z => f ((e.symm z).comp h)) (e x)) := by |
| 112 | obtain ⟨Ψ, hΨ, hleft⟩ := exists_affineChartComap_localLeftInverse h hh e f he hf x hx hfx |
| 113 | have hΦ := (contDiffAt_affineChartComap h e f he hf x hx hfx).differentiableAt |
| 114 | (by simp) |
| 115 | have hΨ' : DifferentiableAt ℂ Ψ (f ((e.symm (e x)).comp h)) := by |
| 116 | rw [e.left_inv hx] |
| 117 | exact hΨ.differentiableAt (by simp) |
| 118 | have hcomp := hleft.fderiv_eq (𝕜 := ℂ) |
| 119 | rw [fderiv_id] at hcomp |
| 120 | have hchain := fderiv_comp (e x) hΨ' hΦ |
| 121 | change fderiv ℂ (fun z => Ψ (f ((e.symm z).comp h))) (e x) = _ at hchain |
| 122 | rw [hcomp] at hchain |
| 123 | intro v w hvw |
| 124 | have hc := congrArg (fderiv ℂ Ψ (f ((e.symm (e x)).comp h))) hvw |
| 125 | have hv := congrArg (fun L : (Fin n → ℂ) →L[ℂ] (Fin n → ℂ) => L v) hchain |
| 126 | have hw := congrArg (fun L : (Fin n → ℂ) →L[ℂ] (Fin n → ℂ) => L w) hchain |
| 127 | exact hv.trans (hc.trans hw.symm) |
| 128 | |
| 129 | variable [IsDomain A] [Algebra.Smooth ℂ A] [IsDomain B] [Algebra.Smooth ℂ B] |
| 130 | |
| 131 | set_option backward.isDefEq.respectTransparency false in |
| 132 | /-- On the native smooth affine point manifolds, the manifold derivative is |
| 133 | the ordinary derivative in their chosen, proved regular-coordinate charts. -/ |
| 134 | theorem mfderiv_smoothDomain_comap_eq_chart_fderiv |
| 135 | (h : A →ₐ[ℂ] B) (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) : |
| 136 | mfderiv (𝓘(ℂ, Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ B) → ℂ)) |
| 137 | (𝓘(ℂ, Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ A) → ℂ)) |
| 138 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap h) x = |
| 139 | fderiv ℂ (fun z => |
| 140 | chartAt (Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ A) → ℂ) (x.comp h) |
| 141 | (((chartAt (Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ B) → ℂ) x).symm z).comp h)) |
| 142 | (chartAt (Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ B) → ℂ) x x) := by |
| 143 | rw [((SmoothAffineMaps.contMDiff_smoothDomain_comap h 1).mdifferentiableAt (x := x) one_ne_zero).mfderiv_abuse] |
| 144 | simp only [writtenInExtChartAt, extChartAt_coe, extChartAt_coe_symm, |
| 145 | modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, |
| 146 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap, ContinuousMap.coe_mk, |
| 147 | Function.comp_def, id_eq, Set.range_id, fderivWithin_univ] |
| 148 | |
| 149 | /-- A surjection of smooth integral complex coordinate rings induces an |
| 150 | injective complex manifold differential at every actual complex point. -/ |
| 151 | theorem mfderiv_smoothDomain_comap_injective_of_surjective |
| 152 | (h : A →ₐ[ℂ] B) (hh : Function.Surjective h) (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) : |
| 153 | Function.Injective |
| 154 | (mfderiv (𝓘(ℂ, Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ B) → ℂ)) |
| 155 | (𝓘(ℂ, Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ A) → ℂ)) |
| 156 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap h) x) := by |
| 157 | rw [mfderiv_smoothDomain_comap_eq_chart_fderiv] |
| 158 | exact fderiv_affineChartComap_injective_of_surjective h hh |
| 159 | (chartAt (Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ B) → ℂ) x) |
| 160 | (chartAt (Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ A) → ℂ) (x.comp h)) |
| 161 | (chart_mem_atlas _ x) (chart_mem_atlas _ (x.comp h)) x |
| 162 | (mem_chart_source _ x) (mem_chart_source _ (x.comp h)) |
| 163 | |
| 164 | set_option backward.isDefEq.respectTransparency false in |
| 165 | /-- The analogous chart formula for the underlying real smooth manifolds. -/ |
| 166 | theorem real_mfderiv_smoothDomain_comap_eq_chart_fderiv |
| 167 | (h : A →ₐ[ℂ] B) (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) : |
| 168 | mfderiv (𝓘(ℝ, Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ B) → ℂ)) |
| 169 | (𝓘(ℝ, Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ A) → ℂ)) |
| 170 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap h) x = |
| 171 | fderiv ℝ (fun z => |
| 172 | chartAt (Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ A) → ℂ) (x.comp h) |
| 173 | (((chartAt (Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ B) → ℂ) x).symm z).comp h)) |
| 174 | (chartAt (Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ B) → ℂ) x x) := by |
| 175 | rw [((SmoothAffineMaps.real_contMDiff_smoothDomain_comap h 1).mdifferentiableAt |
| 176 | (x := x) one_ne_zero).mfderiv_abuse] |
| 177 | simp only [writtenInExtChartAt, extChartAt_coe, extChartAt_coe_symm, |
| 178 | modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, |
| 179 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap, ContinuousMap.coe_mk, |
| 180 | Function.comp_def, id_eq, Set.range_id, fderivWithin_univ] |
| 181 | |
| 182 | /-- A genuine affine closed immersion also has injective differential on the |
| 183 | underlying real manifolds. This is restriction of its complex differential. -/ |
| 184 | theorem real_mfderiv_smoothDomain_comap_injective_of_surjective |
| 185 | (h : A →ₐ[ℂ] B) (hh : Function.Surjective h) (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) : |
| 186 | Function.Injective |
| 187 | (mfderiv (𝓘(ℝ, Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ B) → ℂ)) |
| 188 | (𝓘(ℝ, Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ A) → ℂ)) |
| 189 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap h) x) := by |
| 190 | rw [real_mfderiv_smoothDomain_comap_eq_chart_fderiv] |
| 191 | have hd := (contDiffAt_affineChartComap h |
| 192 | (chartAt (Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ B) → ℂ) x) |
| 193 | (chartAt (Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ A) → ℂ) (x.comp h)) |
| 194 | (chart_mem_atlas _ x) (chart_mem_atlas _ (x.comp h)) x |
| 195 | (mem_chart_source _ x) (mem_chart_source _ (x.comp h))).differentiableAt (by simp) |
| 196 | rw [hd.fderiv_restrictScalars ℝ] |
| 197 | exact fderiv_affineChartComap_injective_of_surjective h hh |
| 198 | (chartAt (Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ B) → ℂ) x) |
| 199 | (chartAt (Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ A) → ℂ) (x.comp h)) |
| 200 | (chart_mem_atlas _ x) (chart_mem_atlas _ (x.comp h)) x |
| 201 | (mem_chart_source _ x) (mem_chart_source _ (x.comp h)) |
| 202 | |
| 203 | /-- Native complex points of a smooth affine closed immersion form a closed |
| 204 | embedded complex submanifold in the differential sense: the induced map is a |
| 205 | closed topological embedding and its complex differential is injective. -/ |
| 206 | theorem smoothDomain_comap_closedEmbedding_and_injective_differential |
| 207 | (h : A →ₐ[ℂ] B) (hh : Function.Surjective h) : |
| 208 | Topology.IsClosedEmbedding (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap h) ∧ |
| 209 | ∀ x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B, |
| 210 | Function.Injective |
| 211 | (mfderiv (𝓘(ℂ, Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ B) → ℂ)) |
| 212 | (𝓘(ℂ, Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ A) → ℂ)) |
| 213 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap h) x) := |
| 214 | ⟨Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isClosedEmbedding_comap_of_surjective h hh, |
| 215 | mfderiv_smoothDomain_comap_injective_of_surjective h hh⟩ |
| 216 | |
| 217 | /-- The real differential version, on the very same ordinary complex-point |
| 218 | topology and the underlying real smooth structure. -/ |
| 219 | theorem smoothDomain_comap_closedEmbedding_and_injective_real_differential |
| 220 | (h : A →ₐ[ℂ] B) (hh : Function.Surjective h) : |
| 221 | Topology.IsClosedEmbedding (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap h) ∧ |
| 222 | ∀ x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B, |
| 223 | Function.Injective |
| 224 | (mfderiv (𝓘(ℝ, Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ B) → ℂ)) |
| 225 | (𝓘(ℝ, Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ A) → ℂ)) |
| 226 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap h) x) := |
| 227 | ⟨Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isClosedEmbedding_comap_of_surjective h hh, |
| 228 | real_mfderiv_smoothDomain_comap_injective_of_surjective h hh⟩ |
| 229 | |
| 230 | end |
| 231 | |
| 232 | end OAI.AlgebraicGeometry.ComplexPoints.Analytic.SmoothClosedImmersion |