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.Category.ModuleCat.Localization |
| 2 | |
| 3 | /-! # Localized Module -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.LocalizedModule.LocalizedModuleIso |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Two localizations of a module are isomorphic compatibly with their defining maps. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable (R : Type u) [CommRing R] (S : Submonoid R) |
| 16 | {M N N' : ModuleCat.{u} R} (f : M ⟶ N) (g : M ⟶ N') |
| 17 | [IsLocalizedModule S f.hom] [IsLocalizedModule S g.hom] |
| 18 | |
| 19 | include S in |
| 20 | theorem exists_iso : ∃ e : N ≅ N', f ≫ e.hom = g := by |
| 21 | refine ⟨(IsLocalizedModule.linearEquiv S f.hom g.hom).toModuleIso, ?_⟩ |
| 22 | apply ModuleCat.hom_ext |
| 23 | exact LinearMap.ext (IsLocalizedModule.linearEquiv_apply S f.hom g.hom) |
| 24 | |
| 25 | end |
| 26 | |
| 27 | end OAI.NumberTheory.PadicHodge.GeometricComparison.LocalizedModule.LocalizedModuleIso |