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.NormSmallSubgroup |
| 2 | import OAI.RepresentationTheory.Weil.Local.QuadraticNormSubgroup |
| 3 | |
| 4 | /-! # Norm Square Classes -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.Local.NormSquareClasses.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Squares and square cosets in a small norm-one subgroup. -/ |
| 11 | |
| 12 | open Set _root_.Metric |
| 13 | |
| 14 | variable {k : Type*} [NormedField k] [IsUltrametricDist k] [CharZero k] |
| 15 | |
| 16 | theorem normSmall_mem_squares_iff |
| 17 | (h : ¬ ∃ t : k, t ^ 2 = -1) (r : ℝ) (hr : 0 < r) (hr1 : r ≤ 1) |
| 18 | (himage : (SquareBall.Construction.normOneSquareCoordinate : k → k) '' Metric.ball 0 r = |
| 19 | Metric.ball 0 (‖(2 : k)‖ * r)) |
| 20 | (a : NormSmallSubgroup.Construction.normSmallSubgroup h r hr hr1) : |
| 21 | a ∈ QuadraticNormSubgroup.Construction.squareUnitsSubgroup (NormSmallSubgroup.Construction.normSmallSubgroup h r hr hr1) ↔ |
| 22 | ‖QuadraticNormAt.Construction.quadraticNormCoordinate a.val‖ < ‖(2 : k)‖ * r := by |
| 23 | have hsq (b : NormSmallSubgroup.Construction.normSmallSubgroup h r hr hr1) : |
| 24 | QuadraticNormAt.Construction.quadraticNormCoordinate (b.val ^ 2) = SquareBall.Construction.normOneSquareCoordinate (QuadraticNormAt.Construction.quadraticNormCoordinate b.val) := by |
| 25 | obtain ⟨t, ht, he⟩ := b.property |
| 26 | have hn := NormChartOperations.Construction.one_sub_mul_norm_eq_one t t (ht.trans_le hr1) (ht.trans_le hr1) |
| 27 | have hd : 1 - t ^ 2 ≠ 0 := by |
| 28 | intro hz |
| 29 | rw [← pow_two, hz, norm_zero] at hn |
| 30 | exact zero_ne_one hn |
| 31 | rw [← he, QuadraticNormAt.Construction.quadraticNormCoordinate_chart, NormChartOperations.Construction.quadraticNormChart_sq h t hd, |
| 32 | QuadraticNormAt.Construction.quadraticNormCoordinate_chart] |
| 33 | constructor |
| 34 | · rintro ⟨b, hb⟩ |
| 35 | have hb' : b.val ^ 2 = a.val := congrArg Subtype.val hb |
| 36 | have ht : QuadraticNormAt.Construction.quadraticNormCoordinate b.val ∈ Metric.ball (0 : k) r := by |
| 37 | simpa only [Metric.mem_ball, dist_zero_right] using |
| 38 | ((NormSmallSubgroup.Construction.mem_normSmallSubgroup_iff h r hr hr1 b.val).mp b.property).2 |
| 39 | have he : SquareBall.Construction.normOneSquareCoordinate (QuadraticNormAt.Construction.quadraticNormCoordinate b.val) = QuadraticNormAt.Construction.quadraticNormCoordinate a.val := by |
| 40 | rw [← hsq, hb'] |
| 41 | have hm : QuadraticNormAt.Construction.quadraticNormCoordinate a.val ∈ (SquareBall.Construction.normOneSquareCoordinate : k → k) '' Metric.ball 0 r := |
| 42 | ⟨_, ht, he⟩ |
| 43 | rw [himage] at hm |
| 44 | simpa only [Metric.mem_ball, dist_zero_right] using hm |
| 45 | · intro ha |
| 46 | have hm : QuadraticNormAt.Construction.quadraticNormCoordinate a.val ∈ (SquareBall.Construction.normOneSquareCoordinate : k → k) '' Metric.ball 0 r := by |
| 47 | rw [himage] |
| 48 | simpa only [Metric.mem_ball, dist_zero_right] using ha |
| 49 | obtain ⟨t, ht, he⟩ := hm |
| 50 | have ht' : ‖t‖ < r := by simpa only [Metric.mem_ball, dist_zero_right] using ht |
| 51 | have hn := NormChartOperations.Construction.one_sub_mul_norm_eq_one t t (ht'.trans_le hr1) (ht'.trans_le hr1) |
| 52 | have hd : 1 - t ^ 2 ≠ 0 := by |
| 53 | intro hz |
| 54 | rw [← pow_two, hz, norm_zero] at hn |
| 55 | exact zero_ne_one hn |
| 56 | refine ⟨NormSmallSubgroup.Construction.normSmallChart h r hr hr1 ⟨t, ht⟩, ?_⟩ |
| 57 | apply Subtype.ext |
| 58 | change QuadraticNormAt.Construction.quadraticNormChart h t ^ 2 = a.val |
| 59 | rw [NormChartOperations.Construction.quadraticNormChart_sq h t hd, he] |
| 60 | exact QuadraticNormAt.Construction.quadraticNormChart_coordinate h a.val |
| 61 | ((NormSmallSubgroup.Construction.mem_normSmallSubgroup_iff h r hr hr1 a.val).mp a.property).1 |
| 62 | |
| 63 | theorem normSmall_inverse_mul_norm |
| 64 | (h : ¬ ∃ t : k, t ^ 2 = -1) (r : ℝ) (hr : 0 < r) (hr1 : r ≤ 1) |
| 65 | (a b : NormSmallSubgroup.Construction.normSmallSubgroup h r hr hr1) : |
| 66 | ‖QuadraticNormAt.Construction.quadraticNormCoordinate (a⁻¹ * b).val‖ = |
| 67 | ‖QuadraticNormAt.Construction.quadraticNormCoordinate b.val - QuadraticNormAt.Construction.quadraticNormCoordinate a.val‖ := by |
| 68 | obtain ⟨t, ht, he⟩ := a.property |
| 69 | obtain ⟨u, hu, he'⟩ := b.property |
| 70 | have hn := NormChartOperations.Construction.one_sub_mul_norm_eq_one (-t) u (by simpa only [norm_neg] using ht.trans_le hr1) |
| 71 | (hu.trans_le hr1) |
| 72 | have hd : 1 - (-t) * u ≠ 0 := by intro hz; rw [hz, norm_zero] at hn; exact zero_ne_one hn |
| 73 | change ‖QuadraticNormAt.Construction.quadraticNormCoordinate (a.val⁻¹ * b.val)‖ = _ |
| 74 | rw [← he, ← he', QuadraticNormAt.Construction.quadraticNormCoordinate_chart, QuadraticNormAt.Construction.quadraticNormCoordinate_chart, |
| 75 | NormChartOperations.Construction.quadraticNormChart_inv, NormChartOperations.Construction.quadraticNormChart_mul h (-t) u hd, QuadraticNormAt.Construction.quadraticNormCoordinate_chart, |
| 76 | norm_div, hn, div_one] |
| 77 | congr 1 |
| 78 | ring |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.RepresentationTheory.Weil.Local.NormSquareClasses.Construction |