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.QuadraticNormAt |
| 2 | |
| 3 | /-! # Ball Image -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.Local.BallImage.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A local image lemma that turns an exact norm identity into an exact image of small balls. -/ |
| 10 | |
| 11 | open Set _root_.Metric Filter |
| 12 | open scoped _root_.Topology |
| 13 | |
| 14 | theorem small_ball_image_of_norm_identity |
| 15 | {k : Type*} [NormedField k] (f : k → k) (d ε : ℝ) (hd : 0 < d) (hε : 0 < ε) |
| 16 | (hf : Filter.map f (𝓝 (0 : k)) = 𝓝 (0 : k)) |
| 17 | (hnorm : ∀ x : k, ‖x‖ < ε → ‖f x‖ = d * ‖x‖) : |
| 18 | ∃ r₀ : ℝ, 0 < r₀ ∧ r₀ ≤ ε ∧ ∀ r : ℝ, 0 < r → r ≤ r₀ → |
| 19 | f '' Metric.ball (0 : k) r = Metric.ball 0 (d * r) := by |
| 20 | have himage : f '' Metric.ball (0 : k) ε ∈ 𝓝 (0 : k) := by |
| 21 | rw [← hf] |
| 22 | exact Filter.image_mem_map (Metric.ball_mem_nhds _ hε) |
| 23 | obtain ⟨δ, hδ, hsub⟩ := Metric.mem_nhds_iff.mp himage |
| 24 | let r₀ := min ε (δ / d) |
| 25 | have hr₀ : 0 < r₀ := lt_min hε (div_pos hδ hd) |
| 26 | refine ⟨r₀, hr₀, min_le_left _ _, ?_⟩ |
| 27 | intro r hr hrr |
| 28 | have hre : r ≤ ε := hrr.trans (min_le_left _ _) |
| 29 | have hrd : d * r ≤ δ := by |
| 30 | have hh := hrr.trans (min_le_right ε (δ / d)) |
| 31 | exact (mul_comm d r).trans_le ((le_div_iff₀ hd).mp hh) |
| 32 | apply Set.ext |
| 33 | intro y |
| 34 | constructor |
| 35 | · rintro ⟨x, hx, rfl⟩ |
| 36 | have hx' : ‖x‖ < r := by simpa using hx |
| 37 | simpa only [Metric.mem_ball, dist_zero_right, hnorm x (hx'.trans_le hre)] using |
| 38 | (mul_lt_mul_of_pos_left hx' hd) |
| 39 | · intro hy |
| 40 | have hy' : ‖y‖ < d * r := by simpa using hy |
| 41 | obtain ⟨x, hx, hxy⟩ := hsub (show y ∈ Metric.ball 0 δ from by simpa using hy'.trans_le hrd) |
| 42 | have hx' : ‖x‖ < ε := by simpa using hx |
| 43 | refine ⟨x, ?_, hxy⟩ |
| 44 | have hn := hnorm x hx' |
| 45 | rw [hxy] at hn |
| 46 | have hlt : ‖x‖ < r := (mul_lt_mul_iff_right₀ hd).mp (by simpa [← hn] using hy') |
| 47 | simpa using hlt |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.RepresentationTheory.Weil.Local.BallImage.Construction |