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.ArithmeticGroups.Lattices.InvariantGap |
| 2 | |
| 3 | /-! # Family Gap -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Compact.FamilyGap.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A compact family of continuous functions vanishing at zero gives |
| 10 | a uniform vector gap whenever one value is discrete and nonzero. -/ |
| 11 | |
| 12 | open scoped _root_.Topology |
| 13 | open Set Filter _root_.Metric |
| 14 | |
| 15 | theorem uniform_gap_of_compact_family_discrete_values |
| 16 | {P E F : Type*} [TopologicalSpace P] [NormedAddCommGroup E] |
| 17 | [TopologicalSpace F] [Zero F] |
| 18 | (K : Set P) (hK : IsCompact K) (f : P × E → F) (hf : Continuous f) |
| 19 | (hf0 : ∀ p ∈ K, f (p, 0) = 0) |
| 20 | (D : Set F) (hD : IsDiscrete D) (hD0 : (0 : F) ∈ D) : |
| 21 | ∃ ε : ℝ, 0 < ε ∧ ∀ p ∈ K, ∀ x, f (p, x) ∈ D → f (p, x) ≠ 0 → ε ≤ ‖x‖ := by |
| 22 | obtain ⟨U, hU, hUD⟩ := isDiscrete_iff_forall_mem_exists_isOpen.mp hD 0 hD0 |
| 23 | have hU0 : (0 : F) ∈ U := by |
| 24 | have h : (0 : F) ∈ U ∩ D := hUD.symm ▸ mem_singleton 0 |
| 25 | exact h.1 |
| 26 | have he : ∀ᶠ x in 𝓝 (0 : E), ∀ p ∈ K, f (p, x) ∈ U := by |
| 27 | apply hK.eventually_forall_of_forall_eventually |
| 28 | intro p hp |
| 29 | have hc : Continuous (fun z : E × P => f (z.2, z.1)) := hf.comp continuous_swap |
| 30 | exact hc.continuousAt (hU.mem_nhds (by simpa only [hf0 p hp] using hU0)) |
| 31 | obtain ⟨ε, hε, hball⟩ := Metric.mem_nhds_iff.mp he |
| 32 | refine ⟨ε, hε, fun p hp x hx hx0 => ?_⟩ |
| 33 | by_contra hle |
| 34 | have hxball : x ∈ Metric.ball 0 ε := by |
| 35 | simpa only [Metric.mem_ball, dist_zero_right] using lt_of_not_ge hle |
| 36 | exact hx0 (mem_singleton_iff.mp (hUD ▸ ⟨hball hxball p hp, hx⟩)) |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Compact.FamilyGap.Construction |