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.Deriv.Slope |
| 2 | import Mathlib.Analysis.Calculus.TangentCone.Basic |
| 3 | |
| 4 | /-! # Curve Tangent Restriction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.CurveTangentRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A differentiable local curve supplies tangent directions over |
| 11 | any continuously embedded nontrivially normed scalar subfield. |
| 12 | No equality between the two fields' norm normalizations is required. -/ |
| 13 | |
| 14 | open Set Filter _root_.Topology |
| 15 | |
| 16 | theorem curve_slope_restrictScalars_tendsto |
| 17 | {κ K A : Type*} [NontriviallyNormedField κ] [NontriviallyNormedField K] |
| 18 | [Algebra κ K] [NormedAddCommGroup A] [NormedSpace K A] [Module κ A] |
| 19 | [IsScalarTower κ K A] (he : Continuous (algebraMap κ K)) |
| 20 | {f : K → A} {y : A} (hf : HasDerivAt f y 0) : |
| 21 | Tendsto (fun t : κ => t⁻¹ • (f (algebraMap κ K t) - f 0)) (𝓝[≠] 0) (𝓝 y) := by |
| 22 | have he₀ : Tendsto (algebraMap κ K) (𝓝[≠] (0 : κ)) (𝓝 (0 : K)) := by |
| 23 | simpa only [map_zero] using |
| 24 | (he.continuousAt (x := (0 : κ))).tendsto.mono_left |
| 25 | (nhdsWithin_le_nhds (s := ({0}ᶜ : Set κ))) |
| 26 | have he' : Tendsto (algebraMap κ K) (𝓝[≠] (0 : κ)) (𝓝[≠] (0 : K)) := by |
| 27 | apply tendsto_nhdsWithin_iff.mpr |
| 28 | refine ⟨he₀, ?_⟩ |
| 29 | filter_upwards [self_mem_nhdsWithin] with t ht |
| 30 | exact (map_ne_zero (algebraMap κ K)).mpr ht |
| 31 | have hlim := hf.tendsto_slope.comp he' |
| 32 | have heq : (fun t : κ => t⁻¹ • (f (algebraMap κ K t) - f 0)) = |
| 33 | (slope f 0 ∘ algebraMap κ K) := by |
| 34 | funext t |
| 35 | simp only [Function.comp_apply, slope, sub_zero] |
| 36 | rw [← map_inv₀] |
| 37 | exact (IsScalarTower.algebraMap_smul K t⁻¹ _).symm |
| 38 | exact heq.symm ▸ hlim |
| 39 | |
| 40 | theorem curve_derivative_mem_tangentCone_restrictScalars |
| 41 | {κ K A : Type*} [NontriviallyNormedField κ] [NontriviallyNormedField K] |
| 42 | [Algebra κ K] [NormedAddCommGroup A] [NormedSpace K A] [Module κ A] |
| 43 | [IsScalarTower κ K A] (he : Continuous (algebraMap κ K)) |
| 44 | {f : K → A} {y : A} (hf : HasDerivAt f y 0) {s : Set A} |
| 45 | (hs : ∀ᶠ t in 𝓝 (0 : K), f t ∈ s) : y ∈ tangentConeAt κ s (f 0) := by |
| 46 | have he₀ : Tendsto (algebraMap κ K) (𝓝[≠] (0 : κ)) (𝓝 (0 : K)) := by |
| 47 | simpa only [map_zero] using |
| 48 | (he.continuousAt (x := (0 : κ))).tendsto.mono_left |
| 49 | (nhdsWithin_le_nhds (s := ({0}ᶜ : Set κ))) |
| 50 | have hd : Tendsto (fun t : κ => f (algebraMap κ K t) - f 0) (𝓝[≠] 0) (𝓝 0) := by |
| 51 | simpa only [sub_self, Function.comp_def] using |
| 52 | (hf.continuousAt.tendsto.comp he₀).sub (tendsto_const_nhds (x := f 0)) |
| 53 | apply mem_tangentConeAt_of_seq (𝓝[≠] (0 : κ)) (fun t => t⁻¹) |
| 54 | (fun t => f (algebraMap κ K t) - f 0) hd |
| 55 | · filter_upwards [he₀ hs] with t ht |
| 56 | change f (algebraMap κ K t) ∈ s at ht |
| 57 | simpa only [← add_sub_assoc, add_sub_cancel_left] using ht |
| 58 | · exact curve_slope_restrictScalars_tendsto he hf |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.Quaternion.Arithmetic.CurveTangentRestriction |