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.HodgeConjecture.DegreeTwo.ExponentialLocal |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.Torus |
| 3 | import Mathlib.Analysis.Calculus.FDeriv.RestrictScalars |
| 4 | import Mathlib.LinearAlgebra.Complex.FiniteDimensional |
| 5 | |
| 6 | /-! # Exponential Complex -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialComplex.Constructions.Exponential |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # DegreeTwo: complex differentiability of the constructed exponential |
| 14 | |
| 15 | The real exponential has identity differential at zero. In complex coordinates |
| 16 | this differential is complex linear, so it is a complex derivative. The group |
| 17 | law transports this derivative to every point. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.Manifold |
| 21 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 22 | |
| 23 | variable {E C : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 24 | [NormedSpace ℝ E] [IsScalarTower ℝ ℂ E] [FiniteDimensional ℂ E] |
| 25 | [CompleteSpace E] [TopologicalSpace C] [ChartedSpace E C] [CommGroup C] |
| 26 | [LieGroup (𝓘(ℝ, E)) ∞ C] [LieGroup (𝓘(ℂ, E)) ∞ C] [T2Space C] |
| 27 | |
| 28 | local instance : FiniteDimensional ℝ E := FiniteDimensional.trans ℝ ℂ E |
| 29 | |
| 30 | omit [LieGroup (𝓘(ℂ, E)) ∞ C] in |
| 31 | /-- The chart expression of the exponential has the complex identity as its |
| 32 | derivative at zero; the real derivative is the restriction of this map. -/ |
| 33 | theorem hasFDerivAt_chart_expMap_zero_complex : |
| 34 | HasFDerivAt (extChartAt (𝓘(ℂ, E)) (ExponentialM.Constructions.Exponential.expMap (E := E) (C := C) 0) ∘ ExponentialM.Constructions.Exponential.expMap (E := E) (C := C)) |
| 35 | (ContinuousLinearMap.id ℂ E) (0 : E) := by |
| 36 | have hchart := (mdifferentiableAt_extChartAt (I := 𝓘(ℝ, E)) |
| 37 | (mem_chart_source E (ExponentialM.Constructions.Exponential.expMap (E := E) (C := C) 0))).hasMFDerivAt |
| 38 | have h := hchart.comp 0 (ExponentialM.Constructions.Exponential.hasMFDerivAt_expMap_zero (E := E) (C := C)) |
| 39 | have hr : HasFDerivAt |
| 40 | (extChartAt (𝓘(ℂ, E)) (ExponentialM.Constructions.Exponential.expMap (E := E) (C := C) 0) ∘ ExponentialM.Constructions.Exponential.expMap (E := E) (C := C)) |
| 41 | (ContinuousLinearMap.id ℝ E) (0 : E) := by |
| 42 | apply HasMFDerivAt.hasFDerivAt |
| 43 | apply h.congr_mfderiv |
| 44 | rw [mfderiv_extChartAt_self] |
| 45 | ext x |
| 46 | rfl |
| 47 | exact hasFDerivAt_of_restrictScalars ℝ hr rfl |
| 48 | |
| 49 | omit [LieGroup (𝓘(ℂ, E)) ∞ C] in |
| 50 | /-- The constructed real exponential is complex differentiable at zero. -/ |
| 51 | theorem expMap_complex_mdifferentiableAt_zero : |
| 52 | MDifferentiableAt (𝓘(ℂ, E)) (𝓘(ℂ, E)) (ExponentialM.Constructions.Exponential.expMap (E := E) (C := C)) 0 := by |
| 53 | apply mdifferentiableAt_iff_target.mpr |
| 54 | exact ⟨ExponentialM.Constructions.Exponential.expMap_continuous.continuousAt, |
| 55 | hasFDerivAt_chart_expMap_zero_complex.differentiableAt.mdifferentiableAt⟩ |
| 56 | |
| 57 | /-- Holomorphic group translation transports complex differentiability at |
| 58 | zero to every point of the tangent space. -/ |
| 59 | theorem expMap_complex_mdifferentiable : |
| 60 | MDifferentiable (𝓘(ℂ, E)) (𝓘(ℂ, E)) (ExponentialM.Constructions.Exponential.expMap (E := E) (C := C)) := by |
| 61 | intro v |
| 62 | have hs : MDifferentiableAt (𝓘(ℂ, E)) (𝓘(ℂ, E)) (fun x : E => x - v) v := |
| 63 | ((differentiableAt_id : DifferentiableAt ℂ (fun x : E => x) v).sub |
| 64 | (differentiableAt_const v)).mdifferentiableAt |
| 65 | have h₀ : MDifferentiableAt (𝓘(ℂ, E)) (𝓘(ℂ, E)) |
| 66 | (ExponentialM.Constructions.Exponential.expMap (E := E) (C := C)) (v - v) := by |
| 67 | simpa only [sub_self] using expMap_complex_mdifferentiableAt_zero (E := E) (C := C) |
| 68 | have hm : MDifferentiableAt (𝓘(ℂ, E)) (𝓘(ℂ, E)) |
| 69 | (fun y : C => ExponentialM.Constructions.Exponential.expMap (E := E) (C := C) v * y) (ExponentialM.Constructions.Exponential.expMap (E := E) (C := C) (v - v)) := |
| 70 | (contMDiff_mul_left (n := ∞)).mdifferentiableAt (by simp) |
| 71 | have h := hm.comp v (h₀.comp (f := fun x : E => x - v) v hs) |
| 72 | have heq : (fun y : C => ExponentialM.Constructions.Exponential.expMap (E := E) (C := C) v * y) ∘ |
| 73 | (ExponentialM.Constructions.Exponential.expMap (E := E) (C := C) ∘ (fun x : E => x - v)) = ExponentialM.Constructions.Exponential.expMap (E := E) (C := C) := by |
| 74 | funext x |
| 75 | dsimp only [Function.comp_apply] |
| 76 | rw [← ExponentialM.Constructions.Exponential.expMap_add] |
| 77 | congr 1 |
| 78 | abel |
| 79 | rwa [heq] at h |
| 80 | |
| 81 | theorem localInverse_complex_mdifferentiableAt |
| 82 | (e : OpenPartialHomeomorph E C) (he₀ : (0 : E) ∈ e.source) |
| 83 | (he : (e : E → C) = ExponentialM.Constructions.Exponential.expMap (E := E) (C := C)) : |
| 84 | MDifferentiableAt (𝓘(ℂ, E)) (𝓘(ℂ, E)) e.symm |
| 85 | (ExponentialM.Constructions.Exponential.expMap (E := E) (C := C) 0) := by |
| 86 | let f := ExponentialM.Constructions.Exponential.expMap (E := E) (C := C) |
| 87 | let c := chartAt E (f 0) |
| 88 | let k := e.trans c |
| 89 | have hc₀ : f 0 ∈ c.source := mem_chart_source E (f 0) |
| 90 | have hk₀ : (0 : E) ∈ k.source := by |
| 91 | refine ⟨he₀, ?_⟩ |
| 92 | change e 0 ∈ c.source |
| 93 | rw [he] |
| 94 | exact hc₀ |
| 95 | have hkfun : (k : E → E) = extChartAt (𝓘(ℂ, E)) (f 0) ∘ f := by |
| 96 | funext x |
| 97 | change c (e x) = c (f x) |
| 98 | rw [he] |
| 99 | have hkval : k 0 = c (f 0) := congrArg c (congrFun he 0) |
| 100 | have hka : c (f 0) ∈ k.target := hkval ▸ k.map_source hk₀ |
| 101 | have hki : k.symm (c (f 0)) = 0 := by |
| 102 | rw [← hkval] |
| 103 | exact k.left_inv hk₀ |
| 104 | have hkderiv : HasFDerivAt k |
| 105 | (ContinuousLinearEquiv.refl ℂ E : E →L[ℂ] E) (k.symm (c (f 0))) := by |
| 106 | rw [hki, hkfun] |
| 107 | exact hasFDerivAt_chart_expMap_zero_complex |
| 108 | have hi := (k.hasFDerivAt_symm hka hkderiv).differentiableAt.mdifferentiableAt |
| 109 | have hc : MDifferentiableAt (𝓘(ℂ, E)) (𝓘(ℂ, E)) c (f 0) := |
| 110 | mdifferentiableAt_extChartAt hc₀ |
| 111 | have hh := hi.comp (f 0) hc |
| 112 | have heq : (e.symm : C → E) =ᶠ[𝓝 (f 0)] k.symm ∘ c := by |
| 113 | filter_upwards [c.open_source.mem_nhds hc₀] with y hy |
| 114 | change e.symm y = e.symm (c.symm (c y)) |
| 115 | rw [c.left_inv hy] |
| 116 | exact heq.mdifferentiableAt_iff.mpr hh |
| 117 | |
| 118 | /-- The exponential quotient homeomorphism is holomorphic, because its |
| 119 | composition with the lattice projection is the holomorphic exponential. -/ |
| 120 | theorem expQuotientHomeomorph_mdifferentiable [ConnectedSpace C] : |
| 121 | MDifferentiable (𝓘(ℂ, E)) (𝓘(ℂ, E)) |
| 122 | (ExponentialLocal.Constructions.Exponential.expQuotientHomeomorph (E := E) (C := C)) := |
| 123 | Torus.Constructions.LatticeQuotient.mdifferentiable_of_projection |
| 124 | (ExponentialLocal.Constructions.Exponential.expLattice (E := E) (C := C)) _ expMap_complex_mdifferentiable |
| 125 | |
| 126 | theorem expQuotientHomeomorph_symm_mdifferentiable [ConnectedSpace C] : |
| 127 | MDifferentiable (𝓘(ℂ, E)) (𝓘(ℂ, E)) |
| 128 | (ExponentialLocal.Constructions.Exponential.expQuotientHomeomorph (E := E) (C := C)).symm := by |
| 129 | let f := ExponentialM.Constructions.Exponential.expMap (E := E) (C := C) |
| 130 | let q := ExponentialLocal.Constructions.Exponential.expQuotientHomeomorph (E := E) (C := C) |
| 131 | let Λ := ExponentialLocal.Constructions.Exponential.expLattice (E := E) (C := C) |
| 132 | intro y |
| 133 | obtain ⟨v, rfl⟩ := ExponentialLocal.Constructions.Exponential.expMap_surjective (E := E) (C := C) y |
| 134 | obtain ⟨e, he₀, he⟩ := ExponentialLocal.Constructions.Exponential.exists_expMap_localHomeomorph_zero (E := E) (C := C) |
| 135 | let t : C → C := fun z => (f v)⁻¹ * z |
| 136 | have ht : MDifferentiableAt (𝓘(ℂ, E)) (𝓘(ℂ, E)) t (f v) := |
| 137 | (contMDiff_mul_left (n := ∞)).mdifferentiableAt (by simp) |
| 138 | have ht₀ : t (f v) = f 0 := by |
| 139 | change (f v)⁻¹ * f v = ExponentialM.Constructions.Exponential.exp (G := C) 0 |
| 140 | rw [inv_mul_cancel, ExponentialM.Constructions.Exponential.exp_zero] |
| 141 | have hl := localInverse_complex_mdifferentiableAt e he₀ he |
| 142 | have hlt := hl.comp_of_eq (f v) ht ht₀ |
| 143 | have hv : MDifferentiableAt (𝓘(ℂ, E)) (𝓘(ℂ, E)) |
| 144 | (fun z : C => v + e.symm (t z)) (f v) := |
| 145 | mdifferentiableAt_const.add hlt |
| 146 | have hp : MDifferentiable (𝓘(ℂ, E)) (𝓘(ℂ, E)) |
| 147 | (QuotientAddGroup.mk : E → Torus.Constructions.LatticeQuotient.Point Λ) := |
| 148 | (Torus.Constructions.LatticeQuotient.projection_contMDiff Λ).mdifferentiable (by simp) |
| 149 | have h := (hp (v + e.symm (t (f v)))).comp (f v) hv |
| 150 | have he_target : f 0 ∈ e.target := by simpa only [he] using e.map_source he₀ |
| 151 | have hn : ∀ᶠ z in 𝓝 (f v), t z ∈ e.target := |
| 152 | ht.continuousAt.preimage_mem_nhds (ht₀.symm ▸ e.open_target.mem_nhds he_target) |
| 153 | have heq : (q.symm : C → Torus.Constructions.LatticeQuotient.Point Λ) =ᶠ[𝓝 (f v)] |
| 154 | (fun z => QuotientAddGroup.mk (v + e.symm (t z))) := by |
| 155 | filter_upwards [hn] with z hz |
| 156 | apply q.injective |
| 157 | rw [q.apply_symm_apply] |
| 158 | change z = ExponentialM.Constructions.Exponential.expMap (C := C) (v + e.symm (t z)) |
| 159 | rw [ExponentialM.Constructions.Exponential.expMap_add] |
| 160 | change z = f v * f (e.symm (t z)) |
| 161 | have hinv : f (e.symm (t z)) = t z := by |
| 162 | change ExponentialM.Constructions.Exponential.expMap (C := C) (e.symm (t z)) = t z |
| 163 | rw [← he] |
| 164 | exact e.right_inv hz |
| 165 | rw [hinv] |
| 166 | change z = f v * ((f v)⁻¹ * z) |
| 167 | simp |
| 168 | exact heq.mdifferentiableAt_iff.mpr h |
| 169 | |
| 170 | end |
| 171 | |
| 172 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialComplex.Constructions.Exponential |