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.CMVariety.AlgebraicCone |
| 2 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.AlgebraicFiniteConeFibers |
| 4 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.DenseFiber |
| 5 | |
| 6 | /-! # Algebraic Cone Dense Preimage -/ |
| 7 | |
| 8 | namespace OAI |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace AlgebraicGeometry.HodgeConjecture.CMVariety.AlgebraicConeDensePreimage.CM.Abelian.Algebraization.ConeParameterFibers |
| 13 | |
| 14 | open Set |
| 15 | open OAI.Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent |
| 16 | |
| 17 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] {n : ℕ} |
| 18 | |
| 19 | omit [NormedAddCommGroup V] [NormedSpace ℂ V] in |
| 20 | theorem parameterization_injOn (i : Fin (n + 1)) |
| 21 | {g : V → Projectivization ℂ (Fin (n + 1) → ℂ)} {U : Set V} |
| 22 | (hg : InjOn g U) (hchart : ∀ z ∈ U, g z ∈ (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source) : |
| 23 | InjOn (Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.parameterization i (fun z => ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (g z))) |
| 24 | (U ×ˢ {c : ℂ | c ≠ 0}) := by |
| 25 | intro p hp q hq heq |
| 26 | have hsnd : p.2 = q.2 := by |
| 27 | simpa only [Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.parameterization, Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.insertCoordinate_apply, Fin.insertNth_apply_same] |
| 28 | using congrFun heq i |
| 29 | have hr : ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (g p.1) = ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (g q.1) := by |
| 30 | have h := congrArg (ComplexGroups.HolomorphicAlgebraicity.ConeCharts.Constructions.Cone.dehomogenize i) heq |
| 31 | simpa only [Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.dehomogenize_parameterization i _ _ hp.2, |
| 32 | Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.dehomogenize_parameterization i _ _ hq.2] using h |
| 33 | exact Prod.ext (hg hp.1 hq.1 ((ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).injOn |
| 34 | (hchart p.1 hp.1) (hchart q.1 hq.1) hr)) hsnd |
| 35 | |
| 36 | theorem exists_injective_period_parameter (Φ : ProjectiveTorusData.CM.Abelian.ProjectivePeriodData) |
| 37 | (f : Φ.periodTorus → Projectivization ℂ (Fin (n + 1) → ℂ)) (hf : Topology.IsEmbedding f) |
| 38 | (i : Fin (n + 1)) (z : Φ.space) |
| 39 | (hi : f (QuotientAddGroup.mk z) ∈ (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source) {c : ℂ} (hc : c ≠ 0) : |
| 40 | ∃ U : Set (Φ.space × ℂ), IsOpen U ∧ (z, c) ∈ U ∧ |
| 41 | InjOn (Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.parameterization i (fun w => ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w)))) U ∧ |
| 42 | ∀ p ∈ U, f (QuotientAddGroup.mk p.1) ∈ (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source ∧ p.2 ≠ 0 := by |
| 43 | obtain ⟨A, hA, hzA, hq⟩ := |
| 44 | Φ.periodProjection_isCoveringMap.isLocalHomeomorph.isLocallyInjective z |
| 45 | let B := A ∩ (fun w : Φ.space => f (QuotientAddGroup.mk w)) ⁻¹' |
| 46 | (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source |
| 47 | have hB : IsOpen B := hA.inter ((ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).open_source.preimage |
| 48 | (hf.continuous.comp QuotientAddGroup.continuous_mk)) |
| 49 | have hg : InjOn (fun w : Φ.space => f (QuotientAddGroup.mk w)) B := |
| 50 | fun _ hp _ hq' heq => hq hp.1 hq'.1 (hf.injective heq) |
| 51 | refine ⟨B ×ˢ {c : ℂ | c ≠ 0}, hB.prod isOpen_compl_singleton, ⟨⟨hzA, hi⟩, hc⟩, |
| 52 | parameterization_injOn i hg (fun _ hw => hw.2), fun p hp => ⟨hp.1.2, hp.2⟩⟩ |
| 53 | |
| 54 | theorem finite_parameter_fiber {D W : Type*} {S : Set W} {P : D → W} {U : Set D} |
| 55 | (hP : InjOn P U) (hmem : MapsTo P U S) {Y : Type*} (L : W → Y) |
| 56 | (hfinite : ∀ y, {w : W | w ∈ S ∧ L w = y}.Finite) (y : Y) : |
| 57 | {x : D | x ∈ U ∧ L (P x) = y}.Finite := by |
| 58 | apply Set.Finite.of_finite_image (f := P) (h := (hfinite y).subset ?_) |
| 59 | · exact hP.mono (fun _ hx => hx.1) |
| 60 | · rintro _ ⟨x, hx, rfl⟩ |
| 61 | exact ⟨hmem hx.1, hx.2⟩ |
| 62 | |
| 63 | end AlgebraicGeometry.HodgeConjecture.CMVariety.AlgebraicConeDensePreimage.CM.Abelian.Algebraization.ConeParameterFibers |
| 64 | |
| 65 | namespace AlgebraicGeometry.HodgeConjecture.CMVariety.AlgebraicConeDensePreimage.CM.Abelian.Algebraization.ConeDensePreimage |
| 66 | |
| 67 | open Set |
| 68 | open OAI.Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.AlgebraicConeDensePreimage.CM.Abelian.Algebraization.ConeParameterFibers |
| 69 | |
| 70 | variable {n : ℕ} |
| 71 | |
| 72 | theorem parameter_mem_closure (Φ : ProjectiveTorusData.CM.Abelian.ProjectivePeriodData) |
| 73 | (f : Φ.periodTorus → Projectivization ℂ (Fin (n + 1) → ℂ)) (hf : Topology.IsEmbedding f) |
| 74 | (hd : ∀ (z : Φ.space) (i : Fin (n + 1)), |
| 75 | f (QuotientAddGroup.mk z) ∈ (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source → |
| 76 | DifferentiableAt ℂ (fun w => ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) z) |
| 77 | (L : (Fin (n + 1) → ℂ) →L[ℂ] (Fin (Module.finrank ℂ (Φ.space) + 1) → ℂ)) |
| 78 | (hfinite : ∀ y, {w | w ∈ ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f) ∧ L w = y}.Finite) |
| 79 | (i : Fin (n + 1)) (z : Φ.space) {c : ℂ} (hc : c ≠ 0) |
| 80 | (hi : f (QuotientAddGroup.mk z) ∈ (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source) |
| 81 | {O D : Set (Fin (Module.finrank ℂ (Φ.space) + 1) → ℂ)} |
| 82 | (hO : IsOpen O) (hD : O ⊆ closure D) |
| 83 | (hbase : L (Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.parameterization i (fun w => ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i |
| 84 | (f (QuotientAddGroup.mk w))) (z, c)) ∈ O) : |
| 85 | Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.parameterization i (fun w => ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) (z, c) ∈ |
| 86 | closure {w | w ∈ ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f) ∧ L w ∈ D} := by |
| 87 | let r : Φ.space → Fin n → ℂ := |
| 88 | fun w => ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w)) |
| 89 | let P := Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.parameterization i r |
| 90 | let F := fun p => L (P p) |
| 91 | obtain ⟨A, hA, hzA, hPinj, hpatch⟩ := ConeParameterFibers.exists_injective_period_parameter Φ f hf i z hi hc |
| 92 | have hr : DifferentiableOn ℂ r |
| 93 | {w | f (QuotientAddGroup.mk w) ∈ (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source} := |
| 94 | fun w hw => (hd w i hw).differentiableWithinAt |
| 95 | have hP : DifferentiableOn ℂ P A := |
| 96 | (Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.differentiableOn_parameterization i hr).mono (fun p hp => ⟨(hpatch p hp).1, mem_univ _⟩) |
| 97 | have hF : DifferentiableOn ℂ F A := L.differentiable.comp_differentiableOn hP |
| 98 | have hmem : MapsTo P A (ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f)) := by |
| 99 | intro p hp hp0 |
| 100 | obtain ⟨w, hw⟩ := (Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.parameterization_mem_cone i |
| 101 | (fun w : Φ.space => f (QuotientAddGroup.mk w)) p.1 (hpatch p hp).1 p.2) hp0 |
| 102 | exact ⟨QuotientAddGroup.mk w, hw⟩ |
| 103 | let U := A ∩ F ⁻¹' O |
| 104 | have hU : IsOpen U := hF.continuousOn.isOpen_inter_preimage hA hO |
| 105 | have hzU : (z, c) ∈ U := ⟨hzA, hbase⟩ |
| 106 | have hfin : ∀ y, {p : Φ.space × ℂ | p ∈ U ∧ F p = y}.Finite := |
| 107 | fun y => ConeParameterFibers.finite_parameter_fiber (hPinj.mono inter_subset_left) |
| 108 | (hmem.mono_left inter_subset_left) L hfinite y |
| 109 | have hdense := Geometry.ComplexTorus.RiemannProjectivity.DenseFiber.Constructions.DenseFiberPreimage.dense_preimage hU (hF.mono inter_subset_left) |
| 110 | (by simp [Module.finrank_prod]) hfin (fun p hp => hD hp.2) |
| 111 | have hclosure := mem_closure_image |
| 112 | ((hP.differentiableAt (hA.mem_nhds hzA)).continuousAt) (hdense hzU) |
| 113 | apply closure_mono (s := P '' (U ∩ F ⁻¹' D)) ?_ hclosure |
| 114 | rintro _ ⟨p, hp, rfl⟩ |
| 115 | exact ⟨hmem hp.1.1, hp.2⟩ |
| 116 | |
| 117 | theorem mem_closure_preimage (Φ : ProjectiveTorusData.CM.Abelian.ProjectivePeriodData) |
| 118 | (f : Φ.periodTorus → Projectivization ℂ (Fin (n + 1) → ℂ)) (hf : Topology.IsEmbedding f) |
| 119 | (hd : ∀ (z : Φ.space) (i : Fin (n + 1)), |
| 120 | f (QuotientAddGroup.mk z) ∈ (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source → |
| 121 | DifferentiableAt ℂ (fun w => ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) z) |
| 122 | (L : (Fin (n + 1) → ℂ) →L[ℂ] (Fin (Module.finrank ℂ (Φ.space) + 1) → ℂ)) |
| 123 | (hfinite : ∀ y, {w | w ∈ ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f) ∧ L w = y}.Finite) |
| 124 | {O D : Set (Fin (Module.finrank ℂ (Φ.space) + 1) → ℂ)} |
| 125 | (hO : IsOpen O) (hD : O ⊆ closure D) |
| 126 | {v : Fin (n + 1) → ℂ} (hv : v ∈ ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f)) (hv0 : v ≠ 0) |
| 127 | (hbase : L v ∈ O) : v ∈ closure {w | w ∈ ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f) ∧ L w ∈ D} := by |
| 128 | obtain ⟨t, ht⟩ := hv hv0 |
| 129 | obtain ⟨z, hz⟩ := QuotientAddGroup.mk_surjective t |
| 130 | have hgz : f (QuotientAddGroup.mk z) = Projectivization.mk ℂ v hv0 := by rw [hz, ht] |
| 131 | obtain ⟨i, hpatch⟩ := ComplexPoints.Analytic.ProjectiveCharts.exists_mem_projectiveFinChart_source (Projectivization.mk ℂ v hv0) |
| 132 | have hi : f (QuotientAddGroup.mk z) ∈ (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source := by rwa [hgz] |
| 133 | have hvi : v i ≠ 0 := (Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.inPatch_mk_iff i v hv0).mp hpatch |
| 134 | have hratio : ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk z)) = ComplexGroups.HolomorphicAlgebraicity.ConeCharts.Constructions.Cone.dehomogenize i v := by |
| 135 | rw [hgz, ComplexGroups.HolomorphicAlgebraicity.ConeCharts.Constructions.Cone.dehomogenize_eq_projectiveChart i v hv0] |
| 136 | have hparam : Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.parameterization i |
| 137 | (fun w => ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) (z, v i) = v := by |
| 138 | change Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.insertCoordinate i (v i, v i • ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk z))) = v |
| 139 | rw [hratio] |
| 140 | exact Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.insertCoordinate_dehomogenize i v hvi |
| 141 | have h := parameter_mem_closure Φ f hf hd L hfinite i z hvi hi hO hD |
| 142 | (by rw [hparam]; exact hbase) |
| 143 | simpa only [hparam] using h |
| 144 | |
| 145 | end AlgebraicGeometry.HodgeConjecture.CMVariety.AlgebraicConeDensePreimage.CM.Abelian.Algebraization.ConeDensePreimage |
| 146 | |
| 147 | end |
| 148 | |
| 149 | end OAI |