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.AlgebraicGeometry.Modules.Tilde |
| 2 | |
| 3 | /-! # Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Open.BaseChange |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Open base change for module sheaves in PoincareBundle |
| 11 | |
| 12 | Direct image commutes with restriction to an open subscheme. The |
| 13 | isomorphism is constructed on sections using the equality of the two |
| 14 | inverse-image open sets. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) (U : Y.Opens) |
| 22 | |
| 23 | /-- The source module sheaf for open base change. -/ |
| 24 | abbrev source (M : X.Modules) : U.toScheme.Modules := |
| 25 | (Scheme.Modules.restrictFunctor U.ι).obj ((Scheme.Modules.pushforward f).obj M) |
| 26 | |
| 27 | /-- The target module sheaf for open base change. -/ |
| 28 | abbrev target (M : X.Modules) : U.toScheme.Modules := |
| 29 | (Scheme.Modules.pushforward (f ∣_ U)).obj |
| 30 | ((Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι).obj M) |
| 31 | |
| 32 | /-- The sectionwise open-base-change isomorphism respects scalar multiplication. -/ |
| 33 | def sectionIso (M : X.Modules) (W : U.toScheme.Opens) : |
| 34 | ((source f U M).val.obj (op W)) ≅ ((target f U M).val.obj (op W)) := by |
| 35 | let h := image_morphismRestrict_preimage f U W |
| 36 | refine ModuleCat.isoMk (M.presheaf.mapIso (eqToIso h).op) ?_ |
| 37 | intro r |
| 38 | ext m |
| 39 | change (M.smul (U := (f ⁻¹ᵁ U).ι ''ᵁ ((f ∣_ U) ⁻¹ᵁ W)) |
| 40 | (((f ⁻¹ᵁ U).ι.appIso ((f ∣_ U) ⁻¹ᵁ W)).inv |
| 41 | ((f ∣_ U).app W r))).hom (M.presheaf.map (eqToHom h).op m) = |
| 42 | M.presheaf.map (eqToHom h).op |
| 43 | ((M.smul (U := f ⁻¹ᵁ (U.ι ''ᵁ W)) |
| 44 | (f.app (U.ι ''ᵁ W) ((U.ι.appIso W).inv r))).hom m) |
| 45 | simp only [Scheme.Opens.ι_appIso, Iso.refl_inv] |
| 46 | rw [morphismRestrict_app] |
| 47 | exact (M.map_smul (eqToHom h) (f.app (U.ι ''ᵁ W) r) m).symm |
| 48 | |
| 49 | @[simp] |
| 50 | theorem sectionIso_hom_apply (M : X.Modules) (W : U.toScheme.Opens) |
| 51 | (m : (source f U M).val.obj (op W)) : |
| 52 | (sectionIso f U M W).hom m = |
| 53 | M.presheaf.map (eqToHom (image_morphismRestrict_preimage f U W)).op m := rfl |
| 54 | |
| 55 | /-- Direct image and open restriction agree on each module sheaf. -/ |
| 56 | def pushforwardRestrictObjIso (M : X.Modules) : source f U M ≅ target f U M := by |
| 57 | apply (Scheme.Modules.fullyFaithfulToPresheafOfModules (X := U)).preimageIso |
| 58 | refine PresheafOfModules.isoMk (fun W => sectionIso f U M W.unop) ?_ |
| 59 | intro V W i |
| 60 | ext m |
| 61 | have heq : |
| 62 | (TopologicalSpace.Opens.map f.base).op.map (U.ι.opensFunctor.op.map i) ≫ |
| 63 | (eqToIso (image_morphismRestrict_preimage f U W.unop)).op.hom = |
| 64 | (eqToIso (image_morphismRestrict_preimage f U V.unop)).op.hom ≫ |
| 65 | (f ⁻¹ᵁ U).ι.opensFunctor.op.map |
| 66 | ((TopologicalSpace.Opens.map (f ∣_ U).base).op.map i) := Subsingleton.elim _ _ |
| 67 | have hm := congrArg (fun k => M.presheaf.map k m) heq |
| 68 | change (M.presheaf.map |
| 69 | ((TopologicalSpace.Opens.map f.base).op.map (U.ι.opensFunctor.op.map i)) ≫ |
| 70 | M.presheaf.map (eqToIso (image_morphismRestrict_preimage f U W.unop)).op.hom) m = |
| 71 | (M.presheaf.map (eqToIso (image_morphismRestrict_preimage f U V.unop)).op.hom ≫ |
| 72 | M.presheaf.map ((f ⁻¹ᵁ U).ι.opensFunctor.op.map |
| 73 | ((TopologicalSpace.Opens.map (f ∣_ U).base).op.map i))) m |
| 74 | simpa only [Functor.map_comp] using hm |
| 75 | |
| 76 | /-- The open-base-change identification is natural in the module sheaf. -/ |
| 77 | def pushforwardRestrictIso : |
| 78 | Scheme.Modules.pushforward f ⋙ Scheme.Modules.restrictFunctor U.ι ≅ |
| 79 | Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι ⋙ Scheme.Modules.pushforward (f ∣_ U) := by |
| 80 | refine NatIso.ofComponents (pushforwardRestrictObjIso f U) ?_ |
| 81 | intro M N a |
| 82 | apply Scheme.Modules.hom_ext |
| 83 | intro W |
| 84 | ext m |
| 85 | exact congrArg (fun b => b m) (a.mapPresheaf.naturality |
| 86 | (eqToHom (image_morphismRestrict_preimage f U W)).op).symm |
| 87 | |
| 88 | /-- Geometric pullback commutes with restriction to the corresponding |
| 89 | open subschemes. -/ |
| 90 | def pullbackRestrictIso : |
| 91 | Scheme.Modules.pullback f ⋙ Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι ≅ |
| 92 | Scheme.Modules.restrictFunctor U.ι ⋙ Scheme.Modules.pullback (f ∣_ U) := |
| 93 | Functor.isoWhiskerLeft (Scheme.Modules.pullback f) |
| 94 | (Scheme.Modules.restrictFunctorIsoPullback (f ⁻¹ᵁ U).ι) ≪≫ |
| 95 | Scheme.Modules.pullbackComp (f ⁻¹ᵁ U).ι f ≪≫ |
| 96 | Scheme.Modules.pullbackCongr (morphismRestrict_ι f U).symm ≪≫ |
| 97 | (Scheme.Modules.pullbackComp (f ∣_ U) U.ι).symm ≪≫ |
| 98 | Functor.isoWhiskerRight (Scheme.Modules.restrictFunctorIsoPullback U.ι).symm |
| 99 | (Scheme.Modules.pullback (f ∣_ U)) |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Open.BaseChange |