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.Geometry.ComplexTorus.RiemannProjectivity.HolomorphicRegularityAt |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.AlgebraizationRoot |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.ImmersionNormalForm |
| 4 | |
| 5 | /-! # Algebraic Image Charts -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.AlgebraicImageCharts.CM.Abelian.Algebraization.ImageCharts |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open Set Filter |
| 12 | open scoped _root_.Topology ContDiff |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.ComplexPoints.Analytic.ImmersionNormalForm OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates |
| 15 | |
| 16 | variable {V W : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 17 | [NormedAddCommGroup W] [NormedSpace ℂ W] |
| 18 | [FiniteDimensional ℂ V] [FiniteDimensional ℂ W] |
| 19 | |
| 20 | /-- Holomorphic normal coordinates with the actual local image as their zero slice. -/ |
| 21 | def HasHolomorphicNormalChart (f : V → W) (x : V) : Prop := |
| 22 | ∃ (C : Submodule ℂ W) (q : OpenPartialHomeomorph (V × C) W), |
| 23 | (x, 0) ∈ q.source ∧ |
| 24 | (∀ y, q (y, 0) = f y) ∧ |
| 25 | DifferentiableOn ℂ q.symm q.target ∧ |
| 26 | ∀ y ∈ q.target, (q.symm y).2 = 0 ↔ |
| 27 | ∃ z, (z, 0) ∈ q.source ∧ f z = y |
| 28 | |
| 29 | theorem hasHolomorphicNormalChart_of_injective_fderiv |
| 30 | (f : V → W) (x : V) {U : Set V} (hU : IsOpen U) (hx : x ∈ U) |
| 31 | (hf : DifferentiableOn ℂ f U) (hi : Function.Injective (fderiv ℂ f x)) : |
| 32 | HasHolomorphicNormalChart f x := by |
| 33 | let : CompleteSpace W := FiniteDimensional.complete ℂ W |
| 34 | have hf1 := Geometry.ComplexTorus.RiemannProjectivity.HolomorphicRegularityAt.Constructions.HolomorphicRegularity.contDiffAt_one_of_differentiableOn hU hf hx |
| 35 | obtain ⟨C, e, he⟩ := ComplexPoints.Analytic.LinearImmersionComplement.exists_linearImmersionComplement (fderiv ℂ f x) hi |
| 36 | let : CompleteSpace (V × C) := FiniteDimensional.complete ℂ (V × C) |
| 37 | have hd := ComplexPoints.Analytic.ImmersionNormalForm.hasFDerivAt_immersionExtension f C (fderiv ℂ f x) x |
| 38 | ((hf x hx).differentiableAt (hU.mem_nhds hx)).hasFDerivAt |
| 39 | have heq : (fderiv ℂ f x).comp (ContinuousLinearMap.fst ℂ V C) + |
| 40 | C.subtypeL.comp (ContinuousLinearMap.snd ℂ V C) = e.toContinuousLinearMap := by |
| 41 | apply ContinuousLinearMap.ext |
| 42 | intro z |
| 43 | exact (he z).symm |
| 44 | rw [heq] at hd |
| 45 | have hg := ComplexPoints.Analytic.ImmersionNormalForm.contDiffAt_immersionExtension f C x hf1 |
| 46 | let q₀ := hg.toOpenPartialHomeomorph (ComplexPoints.Analytic.ImmersionNormalForm.immersionExtension f C) hd (by norm_num) |
| 47 | have hx₀ : (x, (0 : C)) ∈ q₀.source := |
| 48 | hg.mem_toOpenPartialHomeomorph_source hd (by norm_num) |
| 49 | have hi₀ : ContDiffAt ℂ 1 q₀.symm (q₀ (x, 0)) := hg.to_localInverse hd (by norm_num) |
| 50 | let q := q₀.restrContDiff ℂ 1 (by norm_num) |
| 51 | have hxq : (x, (0 : C)) ∈ q.source := ⟨hx₀, hg, hi₀⟩ |
| 52 | have hzero : ∀ y, q (y, 0) = f y := by |
| 53 | intro y |
| 54 | change f y + ((0 : C) : W) = f y |
| 55 | simp |
| 56 | have hqi : DifferentiableOn ℂ q.symm q.target := |
| 57 | (q₀.contDiffOn_restrContDiff_target ℂ (by norm_num : (1 : ℕ∞ω) ≠ ∞)).differentiableOn |
| 58 | (by norm_num) |
| 59 | refine ⟨C, q, hxq, hzero, hqi, ?_⟩ |
| 60 | intro y hy |
| 61 | constructor |
| 62 | · intro hz |
| 63 | have hp : ((q.symm y).1, (0 : C)) = q.symm y := Prod.ext rfl hz.symm |
| 64 | refine ⟨(q.symm y).1, hp ▸ q.map_target hy, ?_⟩ |
| 65 | rw [← hzero, hp, q.right_inv hy] |
| 66 | · rintro ⟨z, hz, hzy⟩ |
| 67 | rw [← hzy, ← hzero z, q.left_inv hz] |
| 68 | |
| 69 | omit [FiniteDimensional ℂ V] in |
| 70 | /-- Each normal chart gives actual finitely many complex-valued holomorphic equations. -/ |
| 71 | theorem local_equations_of_normal_chart {f : V → W} {x : V} |
| 72 | (h : HasHolomorphicNormalChart f x) : |
| 73 | ∃ (k : ℕ) (O : Set W) (g : W → (Fin k → ℂ)) (D : Set V), |
| 74 | IsOpen O ∧ f x ∈ O ∧ IsOpen D ∧ x ∈ D ∧ |
| 75 | DifferentiableOn ℂ g O ∧ ∀ y ∈ O, g y = 0 ↔ ∃ z ∈ D, f z = y := by |
| 76 | obtain ⟨C, q, hx, hzero, hqi, heq⟩ := h |
| 77 | let k := Module.finrank ℂ C |
| 78 | let e : C ≃L[ℂ] (Fin k → ℂ) := |
| 79 | ContinuousLinearEquiv.ofFinrankEq (Module.finrank_fin_fun ℂ).symm |
| 80 | let g : W → (Fin k → ℂ) := fun y => e (q.symm y).2 |
| 81 | let D : Set V := (fun z : V => (z, (0 : C))) ⁻¹' q.source |
| 82 | have hD : IsOpen D := q.open_source.preimage (continuous_id.prodMk continuous_const) |
| 83 | refine ⟨k, q.target, g, D, q.open_target, ?_, hD, hx, ?_, ?_⟩ |
| 84 | · rw [← hzero x] |
| 85 | exact q.map_source hx |
| 86 | · exact e.differentiable.comp_differentiableOn (differentiable_snd.comp_differentiableOn hqi) |
| 87 | · intro y hy |
| 88 | change e (q.symm y).2 = 0 ↔ _ |
| 89 | rw [map_eq_zero_iff _ e.injective] |
| 90 | exact heq y hy |
| 91 | |
| 92 | omit [FiniteDimensional ℂ V] in |
| 93 | /-- Normal coordinates may be confined to any prescribed open parameter neighborhood. -/ |
| 94 | theorem local_equations_in_neighborhood {f : V → W} {x : V} |
| 95 | (h : HasHolomorphicNormalChart f x) {U : Set V} (hU : IsOpen U) (hxU : x ∈ U) : |
| 96 | ∃ (k : ℕ) (O : Set W) (g : W → (Fin k → ℂ)) (D : Set V), |
| 97 | IsOpen O ∧ f x ∈ O ∧ IsOpen D ∧ x ∈ D ∧ D ⊆ U ∧ |
| 98 | DifferentiableOn ℂ g O ∧ ∀ y ∈ O, g y = 0 ↔ ∃ z ∈ D, f z = y := by |
| 99 | obtain ⟨C, q, hx, hzero, hqi, _⟩ := h |
| 100 | let q' := q.restrOpen (Prod.fst ⁻¹' U) (hU.preimage continuous_fst) |
| 101 | have hx' : (x, (0 : C)) ∈ q'.source := ⟨hx, hxU⟩ |
| 102 | let k := Module.finrank ℂ C |
| 103 | let e : C ≃L[ℂ] (Fin k → ℂ) := |
| 104 | ContinuousLinearEquiv.ofFinrankEq (Module.finrank_fin_fun ℂ).symm |
| 105 | let g : W → (Fin k → ℂ) := fun y => e (q'.symm y).2 |
| 106 | let D : Set V := (fun z : V => (z, (0 : C))) ⁻¹' q'.source |
| 107 | have hD : IsOpen D := q'.open_source.preimage (continuous_id.prodMk continuous_const) |
| 108 | have hz' : ∀ z, q' (z, 0) = f z := hzero |
| 109 | refine ⟨k, q'.target, g, D, q'.open_target, ?_, hD, hx', fun z hz => hz.2, ?_, ?_⟩ |
| 110 | · rw [← hz' x] |
| 111 | exact q'.map_source hx' |
| 112 | · exact e.differentiable.comp_differentiableOn |
| 113 | (differentiable_snd.comp_differentiableOn (hqi.mono (fun y hy => hy.1))) |
| 114 | · intro y hy |
| 115 | change e (q'.symm y).2 = 0 ↔ _ |
| 116 | rw [map_eq_zero_iff _ e.injective] |
| 117 | constructor |
| 118 | · intro hz |
| 119 | have hp : ((q'.symm y).1, (0 : C)) = q'.symm y := Prod.ext rfl hz.symm |
| 120 | refine ⟨(q'.symm y).1, hp ▸ q'.map_target hy, ?_⟩ |
| 121 | rw [← hz', hp, q'.right_inv hy] |
| 122 | · rintro ⟨z, hz, hzy⟩ |
| 123 | rw [← hzy, ← hz' z, q'.left_inv hz] |
| 124 | |
| 125 | omit [FiniteDimensional ℂ V] in |
| 126 | /-- An open quotient parametrization and an actual embedding turn the local |
| 127 | parameter equations into equations for the full image in an affine chart. -/ |
| 128 | theorem local_equations_for_embedded_image |
| 129 | {T P : Type*} [TopologicalSpace T] [TopologicalSpace P] |
| 130 | (p : V → T) (hp : Continuous p) (hpo : IsOpenMap p) |
| 131 | (f : T → P) (hf : Topology.IsEmbedding f) |
| 132 | (e : OpenPartialHomeomorph P W) (he : e.target = univ) |
| 133 | (x : V) (hx : f (p x) ∈ e.source) |
| 134 | (hn : HasHolomorphicNormalChart (fun z => e (f (p z))) x) : |
| 135 | ∃ (k : ℕ) (O : Set W) (g : W → (Fin k → ℂ)), |
| 136 | IsOpen O ∧ e (f (p x)) ∈ O ∧ DifferentiableOn ℂ g O ∧ |
| 137 | ∀ y ∈ O, g y = 0 ↔ e.symm y ∈ range f := by |
| 138 | let U : Set V := (f ∘ p) ⁻¹' e.source |
| 139 | have hU : IsOpen U := e.open_source.preimage (hf.continuous.comp hp) |
| 140 | obtain ⟨k, O, g, D, hO, hxO, hD, hxD, hDU, hg, hgeq⟩ := |
| 141 | local_equations_in_neighborhood hn hU hx |
| 142 | obtain ⟨B, hB, hpre⟩ := hf.isInducing.isOpen_iff.mp (hpo D hD) |
| 143 | have hxi : f (p x) ∈ B := by |
| 144 | change p x ∈ f ⁻¹' B |
| 145 | rw [hpre] |
| 146 | exact ⟨x, hxD, rfl⟩ |
| 147 | have hei : Continuous e.symm := by |
| 148 | apply continuousOn_univ.mp |
| 149 | simpa only [he] using e.continuousOn_symm |
| 150 | refine ⟨k, O ∩ e.symm ⁻¹' B, g, hO.inter (hB.preimage hei), |
| 151 | ⟨hxO, by simpa only [mem_preimage, e.left_inv hx] using hxi⟩, |
| 152 | hg.mono inter_subset_left, ?_⟩ |
| 153 | intro y hy |
| 154 | rw [hgeq y hy.1] |
| 155 | constructor |
| 156 | · rintro ⟨z, hz, hzy⟩ |
| 157 | refine ⟨p z, ?_⟩ |
| 158 | rw [← hzy] |
| 159 | exact (e.left_inv (hDU hz)).symm |
| 160 | · rintro ⟨t, ht⟩ |
| 161 | have htD : t ∈ p '' D := by |
| 162 | rw [← hpre] |
| 163 | change f t ∈ B |
| 164 | rw [ht] |
| 165 | exact hy.2 |
| 166 | obtain ⟨z, hz, hzt⟩ := htD |
| 167 | refine ⟨z, hz, ?_⟩ |
| 168 | rw [hzt, ht, e.right_inv (by rw [he]; trivial)] |
| 169 | |
| 170 | /-- The projective embedding of the CM torus has holomorphic local normal |
| 171 | charts in every standard affine patch, using only the named RiemannProjectivity input. -/ |
| 172 | theorem projective_period_torus_normal_charts |
| 173 | (Φ : ProjectiveTorusData.CM.Abelian.ProjectivePeriodData) : |
| 174 | ∃ (n : ℕ) (f : Φ.periodTorus → Projectivization ℂ (Fin (n + 1) → ℂ)), |
| 175 | Topology.IsClosedEmbedding f ∧ |
| 176 | ∀ (z : Φ.space) (i : Fin (n + 1)), |
| 177 | Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.InPatch i (f (QuotientAddGroup.mk z)) → |
| 178 | HasHolomorphicNormalChart |
| 179 | (fun w => ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) z := by |
| 180 | obtain ⟨n, f, hf, hd⟩ := AlgebraizationRoot.CM.Abelian.Algebraization.projective_period_torus_all_charts Φ |
| 181 | refine ⟨n, f, hf, ?_⟩ |
| 182 | intro z i hi |
| 183 | let U : Set (Φ.space) := {w | Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.InPatch i (f (QuotientAddGroup.mk w))} |
| 184 | have hU : IsOpen U := (ComplexPoints.Analytic.ProjectiveCharts.isOpen_projectivePatch i).preimage |
| 185 | (hf.continuous.comp QuotientAddGroup.continuous_mk) |
| 186 | exact hasHolomorphicNormalChart_of_injective_fderiv _ z hU hi |
| 187 | (fun w hw => (hd w i hw).1.differentiableWithinAt) (hd z i hi).2 |
| 188 | |
| 189 | /-- The full projective image has finite local holomorphic equations in |
| 190 | every standard affine chart at every image point. -/ |
| 191 | theorem projective_period_torus_image_equations |
| 192 | (Φ : ProjectiveTorusData.CM.Abelian.ProjectivePeriodData) : |
| 193 | ∃ (n : ℕ) (f : Φ.periodTorus → Projectivization ℂ (Fin (n + 1) → ℂ)), |
| 194 | Topology.IsClosedEmbedding f ∧ |
| 195 | ∀ (t : Φ.periodTorus) (i : Fin (n + 1)), Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.InPatch i (f t) → |
| 196 | ∃ (k : ℕ) (O : Set (Fin n → ℂ)) (g : (Fin n → ℂ) → (Fin k → ℂ)), |
| 197 | IsOpen O ∧ ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f t) ∈ O ∧ DifferentiableOn ℂ g O ∧ |
| 198 | ∀ y ∈ O, g y = 0 ↔ (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).symm y ∈ range f := by |
| 199 | obtain ⟨n, f, hf, hn⟩ := projective_period_torus_normal_charts Φ |
| 200 | refine ⟨n, f, hf, ?_⟩ |
| 201 | intro t i hi |
| 202 | obtain ⟨z, rfl⟩ := QuotientAddGroup.mk_surjective t |
| 203 | exact local_equations_for_embedded_image |
| 204 | (QuotientAddGroup.mk : Φ.space → Φ.periodTorus) |
| 205 | QuotientAddGroup.continuous_mk QuotientAddGroup.isOpenMap_coe f hf.isEmbedding |
| 206 | (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i) (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart_target i) z hi (hn z i hi) |
| 207 | |
| 208 | end |
| 209 | |
| 210 | end OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.AlgebraicImageCharts.CM.Abelian.Algebraization.ImageCharts |