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 Mathlib.Topology.Covering.Quotient |
| 2 | import Mathlib.Geometry.Manifold.IsManifold.Basic |
| 3 | import Mathlib.Geometry.Manifold.ContMDiff.NormedSpace |
| 4 | import Mathlib.Geometry.Manifold.Algebra.LieGroup |
| 5 | import Mathlib.Analysis.Calculus.ContDiff.Operations |
| 6 | import Mathlib.Analysis.Convex.Topology |
| 7 | import Mathlib.Analysis.Complex.Basic |
| 8 | |
| 9 | /-! # Quotient Manifold -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.QuotientManifold.CM.Construction.ComplexLatticeQuotient |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! The quotient by a discrete subgroup has its genuine complex |
| 16 | manifold structure, built from local inverses of the quotient projection. -/ |
| 17 | |
| 18 | open _root_.Topology Filter |
| 19 | open scoped ContDiff _root_.Manifold |
| 20 | |
| 21 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 22 | (Λ : AddSubgroup E) [DiscreteTopology Λ] |
| 23 | |
| 24 | abbrev Space := E ⧸ Λ |
| 25 | |
| 26 | omit [NormedSpace ℂ E] in |
| 27 | theorem projection_isCoveringMap : IsCoveringMap (QuotientAddGroup.mk : E → Space Λ) := by |
| 28 | apply (Λ.isAddQuotientCoveringMap_of_comm _).isCoveringMap |
| 29 | exact isDiscrete_iff_discreteTopology.mpr inferInstance |
| 30 | |
| 31 | def representative (q : Space Λ) : E := (QuotientAddGroup.mk_surjective q).choose |
| 32 | |
| 33 | omit [NormedSpace ℂ E] [DiscreteTopology Λ] in |
| 34 | theorem representative_mk (q : Space Λ) : QuotientAddGroup.mk (representative Λ q) = q := |
| 35 | (QuotientAddGroup.mk_surjective q).choose_spec |
| 36 | |
| 37 | def quotientChart (q : Space Λ) : OpenPartialHomeomorph (Space Λ) E := |
| 38 | (projection_isCoveringMap Λ).isLocalHomeomorph.localInverseAt (representative Λ q) |
| 39 | |
| 40 | omit [NormedSpace ℂ E] in |
| 41 | theorem quotientChart_symm (q : Space Λ) : |
| 42 | ⇑(quotientChart Λ q).symm = (QuotientAddGroup.mk : E → Space Λ) := |
| 43 | (projection_isCoveringMap Λ).isLocalHomeomorph.localInverseAt_symm _ |
| 44 | |
| 45 | omit [NormedSpace ℂ E] in |
| 46 | theorem mem_quotientChart_source (q : Space Λ) : q ∈ (quotientChart Λ q).source := by |
| 47 | have h := (projection_isCoveringMap Λ).isLocalHomeomorph.apply_self_mem_localInverseAt_source |
| 48 | (x := representative Λ q) |
| 49 | simpa only [quotientChart, representative_mk] using h |
| 50 | |
| 51 | scoped instance quotient_chartedSpace : ChartedSpace E (Space Λ) where |
| 52 | atlas := Set.range (quotientChart Λ) |
| 53 | chartAt := quotientChart Λ |
| 54 | mem_chart_source := mem_quotientChart_source Λ |
| 55 | chart_mem_atlas q := ⟨q, rfl⟩ |
| 56 | |
| 57 | theorem quotient_extChart (q : Space Λ) : |
| 58 | ⇑(extChartAt 𝓘(ℂ, E) q) = quotientChart Λ q := rfl |
| 59 | |
| 60 | theorem quotient_extChart_symm (q : Space Λ) : |
| 61 | ⇑(extChartAt 𝓘(ℂ, E) q).symm = (QuotientAddGroup.mk : E → Space Λ) := |
| 62 | quotientChart_symm Λ q |
| 63 | |
| 64 | omit [NormedSpace ℂ E] [DiscreteTopology Λ] in |
| 65 | theorem quotientSection_eventuallyEq (e : OpenPartialHomeomorph (Space Λ) E) |
| 66 | (he : ⇑e.symm = (QuotientAddGroup.mk : E → Space Λ)) |
| 67 | (z : E) (hz : QuotientAddGroup.mk z ∈ e.source) : |
| 68 | (fun w : E => e (QuotientAddGroup.mk w)) =ᶠ[𝓝 z] |
| 69 | (fun w => w + (e (QuotientAddGroup.mk z) - z)) := by |
| 70 | let c : E := e (QuotientAddGroup.mk z) - z |
| 71 | have hc : (QuotientAddGroup.mk c : Space Λ) = 0 := by |
| 72 | change (QuotientAddGroup.mk (e (QuotientAddGroup.mk z) - z) : Space Λ) = 0 |
| 73 | have hq := e.left_inv hz |
| 74 | rw [he] at hq |
| 75 | rw [QuotientAddGroup.mk_sub, hq, sub_self] |
| 76 | have hn : ∀ᶠ w in 𝓝 z, w + c ∈ e.target := by |
| 77 | apply (continuous_id.add continuous_const).continuousAt.preimage_mem_nhds |
| 78 | apply e.open_target.mem_nhds |
| 79 | change z + c ∈ e.target |
| 80 | simpa [c, add_comm] using e.map_source hz |
| 81 | change (fun w : E => e (QuotientAddGroup.mk w)) =ᶠ[𝓝 z] (fun w => w + c) |
| 82 | filter_upwards [hn] with w hw |
| 83 | have hq : (QuotientAddGroup.mk (w + c) : Space Λ) = QuotientAddGroup.mk w := by |
| 84 | rw [QuotientAddGroup.mk_add, hc, add_zero] |
| 85 | rw [← hq, ← he] |
| 86 | exact e.right_inv hw |
| 87 | |
| 88 | omit [DiscreteTopology Λ] in |
| 89 | theorem quotientSection_contDiffAt (e : OpenPartialHomeomorph (Space Λ) E) |
| 90 | (he : ⇑e.symm = (QuotientAddGroup.mk : E → Space Λ)) |
| 91 | (z : E) (hz : QuotientAddGroup.mk z ∈ e.source) : |
| 92 | ContDiffAt ℂ ∞ (fun w : E => e (QuotientAddGroup.mk w)) z := |
| 93 | (contDiffAt_id.add contDiffAt_const).congr_of_eventuallyEq |
| 94 | (quotientSection_eventuallyEq Λ e he z hz) |
| 95 | |
| 96 | scoped instance quotient_isManifold : IsManifold 𝓘(ℂ, E) ∞ (Space Λ) := by |
| 97 | apply isManifold_of_contDiffOn |
| 98 | intro e e' he he' |
| 99 | obtain ⟨q, rfl⟩ := he |
| 100 | obtain ⟨q', rfl⟩ := he' |
| 101 | intro z hz |
| 102 | have hz' : QuotientAddGroup.mk z ∈ (quotientChart Λ q').source := by |
| 103 | have ht : (quotientChart Λ q).symm z ∈ (quotientChart Λ q').source := hz.1.2 |
| 104 | simpa only [quotientChart_symm] using ht |
| 105 | have hs := quotientSection_contDiffAt Λ (quotientChart Λ q') (quotientChart_symm Λ q') z hz' |
| 106 | simpa only [modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, Function.comp_def, |
| 107 | OpenPartialHomeomorph.coe_trans, quotientChart_symm, id_eq] using hs.contDiffWithinAt |
| 108 | |
| 109 | theorem projection_contMDiff : |
| 110 | ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, E) ∞ (QuotientAddGroup.mk : E → Space Λ) := by |
| 111 | intro z |
| 112 | apply contMDiffAt_iff_target.mpr |
| 113 | refine ⟨QuotientAddGroup.continuous_mk.continuousAt, ?_⟩ |
| 114 | have hs := quotientSection_contDiffAt Λ (quotientChart Λ (QuotientAddGroup.mk z)) |
| 115 | (quotientChart_symm Λ _) z (mem_quotientChart_source Λ _) |
| 116 | simpa only [quotient_extChart, Function.comp_def] using hs.contMDiffAt |
| 117 | |
| 118 | theorem contMDiff_of_projection {F : Type*} [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 119 | {M : Type*} [TopologicalSpace M] [ChartedSpace F M] |
| 120 | (f : Space Λ → M) |
| 121 | (hf : ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, F) ∞ (fun z : E => f (QuotientAddGroup.mk z))) : |
| 122 | ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, F) ∞ f := by |
| 123 | intro q |
| 124 | apply contMDiffAt_iff_source.mpr |
| 125 | simpa only [quotient_extChart_symm, Function.comp_def] using |
| 126 | (hf (extChartAt 𝓘(ℂ, E) q q)).contMDiffWithinAt |
| 127 | |
| 128 | scoped instance quotient_contMDiffAdd : ContMDiffAdd 𝓘(ℂ, E) ∞ (Space Λ) where |
| 129 | contMDiff_add := by |
| 130 | intro p |
| 131 | let : ChartedSpace (E × E) (E × E) := chartedSpaceSelf _ |
| 132 | apply contMDiffAt_iff_source.mpr |
| 133 | have hf : ContMDiff 𝓘(ℂ, E × E) 𝓘(ℂ, E) ∞ |
| 134 | (fun z : E × E => (QuotientAddGroup.mk (z.1 + z.2) : Space Λ)) := |
| 135 | (projection_contMDiff Λ).comp (contDiff_fst.add contDiff_snd).contMDiff |
| 136 | simpa only [extChartAt_prod, PartialEquiv.prod_symm, PartialEquiv.prod_coe, |
| 137 | quotient_extChart_symm, Function.comp_def, Prod.map_apply, QuotientAddGroup.mk_add] using |
| 138 | (hf (extChartAt (𝓘(ℂ, E).prod 𝓘(ℂ, E)) p p)).contMDiffWithinAt |
| 139 | |
| 140 | scoped instance quotient_lieAddGroup : LieAddGroup 𝓘(ℂ, E) ∞ (Space Λ) where |
| 141 | contMDiff_neg := by |
| 142 | apply contMDiff_of_projection Λ |
| 143 | have hf : ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, E) ∞ |
| 144 | (fun z : E => (QuotientAddGroup.mk (-z) : Space Λ)) := |
| 145 | (projection_contMDiff Λ).comp contMDiff_id.neg |
| 146 | simpa only [QuotientAddGroup.mk_neg] using hf |
| 147 | |
| 148 | scoped instance quotient_connected : ConnectedSpace (Space Λ) := |
| 149 | QuotientAddGroup.mk_surjective.connectedSpace QuotientAddGroup.continuous_mk |
| 150 | |
| 151 | end |
| 152 | |
| 153 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.QuotientManifold.CM.Construction.ComplexLatticeQuotient |