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