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.Analysis.Polynomial.MahlerMeasure |
| 2 | import Mathlib.FieldTheory.Separable |
| 3 | import Mathlib.Data.Set.Card |
| 4 | |
| 5 | /-! # Monic Roots -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.MonicRoots.Constructions.RootPolynomials |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Monic polynomials determined and bounded by their roots |
| 13 | |
| 14 | For a monic separable complex polynomial, the set of roots determines the |
| 15 | polynomial. A uniform root bound also bounds every coefficient. |
| 16 | -/ |
| 17 | |
| 18 | open Set _root_.Polynomial |
| 19 | |
| 20 | theorem eq_of_same_roots {P Q : ℂ[X]} (hP : P.Monic) (hQ : Q.Monic) |
| 21 | (hPs : P.Separable) (hQs : Q.Separable) |
| 22 | (hroots : ∀ z : ℂ, P.eval z = 0 ↔ Q.eval z = 0) : P = Q := by |
| 23 | have hr : P.roots = Q.roots := (Multiset.Nodup.ext (nodup_roots hPs) (nodup_roots hQs)).mpr |
| 24 | (fun z => by simpa only [mem_roots hP.ne_zero, mem_roots hQ.ne_zero, IsRoot] using hroots z) |
| 25 | rw [(IsAlgClosed.splits P).eq_prod_roots_of_monic hP, |
| 26 | (IsAlgClosed.splits Q).eq_prod_roots_of_monic hQ, hr] |
| 27 | |
| 28 | theorem ncard_zero_set {P : ℂ[X]} (hP : P ≠ 0) (hPs : P.Separable) : |
| 29 | {z : ℂ | P.eval z = 0}.ncard = P.natDegree := by |
| 30 | classical |
| 31 | have hset : {z : ℂ | P.eval z = 0} = (P.roots.toFinset : Set ℂ) := by |
| 32 | ext z |
| 33 | simp only [mem_ofPred_eq, Finset.mem_coe, Multiset.mem_toFinset, mem_roots hP, IsRoot] |
| 34 | rw [hset, Set.ncard_coe_finset, Multiset.toFinset_card_of_nodup (nodup_roots hPs), |
| 35 | ← (IsAlgClosed.splits P).natDegree_eq_card_roots] |
| 36 | |
| 37 | theorem norm_coeff_le_of_roots_bounded {P : ℂ[X]} (hP : P.Monic) {M : ℝ} |
| 38 | (hroots : ∀ z : ℂ, P.eval z = 0 → ‖z‖ ≤ M) (j : ℕ) : |
| 39 | ‖P.coeff j‖ ≤ (P.natDegree.choose j : ℝ) * (max 1 M) ^ P.natDegree := by |
| 40 | apply (P.norm_coeff_le_choose_mul_mahlerMeasure j).trans |
| 41 | apply mul_le_mul_of_nonneg_left _ (Nat.cast_nonneg _) |
| 42 | rw [mahlerMeasure_eq_leadingCoeff_mul_prod_roots, hP.leadingCoeff, norm_one, one_mul, |
| 43 | (IsAlgClosed.splits P).natDegree_eq_card_roots] |
| 44 | calc |
| 45 | _ ≤ (P.roots.map (fun _ : ℂ => max (1 : ℝ) M)).prod := |
| 46 | Multiset.prod_map_le_prod_map₀ _ _ |
| 47 | (fun _ _ => zero_le_one.trans (le_max_left _ _)) |
| 48 | (fun z hz => max_le_max le_rfl (hroots z ((mem_roots hP.ne_zero).mp hz))) |
| 49 | _ = _ := by |
| 50 | change (P.roots.map (Function.const ℂ (max (1 : ℝ) M))).prod = (max 1 M) ^ P.roots.card |
| 51 | rw [Multiset.map_const, Multiset.prod_replicate] |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.MonicRoots.Constructions.RootPolynomials |