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.ProjectiveTorusData |
| 2 | import Mathlib.Topology.Covering.Quotient |
| 3 | import Mathlib.Geometry.Manifold.IsManifold.Basic |
| 4 | import Mathlib.Geometry.Manifold.ContMDiff.Basic |
| 5 | import Mathlib.Geometry.Manifold.ContMDiff.NormedSpace |
| 6 | import Mathlib.Geometry.Manifold.Algebra.LieGroup |
| 7 | import Mathlib.Analysis.Calculus.ContDiff.Operations |
| 8 | import Mathlib.Analysis.Convex.Topology |
| 9 | |
| 10 | /-! # Torus Manifold -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMVariety |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | /-! |
| 17 | # The complex manifold of the generic period torus |
| 18 | |
| 19 | The quotient projection is a covering map. Local inverses give charts on the |
| 20 | compact Hausdorff quotient. Changes of charts are locally translations by |
| 21 | lattice elements, so they are complex smooth. The resulting complex manifold |
| 22 | uses the topology and the actual quotient constructed in `CMPeriodSpace`. |
| 23 | Adapted from CMPeriodTorus with its arithmetic assumptions removed. |
| 24 | The input lattice and projective embedding are constructed in Torus. |
| 25 | -/ |
| 26 | |
| 27 | open scoped Classical ContDiff |
| 28 | open _root_.Topology Filter |
| 29 | |
| 30 | variable (ε : ProjectiveTorusData.CM.Abelian.ProjectivePeriodData) |
| 31 | |
| 32 | /-- The period projection is a covering by the discrete group of lattice translations. -/ |
| 33 | theorem ProjectiveTorusData.CM.Abelian.ProjectivePeriodData.periodProjection_isCoveringMap : |
| 34 | IsCoveringMap (QuotientAddGroup.mk : ε.space → ε.periodTorus) := by |
| 35 | apply (ε.periodIntegerLattice.toAddSubgroup.isAddQuotientCoveringMap_of_comm _).isCoveringMap |
| 36 | exact isDiscrete_iff_discreteTopology.mpr ε.periodIntegerLattice_discrete |
| 37 | |
| 38 | /-- A representative used only to choose a local chart at each quotient point. -/ |
| 39 | def ProjectiveTorusData.CM.Abelian.ProjectivePeriodData.periodRepresentative (q : ε.periodTorus) : ε.space := |
| 40 | (QuotientAddGroup.mk_surjective q).choose |
| 41 | |
| 42 | theorem ProjectiveTorusData.CM.Abelian.ProjectivePeriodData.periodRepresentative_mk (q : ε.periodTorus) : |
| 43 | QuotientAddGroup.mk (ε.periodRepresentative q) = q := |
| 44 | (QuotientAddGroup.mk_surjective q).choose_spec |
| 45 | |
| 46 | /-- A local inverse of the actual period projection. -/ |
| 47 | def ProjectiveTorusData.CM.Abelian.ProjectivePeriodData.periodChart (q : ε.periodTorus) : OpenPartialHomeomorph ε.periodTorus (ε.space) := |
| 48 | ε.periodProjection_isCoveringMap.isLocalHomeomorph.localInverseAt (ε.periodRepresentative q) |
| 49 | |
| 50 | theorem ProjectiveTorusData.CM.Abelian.ProjectivePeriodData.periodChart_symm (q : ε.periodTorus) : |
| 51 | ⇑(ε.periodChart q).symm = (QuotientAddGroup.mk : ε.space → ε.periodTorus) := |
| 52 | ε.periodProjection_isCoveringMap.isLocalHomeomorph.localInverseAt_symm _ |
| 53 | |
| 54 | theorem ProjectiveTorusData.CM.Abelian.ProjectivePeriodData.mem_periodChart_source (q : ε.periodTorus) : q ∈ (ε.periodChart q).source := by |
| 55 | have h := ε.periodProjection_isCoveringMap.isLocalHomeomorph.apply_self_mem_localInverseAt_source |
| 56 | (x := ε.periodRepresentative q) |
| 57 | simpa only [ProjectiveTorusData.CM.Abelian.ProjectivePeriodData.periodChart, ε.periodRepresentative_mk] using h |
| 58 | |
| 59 | instance ProjectiveTorusData.CM.Abelian.ProjectivePeriodData.periodTorus_chartedSpace : ChartedSpace (ε.space) ε.periodTorus where |
| 60 | atlas := Set.range ε.periodChart |
| 61 | chartAt := ε.periodChart |
| 62 | mem_chart_source := ε.mem_periodChart_source |
| 63 | chart_mem_atlas q := ⟨q, rfl⟩ |
| 64 | |
| 65 | theorem ProjectiveTorusData.CM.Abelian.ProjectivePeriodData.period_extChart (q : ε.periodTorus) : |
| 66 | ⇑(extChartAt (modelWithCornersSelf ℂ (ε.space)) q) = ε.periodChart q := rfl |
| 67 | |
| 68 | theorem ProjectiveTorusData.CM.Abelian.ProjectivePeriodData.period_extChart_symm (q : ε.periodTorus) : |
| 69 | ⇑(extChartAt (modelWithCornersSelf ℂ (ε.space)) q).symm = |
| 70 | (QuotientAddGroup.mk : ε.space → ε.periodTorus) := by |
| 71 | change ⇑(ε.periodChart q).symm = _ |
| 72 | exact ε.periodChart_symm q |
| 73 | |
| 74 | /-- Every local inverse of the projection is locally a translation after precomposition |
| 75 | with the projection. -/ |
| 76 | theorem ProjectiveTorusData.CM.Abelian.ProjectivePeriodData.periodSection_eventuallyEq (e : OpenPartialHomeomorph ε.periodTorus (ε.space)) |
| 77 | (he : ⇑e.symm = (QuotientAddGroup.mk : ε.space → ε.periodTorus)) |
| 78 | (z : ε.space) (hz : QuotientAddGroup.mk z ∈ e.source) : |
| 79 | (fun w : ε.space => e (QuotientAddGroup.mk w)) =ᶠ[𝓝 z] |
| 80 | (fun w => w + (e (QuotientAddGroup.mk z) - z)) := by |
| 81 | let c : ε.space := e (QuotientAddGroup.mk z) - z |
| 82 | have hc : (QuotientAddGroup.mk c : ε.periodTorus) = 0 := by |
| 83 | change (QuotientAddGroup.mk (e (QuotientAddGroup.mk z) - z) : ε.periodTorus) = 0 |
| 84 | have hq := e.left_inv hz |
| 85 | rw [he] at hq |
| 86 | rw [QuotientAddGroup.mk_sub, hq, sub_self] |
| 87 | have hn : ∀ᶠ w in 𝓝 z, w + c ∈ e.target := by |
| 88 | apply (continuous_id.add continuous_const).continuousAt.preimage_mem_nhds |
| 89 | apply e.open_target.mem_nhds |
| 90 | change z + c ∈ e.target |
| 91 | simpa [c, add_comm] using e.map_source hz |
| 92 | change (fun w : ε.space => e (QuotientAddGroup.mk w)) =ᶠ[𝓝 z] |
| 93 | (fun w => w + c) |
| 94 | filter_upwards [hn] with w hw |
| 95 | have hq : (QuotientAddGroup.mk (w + c) : ε.periodTorus) = QuotientAddGroup.mk w := by |
| 96 | rw [QuotientAddGroup.mk_add, hc, add_zero] |
| 97 | rw [← hq, ← he] |
| 98 | exact e.right_inv hw |
| 99 | |
| 100 | /-- Local translations are complex smooth. -/ |
| 101 | theorem ProjectiveTorusData.CM.Abelian.ProjectivePeriodData.periodSection_contDiffAt (e : OpenPartialHomeomorph ε.periodTorus (ε.space)) |
| 102 | (he : ⇑e.symm = (QuotientAddGroup.mk : ε.space → ε.periodTorus)) |
| 103 | (z : ε.space) (hz : QuotientAddGroup.mk z ∈ e.source) : |
| 104 | ContDiffAt ℂ ∞ (fun w : ε.space => e (QuotientAddGroup.mk w)) z := |
| 105 | (contDiffAt_id.add contDiffAt_const).congr_of_eventuallyEq |
| 106 | (ε.periodSection_eventuallyEq e he z hz) |
| 107 | |
| 108 | /-- The compact period quotient carries the complex manifold structure defined by its charts. -/ |
| 109 | instance ProjectiveTorusData.CM.Abelian.ProjectivePeriodData.periodTorus_isManifold : |
| 110 | IsManifold (modelWithCornersSelf ℂ (ε.space)) ∞ ε.periodTorus := by |
| 111 | apply isManifold_of_contDiffOn |
| 112 | intro e e' he he' |
| 113 | obtain ⟨q, rfl⟩ := he |
| 114 | obtain ⟨q', rfl⟩ := he' |
| 115 | intro z hz |
| 116 | have hz' : QuotientAddGroup.mk z ∈ (ε.periodChart q').source := by |
| 117 | have ht : (ε.periodChart q).symm z ∈ (ε.periodChart q').source := hz.1.2 |
| 118 | simpa only [ε.periodChart_symm] using ht |
| 119 | have hs := ε.periodSection_contDiffAt (ε.periodChart q') (ε.periodChart_symm q') z hz' |
| 120 | simpa only [modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, Function.comp_def, |
| 121 | OpenPartialHomeomorph.coe_trans, ε.periodChart_symm, id_eq] using hs.contDiffWithinAt |
| 122 | |
| 123 | /-- The covering projection is complex smooth for the constructed manifold structure. -/ |
| 124 | theorem ProjectiveTorusData.CM.Abelian.ProjectivePeriodData.periodProjection_contMDiff : |
| 125 | ContMDiff (modelWithCornersSelf ℂ (ε.space)) |
| 126 | (modelWithCornersSelf ℂ (ε.space)) ∞ |
| 127 | (QuotientAddGroup.mk : ε.space → ε.periodTorus) := by |
| 128 | intro z |
| 129 | apply contMDiffAt_iff_target.mpr |
| 130 | refine ⟨QuotientAddGroup.continuous_mk.continuousAt, ?_⟩ |
| 131 | have hs := ε.periodSection_contDiffAt (ε.periodChart (QuotientAddGroup.mk z)) |
| 132 | (ε.periodChart_symm _) z (ε.mem_periodChart_source _) |
| 133 | simpa only [ε.period_extChart, Function.comp_def] using hs.contMDiffAt |
| 134 | |
| 135 | /-- Smoothness of a map out of the quotient can be checked after lifting along the projection. -/ |
| 136 | theorem ProjectiveTorusData.CM.Abelian.ProjectivePeriodData.contMDiff_of_periodProjection {F : Type*} [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 137 | {M : Type*} [TopologicalSpace M] [ChartedSpace F M] |
| 138 | (f : ε.periodTorus → M) |
| 139 | (hf : ContMDiff (modelWithCornersSelf ℂ (ε.space)) (modelWithCornersSelf ℂ F) ∞ |
| 140 | (fun z : ε.space => f (QuotientAddGroup.mk z))) : |
| 141 | ContMDiff (modelWithCornersSelf ℂ (ε.space)) (modelWithCornersSelf ℂ F) ∞ f := by |
| 142 | intro q |
| 143 | apply contMDiffAt_iff_source.mpr |
| 144 | simpa only [ε.period_extChart_symm, Function.comp_def] using |
| 145 | (hf (extChartAt (modelWithCornersSelf ℂ (ε.space)) q q)).contMDiffWithinAt |
| 146 | |
| 147 | instance ProjectiveTorusData.CM.Abelian.ProjectivePeriodData.periodTorus_contMDiffAdd : |
| 148 | ContMDiffAdd (modelWithCornersSelf ℂ (ε.space)) ∞ ε.periodTorus where |
| 149 | contMDiff_add := by |
| 150 | intro p |
| 151 | let : ChartedSpace (ε.space × ε.space) (ε.space × ε.space) := |
| 152 | chartedSpaceSelf _ |
| 153 | apply contMDiffAt_iff_source.mpr |
| 154 | have hf : ContMDiff |
| 155 | (modelWithCornersSelf ℂ (ε.space × ε.space)) |
| 156 | (modelWithCornersSelf ℂ (ε.space)) ∞ |
| 157 | (fun z : ε.space × ε.space => |
| 158 | (QuotientAddGroup.mk (z.1 + z.2) : ε.periodTorus)) := |
| 159 | ε.periodProjection_contMDiff.comp (contDiff_fst.add contDiff_snd).contMDiff |
| 160 | simpa only [extChartAt_prod, PartialEquiv.prod_symm, PartialEquiv.prod_coe, |
| 161 | ε.period_extChart_symm, Function.comp_def, Prod.map_apply, QuotientAddGroup.mk_add] using |
| 162 | (hf ((extChartAt ((modelWithCornersSelf ℂ (ε.space)).prod |
| 163 | (modelWithCornersSelf ℂ (ε.space))) p) p)).contMDiffWithinAt |
| 164 | |
| 165 | /-- The actual compact complex manifold quotient is a complex Lie group. -/ |
| 166 | instance ProjectiveTorusData.CM.Abelian.ProjectivePeriodData.periodTorus_lieAddGroup : |
| 167 | LieAddGroup (modelWithCornersSelf ℂ (ε.space)) ∞ ε.periodTorus where |
| 168 | contMDiff_neg := by |
| 169 | apply ε.contMDiff_of_periodProjection |
| 170 | have hf : ContMDiff (modelWithCornersSelf ℂ (ε.space)) |
| 171 | (modelWithCornersSelf ℂ (ε.space)) ∞ |
| 172 | (fun z : ε.space => (QuotientAddGroup.mk (-z) : ε.periodTorus)) := |
| 173 | ε.periodProjection_contMDiff.comp contMDiff_id.neg |
| 174 | simpa only [QuotientAddGroup.mk_neg] using hf |
| 175 | |
| 176 | instance ProjectiveTorusData.CM.Abelian.ProjectivePeriodData.periodTorus_connected : ConnectedSpace ε.periodTorus := by |
| 177 | exact QuotientAddGroup.mk_surjective.connectedSpace QuotientAddGroup.continuous_mk |
| 178 | |
| 179 | end |
| 180 | |
| 181 | end OAI.AlgebraicGeometry.HodgeConjecture.CMVariety |