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.CMExtraction.Definitions |
| 2 | |
| 3 | /-! # Matched Level Extraction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.MatchedLevelExtraction.CM.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # HeckeCycles: checked interface to the supplied CMExtraction specification |
| 11 | |
| 12 | This file proves the conversion from CMExtraction's id-vector span to HeckeCycles's |
| 13 | span of images of the entire id-line. It also proves the implication at |
| 14 | a matched level, with the full CMExtraction statement as a named hypothesis. |
| 15 | The imported statement theorem is never used as a proof. |
| 16 | |
| 17 | These lemmas are the algebraic endpoint of HeckeCycles. Its original source |
| 18 | predicate has now been replaced by the concrete construction in |
| 19 | `Geometry`, which proves original holomorphic type from actual forms |
| 20 | and Hodge compatibility of actual algebraic restrictions. Construction |
| 21 | of the Hecke eigenspace data is separate from the endpoint lemmas here; |
| 22 | no geometric-to-extraction implication is assumed in a family field. |
| 23 | |
| 24 | The definitions below copy CMExtraction's proposition exactly; its proof stub |
| 25 | is not invoked. The CMExtraction specification remains unchanged. |
| 26 | -/ |
| 27 | |
| 28 | open scoped TensorProduct Classical |
| 29 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Definitions.CM |
| 30 | |
| 31 | universe uV uI uPhi uB |
| 32 | |
| 33 | /-- The subspace appearing literally in HeckeCycles's conclusion. -/ |
| 34 | def lineImageSpan |
| 35 | (E : IntermediateField ℚ ℂ) |
| 36 | [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 37 | (v : ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun τ : Gal(E/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ)) |
| 38 | {V : Type*} [AddCommGroup V] [Module ℚ V] |
| 39 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure V) : |
| 40 | Submodule ℂ (ComplexMultiplication.WeightOne.CM.Complexification V) := |
| 41 | Submodule.span ℂ |
| 42 | {z | ∃ f : E →ₗ[ℚ] V, |
| 43 | ComplexMultiplication.WeightOne.CM.IsHodgeMap (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E v) H f ∧ |
| 44 | ∃ u : ComplexMultiplication.WeightOne.CM.Complexification E, |
| 45 | u ∈ (ℂ ∙ ComplexMultiplication.EmbeddingDecomposition.CM.embeddingVector E (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E 1)) ∧ |
| 46 | f.baseChange ℂ u = z} |
| 47 | |
| 48 | /-- Taking images of a generating vector or its whole line gives the same span. -/ |
| 49 | theorem lineImageSpan_eq_cmIdSpan |
| 50 | (E : IntermediateField ℚ ℂ) |
| 51 | [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 52 | (v : ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun τ : Gal(E/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ)) |
| 53 | {V : Type*} [AddCommGroup V] [Module ℚ V] |
| 54 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure V) : |
| 55 | lineImageSpan E v H = CMExtraction.Definitions.CM.cmIdSpan E v H := by |
| 56 | apply le_antisymm |
| 57 | · apply Submodule.span_le.mpr |
| 58 | rintro z ⟨f, hf, u, hu, rfl⟩ |
| 59 | obtain ⟨a, rfl⟩ := Submodule.mem_span_singleton.mp hu |
| 60 | rw [map_smul] |
| 61 | exact (CMExtraction.Definitions.CM.cmIdSpan E v H).smul_mem a (Submodule.subset_span ⟨f, hf, rfl⟩) |
| 62 | · apply Submodule.span_le.mpr |
| 63 | rintro z ⟨f, hf, rfl⟩ |
| 64 | apply Submodule.subset_span |
| 65 | exact ⟨f, hf, ComplexMultiplication.EmbeddingDecomposition.CM.embeddingVector E (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E 1), |
| 66 | Submodule.mem_span_singleton_self _, rfl⟩ |
| 67 | |
| 68 | /-- The entire supplied CMExtraction proposition, available only as an explicit input. -/ |
| 69 | def CMExtractionInput : Prop := |
| 70 | ∀ |
| 71 | (E K : IntermediateField ℚ ℂ) |
| 72 | [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 73 | [NumberField K] [IsGalois ℚ K] |
| 74 | (v : ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun τ : Gal(E/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ)) |
| 75 | (_hv : v.val 1 = true) |
| 76 | |
| 77 | -- K contains the embedding values and active projector coefficients. |
| 78 | (hK : ∀ τ : E →ₐ[ℚ] ℂ, τ.fieldRange ≤ K) |
| 79 | (res : Gal(K/ℚ) → Gal(E/ℚ)) |
| 80 | (_hres : ∀ σ, |
| 81 | ComplexMultiplication.EmbeddingCoefficientField.CM.galoisCoefficientEmbedding K E hK σ |
| 82 | (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E 1) = |
| 83 | ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E (res σ)) |
| 84 | |
| 85 | -- Ambient rational Betti cohomology and its Hodge structure. |
| 86 | (V : Type uV) [AddCommGroup V] [Module ℚ V] |
| 87 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure V) |
| 88 | |
| 89 | -- I indexes active projective parameters occurring in theta classes. |
| 90 | (I : Type uI) (Φ : Type uPhi) [Fintype I] |
| 91 | (theta : Φ → ComplexMultiplication.WeightOne.CM.Complexification V) |
| 92 | (P : I → Module.End ℂ (ComplexMultiplication.WeightOne.CM.Complexification V)) |
| 93 | (A : I → Submodule K (K ⊗[ℚ] V)) |
| 94 | (_hprojector : ∀ i, (P i).comp (P i) = P i) |
| 95 | (_hcoeff : ∀ i, |
| 96 | LinearMap.range (P i) = CMExtraction.Definitions.CM.conjugateSpace K (A i) 1) |
| 97 | (_hHodge : ∀ i, P i ∈ ComplexMultiplication.Hodge.MapDescent.CM.hodgeHomSubspace H H) |
| 98 | (_htheta : ∀ φ, theta φ ∈ H.holomorphic) |
| 99 | (_hoccurs : ∀ i, ∃ φ, P i (theta φ) ≠ 0) |
| 100 | (_hdecompose : ∀ φ, ∑ i, P i (theta φ) = theta φ) |
| 101 | |
| 102 | -- The two possible orientations supplied by the slope calculation. |
| 103 | (s : I → ℚ) |
| 104 | (_hextreme : ∀ i, s i = -3 / 2 ∨ s i = 3 / 2) |
| 105 | -- ExtremeSlopes and equation (6), before calibrating the orientation. |
| 106 | (_hL421 : ∀ i σ, |
| 107 | let slope : ℚ := |
| 108 | 1 / 2 - (ComplexMultiplication.SignSwitch.CM.signValue (v.val (res σ)) : ℚ) * s i / 3 |
| 109 | (slope = 1 → |
| 110 | CMExtraction.Definitions.CM.conjugateSpace K (A i) σ ≤ H.holomorphic) ∧ |
| 111 | (slope = 0 → |
| 112 | CMExtraction.Definitions.CM.conjugateSpace K (A i) σ ≤ H.antiholomorphic)) |
| 113 | |
| 114 | -- Restriction from ambient cohomology to the chosen component. |
| 115 | (B : Type uB) [AddCommGroup B] [Module ℚ B] |
| 116 | (HB : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure B) |
| 117 | (restrict : V →ₗ[ℚ] B) |
| 118 | (_hrestrict : ComplexMultiplication.WeightOne.CM.IsHodgeMap H HB restrict), |
| 119 | |
| 120 | -- Original holomorphy fixes slope 1 and hence the orientation. |
| 121 | (∀ i, s i = -3 / 2) ∧ |
| 122 | |
| 123 | -- Every scalar-conjugate active space has the prescribed Hodge type. |
| 124 | (∀ i σ, |
| 125 | (v.val (res σ) = true → |
| 126 | CMExtraction.Definitions.CM.conjugateSpace K (A i) σ ≤ H.holomorphic) ∧ |
| 127 | (v.val (res σ) = false → |
| 128 | CMExtraction.Definitions.CM.conjugateSpace K (A i) σ ≤ H.antiholomorphic)) ∧ |
| 129 | |
| 130 | -- Algebraic Betti vectors admit maps supported on the id-line; |
| 131 | -- these maps lie in the scalar span of rational Hodge maps. |
| 132 | (∀ i (x : K ⊗[ℚ] V), x ∈ A i → |
| 133 | ∃ f : ComplexMultiplication.WeightOne.CM.Complexification E →ₗ[ℂ] ComplexMultiplication.WeightOne.CM.Complexification V, |
| 134 | f ∈ ComplexMultiplication.Hodge.MapDescent.CM.rationalHodgeMapSpan (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E v) H ∧ |
| 135 | ∀ τ : Gal(E/ℚ), |
| 136 | f (ComplexMultiplication.EmbeddingDecomposition.CM.embeddingVector E (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E τ)) = |
| 137 | if τ = 1 then ComplexMultiplication.EmbeddingCoefficientField.CM.coefficientInclusion K V x else 0) ∧ |
| 138 | |
| 139 | -- Algebraic vectors span the entire complex active eigenspace. |
| 140 | (∀ i, LinearMap.range (P i) ≤ CMExtraction.Definitions.CM.cmIdSpan E v H) ∧ |
| 141 | |
| 142 | -- CM extraction persists after restricting the theta classes. |
| 143 | (∀ φ, restrict.baseChange ℂ (theta φ) ∈ CMExtraction.Definitions.CM.cmIdSpan E v HB) |
| 144 | |
| 145 | /-- With actual matching CMExtraction data at a level, its named prerequisite |
| 146 | implies precisely HeckeCycles's span assertion for each restricted theta class. |
| 147 | This theorem does not assert the missing geometric realization bridge. -/ |
| 148 | theorem extraction_at_matched_level |
| 149 | (E K : IntermediateField ℚ ℂ) |
| 150 | [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 151 | [NumberField K] [IsGalois ℚ K] |
| 152 | (v : ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun τ : Gal(E/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ)) |
| 153 | (hv : v.val 1 = true) |
| 154 | |
| 155 | -- K contains the embedding values and active projector coefficients. |
| 156 | (hK : ∀ τ : E →ₐ[ℚ] ℂ, τ.fieldRange ≤ K) |
| 157 | (res : Gal(K/ℚ) → Gal(E/ℚ)) |
| 158 | (hres : ∀ σ, |
| 159 | ComplexMultiplication.EmbeddingCoefficientField.CM.galoisCoefficientEmbedding K E hK σ |
| 160 | (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E 1) = |
| 161 | ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E (res σ)) |
| 162 | |
| 163 | -- Ambient rational Betti cohomology and its Hodge structure. |
| 164 | (V : Type uV) [AddCommGroup V] [Module ℚ V] |
| 165 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure V) |
| 166 | |
| 167 | -- I indexes active projective parameters occurring in theta classes. |
| 168 | (I : Type uI) (Φ : Type uPhi) [Fintype I] |
| 169 | (theta : Φ → ComplexMultiplication.WeightOne.CM.Complexification V) |
| 170 | (P : I → Module.End ℂ (ComplexMultiplication.WeightOne.CM.Complexification V)) |
| 171 | (A : I → Submodule K (K ⊗[ℚ] V)) |
| 172 | (hprojector : ∀ i, (P i).comp (P i) = P i) |
| 173 | (hcoeff : ∀ i, |
| 174 | LinearMap.range (P i) = CMExtraction.Definitions.CM.conjugateSpace K (A i) 1) |
| 175 | (hHodge : ∀ i, P i ∈ ComplexMultiplication.Hodge.MapDescent.CM.hodgeHomSubspace H H) |
| 176 | (htheta : ∀ φ, theta φ ∈ H.holomorphic) |
| 177 | (hoccurs : ∀ i, ∃ φ, P i (theta φ) ≠ 0) |
| 178 | (hdecompose : ∀ φ, ∑ i, P i (theta φ) = theta φ) |
| 179 | |
| 180 | -- The two possible orientations supplied by the slope calculation. |
| 181 | (s : I → ℚ) |
| 182 | (hextreme : ∀ i, s i = -3 / 2 ∨ s i = 3 / 2) |
| 183 | -- ExtremeSlopes and equation (6), before calibrating the orientation. |
| 184 | (hExtremeSlopes : ∀ i σ, |
| 185 | let slope : ℚ := |
| 186 | 1 / 2 - (ComplexMultiplication.SignSwitch.CM.signValue (v.val (res σ)) : ℚ) * s i / 3 |
| 187 | (slope = 1 → |
| 188 | CMExtraction.Definitions.CM.conjugateSpace K (A i) σ ≤ H.holomorphic) ∧ |
| 189 | (slope = 0 → |
| 190 | CMExtraction.Definitions.CM.conjugateSpace K (A i) σ ≤ H.antiholomorphic)) |
| 191 | |
| 192 | -- Restriction from ambient cohomology to the chosen component. |
| 193 | (B : Type uB) [AddCommGroup B] [Module ℚ B] |
| 194 | (HB : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure B) |
| 195 | (restrict : V →ₗ[ℚ] B) |
| 196 | (hrestrict : ComplexMultiplication.WeightOne.CM.IsHodgeMap H HB restrict) |
| 197 | (h_CMExtraction : CMExtractionInput.{uV, uI, uPhi, uB}) : |
| 198 | ∀ φ, restrict.baseChange ℂ (theta φ) ∈ lineImageSpan E v HB := by |
| 199 | have h := h_CMExtraction E K v hv hK res hres V H I Φ theta P A |
| 200 | hprojector hcoeff hHodge htheta hoccurs hdecompose s hextreme hExtremeSlopes |
| 201 | B HB restrict hrestrict |
| 202 | intro φ |
| 203 | rw [lineImageSpan_eq_cmIdSpan] |
| 204 | exact h.2.2.2.2 φ |
| 205 | |
| 206 | end |
| 207 | |
| 208 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.MatchedLevelExtraction.CM.Construction |