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 Mathlib.Analysis.Normed.Module.FiniteDimension |
| 2 | import Mathlib.Analysis.Complex.Basic |
| 3 | import Mathlib.Topology.Sets.Opens |
| 4 | import Mathlib.Topology.Compactness.SigmaCompact |
| 5 | |
| 6 | /-! # Parameter Exhaustion -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Open.ParameterExhaustion.Dolbeault |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Compact exhaustion sets inside an open finite-dimensional parameter |
| 13 | domain, eventually containing a full neighborhood of each parameter. -/ |
| 14 | |
| 15 | open _root_.TopologicalSpace Set Filter |
| 16 | open scoped _root_.Topology |
| 17 | |
| 18 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] [FiniteDimensional ℝ P] |
| 19 | |
| 20 | local instance : ProperSpace P := FiniteDimensional.proper ℝ P |
| 21 | |
| 22 | local instance (S : Opens P) : LocallyCompactSpace S := S.isOpen.locallyCompactSpace |
| 23 | |
| 24 | def openParameterCompact (S : Opens P) (n : ℕ) : Set P := |
| 25 | Subtype.val '' (CompactExhaustion.choice S) n |
| 26 | |
| 27 | theorem openParameterCompact_isCompact (S : Opens P) (n : ℕ) : |
| 28 | IsCompact (openParameterCompact S n) := |
| 29 | ((CompactExhaustion.choice S).isCompact n).image continuous_subtype_val |
| 30 | |
| 31 | theorem openParameterCompact_subset (S : Opens P) (n : ℕ) : |
| 32 | openParameterCompact S n ⊆ (S : Set P) := by |
| 33 | rintro p ⟨q, _, rfl⟩ |
| 34 | exact q.property |
| 35 | |
| 36 | theorem openParameterCompact_mono (S : Opens P) {m n : ℕ} (h : m ≤ n) : |
| 37 | openParameterCompact S m ⊆ openParameterCompact S n := |
| 38 | image_mono ((CompactExhaustion.choice S).subset h) |
| 39 | |
| 40 | theorem exists_openParameterCompact_mem_nhds (S : Opens P) {p : P} (hp : p ∈ S) : |
| 41 | ∃ n, openParameterCompact S n ∈ 𝓝 p := by |
| 42 | obtain ⟨n, hn⟩ := (CompactExhaustion.choice S).exists_mem_nhds ⟨p, hp⟩ |
| 43 | exact ⟨n, S.isOpen.isOpenMap_subtype_val.image_mem_nhds hn⟩ |
| 44 | |
| 45 | theorem exists_openParameterCompact_product_neighborhood (S : Opens P) {q : P × ℂ} |
| 46 | (hq : q.1 ∈ S) : |
| 47 | ∃ m : ℕ, q ∈ interior (openParameterCompact S m) ×ˢ Metric.ball 0 (m : ℝ) := by |
| 48 | obtain ⟨n, hn⟩ := exists_openParameterCompact_mem_nhds S hq |
| 49 | obtain ⟨r, hr⟩ := exists_nat_gt ‖q.2‖ |
| 50 | refine ⟨max n r, ?_, ?_⟩ |
| 51 | · exact interior_mono (openParameterCompact_mono S (le_max_left n r)) |
| 52 | (mem_interior_iff_mem_nhds.mpr hn) |
| 53 | · rw [Metric.mem_ball, dist_zero_right] |
| 54 | exact hr.trans_le (by exact_mod_cast le_max_right n r) |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Comparison.Betti.Open.ParameterExhaustion.Dolbeault |