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.ThetaCycle.Albanese |
| 2 | import OAI.AlgebraicGeometry.Albanese.HodgeComparisonIs |
| 3 | |
| 4 | /-! # Hecke Cycles -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.HeckeCycles.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! ThetaCycle assembly using the proved native Albanese comparison HodgeComparison. |
| 13 | The full DegreeTwo weight-one and Construction existence propositions remain named inputs. |
| 14 | No statement stub or global ThetaCycle existence theorem is imported or invoked. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | /-- The full original HodgeComparison input is discharged by its native proof. -/ |
| 19 | theorem nativeHodgeComparisonInput : DegreeTwo.Transport.Constructions.HodgeComparisonInput := by |
| 20 | intro X x₀ A a ha |
| 21 | exact Albanese.HodgeComparisonIs.CM.Construction.albanese_h1_hodge_iso X x₀ A a ha |
| 22 | |
| 23 | /-- Construct an actual surface map using the proved Albanese comparison. -/ |
| 24 | theorem surface_hodge_map_algebraic_native |
| 25 | (hDegreeTwo : Albanese.CM.WeightOneInput) (hConstruction : DegreeTwo.Transport.Constructions.ConstructionInput) |
| 26 | {U : Type} [AddCommGroup U] [Module ℚ U] |
| 27 | (J : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure U) (R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization J) |
| 28 | (S : Cm.ProjectiveSurface) |
| 29 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure (S.variety.rationalCohomology 1)) |
| 30 | (hH : DegreeTwo.Transport.Constructions.IsCanonicalH1 S.variety H) |
| 31 | (u : U →ₗ[ℚ] S.variety.rationalCohomology 1) (hu : ComplexMultiplication.WeightOne.CM.IsHodgeMap J H u) : |
| 32 | ∃ n : ℕ, 0 < n ∧ |
| 33 | ∃ f : S.variety.toOver ⟶ R.abelianVariety.toOver, |
| 34 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) 1 f).hom.comp R.comparison.toLinearMap = |
| 35 | (n : ℚ) • u := by |
| 36 | exact Albanese.CM.surface_hodge_map_algebraic hDegreeTwo hConstruction nativeHodgeComparisonInput J R S H hH u hu |
| 37 | |
| 38 | variable (K : IntermediateField ℚ ℂ) |
| 39 | [NumberField K] [IsGalois ℚ K] [NumberField.IsCMField K] |
| 40 | (v : Fin 4 → ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun g : Gal(K/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g)) |
| 41 | (R : ∀ i, ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure K (v i))) |
| 42 | |
| 43 | theorem algebraic_maps_of_hodge_term_native |
| 44 | (hDegreeTwo : Albanese.CM.WeightOneInput) (hConstruction : DegreeTwo.Transport.Constructions.ConstructionInput) |
| 45 | (S : Cm.ProjectiveSurface) |
| 46 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure (S.variety.rationalCohomology 1)) |
| 47 | (hH : DegreeTwo.Transport.Constructions.IsCanonicalH1 S.variety H) |
| 48 | (u : Fin 4 → (K →ₗ[ℚ] S.variety.rationalCohomology 1)) |
| 49 | (hu : ∀ i, ComplexMultiplication.WeightOne.CM.IsHodgeMap (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure K (v i)) H (u i)) |
| 50 | (hn : Extraction.CM.fourValue S (fun i => Extraction.CM.hodgeLineImage K S.variety (u i) (Extraction.CM.slotLabel K i)) ≠ 0) : |
| 51 | ∃ (f : (i : Fin 4) → S.variety.toOver ⟶ (R i).abelianVariety.toOver) |
| 52 | (n : Fin 4 → ℕ), |
| 53 | (∀ i, 0 < n i) ∧ |
| 54 | (∀ i, (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) 1 (f i)).hom.comp |
| 55 | (R i).comparison.toLinearMap = (n i : ℚ) • u i) ∧ |
| 56 | (∀ i, Extraction.CM.pulledEmbedding K v R S.variety f i = |
| 57 | (n i : ℂ) • Extraction.CM.hodgeLineImage K S.variety (u i) (Extraction.CM.slotLabel K i)) ∧ |
| 58 | S.evaluate (Cm.fourClass K v R S.variety f) ≠ 0 := by |
| 59 | exact Albanese.CM.algebraic_maps_of_hodge_term K v R hDegreeTwo hConstruction nativeHodgeComparisonInput S H hH u hu hn |
| 60 | |
| 61 | theorem algebraic_maps_of_wedge_data_native |
| 62 | (hDegreeTwo : Albanese.CM.WeightOneInput) (hConstruction : DegreeTwo.Transport.Constructions.ConstructionInput) |
| 63 | (S : Cm.ProjectiveSurface) |
| 64 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure (S.variety.rationalCohomology 1)) |
| 65 | (hH : DegreeTwo.Transport.Constructions.IsCanonicalH1 S.variety H) |
| 66 | (Θ : Fin 4 → Submodule ℂ (S.variety.complexCohomology 1)) |
| 67 | (hCM : ∀ i, Θ i ≤ Cm.cmLineSpan K S.variety H (v i) (Extraction.CM.slotLabel K i)) |
| 68 | (ξ ζ : S.variety.complexCohomology 2) |
| 69 | (hξ : ξ ∈ Cm.wedgeSpan S.variety (Θ 0) (Θ 1)) |
| 70 | (hη : ζ ∈ Cm.wedgeSpan S.variety (Θ 2) (Θ 3)) |
| 71 | (hn : S.evaluate (Cm.cup S.variety 2 2 ξ ζ) ≠ 0) : |
| 72 | ∃ f : (i : Fin 4) → S.variety.toOver ⟶ (R i).abelianVariety.toOver, |
| 73 | S.evaluate (Cm.fourClass K v R S.variety f) ≠ 0 := by |
| 74 | exact Albanese.CM.algebraic_maps_of_wedge_data K v R hDegreeTwo hConstruction nativeHodgeComparisonInput S H hH Θ hCM ξ ζ hξ hη hn |
| 75 | |
| 76 | end |
| 77 | |
| 78 | section |
| 79 | |
| 80 | /-- Full HeckeCycles, with the native HodgeComparison canonical-H¹ predicate. -/ |
| 81 | def HeckeCyclesInput : Prop := |
| 82 | ∀ |
| 83 | (E : IntermediateField ℚ ℂ) |
| 84 | [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 85 | (v : ComplexMultiplication.OddSignSwitch.CM.OddSignPattern |
| 86 | (fun τ : Gal(E/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ)) |
| 87 | (_hv : v.val 1 = true) |
| 88 | (d : Gal(E/ℚ) → Bool) |
| 89 | (_hd : ∀ τ, d τ = v.val (τ⁻¹)) |
| 90 | (Nbase : ℕ) |
| 91 | (_hNbase : 0 < Nbase) |
| 92 | (X : ℕ → Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 93 | (H : ∀ N : ℕ, |
| 94 | ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure ((X N).rationalCohomology 1)) |
| 95 | (_hH : ∀ N, Albanese.HodgeComparisonIs.CM.Construction.IsCanonicalH1 (X N) (H N)) |
| 96 | (Θ : ∀ N : ℕ, |
| 97 | ComplexMultiplication.WeightOne.CM.Complexification ((X N).rationalCohomology 1)) |
| 98 | (_hsource : HeckeCycles.GeometricSource.CM.IsSourceBallThetaFamily E d Nbase X Θ), |
| 99 | ∃ N₀ : ℕ, 0 < N₀ ∧ Nbase ∣ N₀ ∧ |
| 100 | ∀ N : ℕ, 0 < N → N₀ ∣ N → |
| 101 | Θ N ∈ Submodule.span ℂ |
| 102 | {z | ∃ f : E →ₗ[ℚ] (X N).rationalCohomology 1, |
| 103 | ComplexMultiplication.WeightOne.CM.IsHodgeMap (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E v) (H N) f ∧ |
| 104 | ∃ u : ComplexMultiplication.WeightOne.CM.Complexification E, |
| 105 | u ∈ (ℂ ∙ ComplexMultiplication.EmbeddingDecomposition.CM.embeddingVector E |
| 106 | (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E 1)) ∧ |
| 107 | f.baseChange ℂ u = z} |
| 108 | |
| 109 | end |
| 110 | |
| 111 | section |
| 112 | |
| 113 | /-! Exact transport from HeckeCycles's full identity-line image span to the native |
| 114 | Betti CM lines. The conjugate slots use actual singular-cochain conjugation, |
| 115 | which the native HodgeComparison comparison identifies with conjugation of closed forms. -/ |
| 116 | |
| 117 | open scoped Classical |
| 118 | |
| 119 | variable (K : IntermediateField ℚ ℂ) |
| 120 | [NumberField K] [IsGalois ℚ K] [NumberField.IsCMField K] |
| 121 | |
| 122 | omit [IsGalois ℚ K] [NumberField.IsCMField K] in |
| 123 | theorem coefficient_conjugation_embedding (σ : K →ₐ[ℚ] ℂ) : |
| 124 | ComplexMultiplication.WeightOne.CM.coefficientConjugation K (ComplexMultiplication.EmbeddingDecomposition.CM.embeddingVector K σ) = |
| 125 | ComplexMultiplication.EmbeddingDecomposition.CM.embeddingVector K (ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding σ) := by |
| 126 | apply (ComplexMultiplication.EmbeddingDecomposition.CM.fieldComplexificationEquiv K).injective |
| 127 | ext ρ |
| 128 | rw [ComplexMultiplication.CM.TypeHodgeStructure.fieldComplexificationEquiv_conjugation, |
| 129 | ComplexMultiplication.EmbeddingDecomposition.CM.fieldComplexificationEquiv_embeddingVector, ComplexMultiplication.EmbeddingDecomposition.CM.fieldComplexificationEquiv_embeddingVector] |
| 130 | have hi : ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding ρ = σ ↔ ρ = ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding σ := by |
| 131 | constructor |
| 132 | · intro h |
| 133 | rw [← h, ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding_involutive] |
| 134 | · intro h |
| 135 | rw [h, ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding_involutive] |
| 136 | simp only [Pi.single_apply, hi] |
| 137 | split_ifs <;> simp |
| 138 | |
| 139 | def rawCMLineSpan |
| 140 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 141 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure (X.rationalCohomology 1)) |
| 142 | (v : ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun g : Gal(K/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g)) |
| 143 | (τ : Gal(K/ℚ)) : Submodule ℂ (ComplexMultiplication.WeightOne.CM.Complexification (X.rationalCohomology 1)) := |
| 144 | Submodule.span ℂ {z | ∃ f : K →ₗ[ℚ] X.rationalCohomology 1, |
| 145 | ComplexMultiplication.WeightOne.CM.IsHodgeMap (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure K v) H f ∧ |
| 146 | ∃ u : ComplexMultiplication.WeightOne.CM.Complexification K, |
| 147 | u ∈ ℂ ∙ ComplexMultiplication.EmbeddingDecomposition.CM.embeddingVector K (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv K τ) ∧ f.baseChange ℂ u = z} |
| 148 | |
| 149 | theorem raw_span_to_betti |
| 150 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 151 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure (X.rationalCohomology 1)) |
| 152 | (v : ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun g : Gal(K/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g)) |
| 153 | (τ : Gal(K/ℚ)) (θ : ComplexMultiplication.WeightOne.CM.Complexification (X.rationalCohomology 1)) |
| 154 | (hθ : θ ∈ rawCMLineSpan K X H v τ) : |
| 155 | ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification (Betti.Scheme.schemePointSpace X.toOver) 1 θ ∈ |
| 156 | Cm.cmLineSpan K X H v τ := by |
| 157 | have hs : rawCMLineSpan K X H v τ ≤ (Cm.cmLineSpan K X H v τ).comap |
| 158 | (ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification (Betti.Scheme.schemePointSpace X.toOver) 1) := by |
| 159 | apply Submodule.span_le.mpr |
| 160 | rintro z ⟨f, hf, u, hu, rfl⟩ |
| 161 | obtain ⟨a, rfl⟩ := Submodule.mem_span_singleton.mp hu |
| 162 | change ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification (Betti.Scheme.schemePointSpace X.toOver) 1 |
| 163 | (f.baseChange ℂ (a • ComplexMultiplication.EmbeddingDecomposition.CM.embeddingVector K (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv K τ))) ∈ |
| 164 | Cm.cmLineSpan K X H v τ |
| 165 | rw [map_smul, map_smul] |
| 166 | exact (Cm.cmLineSpan K X H v τ).smul_mem a (Submodule.subset_span ⟨f, hf, rfl⟩) |
| 167 | exact hs hθ |
| 168 | |
| 169 | theorem raw_span_conjugation |
| 170 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 171 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure (X.rationalCohomology 1)) |
| 172 | (v : ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun g : Gal(K/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g)) |
| 173 | (τ : Gal(K/ℚ)) (θ : ComplexMultiplication.WeightOne.CM.Complexification (X.rationalCohomology 1)) |
| 174 | (hθ : θ ∈ rawCMLineSpan K X H v τ) : |
| 175 | ComplexMultiplication.WeightOne.CM.coefficientConjugation (X.rationalCohomology 1) θ ∈ |
| 176 | rawCMLineSpan K X H v (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * τ) := by |
| 177 | induction hθ using Submodule.span_induction with |
| 178 | | mem z hz => |
| 179 | obtain ⟨f, hf, u, hu, rfl⟩ := hz |
| 180 | obtain ⟨a, rfl⟩ := Submodule.mem_span_singleton.mp hu |
| 181 | rw [← ComplexMultiplication.WeightOne.CM.baseChange_coefficientConjugation, ComplexMultiplication.EmbeddingHodgeType.CM.coefficientConjugation_smul, |
| 182 | coefficient_conjugation_embedding, ← ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv_conjugation] |
| 183 | exact Submodule.subset_span ⟨f, hf, _, Submodule.smul_mem _ _ |
| 184 | (Submodule.mem_span_singleton_self _), rfl⟩ |
| 185 | | zero => |
| 186 | rw [map_zero] |
| 187 | exact Submodule.zero_mem _ |
| 188 | | add x y hx hy ihx ihy => |
| 189 | rw [map_add] |
| 190 | exact Submodule.add_mem _ ihx ihy |
| 191 | | smul a x hx ih => |
| 192 | rw [ComplexMultiplication.EmbeddingHodgeType.CM.coefficientConjugation_smul] |
| 193 | exact Submodule.smul_mem _ _ ih |
| 194 | |
| 195 | theorem raw_span_to_conjugate_betti |
| 196 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 197 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure (X.rationalCohomology 1)) |
| 198 | (v : ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun g : Gal(K/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g)) |
| 199 | (τ : Gal(K/ℚ)) (θ : ComplexMultiplication.WeightOne.CM.Complexification (X.rationalCohomology 1)) |
| 200 | (hθ : θ ∈ rawCMLineSpan K X H v τ) : |
| 201 | ComplexMultiplication.HodgeComparison.BettiConjugation.CM.Construction.conjugateBettiH1 X |
| 202 | (ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification (Betti.Scheme.schemePointSpace X.toOver) 1 θ) ∈ |
| 203 | Cm.cmLineSpan K X H v (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * τ) := by |
| 204 | rw [← Albanese.HodgeComparisonIs.CM.Construction.complexification_conjugation] |
| 205 | exact raw_span_to_betti K X H v _ _ (raw_span_conjugation K X H v τ θ hθ) |
| 206 | |
| 207 | end |
| 208 | |
| 209 | /-! Apply the full HeckeCycles proposition to finitely many fixed theta inputs on |
| 210 | one surface family. A product of the resulting thresholds gives one positive |
| 211 | common principal level, and all deeper multiples retain the exact CM spans. -/ |
| 212 | |
| 213 | open scoped Classical BigOperators |
| 214 | |
| 215 | theorem p41_finite_family_common_level |
| 216 | (hHeckeCycles : HeckeCyclesInput) |
| 217 | (K : IntermediateField ℚ ℂ) |
| 218 | [NumberField K] [IsGalois ℚ K] [NumberField.IsCMField K] |
| 219 | {ι : Type} [Fintype ι] |
| 220 | (v : ι → ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun g : Gal(K/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g)) |
| 221 | (hv : ∀ i, (v i).val 1 = true) |
| 222 | (Nbase : ℕ) (hNbase : 0 < Nbase) |
| 223 | (X : ℕ → Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 224 | (H : ∀ N, ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure ((X N).rationalCohomology 1)) |
| 225 | (hH : ∀ N, Albanese.HodgeComparisonIs.CM.Construction.IsCanonicalH1 (X N) (H N)) |
| 226 | (Θ : ι → ∀ N, ComplexMultiplication.WeightOne.CM.Complexification ((X N).rationalCohomology 1)) |
| 227 | (hsource : ∀ i, HeckeCycles.GeometricSource.CM.IsSourceBallThetaFamily K |
| 228 | (fun τ => (v i).val τ⁻¹) Nbase X (Θ i)) : |
| 229 | ∃ N₀ : ℕ, 3 ≤ N₀ ∧ Nbase ∣ N₀ ∧ |
| 230 | ∀ N : ℕ, 0 < N → N₀ ∣ N → ∀ i, |
| 231 | ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification (Betti.Scheme.schemePointSpace (X N).toOver) 1 (Θ i N) ∈ |
| 232 | Cm.cmLineSpan K (X N) (H N) (v i) 1 ∧ |
| 233 | ComplexMultiplication.HodgeComparison.BettiConjugation.CM.Construction.conjugateBettiH1 (X N) |
| 234 | (ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification (Betti.Scheme.schemePointSpace (X N).toOver) 1 (Θ i N)) ∈ |
| 235 | Cm.cmLineSpan K (X N) (H N) (v i) (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K) := by |
| 236 | choose n hn hbase hextract using fun i => |
| 237 | hHeckeCycles K (v i) (hv i) (fun τ => (v i).val τ⁻¹) (fun _ => rfl) |
| 238 | Nbase hNbase X H hH (Θ i) (hsource i) |
| 239 | let N₀ := 3 * Nbase * ∏ i, n i |
| 240 | have hprod : 0 < ∏ i, n i := Finset.prod_pos (fun i _ => hn i) |
| 241 | have hlarge : 3 ≤ N₀ := by |
| 242 | dsimp [N₀] |
| 243 | nlinarith |
| 244 | refine ⟨N₀, hlarge, dvd_mul_of_dvd_left (dvd_mul_left Nbase 3) _, ?_⟩ |
| 245 | intro N hN hdiv i |
| 246 | have hi : n i ∣ N₀ := dvd_mul_of_dvd_right |
| 247 | (Finset.dvd_prod_of_mem n (Finset.mem_univ i)) _ |
| 248 | have hx : Θ i N ∈ rawCMLineSpan K (X N) (H N) (v i) 1 := |
| 249 | hextract i N hN (hi.trans hdiv) |
| 250 | refine ⟨raw_span_to_betti K (X N) (H N) (v i) 1 (Θ i N) hx, ?_⟩ |
| 251 | simpa only [mul_one] using |
| 252 | raw_span_to_conjugate_betti K (X N) (H N) (v i) 1 (Θ i N) hx |
| 253 | |
| 254 | end |
| 255 | |
| 256 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.HeckeCycles.CM |