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.TangentCone |
| 2 | import Mathlib.Algebra.Ring.GeomSum |
| 3 | |
| 4 | /-! # Tangent Powers -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.TangentPowers |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Positive powers preserve tangent spans in characteristic zero. |
| 11 | The argument uses a finite geometric sum and continuity of multiplication, |
| 12 | so it also applies to products with differently normalized local norms. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | open Set Filter _root_.Topology |
| 16 | |
| 17 | variable {κ A : Type*} [Field κ] [Ring A] [Algebra κ A] |
| 18 | |
| 19 | theorem scaled_power_displacement (N : ℕ) (c : κ) (d : A) : |
| 20 | c • ((1 + d) ^ N - 1) = |
| 21 | (∑ j ∈ Finset.range N, (1 + d) ^ j) * (c • d) := by |
| 22 | rw [← geom_sum_mul, mul_smul_comm] |
| 23 | congr 2 |
| 24 | abel |
| 25 | |
| 26 | variable [TopologicalSpace A] [IsTopologicalRing A] |
| 27 | |
| 28 | theorem power_mapsTo_tangentCone_of_eventually |
| 29 | (s t : Set A) (N : ℕ) (hpow : ∀ᶠ x in 𝓝 (1 : A), x ∈ s → x ^ N ∈ t) : |
| 30 | MapsTo (fun a : A => (N : κ) • a) (tangentConeAt κ s 1) (tangentConeAt κ t 1) := by |
| 31 | intro a ha |
| 32 | obtain ⟨α, l, hl, c, d, hd, hds, hcd⟩ := exists_fun_of_mem_tangentConeAt ha |
| 33 | have ht : Tendsto (fun x => (1 : A) + d x) l (𝓝 1) := by |
| 34 | simpa only [add_zero] using tendsto_const_nhds.add hd |
| 35 | have hp : Tendsto (fun x => ((1 : A) + d x) ^ N - 1) l (𝓝 0) := by |
| 36 | simpa only [one_pow, sub_self] using (ht.pow N).sub (tendsto_const_nhds (x := (1 : A))) |
| 37 | apply mem_tangentConeAt_of_seq l c (fun x => (1 + d x) ^ N - 1) hp |
| 38 | · filter_upwards [hds, ht hpow] with x hx hpx |
| 39 | have he : 1 + ((1 + d x) ^ N - 1) = (1 + d x) ^ N := by abel |
| 40 | exact he.symm ▸ hpx hx |
| 41 | · have hs : Continuous (fun z : A => ∑ j ∈ Finset.range N, z ^ j) := by fun_prop |
| 42 | have hlim := (hs.tendsto 1 |>.comp ht).mul hcd |
| 43 | simpa only [Function.comp_def, scaled_power_displacement, one_pow, Finset.sum_const, |
| 44 | Finset.card_range, smul_mul_assoc, one_mul, Nat.cast_smul_eq_nsmul] using hlim |
| 45 | |
| 46 | theorem tangentSpan_le_of_eventually_pow_mem [CharZero κ] |
| 47 | (s t : Set A) (N : ℕ) (hN : 0 < N) |
| 48 | (hpow : ∀ᶠ x in 𝓝 (1 : A), x ∈ s → x ^ N ∈ t) : |
| 49 | Submodule.span κ (tangentConeAt κ s 1) ≤ Submodule.span κ (tangentConeAt κ t 1) := by |
| 50 | apply Submodule.span_le.mpr |
| 51 | intro a ha |
| 52 | change a ∈ Submodule.span κ (tangentConeAt κ t 1) |
| 53 | have hna : (N : κ) • a ∈ Submodule.span κ (tangentConeAt κ t 1) := |
| 54 | Submodule.subset_span (power_mapsTo_tangentCone_of_eventually (κ := κ) s t N hpow ha) |
| 55 | have hc : (N : κ) ≠ 0 := Nat.cast_ne_zero.mpr hN.ne' |
| 56 | have hm := (Submodule.span κ (tangentConeAt κ t 1)).smul_mem (N : κ)⁻¹ hna |
| 57 | simpa only [smul_smul, inv_mul_cancel₀ hc, one_smul] using hm |
| 58 | |
| 59 | omit [IsTopologicalRing A] in |
| 60 | theorem eventually_group_pow_image_mem |
| 61 | {L : Type*} [Group L] [TopologicalSpace L] |
| 62 | (e : L →* A) (he : Topology.IsEmbedding e) (H : Subgroup L) (N : ℕ) |
| 63 | (hpow : ∀ᶠ g in 𝓝 (1 : L), g ^ N ∈ H) : |
| 64 | ∀ᶠ x in 𝓝 (1 : A), x ∈ range e → x ^ N ∈ e '' (H : Set L) := by |
| 65 | rw [he.isInducing.nhds_eq_comap (1 : L), map_one] at hpow |
| 66 | obtain ⟨V, hV, hVH⟩ := Filter.mem_comap.mp hpow |
| 67 | filter_upwards [hV] with x hx hrange |
| 68 | obtain ⟨g, rfl⟩ := hrange |
| 69 | exact ⟨g ^ N, hVH hx, map_pow e g N⟩ |
| 70 | |
| 71 | theorem tangentSpan_le_of_eventually_group_pow_mem [CharZero κ] |
| 72 | {L : Type*} [Group L] [TopologicalSpace L] |
| 73 | (e : L →* A) (he : Topology.IsEmbedding e) (H : Subgroup L) (N : ℕ) (hN : 0 < N) |
| 74 | (hpow : ∀ᶠ g in 𝓝 (1 : L), g ^ N ∈ H) : |
| 75 | Submodule.span κ (tangentConeAt κ (range e) 1) ≤ |
| 76 | Submodule.span κ (tangentConeAt κ (e '' (H : Set L)) 1) := |
| 77 | tangentSpan_le_of_eventually_pow_mem _ _ N hN |
| 78 | (eventually_group_pow_image_mem e he H N hpow) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.NumberTheory.Quaternion.Arithmetic.TangentPowers |