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.HilbertScheme.Presentations.Normalized.KernelBaseChange |
| 2 | import Mathlib.RingTheory.Localization.Away.Basic |
| 3 | |
| 4 | /-! # Localization Clearing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Matrix.LocalizationClearing.Grassmannian |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A matrix relation that vanishes after principal localization vanishes after multiplying by a power. -/ |
| 11 | |
| 12 | universe u v w |
| 13 | |
| 14 | variable {A B : Type u} [CommRing A] [CommRing B] [Algebra A B] |
| 15 | variable {ι : Type v} {ν : Type w} [Fintype ι] [Fintype ν] [DecidableEq ν] |
| 16 | |
| 17 | theorem matrix_kernel_clear_localization (s : A) [IsLocalization.Away s B] |
| 18 | (Q : Matrix ι ν A) (x : ν → A) |
| 19 | (h : Matrix.toLin' (Q.map (algebraMap A B)) ((algebraMap A B) ∘ x) = 0) : |
| 20 | ∃ k : ℕ, Matrix.toLin' Q (s ^ k • x) = 0 := by |
| 21 | classical |
| 22 | have hφ (i : ι) : algebraMap A B (Q.mulVec x i) = algebraMap A B 0 := by |
| 23 | rw [map_zero] |
| 24 | exact (RingHom.map_mulVec (algebraMap A B) Q x i).trans (congrFun h i) |
| 25 | choose k hk using fun i => IsLocalization.Away.exists_of_eq s (hφ i) |
| 26 | let d := ∑ i, k i |
| 27 | refine ⟨d, ?_⟩ |
| 28 | ext i |
| 29 | change Q.mulVec (s ^ d • x) i = 0 |
| 30 | rw [Matrix.mulVec_smul] |
| 31 | change s ^ d * Q.mulVec x i = 0 |
| 32 | have hi : k i ≤ d := Finset.single_le_sum (fun _ _ => Nat.zero_le _) (Finset.mem_univ i) |
| 33 | have he : s ^ d * Q.mulVec x i = s ^ (d - k i) * (s ^ k i * Q.mulVec x i) := by |
| 34 | rw [← mul_assoc, ← pow_add, Nat.sub_add_cancel hi] |
| 35 | rw [he, hk i, mul_zero, mul_zero] |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Matrix.LocalizationClearing.Grassmannian |