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.SiegelThetaSeries |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.SparseGaussianSpanning |
| 3 | |
| 4 | /-! # Siegel Theta Spanning -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.SiegelThetaSpanning.CM.SiegelPhase |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Spanning by actual first derivatives of sparse theta series |
| 12 | |
| 13 | This connects the Gaussian isolation argument to actual derivatives of |
| 14 | the explicit theta exponential series. All sparse supports have positive |
| 15 | integer multiplier. The phase is fixed; automorphic transformation and |
| 16 | projection onto the ball cotangent bundle remain separate obligations. |
| 17 | -/ |
| 18 | |
| 19 | open scoped Classical |
| 20 | open Filter _root_.Topology |
| 21 | |
| 22 | variable {V U : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V] |
| 23 | [NormedAddCommGroup U] [NormedSpace ℂ U] |
| 24 | (Z : CMSiegelPhase.CM.SiegelPhase V) (P : V →L[ℝ] (U →L[ℂ] ℂ)) |
| 25 | (L : Submodule ℤ V) [DiscreteTopology L] |
| 26 | |
| 27 | /-- The actual gradient in the Jacobi variable for the positive-degree |
| 28 | sparse input supported on `a + (n + 1)L`. -/ |
| 29 | def _root_.OAI.AlgebraicGeometry.ComplexMultiplication.CMSiegelPhase.CM.SiegelPhase.sparseThetaGradient (a : L) (n : ℕ) : U →L[ℂ] ℂ := |
| 30 | fderiv ℂ (Z.thetaSeriesOn P L {x | SparseLatticeSums.CM.SparseLatticeCoset L n a x}) 0 |
| 31 | |
| 32 | theorem _root_.OAI.AlgebraicGeometry.ComplexMultiplication.CMSiegelPhase.CM.SiegelPhase.sparseThetaGradient_eq (a : L) (n : ℕ) : |
| 33 | Z.sparseThetaGradient P L a n = |
| 34 | SparseLatticeSums.CM.sparseLatticeSum L |
| 35 | (SparseGaussianSpanning.CM.weightedLatticeLinearTerm L Z.gaussianWeight ((2 * (Real.pi : ℂ) * Complex.I) • P)) a n := by |
| 36 | rw [CMSiegelPhase.CM.SiegelPhase.sparseThetaGradient, Z.fderiv_thetaSeriesOn] |
| 37 | unfold CMSiegelPhase.CM.SiegelPhase.thetaSeriesOnDerivative SparseLatticeSums.CM.sparseLatticeSum |
| 38 | apply tsum_congr |
| 39 | intro x |
| 40 | simp only [CMSiegelPhase.CM.SiegelPhase.thetaTermOnDerivative, Set.mem_ofPred_eq, CMSiegelPhase.CM.SiegelPhase.thetaTermDerivative, |
| 41 | Z.thetaTerm_zero, SparseGaussianSpanning.CM.weightedLatticeLinearTerm, smul_apply] |
| 42 | |
| 43 | private theorem theta_gradient_factor_ne_zero : (2 * (Real.pi : ℂ) * Complex.I) ≠ 0 := by |
| 44 | exact mul_ne_zero (mul_ne_zero (by norm_num) (by exact_mod_cast Real.pi_ne_zero)) Complex.I_ne_zero |
| 45 | |
| 46 | /-- The actual gradients converge to the nonzero Gaussian multiple of the |
| 47 | chosen position covector as the positive coset multiplier tends to infinity. -/ |
| 48 | theorem _root_.OAI.AlgebraicGeometry.ComplexMultiplication.CMSiegelPhase.CM.SiegelPhase.sparseThetaGradient_tendsto (x : L) : |
| 49 | Tendsto (Z.sparseThetaGradient P L x) atTop |
| 50 | (𝓝 (Z.gaussianWeight x • ((2 * (Real.pi : ℂ) * Complex.I) • P x))) := by |
| 51 | have hw : ∀ l : L, ‖Z.gaussianWeight l‖ ≤ |
| 52 | Real.exp (-(Real.pi * Z.lowerBound) * ‖l‖ ^ 2 + 0 * ‖l‖) := by |
| 53 | intro l |
| 54 | simpa only [zero_mul, add_zero] using! Z.gaussianWeight_norm_le l |
| 55 | have hs := SparseGaussianSpanning.CM.weightedLatticeLinearTerm_norm_summable L Z.gaussianWeight |
| 56 | ((2 * (Real.pi : ℂ) * Complex.I) • P) (Real.pi * Z.lowerBound) 0 |
| 57 | (mul_pos Real.pi_pos Z.lowerBound_pos) hw |
| 58 | have heq : Z.sparseThetaGradient P L x = SparseLatticeSums.CM.sparseLatticeSum L |
| 59 | (SparseGaussianSpanning.CM.weightedLatticeLinearTerm L Z.gaussianWeight ((2 * (Real.pi : ℂ) * Complex.I) • P)) x := |
| 60 | funext (Z.sparseThetaGradient_eq P L x) |
| 61 | rw [heq] |
| 62 | exact SparseLatticeSums.CM.sparseLatticeSum_tendsto L _ hs x |
| 63 | |
| 64 | theorem _root_.OAI.AlgebraicGeometry.ComplexMultiplication.CMSiegelPhase.CM.SiegelPhase.pairing_mem_span_sparseThetaGradients [FiniteDimensional ℂ U] (x : L) : |
| 65 | P x ∈ Submodule.span ℂ (Set.range (Z.sparseThetaGradient P L x)) := by |
| 66 | have hw : ∀ l : L, ‖Z.gaussianWeight l‖ ≤ |
| 67 | Real.exp (-(Real.pi * Z.lowerBound) * ‖l‖ ^ 2 + 0 * ‖l‖) := by |
| 68 | intro l |
| 69 | simpa only [zero_mul, add_zero] using! Z.gaussianWeight_norm_le l |
| 70 | have h := SparseGaussianSpanning.CM.projected_mem_span_sparseGaussianSums L Z.gaussianWeight |
| 71 | ((2 * (Real.pi : ℂ) * Complex.I) • P) (Real.pi * Z.lowerBound) 0 |
| 72 | (mul_pos Real.pi_pos Z.lowerBound_pos) hw x (Z.gaussianWeight_ne_zero x) |
| 73 | have heq : Z.sparseThetaGradient P L x = SparseLatticeSums.CM.sparseLatticeSum L |
| 74 | (SparseGaussianSpanning.CM.weightedLatticeLinearTerm L Z.gaussianWeight ((2 * (Real.pi : ℂ) * Complex.I) • P)) x := |
| 75 | funext (Z.sparseThetaGradient_eq P L x) |
| 76 | rw [← heq] at h |
| 77 | exact (Submodule.smul_mem_iff _ theta_gradient_factor_ne_zero).mp h |
| 78 | |
| 79 | theorem _root_.OAI.AlgebraicGeometry.ComplexMultiplication.CMSiegelPhase.CM.SiegelPhase.sparseThetaGradient_eventually_ne_zero (x : L) (hx : P x ≠ 0) : |
| 80 | ∀ᶠ n : ℕ in atTop, Z.sparseThetaGradient P L x n ≠ 0 := by |
| 81 | have hw : ∀ l : L, ‖Z.gaussianWeight l‖ ≤ |
| 82 | Real.exp (-(Real.pi * Z.lowerBound) * ‖l‖ ^ 2 + 0 * ‖l‖) := by |
| 83 | intro l |
| 84 | simpa only [zero_mul, add_zero] using! Z.gaussianWeight_norm_le l |
| 85 | have h := SparseGaussianSpanning.CM.sparseGaussianSum_eventually_ne_zero L Z.gaussianWeight |
| 86 | ((2 * (Real.pi : ℂ) * Complex.I) • P) (Real.pi * Z.lowerBound) 0 |
| 87 | (mul_pos Real.pi_pos Z.lowerBound_pos) hw x (Z.gaussianWeight_ne_zero x) |
| 88 | (smul_ne_zero theta_gradient_factor_ne_zero hx) |
| 89 | filter_upwards [h] with n hn |
| 90 | rwa [Z.sparseThetaGradient_eq] |
| 91 | |
| 92 | /-- If projected lattice positions span the cotangent space, actual sparse |
| 93 | theta gradients span it as well. -/ |
| 94 | theorem _root_.OAI.AlgebraicGeometry.ComplexMultiplication.CMSiegelPhase.CM.SiegelPhase.span_sparseThetaGradients_eq_top [FiniteDimensional ℂ U] |
| 95 | (hP : Submodule.span ℂ (Set.range (fun x : L => P x)) = ⊤) : |
| 96 | Submodule.span ℂ (Set.range (fun an : L × ℕ => Z.sparseThetaGradient P L an.1 an.2)) = ⊤ := by |
| 97 | apply top_unique |
| 98 | rw [← hP] |
| 99 | apply Submodule.span_le.mpr |
| 100 | rintro y ⟨x, rfl⟩ |
| 101 | apply (Submodule.span_mono (show Set.range (Z.sparseThetaGradient P L x) ⊆ |
| 102 | Set.range (fun an : L × ℕ => Z.sparseThetaGradient P L an.1 an.2) from ?_)) |
| 103 | (Z.pairing_mem_span_sparseThetaGradients P L x) |
| 104 | rintro _ ⟨n, rfl⟩ |
| 105 | exact ⟨(x, n), rfl⟩ |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.AlgebraicGeometry.ComplexMultiplication.SiegelThetaSpanning.CM.SiegelPhase |