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 OAI.AlgebraicGeometry.PELModuli.IntegralModel.Affine.OpenBaseLocalization |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.BaseModule |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCechPushforward |
| 4 | |
| 5 | /-! # Basic Open Module Restriction -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.BasicOpenModuleRestriction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The adjunction unit for restriction to a basic open is the actual |
| 12 | section restriction, compatibly with global scalar multiplication. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 17 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | def baseModuleSheafMap {X B : Scheme.{u}} (f : X ⟶ B) |
| 22 | {M N : X.Modules} (a : M ⟶ N) : |
| 23 | Quotients.FiniteDescent.BaseModule.Construction.BaseModuleSheaf.sheaf f M ⟶ Quotients.FiniteDescent.BaseModule.Construction.BaseModuleSheaf.sheaf f N := |
| 24 | ⟨(SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheafFunctor f).map a⟩ |
| 25 | |
| 26 | variable {X : Scheme.{u}} (M : X.Modules) (r : Γ(X, ⊤)) |
| 27 | |
| 28 | def basicOpenRestrictionModule : X.Modules := |
| 29 | (pushforward (X.basicOpen r).ι).obj (M.restrict (X.basicOpen r).ι) |
| 30 | |
| 31 | def basicOpenRestrictionMap : Quotients.FiniteDescent.BaseModule.Construction.BaseModuleSheaf.sheaf (𝟙 X) M ⟶ |
| 32 | Quotients.FiniteDescent.BaseModule.Construction.BaseModuleSheaf.sheaf (𝟙 X) (basicOpenRestrictionModule M r) := |
| 33 | baseModuleSheafMap (𝟙 X) ((restrictAdjunction (X.basicOpen r).ι).unit.app M) |
| 34 | |
| 35 | theorem basicOpen_image_preimage (U : X.Opens) : |
| 36 | (X.basicOpen r).ι ''ᵁ ((X.basicOpen r).ι ⁻¹ᵁ U) = |
| 37 | X.basicOpen (X.presheaf.map U.leTop.op r) := by |
| 38 | rw [Scheme.Hom.image_preimage_eq_opensRange_inf, Scheme.Opens.opensRange_ι, |
| 39 | X.basicOpen_res, inf_comm] |
| 40 | |
| 41 | def basicOpenRestrictionAppIso (U : X.Opens) : |
| 42 | (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf (𝟙 X) (basicOpenRestrictionModule M r)).obj (op U) ≅ |
| 43 | (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf (𝟙 X) M).obj |
| 44 | (op (X.basicOpen (X.presheaf.map U.leTop.op r))) := |
| 45 | (SheafCohomology.Projective.OrderedBaseCechPushforward.Scheme.Modules.baseModulePresheafPushforwardAppIso (X.basicOpen r).ι (𝟙 X) |
| 46 | (M.restrict (X.basicOpen r).ι) U).symm ≪≫ |
| 47 | SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheafRestrictAppIso (𝟙 X) (X.basicOpen r).ι M |
| 48 | ((X.basicOpen r).ι ⁻¹ᵁ U) ≪≫ |
| 49 | (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf (𝟙 X) M).mapIso (eqToIso (basicOpen_image_preimage r U).symm).op |
| 50 | |
| 51 | theorem basicOpenRestrictionMap_app_iso (U : X.Opens) : |
| 52 | (basicOpenRestrictionMap M r).hom.app (op U) ≫ |
| 53 | (basicOpenRestrictionAppIso M r U).hom = |
| 54 | (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf (𝟙 X) M).map |
| 55 | (homOfLE (X.basicOpen_le (X.presheaf.map U.leTop.op r))).op := by |
| 56 | apply ModuleCat.hom_ext |
| 57 | ext x |
| 58 | change M.presheaf.map (eqToIso (basicOpen_image_preimage r U).symm).op.hom |
| 59 | (M.presheaf.map (homOfLE ((X.basicOpen r).ι.image_preimage_le U)).op x) = |
| 60 | M.presheaf.map (homOfLE (X.basicOpen_le (X.presheaf.map U.leTop.op r))).op x |
| 61 | rw [← M.presheaf.map_comp_apply] |
| 62 | rfl |
| 63 | |
| 64 | def basicOpenRestrictionTopIso : |
| 65 | (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf (𝟙 X) (basicOpenRestrictionModule M r)).obj (op ⊤) ≅ |
| 66 | (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf (𝟙 X) M).obj (op (X.basicOpen r)) := |
| 67 | (SheafCohomology.Projective.OrderedBaseCechPushforward.Scheme.Modules.baseModulePresheafPushforwardAppIso (X.basicOpen r).ι (𝟙 X) |
| 68 | (M.restrict (X.basicOpen r).ι) ⊤).symm ≪≫ |
| 69 | SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheafRestrictAppIso (𝟙 X) (X.basicOpen r).ι M ⊤ ≪≫ |
| 70 | (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf (𝟙 X) M).mapIso (eqToIso (X.basicOpen r).ι_image_top.symm).op |
| 71 | |
| 72 | theorem basicOpenRestrictionMap_top_iso : |
| 73 | (basicOpenRestrictionMap M r).hom.app (op ⊤) ≫ |
| 74 | (basicOpenRestrictionTopIso M r).hom = |
| 75 | (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf (𝟙 X) M).map (X.basicOpen r).leTop.op := by |
| 76 | apply ModuleCat.hom_ext |
| 77 | ext x |
| 78 | let x' : Γ(M, ⊤) := x |
| 79 | change M.presheaf.map (eqToIso (X.basicOpen r).ι_image_top.symm).op.hom |
| 80 | (M.presheaf.map ((X.basicOpen r).ι ''ᵁ (⊤ : (X.basicOpen r).toScheme.Opens)).leTop.op x') = |
| 81 | M.presheaf.map (X.basicOpen r).leTop.op x' |
| 82 | rw [← M.presheaf.map_comp_apply] |
| 83 | rfl |
| 84 | |
| 85 | theorem basicOpenRestrictionMap_affine_isLocalized [M.IsQuasicoherent] |
| 86 | (U : X.affineOpens) : |
| 87 | IsLocalizedModule.Away r ((basicOpenRestrictionMap M r).hom.app (op U.1)).hom := by |
| 88 | let a := ((basicOpenRestrictionMap M r).hom.app (op U.1)).hom |
| 89 | let e := (basicOpenRestrictionAppIso M r U.1).toLinearEquiv |
| 90 | have ha : e.toLinearMap.comp a = |
| 91 | ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf (𝟙 X) M).map |
| 92 | (homOfLE (X.basicOpen_le (X.presheaf.map U.1.leTop.op r))).op).hom := |
| 93 | congrArg ModuleCat.Hom.hom (basicOpenRestrictionMap_app_iso M r U.1) |
| 94 | have hloc : IsLocalizedModule.Away r (e.toLinearMap.comp a) := |
| 95 | ha.symm ▸ Affine.OpenBaseLocalization.affineOpen_baseSection_isLocalized M U r |
| 96 | let := hloc |
| 97 | have hback := IsLocalizedModule.of_linearEquiv (Submonoid.powers r) |
| 98 | (e.toLinearMap.comp a) e.symm |
| 99 | have he : e.symm.toLinearMap.comp (e.toLinearMap.comp a) = a := by |
| 100 | ext x |
| 101 | exact e.symm_apply_apply (a x) |
| 102 | rw [he] at hback |
| 103 | exact hback |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.BasicOpenModuleRestriction |