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.Geometry.ComplexTorus.RiemannProjectivity.BranchCoefficientsAt |
| 2 | import Mathlib.Analysis.Polynomial.MahlerMeasure |
| 3 | |
| 4 | /-! # Coefficient Root -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace Geometry.ComplexTorus.RiemannProjectivity.CoefficientRoot.Constructions.CoefficientGrowth |
| 11 | |
| 12 | /-! |
| 13 | # RiemannProjectivity: growth bounds for projection coefficients |
| 14 | |
| 15 | The proper-cone norm estimate bounds every coordinate on a fiber. The |
| 16 | product polynomial of a finite fiber therefore has polynomially bounded |
| 17 | coefficients, with an explicit constant and degree. Repeated coordinate |
| 18 | values remain separate factors, as required for symmetric coefficients. |
| 19 | -/ |
| 20 | |
| 21 | open Set _root_.Polynomial |
| 22 | open scoped BigOperators |
| 23 | |
| 24 | theorem norm_coeff_prod_X_sub_C_le {ι : Type*} [Fintype ι] |
| 25 | (a : ι → ℂ) (R : ℝ) (ha : ∀ i, ‖a i‖ ≤ R) (j : ℕ) : |
| 26 | ‖(∏ i, (Polynomial.X - Polynomial.C (a i))).coeff j‖ ≤ |
| 27 | (Fintype.card ι).choose j * (max 1 R) ^ Fintype.card ι := by |
| 28 | classical |
| 29 | have hm : ∀ s : Finset ι, |
| 30 | (∏ i ∈ s, (Polynomial.X - Polynomial.C (a i))).mahlerMeasure = |
| 31 | ∏ i ∈ s, max 1 ‖a i‖ := by |
| 32 | intro s |
| 33 | induction s using Finset.induction_on with |
| 34 | | empty => simp |
| 35 | | @insert i s hi ih => simp [Finset.prod_insert hi, Polynomial.mahlerMeasure_mul, ih, |
| 36 | Polynomial.mahlerMeasure_X_sub_C] |
| 37 | have hprod : (∏ i, max 1 ‖a i‖) ≤ (max 1 R) ^ Fintype.card ι := by |
| 38 | calc |
| 39 | _ ≤ ∏ _ : ι, max 1 R := Finset.prod_le_prod₀ |
| 40 | (fun _ _ => le_trans zero_le_one (le_max_left _ _)) |
| 41 | (fun i _ => max_le_max_left 1 (ha i)) |
| 42 | _ = _ := by simp |
| 43 | calc |
| 44 | _ ≤ (∏ i, (Polynomial.X - Polynomial.C (a i))).natDegree.choose j * |
| 45 | (∏ i, (Polynomial.X - Polynomial.C (a i))).mahlerMeasure := |
| 46 | Polynomial.norm_coeff_le_choose_mul_mahlerMeasure _ _ |
| 47 | _ = (Fintype.card ι).choose j * ∏ i, max 1 ‖a i‖ := by simp only [hm, |
| 48 | Polynomial.natDegree_finsetProd_X_sub_C_eq_card, Finset.card_univ] |
| 49 | _ ≤ _ := mul_le_mul_of_nonneg_left hprod (Nat.cast_nonneg _) |
| 50 | |
| 51 | variable {V W : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 52 | [NormedAddCommGroup W] |
| 53 | |
| 54 | /-- The linear bound on a fiber gives the polynomial-growth hypothesis |
| 55 | needed for extension of each symmetric coefficient. -/ |
| 56 | theorem coefficient_growth_from_fiber_bound {m : ℕ} (b : Fin m → W → V) |
| 57 | (l : V →L[ℂ] ℂ) (C : ℝ) {U : Set W} |
| 58 | (hb : ∀ z ∈ U, ∀ i, ‖b i z‖ ≤ C * ‖z‖) (j : ℕ) : |
| 59 | ∀ z ∈ U, |
| 60 | ‖(∏ i, (Polynomial.X - Polynomial.C (l (b i z)))).coeff j‖ ≤ |
| 61 | ((m.choose j : ℝ) * (max 1 (‖l‖ * C)) ^ m) * (max 1 ‖z‖) ^ m := by |
| 62 | intro z hz |
| 63 | have ha : ∀ i, ‖l (b i z)‖ ≤ ‖l‖ * C * ‖z‖ := fun i => |
| 64 | (l.le_opNorm _).trans (by |
| 65 | simpa only [mul_assoc] using mul_le_mul_of_nonneg_left (hb z hz i) (norm_nonneg l)) |
| 66 | have hmax : max 1 (‖l‖ * C * ‖z‖) ≤ max 1 (‖l‖ * C) * max 1 ‖z‖ := by |
| 67 | apply max_le |
| 68 | · exact one_le_mul_of_one_le_of_one_le (le_max_left _ _) (le_max_left _ _) |
| 69 | · exact mul_le_mul (le_max_right _ _) (le_max_right _ _) (norm_nonneg z) |
| 70 | (le_trans zero_le_one (le_max_left _ _)) |
| 71 | calc |
| 72 | _ ≤ (m.choose j : ℝ) * (max 1 (‖l‖ * C * ‖z‖)) ^ m := by |
| 73 | simpa only [Fintype.card_fin] using norm_coeff_prod_X_sub_C_le |
| 74 | (fun i => l (b i z)) (‖l‖ * C * ‖z‖) ha j |
| 75 | _ ≤ (m.choose j : ℝ) * (max 1 (‖l‖ * C) * max 1 ‖z‖) ^ m := by gcongr |
| 76 | _ = _ := by rw [mul_pow, mul_assoc] |
| 77 | |
| 78 | variable [NormedSpace ℂ W] {X : Type*} [TopologicalSpace X] [T2Space X] |
| 79 | |
| 80 | /-- Combine genuine local inverse branches with a uniform fiber bound. |
| 81 | The same local polynomial has both holomorphic coefficients and the |
| 82 | quantitative growth estimate. -/ |
| 83 | theorem local_bounded_fiber_polynomial (a : X → V) {f : X → W} (hf : IsProperMap f) |
| 84 | (C : ℝ) (hbound : ∀ x, ‖a x‖ ≤ C * ‖f x‖) |
| 85 | {y : W} (hy : y ∈ BranchCoefficientsAt.Constructions.BranchCoefficients.holomorphicRegularValues a f) |
| 86 | (l : V →L[ℂ] ℂ) : |
| 87 | ∃ (m : ℕ) (U : Set W) (P : W → Polynomial ℂ), IsOpen U ∧ y ∈ U ∧ |
| 88 | (∀ j, DifferentiableOn ℂ (fun z => (P z).coeff j) U) ∧ |
| 89 | (∀ z ∈ U, ∀ j, ‖(P z).coeff j‖ ≤ |
| 90 | ((m.choose j : ℝ) * (max 1 (‖l‖ * C)) ^ m) * (max 1 ‖z‖) ^ m) ∧ |
| 91 | ∀ z ∈ U, (P z).Monic ∧ |
| 92 | ∀ c, (P z).eval c = 0 ↔ ∃ x, f x = z ∧ l (a x) = c := by |
| 93 | obtain ⟨m, U, b, hU, hyU, hb, hbij⟩ := BranchCoefficientsAt.Constructions.BranchCoefficients.finite_holomorphic_branches a hf hy |
| 94 | have hp := BranchCoefficientsAt.Constructions.BranchCoefficients.polynomial_of_holomorphic_branches a f b hb |
| 95 | (fun z hz => (hbij z hz).2) l |
| 96 | refine ⟨m, U, _, hU, hyU, hp.1, ?_, hp.2⟩ |
| 97 | intro z hz j |
| 98 | apply coefficient_growth_from_fiber_bound (fun i w => a (b i w)) l C ?_ j z hz |
| 99 | intro w hw i |
| 100 | have hfw : f (b i w) = w := ((hbij w hw).2 _).mpr ⟨i, rfl⟩ |
| 101 | simpa only [hfw] using hbound (b i w) |
| 102 | |
| 103 | end Geometry.ComplexTorus.RiemannProjectivity.CoefficientRoot.Constructions.CoefficientGrowth |
| 104 | |
| 105 | namespace Geometry.ComplexTorus.RiemannProjectivity.CoefficientRoot.Constructions.RootCoefficientBound |
| 106 | |
| 107 | /-! # RiemannProjectivity: coefficient bounds from bounded roots, including multiplicities -/ |
| 108 | |
| 109 | open _root_.Polynomial |
| 110 | open scoped BigOperators |
| 111 | |
| 112 | theorem prod_max_norm_le (s : Multiset ℂ) (R : ℝ) (h : ∀ z ∈ s, ‖z‖ ≤ R) : |
| 113 | (s.map (fun z => max 1 ‖z‖)).prod ≤ (max 1 R) ^ s.card := by |
| 114 | induction s using Multiset.induction_on with |
| 115 | | empty => simp |
| 116 | | @cons z s ih => |
| 117 | have hz : ‖z‖ ≤ R := h z (Multiset.mem_cons_self _ _) |
| 118 | have hs : ∀ w ∈ s, ‖w‖ ≤ R := fun w hw => h w (Multiset.mem_cons_of_mem hw) |
| 119 | have hn : 0 ≤ (s.map (fun w => max 1 ‖w‖)).prod := by |
| 120 | apply Multiset.prod_nonneg |
| 121 | intro a ha |
| 122 | obtain ⟨w, _, rfl⟩ := Multiset.mem_map.mp ha |
| 123 | exact zero_le_one.trans (le_max_left _ _) |
| 124 | simp only [Multiset.map_cons, Multiset.prod_cons, Multiset.card_cons, pow_succ] |
| 125 | calc |
| 126 | _ ≤ max 1 R * (max 1 R) ^ s.card := |
| 127 | mul_le_mul (max_le_max_left 1 hz) (ih hs) hn (zero_le_one.trans (le_max_left _ _)) |
| 128 | _ = _ := mul_comm _ _ |
| 129 | |
| 130 | theorem norm_coeff_le {p : Polynomial ℂ} (hp : p.Monic) {R : ℝ} |
| 131 | (hroot : ∀ z : ℂ, p.eval z = 0 → ‖z‖ ≤ R) (j : ℕ) : |
| 132 | ‖p.coeff j‖ ≤ (p.natDegree.choose j : ℝ) * (max 1 R) ^ p.natDegree := by |
| 133 | have hroots : ∀ z ∈ p.roots, ‖z‖ ≤ R := fun z hz => hroot z ((mem_roots hp.ne_zero).mp hz) |
| 134 | have hb := prod_max_norm_le p.roots R hroots |
| 135 | rw [← (IsAlgClosed.splits p).natDegree_eq_card_roots] at hb |
| 136 | have hm : p.mahlerMeasure ≤ (max 1 R) ^ p.natDegree := by |
| 137 | rw [mahlerMeasure_eq_leadingCoeff_mul_prod_roots, hp.leadingCoeff, norm_one, one_mul] |
| 138 | exact hb |
| 139 | exact (norm_coeff_le_choose_mul_mahlerMeasure j p).trans |
| 140 | (mul_le_mul_of_nonneg_left hm (Nat.cast_nonneg _)) |
| 141 | |
| 142 | end Geometry.ComplexTorus.RiemannProjectivity.CoefficientRoot.Constructions.RootCoefficientBound |
| 143 | |
| 144 | namespace Geometry.ComplexTorus.RiemannProjectivity.CoefficientRoot.Constructions.MonicFamily |
| 145 | |
| 146 | /-! # RiemannProjectivity: reconstructing a monic polynomial from its lower coefficients -/ |
| 147 | |
| 148 | open _root_.Polynomial |
| 149 | open scoped BigOperators |
| 150 | |
| 151 | def ofCoefficients (k : ℕ) (a : ℕ → ℂ) : ℂ[X] := |
| 152 | X ^ k + ∑ j ∈ Finset.range k, monomial j (a j) |
| 153 | |
| 154 | theorem coeff_ofCoefficients (k j : ℕ) (a : ℕ → ℂ) : |
| 155 | (ofCoefficients k a).coeff j = (if j = k then 1 else 0) + |
| 156 | (if j < k then a j else 0) := by |
| 157 | classical |
| 158 | simp [ofCoefficients, coeff_monomial, coeff_X_pow, eq_comm] |
| 159 | |
| 160 | theorem monic_ofCoefficients (k : ℕ) (a : ℕ → ℂ) : |
| 161 | (ofCoefficients k a).Monic ∧ (ofCoefficients k a).natDegree = k := by |
| 162 | have hd : (ofCoefficients k a).natDegree ≤ k := by |
| 163 | apply natDegree_le_iff_coeff_eq_zero.mpr |
| 164 | intro j hj |
| 165 | simp [coeff_ofCoefficients, ne_of_gt hj, not_lt_of_ge (Nat.le_of_lt hj)] |
| 166 | have hc : (ofCoefficients k a).coeff k = 1 := by simp [coeff_ofCoefficients] |
| 167 | exact ⟨monic_of_natDegree_le_of_coeff_eq_one k hd hc, |
| 168 | le_antisymm hd (le_natDegree_of_ne_zero (by rw [hc]; exact one_ne_zero))⟩ |
| 169 | |
| 170 | theorem ofCoefficients_eq {p : ℂ[X]} (hp : p.Monic) {k : ℕ} (hd : p.natDegree = k) |
| 171 | {a : ℕ → ℂ} (ha : ∀ j < k, a j = p.coeff j) : ofCoefficients k a = p := by |
| 172 | ext j |
| 173 | rw [coeff_ofCoefficients] |
| 174 | by_cases hj : j < k |
| 175 | · simp [hj, ne_of_lt hj, ha j hj] |
| 176 | · by_cases he : j = k |
| 177 | · subst j |
| 178 | simp [← hd, hp.coeff_natDegree] |
| 179 | · have hk : p.natDegree < j := by omega |
| 180 | simp [he, hj, coeff_eq_zero_of_natDegree_lt hk] |
| 181 | |
| 182 | end Geometry.ComplexTorus.RiemannProjectivity.CoefficientRoot.Constructions.MonicFamily |
| 183 | |
| 184 | end |
| 185 | |
| 186 | end OAI |