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.RegularizedLogDifferential |
| 2 | import Mathlib.Analysis.Calculus.Deriv.Inv |
| 3 | |
| 4 | /-! # Regularized Log Hessian -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.RegularizedLogHessian |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Explicit actual second derivatives of the smooth 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 realInner_sub_hasFDerivAt (x z v : E) : |
| 19 | HasFDerivAt (fun y => inner ℝ (y - x) v) (innerSL ℝ v) z := by |
| 20 | simpa only [ContinuousLinearMap.comp_id, Function.comp_def, innerSL_apply_apply, real_inner_comm, id_eq] using! |
| 21 | ((innerSL ℝ v).hasFDerivAt.comp z ((hasFDerivAt_id z).sub_const x)) |
| 22 | |
| 23 | theorem regularizedNegativeLog_directional_hasFDerivAt (x : E) (m : ℕ) {ε : ℝ} (hε : 0 < ε) (z v : E) : |
| 24 | HasFDerivAt (fun y => fderiv ℝ (RegularizedLogWeight.regularizedNegativeLog x m ε) y v) |
| 25 | (-(2 * (m : ℝ)) • |
| 26 | (inner ℝ (z - x) v • (-((ε + ‖z - x‖ ^ 2) ^ 2)⁻¹ • (2 • innerSL ℝ (z - x))) + |
| 27 | (ε + ‖z - x‖ ^ 2)⁻¹ • innerSL ℝ v)) z := by |
| 28 | have hi := (hasDerivAt_inv (ne_of_gt (add_pos_of_pos_of_nonneg hε (sq_nonneg ‖z - x‖)))).comp_hasFDerivAt z |
| 29 | (RegularizedLogDifferential.regularizedNormSquare_hasFDerivAt x z ε) |
| 30 | have hp := ((realInner_sub_hasFDerivAt x z v).mul hi).const_mul (-(2 * (m : ℝ))) |
| 31 | have heq : (fun y => fderiv ℝ (RegularizedLogWeight.regularizedNegativeLog x m ε) y v) = |
| 32 | (fun y => -(2 * (m : ℝ)) * (inner ℝ (y - x) v * (ε + ‖y - x‖ ^ 2)⁻¹)) := by |
| 33 | funext y |
| 34 | rw [RegularizedLogDifferential.regularizedNegativeLog_fderiv_apply x m hε y v] |
| 35 | ring |
| 36 | rw [heq] |
| 37 | exact hp |
| 38 | |
| 39 | theorem regularizedNegativeLog_second_apply (x : E) (m : ℕ) {ε : ℝ} (hε : 0 < ε) (z v w : E) : |
| 40 | fderiv ℝ (fun y => fderiv ℝ (RegularizedLogWeight.regularizedNegativeLog x m ε) y v) z w = |
| 41 | -(2 * (m : ℝ)) * inner ℝ v w / (ε + ‖z - x‖ ^ 2) + |
| 42 | (4 * (m : ℝ)) * inner ℝ (z - x) v * inner ℝ (z - x) w / (ε + ‖z - x‖ ^ 2) ^ 2 := by |
| 43 | rw [(regularizedNegativeLog_directional_hasFDerivAt x m hε z v).fderiv] |
| 44 | simp only [_root_.smul_apply, _root_.add_apply, innerSL_apply_apply, smul_eq_mul] |
| 45 | ring |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.DivisorClass.Chern.RegularizedLogHessian |