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.Algebra.Module.LocalizedModule.Exact |
| 2 | import Mathlib.Algebra.Module.LocalizedModule.Submodule |
| 3 | |
| 4 | /-! # Kernel Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Localized.KernelDetection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The localization of a linear map is injective exactly when the |
| 11 | localization of its actual kernel is zero. -/ |
| 12 | |
| 13 | universe u v w |
| 14 | variable {R : Type u} [CommRing R] |
| 15 | variable {M : Type v} [AddCommGroup M] [Module R M] |
| 16 | variable {N : Type w} [AddCommGroup N] [Module R N] |
| 17 | |
| 18 | theorem localizedMap_injective_iff_subsingleton_kernel (S : Submonoid R) (f : M →ₗ[R] N) : |
| 19 | Function.Injective (LocalizedModule.map S f) ↔ Subsingleton (LocalizedModule S f.ker) := by |
| 20 | have hex : Function.Exact f.ker.subtype f := by |
| 21 | intro m |
| 22 | constructor |
| 23 | · intro hm |
| 24 | exact ⟨⟨m, hm⟩, rfl⟩ |
| 25 | · rintro ⟨z, rfl⟩ |
| 26 | exact z.property |
| 27 | have he := LocalizedModule.map_exact S f.ker.subtype f hex |
| 28 | constructor |
| 29 | · intro h |
| 30 | apply subsingleton_of_forall_eq 0 |
| 31 | intro z |
| 32 | apply LocalizedModule.map_injective S f.ker.subtype f.ker.subtype_injective |
| 33 | rw [map_zero] |
| 34 | apply h |
| 35 | rw [map_zero] |
| 36 | exact (he _).mpr ⟨z, rfl⟩ |
| 37 | · intro h |
| 38 | let := h |
| 39 | apply LinearMap.ker_eq_bot.mp |
| 40 | apply bot_unique |
| 41 | intro m hm |
| 42 | obtain ⟨z, rfl⟩ := (he m).mp hm |
| 43 | rw [Subsingleton.elim z 0, map_zero] |
| 44 | exact Submodule.zero_mem _ |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Localized.KernelDetection |