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.Cm |
| 2 | |
| 3 | /-! # Extraction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.Extraction.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! The multilinear expansion step, independent of the main existence claim. |
| 12 | The pairing is the actual evaluation on the constructed surface fundamental |
| 13 | class. CM extraction and algebraic realization are separate prerequisites. |
| 14 | -/ |
| 15 | |
| 16 | /-- A nonzero bilinear pairing of spans has a nonzero pair of generators. -/ |
| 17 | theorem exists_pair_of_span |
| 18 | {U V : Type*} [AddCommGroup U] [Module ℂ U] |
| 19 | [AddCommGroup V] [Module ℂ V] |
| 20 | (B : U →ₗ[ℂ] V →ₗ[ℂ] ℂ) (s : Set U) (t : Set V) |
| 21 | (x : U) (y : V) |
| 22 | (hx : x ∈ Submodule.span ℂ s) (hy : y ∈ Submodule.span ℂ t) |
| 23 | (hxy : B x y ≠ 0) : |
| 24 | ∃ a ∈ s, ∃ b ∈ t, B a b ≠ 0 := by |
| 25 | classical |
| 26 | by_contra h |
| 27 | push Not at h |
| 28 | have ha : ∀ a ∈ s, y ∈ LinearMap.ker (B a) := by |
| 29 | intro a ha |
| 30 | apply (Submodule.span_le.mpr (show t ⊆ LinearMap.ker (B a) from ?_)) hy |
| 31 | intro b hb |
| 32 | exact h a ha b hb |
| 33 | have hker : x ∈ LinearMap.ker ((LinearMap.applyₗ' ℂ y).comp B) := by |
| 34 | apply (Submodule.span_le.mpr (show s ⊆ |
| 35 | LinearMap.ker ((LinearMap.applyₗ' ℂ y).comp B) from ?_)) hx |
| 36 | intro a has |
| 37 | exact ha a has |
| 38 | exact hxy hker |
| 39 | |
| 40 | /-- The source's nonzero pairing selects four individual one-form classes. |
| 41 | There is no arbitrary integration functional in this helper. -/ |
| 42 | theorem exists_four_wedge_generators |
| 43 | (S : Cm.ProjectiveSurface) |
| 44 | (Θ : Fin 4 → Submodule ℂ (S.variety.complexCohomology 1)) |
| 45 | (ξ η : S.variety.complexCohomology 2) |
| 46 | (hξ : ξ ∈ Cm.wedgeSpan S.variety (Θ 0) (Θ 1)) |
| 47 | (hη : η ∈ Cm.wedgeSpan S.variety (Θ 2) (Θ 3)) |
| 48 | (hnonzero : S.evaluate (Cm.cup S.variety 2 2 ξ η) ≠ 0) : |
| 49 | ∃ a ∈ Θ 0, ∃ b ∈ Θ 1, ∃ c ∈ Θ 2, ∃ d ∈ Θ 3, |
| 50 | S.evaluate (Cm.cup S.variety 2 2 |
| 51 | (Cm.cup S.variety 1 1 a b) (Cm.cup S.variety 1 1 c d)) ≠ 0 := by |
| 52 | obtain ⟨x, ⟨a, ha, b, hb, rfl⟩, y, ⟨c, hc, d, hd, rfl⟩, h⟩ := |
| 53 | exists_pair_of_span ((Cm.cup S.variety 2 2).compr₂ S.evaluate) |
| 54 | _ _ ξ η hξ hη hnonzero |
| 55 | exact ⟨a, ha, b, hb, c, hc, d, hd, h⟩ |
| 56 | |
| 57 | end |
| 58 | |
| 59 | /-! Extract individual rational Hodge-line images from a nonzero product. -/ |
| 60 | |
| 61 | open _root_.CategoryTheory |
| 62 | |
| 63 | def fourValue (S : Cm.ProjectiveSurface) |
| 64 | (a : Fin 4 → S.variety.complexCohomology 1) : ℂ := |
| 65 | S.evaluate (Cm.cup S.variety 2 2 |
| 66 | (Cm.cup S.variety 1 1 (a 0) (a 1)) (Cm.cup S.variety 1 1 (a 2) (a 3))) |
| 67 | |
| 68 | theorem exists_generator_of_span |
| 69 | {U : Type*} [AddCommGroup U] [Module ℂ U] |
| 70 | (B : U →ₗ[ℂ] ℂ) (s : Set U) (x : U) |
| 71 | (hx : x ∈ Submodule.span ℂ s) (h : B x ≠ 0) : |
| 72 | ∃ a ∈ s, B a ≠ 0 := by |
| 73 | classical |
| 74 | by_contra hn |
| 75 | push Not at hn |
| 76 | have hz : x ∈ LinearMap.ker B := |
| 77 | (Submodule.span_le.mpr (show s ⊆ LinearMap.ker B from hn)) hx |
| 78 | exact h hz |
| 79 | |
| 80 | theorem exists_four_of_spans |
| 81 | (S : Cm.ProjectiveSurface) |
| 82 | (s : Fin 4 → Set (S.variety.complexCohomology 1)) |
| 83 | (a : Fin 4 → S.variety.complexCohomology 1) |
| 84 | (ha : ∀ i, a i ∈ Submodule.span ℂ (s i)) |
| 85 | (hn : fourValue S a ≠ 0) : |
| 86 | ∃ b ∈ s 0, ∃ c ∈ s 1, ∃ d ∈ s 2, ∃ e ∈ s 3, |
| 87 | fourValue S ![b, c, d, e] ≠ 0 := by |
| 88 | let B := (Cm.cup S.variety 2 2).compr₂ S.evaluate |
| 89 | let W := Cm.cup S.variety 1 1 |
| 90 | obtain ⟨b, hb, hn0⟩ := exists_generator_of_span |
| 91 | ((B.flip (W (a 2) (a 3))).comp (W.flip (a 1))) (s 0) (a 0) (ha 0) hn |
| 92 | obtain ⟨c, hc, hn1⟩ := exists_generator_of_span |
| 93 | ((B.flip (W (a 2) (a 3))).comp (W b)) (s 1) (a 1) (ha 1) hn0 |
| 94 | obtain ⟨d, hd, hn2⟩ := exists_generator_of_span |
| 95 | ((B (W b c)).comp (W.flip (a 3))) (s 2) (a 2) (ha 2) hn1 |
| 96 | obtain ⟨e, he, hn3⟩ := exists_generator_of_span |
| 97 | ((B (W b c)).comp (W d)) (s 3) (a 3) (ha 3) hn2 |
| 98 | exact ⟨b, hb, c, hc, d, hd, e, he, hn3⟩ |
| 99 | |
| 100 | variable (K : IntermediateField ℚ ℂ) |
| 101 | [NumberField K] [IsGalois ℚ K] [NumberField.IsCMField K] |
| 102 | |
| 103 | def slotLabel (i : Fin 4) : Gal(K/ℚ) := |
| 104 | if i.val < 2 then 1 else ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K |
| 105 | |
| 106 | def hodgeLineImage (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 107 | (u : K →ₗ[ℚ] X.rationalCohomology 1) (τ : Gal(K/ℚ)) : |
| 108 | X.complexCohomology 1 := |
| 109 | ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification (Betti.Scheme.schemePointSpace X.toOver) 1 |
| 110 | (u.baseChange ℂ (ComplexMultiplication.EmbeddingDecomposition.CM.embeddingVector K (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv K τ))) |
| 111 | |
| 112 | /-- The selected term retains the actual rational Hodge maps and 1,1,c,c vectors. -/ |
| 113 | theorem exists_nonzero_hodge_line_term |
| 114 | (v : Fin 4 → ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun g : Gal(K/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g)) |
| 115 | (S : Cm.ProjectiveSurface) |
| 116 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure (S.variety.rationalCohomology 1)) |
| 117 | (a : Fin 4 → S.variety.complexCohomology 1) |
| 118 | (ha : ∀ i, a i ∈ Cm.cmLineSpan K S.variety H (v i) (slotLabel K i)) |
| 119 | (hn : fourValue S a ≠ 0) : |
| 120 | ∃ u : Fin 4 → (K →ₗ[ℚ] S.variety.rationalCohomology 1), |
| 121 | (∀ i, ComplexMultiplication.WeightOne.CM.IsHodgeMap (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure K (v i)) H (u i)) ∧ |
| 122 | fourValue S (fun i => hodgeLineImage K S.variety (u i) (slotLabel K i)) ≠ 0 := by |
| 123 | obtain ⟨b, ⟨u0, hu0, rfl⟩, c, ⟨u1, hu1, rfl⟩, |
| 124 | d, ⟨u2, hu2, rfl⟩, e, ⟨u3, hu3, rfl⟩, hn⟩ := |
| 125 | exists_four_of_spans S |
| 126 | (fun i => {z | ∃ u : K →ₗ[ℚ] S.variety.rationalCohomology 1, |
| 127 | ComplexMultiplication.WeightOne.CM.IsHodgeMap (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure K (v i)) H u ∧ |
| 128 | z = hodgeLineImage K S.variety u (slotLabel K i)}) a ha hn |
| 129 | refine ⟨![u0, u1, u2, u3], ?_, hn⟩ |
| 130 | intro i |
| 131 | fin_cases i <;> assumption |
| 132 | |
| 133 | /-- Combine factorization and line-span extraction without introducing any |
| 134 | global surface or CM-extraction existence hypothesis. -/ |
| 135 | theorem exists_hodge_term_of_wedge_spans |
| 136 | (v : Fin 4 → ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun g : Gal(K/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g)) |
| 137 | (S : Cm.ProjectiveSurface) |
| 138 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure (S.variety.rationalCohomology 1)) |
| 139 | (Θ : Fin 4 → Submodule ℂ (S.variety.complexCohomology 1)) |
| 140 | (hCM : ∀ i, Θ i ≤ Cm.cmLineSpan K S.variety H (v i) (slotLabel K i)) |
| 141 | (ξ η : S.variety.complexCohomology 2) |
| 142 | (hξ : ξ ∈ Cm.wedgeSpan S.variety (Θ 0) (Θ 1)) |
| 143 | (hη : η ∈ Cm.wedgeSpan S.variety (Θ 2) (Θ 3)) |
| 144 | (hn : S.evaluate (Cm.cup S.variety 2 2 ξ η) ≠ 0) : |
| 145 | ∃ u : Fin 4 → (K →ₗ[ℚ] S.variety.rationalCohomology 1), |
| 146 | (∀ i, ComplexMultiplication.WeightOne.CM.IsHodgeMap (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure K (v i)) H (u i)) ∧ |
| 147 | fourValue S (fun i => hodgeLineImage K S.variety (u i) (slotLabel K i)) ≠ 0 := by |
| 148 | obtain ⟨a, ha, b, hb, c, hc, d, hd, hn⟩ := |
| 149 | exists_four_wedge_generators S Θ ξ η hξ hη hn |
| 150 | refine exists_nonzero_hodge_line_term K v S H ![a, b, c, d] ?_ hn |
| 151 | intro i |
| 152 | fin_cases i |
| 153 | · exact hCM 0 ha |
| 154 | · exact hCM 1 hb |
| 155 | · exact hCM 2 hc |
| 156 | · exact hCM 3 hd |
| 157 | |
| 158 | def pulledEmbedding |
| 159 | (v : Fin 4 → ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun g : Gal(K/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g)) |
| 160 | (R : ∀ i, ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure K (v i))) |
| 161 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 162 | (f : (i : Fin 4) → X.toOver ⟶ (R i).abelianVariety.toOver) |
| 163 | (i : Fin 4) : X.complexCohomology 1 := |
| 164 | Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 (f i) |
| 165 | ((R i).complexComparison |
| 166 | (ComplexMultiplication.EmbeddingDecomposition.CM.embeddingVector K (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv K (slotLabel K i)))) |
| 167 | |
| 168 | end |
| 169 | |
| 170 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.Extraction.CM |