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.NumberTheory.Quaternion.Arithmetic.LocalCompletion |
| 2 | import Mathlib.Analysis.Calculus.Deriv.Mul |
| 3 | import Mathlib.Analysis.Calculus.Deriv.Comp |
| 4 | |
| 5 | /-! # Local Exp Derivative -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.Quaternion.Arithmetic.LocalExpDerivative |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The derivative of an exponential curve inside its actual convergence |
| 12 | disk. The argument uses the addition formula and the derivative at zero. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | open NormedSpace Filter _root_.Topology |
| 16 | |
| 17 | variable {K A : Type*} [NontriviallyNormedField K] [CharZero K] |
| 18 | [NormedRing A] [NormedAlgebra K A] [CompleteSpace A] |
| 19 | |
| 20 | omit [CharZero K] [CompleteSpace A] in |
| 21 | theorem local_exp_smul_eventually_mem_ball (hr : 0 < (expSeries K A).radius) (X : A) : |
| 22 | ∀ᶠ t : K in 𝓝 0, t • X ∈ Metric.eball 0 (expSeries K A).radius := by |
| 23 | have hc : ContinuousAt (fun t : K => t • X) 0 := |
| 24 | (continuous_id.smul continuous_const).continuousAt |
| 25 | apply hc.preimage_mem_nhds |
| 26 | simpa only [zero_smul] using Metric.eball_mem_nhds (0 : A) hr |
| 27 | |
| 28 | theorem local_exp_hasFDerivAt_zero (hr : 0 < (expSeries K A).radius) : |
| 29 | HasFDerivAt (exp : A → A) (ContinuousLinearMap.id K A) 0 := by |
| 30 | have h := (hasFPowerSeriesAt_exp_zero_of_radius_pos hr).hasFDerivAt |
| 31 | have he : continuousMultilinearCurryFin1 K A A (expSeries K A 1) = |
| 32 | ContinuousLinearMap.id K A := by |
| 33 | ext X |
| 34 | simp [expSeries] |
| 35 | rwa [he] at h |
| 36 | |
| 37 | theorem local_exp_smul_hasDerivAt (hr : 0 < (expSeries K A).radius) |
| 38 | (X : A) (t : K) (ht : t • X ∈ Metric.eball 0 (expSeries K A).radius) : |
| 39 | HasDerivAt (fun s : K => exp (s • X)) (exp (t • X) * X) t := by |
| 40 | have hs : HasDerivAt (fun s : K => (s - t) • X) X t := by |
| 41 | simpa using ((hasDerivAt_id t).sub_const t).smul_const X |
| 42 | have he : HasDerivAt (fun s : K => exp ((s - t) • X)) X t := by |
| 43 | have h0 : HasFDerivAt (exp : A → A) (ContinuousLinearMap.id K A) ((t - t) • X) := by |
| 44 | simpa only [sub_self, zero_smul] using local_exp_hasFDerivAt_zero hr |
| 45 | exact h0.comp_hasDerivAt t hs |
| 46 | have hm := he.const_mul (exp (t • X)) |
| 47 | apply hm.congr_of_eventuallyEq |
| 48 | have hz : (0 : A) ∈ Metric.eball 0 (expSeries K A).radius := by simpa using hr |
| 49 | have hnear : ∀ᶠ s : K in 𝓝 t, (s - t) • X ∈ Metric.eball 0 (expSeries K A).radius := |
| 50 | hs.continuousAt.preimage_mem_nhds (by simpa using Metric.isOpen_eball.mem_nhds hz) |
| 51 | filter_upwards [hnear] with s hs |
| 52 | have hcomm : Commute (t • X) ((s - t) • X) := |
| 53 | ((Commute.refl X).smul_left t).smul_right (s - t) |
| 54 | have hsum : t • X + (s - t) • X = s • X := by |
| 55 | rw [← add_smul, add_sub_cancel] |
| 56 | simpa only [hsum] using exp_add_of_commute_of_mem_ball hcomm ht hs |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.Quaternion.Arithmetic.LocalExpDerivative |