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