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.Calculus.FDeriv.Mul |
| 3 | |
| 4 | /-! # Regularized Log Differential -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.RegularizedLogDifferential |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Explicit first derivatives of the actual regularized logarithmic point potential. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | |
| 16 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 17 | |
| 18 | theorem regularizedNormSquare_hasFDerivAt (x z : E) (ε : ℝ) : |
| 19 | HasFDerivAt (fun y : E => ε + ‖y - x‖ ^ 2) (2 • innerSL ℝ (z - x)) z := by |
| 20 | simpa only [ContinuousLinearMap.comp_id, id_eq] using |
| 21 | (((hasFDerivAt_id z).sub_const x).norm_sq.const_add ε) |
| 22 | |
| 23 | theorem regularizedNegativeLog_hasFDerivAt (x : E) (m : ℕ) {ε : ℝ} (hε : 0 < ε) (z : E) : |
| 24 | HasFDerivAt (RegularizedLogWeight.regularizedNegativeLog x m ε) |
| 25 | ((-(m : ℝ)) • ((ε + ‖z - x‖ ^ 2)⁻¹ • (2 • innerSL ℝ (z - x)))) z := |
| 26 | ((regularizedNormSquare_hasFDerivAt x z ε).log |
| 27 | (ne_of_gt (add_pos_of_pos_of_nonneg hε (sq_nonneg ‖z - x‖)))).const_mul (-(m : ℝ)) |
| 28 | |
| 29 | theorem regularizedNegativeLog_fderiv_apply (x : E) (m : ℕ) {ε : ℝ} (hε : 0 < ε) (z v : E) : |
| 30 | fderiv ℝ (RegularizedLogWeight.regularizedNegativeLog x m ε) z v = |
| 31 | -(2 * (m : ℝ)) * inner ℝ (z - x) v / (ε + ‖z - x‖ ^ 2) := by |
| 32 | rw [(regularizedNegativeLog_hasFDerivAt x m hε z).fderiv] |
| 33 | simp only [_root_.smul_apply, innerSL_apply_apply, smul_eq_mul] |
| 34 | ring |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.DivisorClass.Chern.RegularizedLogDifferential |