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.Calculus.FDeriv.OfCompLeft |
| 2 | import Mathlib.Analysis.Calculus.Deriv.Mul |
| 3 | import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculus |
| 4 | |
| 5 | /-! # Radial Logarithm -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.RadialLogarithm |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual local inverse is recovered by integrating its vertical |
| 12 | derivative along a radial segment. This lets a family logarithm be |
| 13 | compared with an integral of the invariant differential. -/ |
| 14 | |
| 15 | open Set _root_.Metric Filter |
| 16 | open scoped _root_.Topology |
| 17 | |
| 18 | variable {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] [CompleteSpace V] |
| 19 | |
| 20 | omit [CompleteSpace V] in |
| 21 | theorem local_inverse_hasFDerivAt |
| 22 | (f g : V → V) (D : V → V ≃L[ℝ] V) (U : Set V) (hU : IsOpen U) |
| 23 | (hg : ContinuousOn g U) |
| 24 | (hf : ∀ y ∈ U, HasFDerivAt f (D y).toContinuousLinearMap (g y)) |
| 25 | (hinv : ∀ y ∈ U, f (g y) = y) (y : V) (hy : y ∈ U) : |
| 26 | HasFDerivAt g (D y).symm.toContinuousLinearMap y := by |
| 27 | exact (hf y hy).of_local_left_inverse (hg.continuousAt (hU.mem_nhds hy)) |
| 28 | (Filter.mem_of_superset (hU.mem_nhds hy) (fun z hz => hinv z hz)) |
| 29 | |
| 30 | theorem local_inverse_eq_radial_integral |
| 31 | (f g : V → V) (D : V → V ≃L[ℝ] V) (r : ℝ) |
| 32 | (hg : ContinuousOn g (ball 0 r)) |
| 33 | (hf : ∀ y ∈ ball 0 r, HasFDerivAt f (D y).toContinuousLinearMap (g y)) |
| 34 | (hinv : ∀ y ∈ ball 0 r, f (g y) = y) (hzero : g 0 = 0) |
| 35 | (hD : ContinuousOn (fun y => (D y).symm.toContinuousLinearMap) (ball 0 r)) |
| 36 | (y : V) (hy : y ∈ ball 0 r) : |
| 37 | g y = ∫ t : ℝ in 0..1, (D (t • y)).symm y := by |
| 38 | have hsegment : MapsTo (fun t : ℝ => t • y) (uIcc 0 1) (ball 0 r) := by |
| 39 | intro t ht |
| 40 | have ht' : 0 ≤ t ∧ t ≤ 1 := by simpa only [uIcc_of_le zero_le_one, mem_Icc] using ht |
| 41 | rw [mem_ball, dist_zero_right, norm_smul, Real.norm_eq_abs, abs_of_nonneg ht'.1] |
| 42 | exact (mul_le_of_le_one_left (norm_nonneg y) ht'.2).trans_lt |
| 43 | (by simpa only [mem_ball, dist_zero_right] using hy) |
| 44 | have hd (t : ℝ) (ht : t ∈ uIcc 0 1) : |
| 45 | HasDerivAt (fun t : ℝ => g (t • y)) ((D (t • y)).symm y) t := by |
| 46 | simpa only [Function.comp_def, id_eq, one_smul, ContinuousLinearEquiv.coe_coe] using |
| 47 | (local_inverse_hasFDerivAt f g D (ball 0 r) isOpen_ball hg hf hinv _ |
| 48 | (hsegment ht)).comp_hasDerivAt t ((hasDerivAt_id t).smul_const y) |
| 49 | have hcont : ContinuousOn (fun t : ℝ => (D (t • y)).symm y) (uIcc 0 1) := |
| 50 | ((hD.comp (continuous_id.smul continuous_const).continuousOn hsegment).clm_apply |
| 51 | continuousOn_const) |
| 52 | have h := intervalIntegral.integral_eq_sub_of_hasDerivAt hd hcont.intervalIntegrable |
| 53 | simpa only [one_smul, zero_smul, hzero, sub_zero] using h.symm |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.RadialLogarithm |