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.ArithmeticGeometry.OrdinaryLocus.Openness.LineBundleDual |
| 2 | |
| 3 | /-! # Sheafification Local Iso -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SheafificationLocalIso.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Detecting invertibility of a sheafified map on local module charts. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | def moduleSheafificationLift {X : Scheme.{u}} {P : X.PresheafOfModules} {N : X.Modules} |
| 16 | (q : P ⟶ N.val) : SheafTensor.Construction.sheafifyModule P ⟶ N := |
| 17 | ((PresheafOfModules.sheafificationAdjunction (𝟙 X.ringCatSheaf.obj)).homEquiv _ _).symm q |
| 18 | |
| 19 | theorem moduleSheafificationUnit_lift {X : Scheme.{u}} {P : X.PresheafOfModules} {N : X.Modules} |
| 20 | (q : P ⟶ N.val) : SheafRestriction.Construction.moduleSheafificationUnit P ≫ (moduleSheafificationLift q).val = q := by |
| 21 | let adj := PresheafOfModules.sheafificationAdjunction (𝟙 X.ringCatSheaf.obj) |
| 22 | exact (adj.homEquiv_unit _ _ _).symm.trans ((adj.homEquiv _ _).apply_symm_apply q) |
| 23 | |
| 24 | theorem moduleSheafificationLift_restrict {X Y : Scheme.{u}} (f : X ⟶ Y) [IsOpenImmersion f] |
| 25 | {P : Y.PresheafOfModules} {N : Y.Modules} (q : P ⟶ N.val) : |
| 26 | (SheafRestriction.Construction.restrictSheafificationIso f P).hom ≫ (Scheme.Modules.restrictFunctor f).map |
| 27 | (moduleSheafificationLift q) = |
| 28 | @moduleSheafificationLift X _ (N.restrict f) ((SheafRestriction.Construction.restrictModulePresheaf f).map q) := by |
| 29 | let adj := PresheafOfModules.sheafificationAdjunction (𝟙 X.ringCatSheaf.obj) |
| 30 | let R := SheafRestriction.Construction.restrictModulePresheaf f |
| 31 | apply (adj.homEquiv _ _).injective |
| 32 | have hunit := TensorOpenComparison.Construction.moduleSheafificationUnit_restrictIso f P |
| 33 | have hmap : R.map (SheafRestriction.Construction.moduleSheafificationUnit P) ≫ R.map (moduleSheafificationLift q).val = R.map q := |
| 34 | (R.map_comp _ _).symm.trans (congrArg R.map (moduleSheafificationUnit_lift q)) |
| 35 | have hcomp : SheafRestriction.Construction.moduleSheafificationUnit (R.obj P) ≫ |
| 36 | ((SheafRestriction.Construction.restrictSheafificationIso f P).hom ≫ (Scheme.Modules.restrictFunctor f).map |
| 37 | (moduleSheafificationLift q)).val = R.map q := |
| 38 | (Category.assoc _ _ _).symm.trans |
| 39 | ((congrArg (fun a ↦ a ≫ R.map (moduleSheafificationLift q).val) hunit).trans hmap) |
| 40 | exact (adj.homEquiv_unit _ _ _).trans |
| 41 | (hcomp.trans ((adj.homEquiv (R.obj P) (N.restrict f)).apply_symm_apply (R.map q)).symm) |
| 42 | |
| 43 | theorem isIso_moduleSheafificationLift {X : Scheme.{u}} {P : X.PresheafOfModules} {N : X.Modules} |
| 44 | (q : P ⟶ N.val) [IsIso q] : IsIso (moduleSheafificationLift q) := by |
| 45 | let F : X.PresheafOfModules ⥤ X.Modules := |
| 46 | PresheafOfModules.sheafification (𝟙 X.ringCatSheaf.obj) |
| 47 | have he : moduleSheafificationLift q = F.map q ≫ (SheafTensor.Construction.sheafifyModuleIso N).hom := |
| 48 | (PresheafOfModules.sheafificationAdjunction (𝟙 X.ringCatSheaf.obj)).homEquiv_counit _ _ q |
| 49 | rw [he] |
| 50 | exact IsIso.comp_isIso' (inferInstanceAs (IsIso (F.map q))) (SheafTensor.Construction.sheafifyModuleIso N).isIso_hom |
| 51 | |
| 52 | theorem isIso_restrictModulePresheaf_map_of_app {X : Scheme.{u}} |
| 53 | {P Q : X.PresheafOfModules} (q : P ⟶ Q) (U : X.Opens) |
| 54 | (hq : ∀ V : X.Opens, V ≤ U → IsIso (q.app (.op V))) : |
| 55 | IsIso ((SheafRestriction.Construction.restrictModulePresheaf U.ι).map q) := by |
| 56 | let r := (SheafRestriction.Construction.restrictModulePresheaf U.ι).map q |
| 57 | have hi (V : U.toScheme.Opensᵒᵖ) : IsIso (r.app V) := by |
| 58 | let e := @asIso _ _ _ _ (q.app (.op (U.ι ''ᵁ V.unop))) |
| 59 | (hq (U.ι ''ᵁ V.unop) (U.ι_image_le V.unop)) |
| 60 | exact ((ModuleCat.restrictScalars ((U.ι.appIso V.unop).inv).hom).mapIso |
| 61 | e).isIso_hom |
| 62 | let e := PresheafOfModules.isoMk (fun V ↦ asIso (r.app V)) (fun _ _ h ↦ r.naturality h) |
| 63 | exact e.isIso_hom |
| 64 | |
| 65 | theorem isIso_moduleSheafificationLift_of_local_app {X : Scheme.{u}} |
| 66 | {P : X.PresheafOfModules} {N : X.Modules} (q : P ⟶ N.val) |
| 67 | (hq : ∀ x : X, ∃ U : X.Opens, x ∈ U ∧ |
| 68 | ∀ V : X.Opens, V ≤ U → IsIso (q.app (.op V))) : |
| 69 | IsIso (moduleSheafificationLift q) := by |
| 70 | apply ModuleLocalIso.Construction.isIso_of_locally_isIso_pullback |
| 71 | intro x |
| 72 | obtain ⟨U, hxU, hU⟩ := hq x |
| 73 | have hR := isIso_restrictModulePresheaf_map_of_app q U hU |
| 74 | have := @isIso_moduleSheafificationLift U.toScheme _ (N.restrict U.ι) |
| 75 | ((SheafRestriction.Construction.restrictModulePresheaf U.ι).map q) hR |
| 76 | have : IsIso ((SheafRestriction.Construction.restrictSheafificationIso U.ι P).hom ≫ |
| 77 | (Scheme.Modules.restrictFunctor U.ι).map (moduleSheafificationLift q)) := by |
| 78 | rw [moduleSheafificationLift_restrict] |
| 79 | infer_instance |
| 80 | have : IsIso ((Scheme.Modules.restrictFunctor U.ι).map (moduleSheafificationLift q)) := |
| 81 | IsIso.of_isIso_comp_left (SheafRestriction.Construction.restrictSheafificationIso U.ι P).hom _ |
| 82 | exact ⟨U, hxU, LineBundlePullbackUnit.Construction.isIso_pullbackMap_of_restrictMap U.ι _⟩ |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SheafificationLocalIso.Construction |