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.Algebra.Module.ZLattice.Summable |
| 2 | import Mathlib.Analysis.SpecialFunctions.Exp |
| 3 | import Mathlib.Topology.DiscreteSubset |
| 4 | |
| 5 | /-! # Lattice Gaussian -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.LatticeGaussian.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Gaussian series on discrete lattices, including polynomial factors and |
| 12 | arbitrary linear terms in the exponent. These estimates supply locally |
| 13 | uniform bounds for theta sections and their derivatives. -/ |
| 14 | |
| 15 | open Filter _root_.Topology |
| 16 | |
| 17 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 18 | [FiniteDimensional ℝ V] (L : Submodule ℤ V) [DiscreteTopology L] |
| 19 | |
| 20 | /-- Only finitely many vectors of a discrete lattice have bounded norm. -/ |
| 21 | theorem lattice_norm_tendsto_cofinite : |
| 22 | Tendsto (fun l : L => ‖l‖) cofinite atTop := by |
| 23 | have hs : IsClosed (L : Set V) := @AddSubgroup.isClosed_of_discreteTopology _ _ _ _ _ |
| 24 | L.toAddSubgroup (inferInstanceAs (DiscreteTopology L)) |
| 25 | change Tendsto (fun l : L => ‖(l : V)‖) cofinite atTop |
| 26 | exact (tendsto_norm_cocompact_atTop : Tendsto (norm : V → ℝ) (cocompact V) atTop).comp |
| 27 | (hs.tendsto_coe_cofinite_of_isDiscrete DiscreteTopology.isDiscrete) |
| 28 | |
| 29 | /-- A quadratic Gaussian with any polynomial prefactor eventually beats every inverse power. -/ |
| 30 | theorem gaussian_poly_eventually_le (a b : ℝ) (ha : 0 < a) (k n : ℕ) : |
| 31 | ∀ᶠ x : ℝ in atTop, |
| 32 | ‖x ^ k * Real.exp (-a * x ^ 2 + b * x)‖ ≤ x⁻¹ ^ n := by |
| 33 | have hp := (Real.tendsto_pow_mul_exp_neg_atTop_nhds_zero (k + n)).eventually |
| 34 | (gt_mem_nhds (show (0 : ℝ) < 1 by norm_num)) |
| 35 | filter_upwards [eventually_ge_atTop (1 : ℝ), eventually_ge_atTop ((b + 1) / a), hp] |
| 36 | with x hx hxa hxp |
| 37 | have hx0 : 0 < x := lt_of_lt_of_le zero_lt_one hx |
| 38 | have hax : b + 1 ≤ a * x := by |
| 39 | simpa only [mul_comm] using (div_le_iff₀ ha).mp hxa |
| 40 | have hex : -a * x ^ 2 + b * x ≤ -x := by |
| 41 | nlinarith [mul_nonneg (sub_nonneg.mpr hax) hx0.le] |
| 42 | rw [Real.norm_eq_abs, abs_of_nonneg (mul_nonneg (pow_nonneg hx0.le _) (Real.exp_pos _).le), |
| 43 | inv_pow, inv_eq_one_div, le_div_iff₀ (pow_pos hx0 n)] |
| 44 | calc |
| 45 | x ^ k * Real.exp (-a * x ^ 2 + b * x) * x ^ n ≤ |
| 46 | x ^ k * Real.exp (-x) * x ^ n := by gcongr |
| 47 | _ = x ^ (k + n) * Real.exp (-x) := by rw [pow_add]; ring |
| 48 | _ ≤ 1 := hxp.le |
| 49 | |
| 50 | /-- Gaussian decay is summable on the actual lattice in its ambient norm. -/ |
| 51 | theorem lattice_gaussian_poly_summable (a b : ℝ) (ha : 0 < a) (k : ℕ) : |
| 52 | Summable (fun l : L => ‖l‖ ^ k * Real.exp (-a * ‖l‖ ^ 2 + b * ‖l‖)) := by |
| 53 | let n := Module.finrank ℤ L + 1 |
| 54 | apply (ZLattice.summable_norm_pow_inv L n (by dsimp [n]; omega)).of_norm_bounded_eventually |
| 55 | exact (lattice_norm_tendsto_cofinite L).eventually (gaussian_poly_eventually_le a b ha k n) |
| 56 | |
| 57 | theorem lattice_gaussian_summable (a b : ℝ) (ha : 0 < a) : |
| 58 | Summable (fun l : L => Real.exp (-a * ‖l‖ ^ 2 + b * ‖l‖)) := by |
| 59 | simpa only [pow_zero, one_mul] using lattice_gaussian_poly_summable L a b ha 0 |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.ComplexMultiplication.LatticeGaussian.CM |