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.Extraction |
| 2 | |
| 3 | /-! # Denominators -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.Denominators.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Clear rational coefficients on already-given algebraic pullbacks while |
| 10 | retaining the actual morphisms, embedding vectors, and nonzero evaluation. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | open scoped BigOperators |
| 14 | |
| 15 | theorem fourValue_smul (S : Cm.ProjectiveSurface) |
| 16 | (r : Fin 4 → ℂ) (a : Fin 4 → S.variety.complexCohomology 1) : |
| 17 | Extraction.CM.fourValue S (fun i => r i • a i) = |
| 18 | (r 0 * r 1 * r 2 * r 3) * Extraction.CM.fourValue S a := by |
| 19 | simp only [Extraction.CM.fourValue, map_smul, LinearMap.smul_apply, smul_smul, |
| 20 | smul_eq_mul, mul_assoc] |
| 21 | ring |
| 22 | |
| 23 | /-- A positive common denominator for the four explicit rational scalars. -/ |
| 24 | theorem common_positive_denominator (r : Fin 4 → ℚ) : |
| 25 | ∃ D : ℕ, 0 < D ∧ ∃ k : Fin 4 → ℤ, ∀ i, (D : ℚ) * r i = (k i : ℚ) := by |
| 26 | classical |
| 27 | let D := ∏ i : Fin 4, (r i).den |
| 28 | have hD : 0 < D := Finset.prod_pos (fun i _ => (r i).den_pos) |
| 29 | have hi : ∀ i : Fin 4, ∃ k : ℤ, (D : ℚ) * r i = (k : ℚ) := by |
| 30 | intro i |
| 31 | have hdiv : (r i).den ∣ D := Finset.dvd_prod_of_mem _ (Finset.mem_univ i) |
| 32 | obtain ⟨b, hb⟩ := hdiv |
| 33 | have hr : r i * (r i).den = ((r i).num : ℚ) := |
| 34 | (eq_div_iff (Nat.cast_ne_zero.mpr (r i).den_ne_zero)).mp (Rat.num_div_den (r i)).symm |
| 35 | refine ⟨(b : ℤ) * (r i).num, ?_⟩ |
| 36 | calc |
| 37 | (D : ℚ) * r i = (b : ℚ) * (r i * (r i).den) := by rw [hb, Nat.cast_mul]; ring |
| 38 | _ = (((b : ℤ) * (r i).num : ℤ) : ℚ) := by |
| 39 | rw [hr] |
| 40 | simp only [Int.cast_mul, Int.cast_natCast] |
| 41 | choose k hk using hi |
| 42 | exact ⟨D, hD, k, hk⟩ |
| 43 | |
| 44 | variable (K : IntermediateField ℚ ℂ) |
| 45 | [NumberField K] [IsGalois ℚ K] [NumberField.IsCMField K] |
| 46 | (v : Fin 4 → ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun g : Gal(K/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g)) |
| 47 | (R : ∀ i, ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure K (v i))) |
| 48 | |
| 49 | /-- Identify a rational Hodge-line image with a rational multiple of the |
| 50 | actual algebraic pullback, through the native scalar-extension comparison. -/ |
| 51 | theorem hodgeLineImage_rational_pullback |
| 52 | (S : Cm.ProjectiveSurface) |
| 53 | (f : (i : Fin 4) → S.variety.toOver ⟶ (R i).abelianVariety.toOver) |
| 54 | (u : Fin 4 → (K →ₗ[ℚ] S.variety.rationalCohomology 1)) |
| 55 | (r : Fin 4 → ℚ) |
| 56 | (hu : ∀ i, u i = r i • |
| 57 | ((Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) 1 (f i)).hom.comp |
| 58 | (R i).comparison.toLinearMap)) (i : Fin 4) : |
| 59 | Extraction.CM.hodgeLineImage K S.variety (u i) (Extraction.CM.slotLabel K i) = |
| 60 | (r i : ℂ) • Extraction.CM.pulledEmbedding K v R S.variety f i := by |
| 61 | unfold Extraction.CM.hodgeLineImage |
| 62 | rw [hu i, LinearMap.baseChange_smul, LinearMap.smul_apply, |
| 63 | ← Rat.cast_smul_eq_qsmul ℂ (r i), map_smul, |
| 64 | LinearMap.baseChange_comp, LinearMap.comp_apply, |
| 65 | HeckeCycles.GeometricSource.CM.complexification_pullback] |
| 66 | rfl |
| 67 | |
| 68 | /-- Rational homomorphism coefficients can be cleared; the same four actual |
| 69 | algebraic maps already have nonzero product evaluation. -/ |
| 70 | theorem clear_rational_pullback_denominators |
| 71 | (S : Cm.ProjectiveSurface) |
| 72 | (f : (i : Fin 4) → S.variety.toOver ⟶ (R i).abelianVariety.toOver) |
| 73 | (r : Fin 4 → ℚ) |
| 74 | (hn : Extraction.CM.fourValue S |
| 75 | (fun i => (r i : ℂ) • Extraction.CM.pulledEmbedding K v R S.variety f i) ≠ 0) : |
| 76 | ∃ D : ℕ, 0 < D ∧ ∃ k : Fin 4 → ℤ, |
| 77 | (∀ i, (D : ℚ) * r i = (k i : ℚ)) ∧ |
| 78 | Extraction.CM.fourValue S (fun i => (k i : ℂ) • Extraction.CM.pulledEmbedding K v R S.variety f i) ≠ 0 ∧ |
| 79 | S.evaluate (Cm.fourClass K v R S.variety f) ≠ 0 := by |
| 80 | obtain ⟨D, hD, k, hk⟩ := common_positive_denominator r |
| 81 | have hDC : (D : ℂ) ≠ 0 := Nat.cast_ne_zero.mpr (Nat.ne_of_gt hD) |
| 82 | have heq : (fun i => (k i : ℂ) • Extraction.CM.pulledEmbedding K v R S.variety f i) = |
| 83 | (fun i => (D : ℂ) • ((r i : ℂ) • Extraction.CM.pulledEmbedding K v R S.variety f i)) := by |
| 84 | funext i |
| 85 | have hi : (k i : ℂ) = (D : ℂ) * (r i : ℂ) := by exact_mod_cast (hk i).symm |
| 86 | rw [hi, smul_smul] |
| 87 | refine ⟨D, hD, k, hk, ?_, ?_⟩ |
| 88 | · rw [heq, fourValue_smul] |
| 89 | exact mul_ne_zero (mul_ne_zero (mul_ne_zero (mul_ne_zero hDC hDC) hDC) hDC) hn |
| 90 | · intro hz |
| 91 | apply hn |
| 92 | rw [fourValue_smul] |
| 93 | change _ * S.evaluate (Cm.fourClass K v R S.variety f) = 0 |
| 94 | rw [hz, mul_zero] |
| 95 | |
| 96 | /-- Once the rational Hodge maps have been realized by given algebraic maps, |
| 97 | the selected nonzero term yields a nonzero product on those very maps. -/ |
| 98 | theorem realized_hodge_term_nonzero |
| 99 | (S : Cm.ProjectiveSurface) |
| 100 | (f : (i : Fin 4) → S.variety.toOver ⟶ (R i).abelianVariety.toOver) |
| 101 | (u : Fin 4 → (K →ₗ[ℚ] S.variety.rationalCohomology 1)) |
| 102 | (r : Fin 4 → ℚ) |
| 103 | (hu : ∀ i, u i = r i • |
| 104 | ((Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) 1 (f i)).hom.comp |
| 105 | (R i).comparison.toLinearMap)) |
| 106 | (hn : Extraction.CM.fourValue S |
| 107 | (fun i => Extraction.CM.hodgeLineImage K S.variety (u i) (Extraction.CM.slotLabel K i)) ≠ 0) : |
| 108 | ∃ D : ℕ, 0 < D ∧ ∃ k : Fin 4 → ℤ, |
| 109 | (∀ i, (D : ℚ) * r i = (k i : ℚ)) ∧ |
| 110 | Extraction.CM.fourValue S (fun i => (k i : ℂ) • Extraction.CM.pulledEmbedding K v R S.variety f i) ≠ 0 ∧ |
| 111 | S.evaluate (Cm.fourClass K v R S.variety f) ≠ 0 := by |
| 112 | have heq : (fun i => Extraction.CM.hodgeLineImage K S.variety (u i) (Extraction.CM.slotLabel K i)) = |
| 113 | (fun i => (r i : ℂ) • Extraction.CM.pulledEmbedding K v R S.variety f i) := by |
| 114 | funext i |
| 115 | exact hodgeLineImage_rational_pullback K v R S f u r hu i |
| 116 | rw [heq] at hn |
| 117 | exact clear_rational_pullback_denominators K v R S f r hn |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.Denominators.CM |