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.DivisorClass.Chern.RegularizedLogWeight |
| 2 | import Mathlib.Analysis.SpecialFunctions.Sqrt |
| 3 | import Mathlib.MeasureTheory.Integral.Bochner.Set |
| 4 | import Mathlib.Tactic |
| 5 | |
| 6 | /-! # Regularized Point Weight -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.RegularizedPointWeight |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual reciprocal-power point weights and their quantitative comparison on a shrinking coordinate ball. -/ |
| 13 | |
| 14 | open _root_.MeasureTheory _root_.Metric Set |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | |
| 19 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 20 | |
| 21 | def regularizedPointWeight (m : ℕ) (ε : ℝ) (z : E) : ℝ := |
| 22 | ((ε + ‖z‖ ^ 2) ^ m)⁻¹ |
| 23 | |
| 24 | theorem regularizedPointWeight_continuous (m : ℕ) {ε : ℝ} (hε : 0 < ε) : |
| 25 | Continuous (regularizedPointWeight (E := E) m ε) := by |
| 26 | have h := Real.continuous_exp.comp (RegularizedLogWeight.regularizedNegativeLog_smooth (0 : E) m hε).continuous |
| 27 | simpa only [Function.comp_def, RegularizedLogWeight.regularizedNegativeLog_exp (0 : E) m hε, sub_zero, |
| 28 | regularizedPointWeight] using! h |
| 29 | |
| 30 | omit [InnerProductSpace ℝ E] in |
| 31 | theorem regularizedPointWeight_nonneg (m : ℕ) {ε : ℝ} (hε : 0 < ε) (z : E) : |
| 32 | 0 ≤ regularizedPointWeight m ε z := |
| 33 | inv_nonneg.mpr (pow_nonneg (add_nonneg hε.le (sq_nonneg ‖z‖)) m) |
| 34 | |
| 35 | omit [InnerProductSpace ℝ E] in |
| 36 | theorem regularizedPointWeight_ball_bound (m : ℕ) {ε : ℝ} (hε : 0 < ε) |
| 37 | {z : E} (hz : z ∈ ball (0 : E) (Real.sqrt ε)) (a : ℝ) (ha : 0 ≤ a) : |
| 38 | a ≤ (2 * ε) ^ m * (regularizedPointWeight m ε z * a) := by |
| 39 | have hz' : ‖z‖ < Real.sqrt ε := by simpa only [mem_ball, dist_zero_right] using hz |
| 40 | have hz2 : ‖z‖ ^ 2 ≤ ε := by |
| 41 | have hs := Real.sq_sqrt hε.le |
| 42 | have hn := norm_nonneg z |
| 43 | nlinarith [Real.sqrt_nonneg ε] |
| 44 | have hq : 0 < ε + ‖z‖ ^ 2 := add_pos_of_pos_of_nonneg hε (sq_nonneg ‖z‖) |
| 45 | have hp : (ε + ‖z‖ ^ 2) ^ m ≤ (2 * ε) ^ m := |
| 46 | pow_le_pow_left₀ hq.le (by linarith) m |
| 47 | have hb := mul_le_mul_of_nonneg_right hp (inv_nonneg.mpr (pow_nonneg hq.le m)) |
| 48 | rw [mul_inv_cancel₀ (pow_ne_zero m hq.ne')] at hb |
| 49 | have hc := mul_le_mul_of_nonneg_right hb ha |
| 50 | simpa only [one_mul, mul_assoc, regularizedPointWeight] using hc |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.DivisorClass.Chern.RegularizedPointWeight |