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.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LocalizedCoefficientDensity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LocalizedCoefficientDenominators |
| 3 | |
| 4 | /-! # Embedded Localized Vectors -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.EmbeddedLocalizedVectors |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual field-valued vectors in a prescribed affine congruence class |
| 11 | are dense at a complex embedding when one coefficient is nonreal there. |
| 12 | Their coordinates have one common power denominator. -/ |
| 13 | |
| 14 | variable {E : Type*} [Field E] |
| 15 | |
| 16 | def localizedCoefficientRing (b : ℕ) (z : E) : Subring E := |
| 17 | Subring.closure {(b : E)⁻¹, z} |
| 18 | |
| 19 | theorem localizedCoefficientRing_map (μ : E →+* ℂ) (b : ℕ) (z : E) : |
| 20 | (localizedCoefficientRing b z).map μ = LocalizedCoefficientDensity.complexLocalizedCoefficientRing b (μ z) := by |
| 21 | simp [localizedCoefficientRing, LocalizedCoefficientDensity.complexLocalizedCoefficientRing, RingHom.map_closure] |
| 22 | |
| 23 | def embeddedLocalizedVectors {I : Type*} (μ : E →+* ℂ) |
| 24 | (b : ℕ) (z : E) (v₀ : I → E) (m : E) : Set (I → ℂ) := |
| 25 | {v | ∃ w : I → E, (∀ i, w i ∈ localizedCoefficientRing b z) ∧ |
| 26 | v = fun i => μ (v₀ i + m * w i)} |
| 27 | |
| 28 | theorem embeddedLocalizedVectors_eq {I : Type*} (μ : E →+* ℂ) |
| 29 | (b : ℕ) (z : E) (v₀ : I → E) (m : E) : |
| 30 | embeddedLocalizedVectors μ b z v₀ m = |
| 31 | LocalizedCoefficientDensity.affineCoefficientVectors (LocalizedCoefficientDensity.complexLocalizedCoefficientRing b (μ z)) |
| 32 | (fun i => μ (v₀ i)) (μ m) := by |
| 33 | classical |
| 34 | ext v |
| 35 | constructor |
| 36 | · rintro ⟨w, hw, rfl⟩ |
| 37 | refine ⟨fun i => μ (w i), ?_, ?_⟩ |
| 38 | · intro i _ |
| 39 | rw [← localizedCoefficientRing_map μ b z] |
| 40 | exact ⟨w i, hw i, rfl⟩ |
| 41 | · ext i |
| 42 | change μ (v₀ i) + μ m * μ (w i) = μ (v₀ i + m * w i) |
| 43 | rw [map_add, map_mul] |
| 44 | · rintro ⟨c, hc, hv⟩ |
| 45 | have hi (i : I) : ∃ a ∈ localizedCoefficientRing b z, μ a = c i := by |
| 46 | apply Subring.mem_map.mp |
| 47 | rw [localizedCoefficientRing_map μ b z] |
| 48 | exact hc i (Set.mem_univ i) |
| 49 | choose w hw he using hi |
| 50 | refine ⟨w, hw, ?_⟩ |
| 51 | rw [← hv] |
| 52 | ext i |
| 53 | change μ (v₀ i) + μ m * c i = μ (v₀ i + m * w i) |
| 54 | rw [map_add, map_mul, he] |
| 55 | |
| 56 | theorem embeddedLocalizedVectors_dense {I : Type*} (μ : E →+* ℂ) |
| 57 | (b : ℕ) (hb : 2 ≤ b) (z : E) (hz : (μ z).im ≠ 0) |
| 58 | (v₀ : I → E) (m : E) (hm : m ≠ 0) : |
| 59 | Dense (embeddedLocalizedVectors μ b z v₀ m) := by |
| 60 | rw [embeddedLocalizedVectors_eq] |
| 61 | apply LocalizedCoefficientDensity.affineCoefficientVectors_dense _ |
| 62 | (LocalizedCoefficientDensity.complexLocalizedCoefficientRing_dense b hb (μ z) hz) |
| 63 | exact fun h => hm (μ.injective (h.trans (map_zero μ).symm)) |
| 64 | |
| 65 | theorem embeddedLocalizedVectors_common_denominator {I : Type*} [Fintype I] |
| 66 | (μ : E →+* ℂ) (S : Subring E) (b : ℕ) (hb : (b : E) ≠ 0) |
| 67 | (z : E) (hz : z ∈ S) (v₀ : I → E) (m : E) |
| 68 | {v : I → ℂ} (hv : v ∈ embeddedLocalizedVectors μ b z v₀ m) : |
| 69 | ∃ (n : ℕ) (a : I → S), |
| 70 | ∀ i, (b : ℂ) ^ n * (v i - μ (v₀ i)) = μ m * μ (a i) := by |
| 71 | obtain ⟨w, hw, rfl⟩ := hv |
| 72 | obtain ⟨n, hn⟩ := LocalizedCoefficientDenominators.exists_common_power_mul_mem_of_localized_closure |
| 73 | S (b : E) z (natCast_mem S b) hb hz w hw |
| 74 | refine ⟨n, fun i => ⟨(b : E) ^ n * w i, hn i⟩, ?_⟩ |
| 75 | intro i |
| 76 | simp only [map_add, map_mul, map_pow, map_natCast, add_sub_cancel_left] |
| 77 | ring |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.EmbeddedLocalizedVectors |