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 |
| 2 | |
| 3 | /-! # Analytic Series -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.AnalyticSeries |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A local power-series criterion for the exponential sums used in CompletedTheta. -/ |
| 10 | |
| 11 | open scoped BigOperators _root_.Topology NNReal ENNReal |
| 12 | open Filter Set _root_.Metric |
| 13 | |
| 14 | variable {I E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 15 | |
| 16 | theorem exponential_coefficient_bound (b : ℂ) (l : E →L[ℂ] ℂ) |
| 17 | (r : ℝ≥0) (n : ℕ) : |
| 18 | ‖(b • (NormedSpace.expSeries ℂ ℂ).compContinuousLinearMap l) n‖ * |
| 19 | (r : ℝ) ^ n ≤ ‖b‖ * ((‖l‖ * (r : ℝ)) ^ n / (n.factorial : ℝ)) := by |
| 20 | have he : ‖NormedSpace.expSeries ℂ ℂ n‖ = (n.factorial : ℝ)⁻¹ := by |
| 21 | simp [NormedSpace.expSeries, norm_smul, |
| 22 | ContinuousMultilinearMap.norm_mkPiAlgebraFin] |
| 23 | have hc := (NormedSpace.expSeries ℂ ℂ).norm_compContinuousLinearMap_le l n |
| 24 | rw [he] at hc |
| 25 | calc |
| 26 | ‖(b • (NormedSpace.expSeries ℂ ℂ).compContinuousLinearMap l) n‖ * (r : ℝ) ^ n = |
| 27 | (‖b‖ * ‖(NormedSpace.expSeries ℂ ℂ).compContinuousLinearMap l n‖) * |
| 28 | (r : ℝ) ^ n := by simp [norm_smul] |
| 29 | _ ≤ (‖b‖ * ((n.factorial : ℝ)⁻¹ * ‖l‖ ^ n)) * (r : ℝ) ^ n := by |
| 30 | gcongr |
| 31 | _ = _ := by simp only [mul_pow, div_eq_mul_inv]; ring |
| 32 | |
| 33 | theorem analyticAt_sum_of_coefficients |
| 34 | (f : I → E → ℂ) (p : I → FormalMultilinearSeries ℂ E ℂ) |
| 35 | (x : E) (r : ℝ≥0) (hr : 0 < r) |
| 36 | (hnorm : Summable (fun q : I × ℕ => ‖p q.1 q.2‖ * (r : ℝ) ^ q.2)) |
| 37 | (hsum : ∀ i y, HasSum (fun n => p i n (fun _ => y)) (f i (x + y))) : |
| 38 | AnalyticAt ℂ (fun y => ∑' i, f i y) x := by |
| 39 | have hpn (n : ℕ) : Summable (fun i => ‖p i n‖) := by |
| 40 | apply (summable_mul_right_iff (pow_ne_zero n (ne_of_gt (show 0 < (r : ℝ) from hr)))).mp |
| 41 | exact hnorm.prod_symm.prod_factor n |
| 42 | let P : FormalMultilinearSeries ℂ E ℂ := fun n => ∑' i, p i n |
| 43 | have hP : Summable (fun n => ‖P n‖ * (r : ℝ) ^ n) := by |
| 44 | apply hnorm.prod_symm.prod.of_nonneg_of_le (fun n => by positivity) |
| 45 | intro n |
| 46 | calc |
| 47 | ‖P n‖ * (r : ℝ) ^ n ≤ (∑' i, ‖p i n‖) * (r : ℝ) ^ n := by |
| 48 | exact mul_le_mul_of_nonneg_right (norm_tsum_le_tsum_norm (hpn n)) (by positivity) |
| 49 | _ = ∑' i, ‖p i n‖ * (r : ℝ) ^ n := (tsum_mul_right).symm |
| 50 | refine ⟨P, (⟨P.le_radius_of_summable hP, ENNReal.coe_pos.mpr hr, ?_⟩ : |
| 51 | HasFPowerSeriesOnBall _ P x (r : ℝ≥0∞)).hasFPowerSeriesAt⟩ |
| 52 | intro y hy |
| 53 | have hyr : ‖y‖ ≤ (r : ℝ) := by |
| 54 | exact_mod_cast (mem_eball_zero_iff.mp hy).le |
| 55 | have hyeval : Summable (fun q : I × ℕ => p q.1 q.2 (fun _ => y)) := by |
| 56 | apply Summable.of_norm_bounded hnorm |
| 57 | intro q |
| 58 | calc |
| 59 | ‖p q.1 q.2 (fun _ => y)‖ ≤ ‖p q.1 q.2‖ * ‖y‖ ^ q.2 := by |
| 60 | simpa using (p q.1 q.2).le_opNorm (fun _ => y) |
| 61 | _ ≤ ‖p q.1 q.2‖ * (r : ℝ) ^ q.2 := by gcongr |
| 62 | have heq : (fun n => P n (fun _ => y)) = |
| 63 | fun n => ∑' i, p i n (fun _ => y) := by |
| 64 | funext n |
| 65 | exact ContinuousMultilinearMap.tsum_eval (hpn n).of_norm _ |
| 66 | rw [heq] |
| 67 | convert hyeval.prod_symm.prod.hasSum using 1 |
| 68 | · rfl |
| 69 | · symm |
| 70 | rw [hyeval.tsum_comm] |
| 71 | exact tsum_congr (fun i => (hsum i y).tsum_eq) |
| 72 | |
| 73 | theorem analyticAt_exponential_sum |
| 74 | (a : I → ℂ) (l : I → E →L[ℂ] ℂ) (x : E) |
| 75 | (r : ℝ≥0) (hr : 0 < r) |
| 76 | (hs : Summable (fun i => |
| 77 | ‖a i * Complex.exp (l i x)‖ * Real.exp (‖l i‖ * (r : ℝ)))) : |
| 78 | AnalyticAt ℂ (fun y => ∑' i, a i * Complex.exp (l i y)) x := by |
| 79 | let b : I → ℂ := fun i => a i * Complex.exp (l i x) |
| 80 | let p : I → FormalMultilinearSeries ℂ E ℂ := fun i => |
| 81 | b i • (NormedSpace.expSeries ℂ ℂ).compContinuousLinearMap (l i) |
| 82 | let u : I × ℕ → ℝ := fun q => |
| 83 | ‖b q.1‖ * ((‖l q.1‖ * (r : ℝ)) ^ q.2 / (q.2.factorial : ℝ)) |
| 84 | have hu : Summable u := by |
| 85 | apply (summable_prod_of_nonneg (fun q => by dsimp [u]; positivity)).mpr |
| 86 | constructor |
| 87 | · intro i |
| 88 | exact (NormedSpace.expSeries_div_summable (‖l i‖ * (r : ℝ))).mul_left ‖b i‖ |
| 89 | · simpa only [u, tsum_mul_left, ← Real.exp_eq_exp_ℝ, |
| 90 | (NormedSpace.expSeries_div_hasSum_exp _).tsum_eq] using hs |
| 91 | have hp_bound (i : I) (n : ℕ) : |
| 92 | ‖p i n‖ * (r : ℝ) ^ n ≤ u (i, n) := by |
| 93 | exact exponential_coefficient_bound (b i) (l i) r n |
| 94 | have hnorm : Summable (fun q : I × ℕ => ‖p q.1 q.2‖ * (r : ℝ) ^ q.2) := |
| 95 | hu.of_nonneg_of_le (fun q => by positivity) (fun q => hp_bound q.1 q.2) |
| 96 | apply analyticAt_sum_of_coefficients |
| 97 | (fun i y => a i * Complex.exp (l i y)) p x r hr hnorm |
| 98 | intro i y |
| 99 | change HasSum |
| 100 | (fun n => b i * (NormedSpace.expSeries ℂ ℂ n (fun _ => l i y))) |
| 101 | (a i * Complex.exp (l i (x + y))) |
| 102 | rw [show a i * Complex.exp (l i (x + y)) = b i * NormedSpace.exp (l i y) by |
| 103 | simp only [b, map_add, Complex.exp_add, ← Complex.exp_eq_exp_ℂ, mul_assoc]] |
| 104 | exact (NormedSpace.expSeries_hasSum_exp (𝕂 := ℂ) (l i y)).mul_left (b i) |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.RepresentationTheory.Theta.AnalyticSeries |