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.Analysis.InnerProductSpace.Calculus |
| 2 | import Mathlib.Analysis.SpecialFunctions.Log.Deriv |
| 3 | |
| 4 | /-! # Regularized Log Weight -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.RegularizedLogWeight |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual smooth regularized logarithmic point weights in the original finite-dimensional coordinate norm. -/ |
| 11 | |
| 12 | open scoped ContDiff |
| 13 | |
| 14 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 15 | |
| 16 | def regularizedNegativeLog (x : E) (m : ℕ) (ε : ℝ) (z : E) : ℝ := |
| 17 | -(m : ℝ) * Real.log (ε + ‖z - x‖ ^ 2) |
| 18 | |
| 19 | theorem regularizedNegativeLog_smooth (x : E) (m : ℕ) {ε : ℝ} (hε : 0 < ε) : |
| 20 | ContDiff ℝ ∞ (regularizedNegativeLog x m ε) := by |
| 21 | exact contDiff_const.mul ((contDiff_const.add ((contDiff_id.sub contDiff_const).norm_sq (𝕜 := ℝ))).log |
| 22 | (fun z => ne_of_gt (add_pos_of_pos_of_nonneg hε (sq_nonneg ‖z - x‖)))) |
| 23 | |
| 24 | omit [InnerProductSpace ℝ E] in |
| 25 | theorem regularizedNegativeLog_exp (x : E) (m : ℕ) {ε : ℝ} (hε : 0 < ε) (z : E) : |
| 26 | Real.exp (regularizedNegativeLog x m ε z) = ((ε + ‖z - x‖ ^ 2) ^ m)⁻¹ := by |
| 27 | rw [regularizedNegativeLog, neg_mul, Real.exp_neg, Real.exp_nat_mul, |
| 28 | Real.exp_log (add_pos_of_pos_of_nonneg hε (sq_nonneg ‖z - x‖))] |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.DivisorClass.Chern.RegularizedLogWeight |