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.RepresentationTheory.Weil.Local.NormChartOperations |
| 2 | import Mathlib.Topology.Algebra.OpenSubgroup |
| 3 | |
| 4 | /-! # Norm Small Subgroup -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.Local.NormSmallSubgroup.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Small open subgroups of the compact quadratic norm-one group. -/ |
| 11 | |
| 12 | open Set _root_.Metric Filter |
| 13 | open scoped _root_.Topology |
| 14 | |
| 15 | variable {k : Type*} [NormedField k] [IsUltrametricDist k] |
| 16 | |
| 17 | def normSmallSubgroup (h : ¬ ∃ t : k, t ^ 2 = -1) |
| 18 | (r : ℝ) (hr : 0 < r) (hr1 : r ≤ 1) : Subgroup (QuadraticNormAt.Construction.QuadraticNormOne k) where |
| 19 | carrier := {p | ∃ t : k, ‖t‖ < r ∧ QuadraticNormAt.Construction.quadraticNormChart h t = p} |
| 20 | one_mem' := ⟨0, by simpa using hr, QuadraticNormAt.Construction.quadraticNormChart_zero h⟩ |
| 21 | mul_mem' := by |
| 22 | rintro p q ⟨t, ht, rfl⟩ ⟨u, hu, rfl⟩ |
| 23 | have hn := NormChartOperations.Construction.one_sub_mul_norm_eq_one t u (ht.trans_le hr1) (hu.trans_le hr1) |
| 24 | have hd : 1 - t * u ≠ 0 := by intro he; simp [he] at hn |
| 25 | refine ⟨(t + u) / (1 - t * u), ?_, (NormChartOperations.Construction.quadraticNormChart_mul h t u hd).symm⟩ |
| 26 | exact (NormChartOperations.Construction.norm_normChart_product_coordinate_le t u (ht.trans_le hr1) (hu.trans_le hr1)).trans_lt |
| 27 | (max_lt ht hu) |
| 28 | inv_mem' := by |
| 29 | rintro p ⟨t, ht, rfl⟩ |
| 30 | exact ⟨-t, by simpa only [norm_neg] using ht, (NormChartOperations.Construction.quadraticNormChart_inv h t).symm⟩ |
| 31 | |
| 32 | theorem mem_normSmallSubgroup_iff [CharZero k] |
| 33 | (h : ¬ ∃ t : k, t ^ 2 = -1) (r : ℝ) (hr : 0 < r) (hr1 : r ≤ 1) |
| 34 | (p : QuadraticNormAt.Construction.QuadraticNormOne k) : |
| 35 | p ∈ normSmallSubgroup h r hr hr1 ↔ |
| 36 | p ≠ QuadraticNormAt.Construction.QuadraticNormOne.minusOne ∧ ‖QuadraticNormAt.Construction.quadraticNormCoordinate p‖ < r := by |
| 37 | constructor |
| 38 | · rintro ⟨t, ht, rfl⟩ |
| 39 | exact ⟨QuadraticNormAt.Construction.quadraticNormChart_ne_minusOne h t, by simpa only [QuadraticNormAt.Construction.quadraticNormCoordinate_chart] using ht⟩ |
| 40 | · rintro ⟨hp, ht⟩ |
| 41 | exact ⟨QuadraticNormAt.Construction.quadraticNormCoordinate p, ht, QuadraticNormAt.Construction.quadraticNormChart_coordinate h p hp⟩ |
| 42 | |
| 43 | theorem normSmallSubgroup_isOpen [CharZero k] |
| 44 | (h : ¬ ∃ t : k, t ^ 2 = -1) (r : ℝ) (hr : 0 < r) (hr1 : r ≤ 1) : |
| 45 | IsOpen (normSmallSubgroup h r hr hr1 : Set (QuadraticNormAt.Construction.QuadraticNormOne k)) := by |
| 46 | apply isOpen_iff_mem_nhds.mpr |
| 47 | intro p hp |
| 48 | obtain ⟨hpne, hpn⟩ := (mem_normSmallSubgroup_iff h r hr hr1 p).mp hp |
| 49 | have hne : {q : QuadraticNormAt.Construction.QuadraticNormOne k | q ≠ QuadraticNormAt.Construction.QuadraticNormOne.minusOne} ∈ 𝓝 p := |
| 50 | isOpen_ne.mem_nhds hpne |
| 51 | have hnorm : {q : QuadraticNormAt.Construction.QuadraticNormOne k | ‖QuadraticNormAt.Construction.quadraticNormCoordinate q‖ < r} ∈ 𝓝 p := |
| 52 | (QuadraticNormAt.Construction.quadraticNormCoordinate_continuousAt p hpne).norm.preimage_mem_nhds |
| 53 | (isOpen_Iio.mem_nhds hpn) |
| 54 | exact Filter.mem_of_superset (Filter.inter_mem hne hnorm) fun q hq => |
| 55 | (mem_normSmallSubgroup_iff h r hr hr1 q).mpr hq |
| 56 | |
| 57 | theorem normSmallSubgroup_no_two_torsion [CharZero k] |
| 58 | (h : ¬ ∃ t : k, t ^ 2 = -1) (r : ℝ) (hr : 0 < r) (hr1 : r ≤ 1) |
| 59 | (p : QuadraticNormAt.Construction.QuadraticNormOne k) (hp : p ∈ normSmallSubgroup h r hr hr1) (hp2 : p ^ 2 = 1) : p = 1 := by |
| 60 | rcases (QuadraticNormAt.Construction.QuadraticNormOne.sq_eq_one_iff p).mp hp2 with hp1 | hpm |
| 61 | · exact hp1 |
| 62 | · exact ((mem_normSmallSubgroup_iff h r hr hr1 p).mp hp).1 hpm |>.elim |
| 63 | |
| 64 | def normSmallChart [CharZero k] |
| 65 | (h : ¬ ∃ t : k, t ^ 2 = -1) (r : ℝ) (hr : 0 < r) (hr1 : r ≤ 1) : |
| 66 | Metric.ball (0 : k) r ≃ normSmallSubgroup h r hr hr1 where |
| 67 | toFun t := ⟨QuadraticNormAt.Construction.quadraticNormChart h t.val, t.val, |
| 68 | by simpa only [Metric.mem_ball, dist_zero_right] using t.property, rfl⟩ |
| 69 | invFun p := ⟨QuadraticNormAt.Construction.quadraticNormCoordinate p.val, by |
| 70 | simpa only [Metric.mem_ball, dist_zero_right] using |
| 71 | ((mem_normSmallSubgroup_iff h r hr hr1 p.val).mp p.property).2⟩ |
| 72 | left_inv t := by apply Subtype.ext; exact QuadraticNormAt.Construction.quadraticNormCoordinate_chart h t.val |
| 73 | right_inv p := by |
| 74 | apply Subtype.ext |
| 75 | exact QuadraticNormAt.Construction.quadraticNormChart_coordinate h p.val |
| 76 | ((mem_normSmallSubgroup_iff h r hr hr1 p.val).mp p.property).1 |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.RepresentationTheory.Weil.Local.NormSmallSubgroup.Construction |