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.Basic |
| 2 | import Mathlib.Algebra.Module.LocalizedModule.Basic |
| 3 | import Mathlib.Algebra.Category.ModuleCat.EpiMono |
| 4 | |
| 5 | /-! # Presheaf Localization -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.PresheafLocalization.PresheafLocalizationTransport |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Localization of a module-valued presheaf map is invariant under a natural isomorphism. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | universe u v w |
| 16 | |
| 17 | variable {R : Type u} [CommRing R] {C : Type v} [Category.{w} C] |
| 18 | {P Q : C ⥤ ModuleCat.{u} R} (e : P ≅ Q) {U V : C} (f : U ⟶ V) (S : Submonoid R) |
| 19 | |
| 20 | include e in |
| 21 | theorem isLocalized [IsLocalizedModule S (Q.map f).hom] : IsLocalizedModule S (P.map f).hom := by |
| 22 | have h : (e.hom.app V).hom.comp (P.map f).hom = (Q.map f).hom.comp (e.hom.app U).hom := |
| 23 | congrArg ModuleCat.Hom.hom (e.hom.naturality f) |
| 24 | apply (IsLocalizedModule.comp_iff_of_bijective_left S (e.hom.app V).hom |
| 25 | (ConcreteCategory.bijective_of_isIso (e.hom.app V))).mp |
| 26 | rw [h] |
| 27 | exact (IsLocalizedModule.comp_iff_of_bijective_right S (e.hom.app U).hom |
| 28 | (ConcreteCategory.bijective_of_isIso (e.hom.app U))).mpr inferInstance |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.NumberTheory.PadicHodge.GeometricComparison.PresheafLocalization.PresheafLocalizationTransport |