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 | |
| 4 | /-! # Presheaf Localized Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PresheafLocalizedRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A natural tensor-comparison map transports localization to ordinary section restrictions. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] {C : Type v} [Category.{w} C] |
| 17 | |
| 18 | theorem presheafRestriction_isLocalized_of_comparison |
| 19 | (S : Submonoid R) {F G : C ⥤ ModuleCat.{u} R} (η : F ⟶ G) |
| 20 | {U V : C} (i : U ⟶ V) [IsIso (η.app V)] [IsIso (G.map i)] |
| 21 | [IsLocalizedModule S (η.app U).hom] : IsLocalizedModule S (F.map i).hom := by |
| 22 | let e : G.obj U ≅ F.obj V := asIso (G.map i) ≪≫ (asIso (η.app V)).symm |
| 23 | have he : η.app U ≫ e.hom = F.map i := by |
| 24 | change η.app U ≫ G.map i ≫ inv (η.app V) = F.map i |
| 25 | rw [← Category.assoc, ← η.naturality i, Category.assoc, IsIso.hom_inv_id, Category.comp_id] |
| 26 | have hlinear : e.toLinearEquiv.toLinearMap.comp (η.app U).hom = (F.map i).hom := |
| 27 | congrArg ModuleCat.Hom.hom he |
| 28 | have h := IsLocalizedModule.of_linearEquiv S (η.app U).hom e.toLinearEquiv |
| 29 | rw [hlinear] at h |
| 30 | exact h |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PresheafLocalizedRestriction |