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.ComplexMultiplication.CMSiegelPhase |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.LatticeGaussian |
| 3 | import Mathlib.Analysis.Calculus.SmoothSeries |
| 4 | |
| 5 | /-! # Siegel Theta Series -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! |
| 14 | # Actual theta terms and their first derivatives |
| 15 | |
| 16 | The summand is `exp (π i B(x,x) + 2π i P(x)(z))` for real position `x`, |
| 17 | a positive complex quadratic phase `B`, and a real-linear pairing `P` |
| 18 | with the complex Jacobi variable `z`. Uniform Gaussian bounds on bounded |
| 19 | sets control both the summands and their actual complex derivatives. |
| 20 | -/ |
| 21 | |
| 22 | open Filter _root_.Topology _root_.Metric |
| 23 | |
| 24 | variable {V U : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 25 | [NormedAddCommGroup U] [NormedSpace ℂ U] |
| 26 | (Z : CMSiegelPhase.CM.SiegelPhase V) (P : V →L[ℝ] (U →L[ℂ] ℂ)) |
| 27 | |
| 28 | def CMSiegelPhase.CM.SiegelPhase.thetaTerm (x : V) (z : U) : ℂ := |
| 29 | Complex.exp ((Real.pi : ℂ) * Complex.I * Z.form x x + |
| 30 | (2 * (Real.pi : ℂ) * Complex.I) * P x z) |
| 31 | |
| 32 | theorem CMSiegelPhase.CM.SiegelPhase.thetaTerm_zero (x : V) : Z.thetaTerm P x 0 = Z.gaussianWeight x := by |
| 33 | simp only [CMSiegelPhase.CM.SiegelPhase.thetaTerm, map_zero, mul_zero, add_zero, CMSiegelPhase.CM.SiegelPhase.gaussianWeight] |
| 34 | |
| 35 | theorem CMSiegelPhase.CM.SiegelPhase.thetaTerm_norm (x : V) (z : U) : |
| 36 | ‖Z.thetaTerm P x z‖ = |
| 37 | Real.exp (-Real.pi * Z.imaginaryQuadratic x - 2 * Real.pi * (P x z).im) := by |
| 38 | rw [CMSiegelPhase.CM.SiegelPhase.thetaTerm, Complex.norm_exp] |
| 39 | congr 1 |
| 40 | simp [CMSiegelPhase.CM.SiegelPhase.imaginaryQuadratic, Complex.add_re, Complex.mul_re, Complex.mul_im] |
| 41 | ring |
| 42 | |
| 43 | def CMSiegelPhase.CM.SiegelPhase.thetaTermDerivative (x : V) (z : U) : U →L[ℂ] ℂ := |
| 44 | Z.thetaTerm P x z • ((2 * (Real.pi : ℂ) * Complex.I) • P x) |
| 45 | |
| 46 | theorem CMSiegelPhase.CM.SiegelPhase.thetaTerm_hasFDerivAt (x : V) (z : U) : |
| 47 | HasFDerivAt (Z.thetaTerm P x) (Z.thetaTermDerivative P x z) z := by |
| 48 | have h := ((P x).hasFDerivAt (x := z)).const_smul (2 * (Real.pi : ℂ) * Complex.I) |
| 49 | exact (h.const_add ((Real.pi : ℂ) * Complex.I * Z.form x x)).cexp |
| 50 | |
| 51 | theorem CMSiegelPhase.CM.SiegelPhase.pairing_norm_le (x : V) (z : U) : ‖P x z‖ ≤ ‖P‖ * ‖x‖ * ‖z‖ := |
| 52 | ((P x).le_opNorm z).trans (mul_le_mul_of_nonneg_right (P.le_opNorm x) (norm_nonneg z)) |
| 53 | |
| 54 | variable [FiniteDimensional ℝ V] |
| 55 | |
| 56 | def CMSiegelPhase.CM.SiegelPhase.thetaMajorant (R : ℝ) (x : V) : ℝ := |
| 57 | Real.exp (-(Real.pi * Z.lowerBound) * ‖x‖ ^ 2 + (2 * Real.pi * ‖P‖ * R) * ‖x‖) |
| 58 | |
| 59 | theorem CMSiegelPhase.CM.SiegelPhase.thetaTerm_norm_le (R : ℝ) (x : V) (z : U) (hz : ‖z‖ ≤ R) : |
| 60 | ‖Z.thetaTerm P x z‖ ≤ Z.thetaMajorant P R x := by |
| 61 | rw [Z.thetaTerm_norm] |
| 62 | apply Real.exp_le_exp.mpr |
| 63 | have hlin : -(P x z).im ≤ ‖P‖ * ‖x‖ * R := |
| 64 | (neg_le_abs _).trans ((Complex.abs_im_le_norm _).trans |
| 65 | ((CMSiegelPhase.CM.SiegelPhase.pairing_norm_le P x z).trans |
| 66 | (mul_le_mul_of_nonneg_left hz (mul_nonneg (norm_nonneg P) (norm_nonneg x))))) |
| 67 | have hq := mul_le_mul_of_nonneg_left (Z.imaginaryQuadratic_lower_bound x) Real.pi_pos.le |
| 68 | have hl := mul_le_mul_of_nonneg_left hlin (show 0 ≤ 2 * Real.pi by positivity) |
| 69 | change -Real.pi * Z.imaginaryQuadratic x - 2 * Real.pi * (P x z).im ≤ |
| 70 | -(Real.pi * Z.lowerBound) * ‖x‖ ^ 2 + (2 * Real.pi * ‖P‖ * R) * ‖x‖ |
| 71 | nlinarith |
| 72 | |
| 73 | theorem CMSiegelPhase.CM.SiegelPhase.thetaMajorant_summable (L : Submodule ℤ V) [DiscreteTopology L] (R : ℝ) : |
| 74 | Summable (fun x : L => Z.thetaMajorant P R x) := |
| 75 | LatticeGaussian.CM.lattice_gaussian_summable L (Real.pi * Z.lowerBound) (2 * Real.pi * ‖P‖ * R) |
| 76 | (mul_pos Real.pi_pos Z.lowerBound_pos) |
| 77 | |
| 78 | theorem CMSiegelPhase.CM.SiegelPhase.thetaTerm_norm_summable (L : Submodule ℤ V) [DiscreteTopology L] (z : U) : |
| 79 | Summable (fun x : L => ‖Z.thetaTerm P x z‖) := |
| 80 | (Z.thetaMajorant_summable P L ‖z‖).of_nonneg_of_le (fun _ => norm_nonneg _) |
| 81 | (fun x => Z.thetaTerm_norm_le P ‖z‖ x z le_rfl) |
| 82 | |
| 83 | def CMSiegelPhase.CM.SiegelPhase.thetaDerivativeMajorant (R : ℝ) (x : V) : ℝ := |
| 84 | (2 * Real.pi * ‖P‖) * (‖x‖ * Z.thetaMajorant P R x) |
| 85 | |
| 86 | theorem CMSiegelPhase.CM.SiegelPhase.thetaDerivativeMajorant_summable (L : Submodule ℤ V) [DiscreteTopology L] (R : ℝ) : |
| 87 | Summable (fun x : L => Z.thetaDerivativeMajorant P R x) := by |
| 88 | simpa only [CMSiegelPhase.CM.SiegelPhase.thetaDerivativeMajorant, CMSiegelPhase.CM.SiegelPhase.thetaMajorant, pow_one] using! |
| 89 | (LatticeGaussian.CM.lattice_gaussian_poly_summable L (Real.pi * Z.lowerBound) (2 * Real.pi * ‖P‖ * R) |
| 90 | (mul_pos Real.pi_pos Z.lowerBound_pos) 1).mul_left (2 * Real.pi * ‖P‖) |
| 91 | |
| 92 | theorem CMSiegelPhase.CM.SiegelPhase.thetaTermDerivative_norm_le (R : ℝ) (x : V) (z : U) (hz : ‖z‖ ≤ R) : |
| 93 | ‖Z.thetaTermDerivative P x z‖ ≤ Z.thetaDerivativeMajorant P R x := by |
| 94 | have hc : ‖2 * (Real.pi : ℂ) * Complex.I‖ = 2 * Real.pi := by simp |
| 95 | rw [CMSiegelPhase.CM.SiegelPhase.thetaTermDerivative, norm_smul, norm_smul, hc] |
| 96 | calc |
| 97 | ‖Z.thetaTerm P x z‖ * (2 * Real.pi * ‖P x‖) ≤ |
| 98 | Z.thetaMajorant P R x * (2 * Real.pi * (‖P‖ * ‖x‖)) := by |
| 99 | gcongr |
| 100 | · exact (Real.exp_pos _).le |
| 101 | · exact Z.thetaTerm_norm_le P R x z hz |
| 102 | · exact P.le_opNorm x |
| 103 | _ = Z.thetaDerivativeMajorant P R x := by unfold CMSiegelPhase.CM.SiegelPhase.thetaDerivativeMajorant; ring |
| 104 | |
| 105 | end |
| 106 | |
| 107 | /-! |
| 108 | # Convergent theta series with support in a lattice subset |
| 109 | |
| 110 | The series and its derivative are actual sums of the explicit exponential |
| 111 | terms. In particular this includes the positive-degree sparse cosets |
| 112 | used as finite-input supports in the manuscript's nonvanishing argument. |
| 113 | The present theorem concerns the complex Jacobi variable at a fixed phase. |
| 114 | -/ |
| 115 | |
| 116 | open scoped Classical |
| 117 | open Filter _root_.Topology _root_.Metric |
| 118 | |
| 119 | variable {V U : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 120 | [NormedAddCommGroup U] [NormedSpace ℂ U] |
| 121 | (Z : CMSiegelPhase.CM.SiegelPhase V) (P : V →L[ℝ] (U →L[ℂ] ℂ)) |
| 122 | (L : Submodule ℤ V) (S : Set L) |
| 123 | |
| 124 | def CMSiegelPhase.CM.SiegelPhase.thetaTermOn (x : L) (z : U) : ℂ := if x ∈ S then Z.thetaTerm P x z else 0 |
| 125 | |
| 126 | def CMSiegelPhase.CM.SiegelPhase.thetaTermOnDerivative (x : L) (z : U) : U →L[ℂ] ℂ := |
| 127 | if x ∈ S then Z.thetaTermDerivative P x z else 0 |
| 128 | |
| 129 | theorem CMSiegelPhase.CM.SiegelPhase.thetaTermOn_hasFDerivAt (x : L) (z : U) : |
| 130 | HasFDerivAt (Z.thetaTermOn P L S x) (Z.thetaTermOnDerivative P L S x z) z := by |
| 131 | by_cases hx : x ∈ S |
| 132 | · have heq : Z.thetaTermOn P L S x = Z.thetaTerm P x := by |
| 133 | funext w |
| 134 | simp only [CMSiegelPhase.CM.SiegelPhase.thetaTermOn, ite_eq_left hx] |
| 135 | rw [heq, CMSiegelPhase.CM.SiegelPhase.thetaTermOnDerivative, ite_eq_left hx] |
| 136 | exact Z.thetaTerm_hasFDerivAt P x z |
| 137 | · have heq : Z.thetaTermOn P L S x = fun _ => 0 := by |
| 138 | funext w |
| 139 | simp only [CMSiegelPhase.CM.SiegelPhase.thetaTermOn, ite_eq_right hx] |
| 140 | rw [heq, CMSiegelPhase.CM.SiegelPhase.thetaTermOnDerivative, ite_eq_right hx] |
| 141 | exact hasFDerivAt_const (0 : ℂ) z |
| 142 | |
| 143 | def CMSiegelPhase.CM.SiegelPhase.thetaSeriesOn (z : U) : ℂ := ∑' x : L, Z.thetaTermOn P L S x z |
| 144 | |
| 145 | def CMSiegelPhase.CM.SiegelPhase.thetaSeriesOnDerivative (z : U) : U →L[ℂ] ℂ := |
| 146 | ∑' x : L, Z.thetaTermOnDerivative P L S x z |
| 147 | |
| 148 | variable [FiniteDimensional ℝ V] [DiscreteTopology L] |
| 149 | |
| 150 | theorem CMSiegelPhase.CM.SiegelPhase.thetaTermOn_norm_summable (z : U) : |
| 151 | Summable (fun x : L => ‖Z.thetaTermOn P L S x z‖) := by |
| 152 | apply (Z.thetaTerm_norm_summable P L z).of_nonneg_of_le (fun _ => norm_nonneg _) |
| 153 | intro x |
| 154 | unfold CMSiegelPhase.CM.SiegelPhase.thetaTermOn |
| 155 | split_ifs <;> simp |
| 156 | |
| 157 | omit [DiscreteTopology L] in |
| 158 | theorem CMSiegelPhase.CM.SiegelPhase.thetaTermOnDerivative_norm_le (R : ℝ) (x : L) (z : U) (hz : ‖z‖ ≤ R) : |
| 159 | ‖Z.thetaTermOnDerivative P L S x z‖ ≤ Z.thetaDerivativeMajorant P R x := by |
| 160 | unfold CMSiegelPhase.CM.SiegelPhase.thetaTermOnDerivative |
| 161 | split_ifs |
| 162 | · exact Z.thetaTermDerivative_norm_le P R x z hz |
| 163 | · rw [norm_zero] |
| 164 | unfold CMSiegelPhase.CM.SiegelPhase.thetaDerivativeMajorant CMSiegelPhase.CM.SiegelPhase.thetaMajorant |
| 165 | positivity |
| 166 | |
| 167 | /-- Differentiation under the actual theta sum, justified by a summable |
| 168 | uniform derivative bound on a neighborhood of every Jacobi variable. -/ |
| 169 | theorem CMSiegelPhase.CM.SiegelPhase.thetaSeriesOn_hasFDerivAt (z : U) : |
| 170 | HasFDerivAt (Z.thetaSeriesOn P L S) (Z.thetaSeriesOnDerivative P L S z) z := by |
| 171 | let R : ℝ := ‖z‖ + 1 |
| 172 | have hR : 0 < R := by dsimp [R]; positivity |
| 173 | have hz : z ∈ ball (0 : U) R := by |
| 174 | simp only [mem_ball, dist_zero_right] |
| 175 | dsimp [R] |
| 176 | linarith |
| 177 | exact hasFDerivAt_tsum_of_isPreconnected |
| 178 | (Z.thetaDerivativeMajorant_summable P L R) isOpen_ball |
| 179 | (convex_ball (0 : U) R).isPreconnected |
| 180 | (fun x w _ => Z.thetaTermOn_hasFDerivAt P L S x w) |
| 181 | (fun x w hw => Z.thetaTermOnDerivative_norm_le P L S R x w |
| 182 | (show ‖w‖ < R by simpa only [mem_ball, dist_zero_right] using hw).le) |
| 183 | (mem_ball_self hR) (Z.thetaTermOn_norm_summable P L S 0).of_norm hz |
| 184 | |
| 185 | theorem CMSiegelPhase.CM.SiegelPhase.thetaSeriesOn_differentiable : Differentiable ℂ (Z.thetaSeriesOn P L S) := |
| 186 | fun z => (Z.thetaSeriesOn_hasFDerivAt P L S z).differentiableAt |
| 187 | |
| 188 | /-- The formal derivative is identified with the actual `fderiv`. -/ |
| 189 | theorem CMSiegelPhase.CM.SiegelPhase.fderiv_thetaSeriesOn (z : U) : |
| 190 | fderiv ℂ (Z.thetaSeriesOn P L S) z = Z.thetaSeriesOnDerivative P L S z := |
| 191 | (Z.thetaSeriesOn_hasFDerivAt P L S z).fderiv |
| 192 | |
| 193 | end |
| 194 | |
| 195 | end OAI.AlgebraicGeometry.ComplexMultiplication |