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 | /- |
| 2 | Derived from AINTLIB: |
| 3 | projects/ModularCurves/ModularCurves/ForMathlib/SchemeModuleQuasicoherent.lean |
| 4 | The upstream AINTLIB repository is licensed under Apache 2.0. |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.QuasicoherentLocalization |
| 8 | import Mathlib.Topology.Sheaves.SheafCondition.Sites |
| 9 | |
| 10 | /-! # Module Global Sections Isomorphism -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ModuleGlobalSectionsIsomorphism |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | /-! Global sections detect isomorphisms of actual quasicoherent modules on affine schemes. -/ |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.AlgebraicGeometry.Scheme.Modules |
| 18 | universe u |
| 19 | |
| 20 | theorem affineModule_isIso_of_globalSections_isIso |
| 21 | {X : Scheme.{u}} |
| 22 | [IsAffine X] {M N : X.Modules} (φ : M ⟶ N) |
| 23 | [M.IsQuasicoherent] [N.IsQuasicoherent] |
| 24 | (h : IsIso (φ.val.app (.op (⊤ : X.Opens)))) : IsIso φ := by |
| 25 | let F := Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor (RingHom.id Γ(X, ⊤)) |
| 26 | let φB := F.map φ |
| 27 | let : IsIso (φ.val.app (.op (⊤ : X.Opens))) := h |
| 28 | have hφBTop : IsIso (φB.app (.op (⊤ : X.Opens))) := by |
| 29 | rw [ConcreteCategory.isIso_iff_bijective] |
| 30 | exact ConcreteCategory.bijective_of_isIso |
| 31 | (φ.val.app (.op (⊤ : X.Opens))) |
| 32 | let hreflect : (SheafOfModules.toSheaf.{u} |
| 33 | X.ringCatSheaf).ReflectsIsomorphisms := |
| 34 | PresheafOfModules.instReflectsIsomorphismsSheafOfModulesSheafAddCommGrpCatToSheaf_1 |
| 35 | have hmap : IsIso ((SheafOfModules.toSheaf.{u} X.ringCatSheaf).map φ) := by |
| 36 | apply TopCat.Sheaf.isIso_iff_isIso_basis (isBasis_basicOpen X) |
| 37 | intro r |
| 38 | let V := X.basicOpen r |
| 39 | let i := V.leTop.op |
| 40 | let sourceRestriction := (F.obj M).map i |
| 41 | let targetRestriction := (F.obj N).map i |
| 42 | have hSource : IsLocalizedModule.Away r sourceRestriction.hom := by |
| 43 | dsimp only [sourceRestriction, F, i, V] |
| 44 | exact QuasicoherentLocalization.affine_quasicoherent_sections_localize M r |
| 45 | have hTarget : IsLocalizedModule.Away r targetRestriction.hom := by |
| 46 | dsimp only [targetRestriction, F, i, V] |
| 47 | exact QuasicoherentLocalization.affine_quasicoherent_sections_localize N r |
| 48 | have hφBOpen : IsIso (φB.app (.op V)) := by |
| 49 | refine ModuleCat.isIso_of_isLocalizedModule_comp hSource ?_ |
| 50 | change IsLocalizedModule.Away r |
| 51 | (sourceRestriction ≫ φB.app (.op V)).hom |
| 52 | rw [φB.naturality i] |
| 53 | change IsLocalizedModule.Away r |
| 54 | (φB.app (.op (⊤ : X.Opens)) ≫ targetRestriction).hom |
| 55 | exact IsLocalizedModule.of_linearEquiv_right |
| 56 | (Submonoid.powers r) targetRestriction.hom |
| 57 | (asIso (φB.app (.op (⊤ : X.Opens)))).toLinearEquiv |
| 58 | rw [ConcreteCategory.isIso_iff_bijective] |
| 59 | exact ConcreteCategory.bijective_of_isIso (φB.app (.op V)) |
| 60 | exact @Functor.ReflectsIsomorphisms.reflects _ _ _ _ |
| 61 | (SheafOfModules.toSheaf.{u} X.ringCatSheaf) hreflect _ _ φ hmap |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ModuleGlobalSectionsIsomorphism |