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.RingTheory.Localization.AtPrime.Basic |
| 2 | import Mathlib.LinearAlgebra.Span.Basic |
| 3 | |
| 4 | /-! # Base Localization Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.BaseLocalizationDetection.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # LineBundleCycles: actual coefficient localizations detect zero in any algebra -/ |
| 11 | |
| 12 | variable {R A : Type} [CommRing R] [CommRing A] |
| 13 | |
| 14 | theorem ringElement_eq_zero_of_base_localizations (β : R →+* A) |
| 15 | (Aₚ : ∀ (p : Ideal R) [p.IsMaximal], Type) |
| 16 | [∀ (p : Ideal R) [p.IsMaximal], CommRing (Aₚ p)] |
| 17 | (ρ : ∀ (p : Ideal R) [p.IsMaximal], A →+* Aₚ p) |
| 18 | (hL : ∀ (p : Ideal R) [p.IsMaximal], |
| 19 | letI := (ρ p).toAlgebra |
| 20 | IsLocalization (p.primeCompl.map β) (Aₚ p)) |
| 21 | (x : A) (hx : ∀ (p : Ideal R) [p.IsMaximal], ρ p x = 0) : x = 0 := by |
| 22 | let : Algebra R A := β.toAlgebra |
| 23 | let K : Ideal R := (LinearMap.toSpanSingleton R A x).ker |
| 24 | by_contra hne |
| 25 | have hK : K ≠ ⊤ := by |
| 26 | intro h |
| 27 | have h1 : (1 : R) ∈ K := h ▸ Submodule.mem_top |
| 28 | change (1 : R) • x = 0 at h1 |
| 29 | exact hne (by simpa only [one_smul] using h1) |
| 30 | obtain ⟨p, hp, hKp⟩ := K.exists_le_maximal hK |
| 31 | let : p.IsMaximal := hp |
| 32 | let : Algebra A (Aₚ p) := (ρ p).toAlgebra |
| 33 | have : IsLocalization (p.primeCompl.map β) (Aₚ p) := hL p |
| 34 | obtain ⟨d, hd⟩ := (IsLocalization.map_eq_zero_iff (p.primeCompl.map β) (Aₚ p) x).mp (hx p) |
| 35 | obtain ⟨r, hr, he⟩ := d.property |
| 36 | apply hr |
| 37 | apply hKp |
| 38 | change r • x = 0 |
| 39 | change β r * x = 0 |
| 40 | exact he ▸ hd |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.Divisors.LineBundles.BaseLocalizationDetection.BundleCycles |