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.LineBundleTensorPullback |
| 2 | |
| 3 | /-! # Module Open Base Change -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ModuleOpenBaseChange.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Pushforward of module sheaves commutes with restriction to open subschemes. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | def moduleOpenBaseChangeAppIso {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 16 | (U : Y.Opens) (M : X.Modules) (V : U.toScheme.Opens) : |
| 17 | (((Scheme.Modules.pushforward f).obj M).restrict U.ι).val.obj (.op V) ≅ |
| 18 | ((Scheme.Modules.pushforward (f ∣_ U)).obj (M.restrict (f ⁻¹ᵁ U).ι)).val.obj (.op V) := by |
| 19 | refine ModuleCat.isoMk (M.presheaf.mapIso (eqToIso (image_morphismRestrict_preimage f U V)).op) ?_ |
| 20 | intro a |
| 21 | ext m |
| 22 | let a' : Γ(Y, U.ι ''ᵁ V) := (U.ι.appIso V).inv a |
| 23 | let m' : Γ(M, f ⁻¹ᵁ (U.ι ''ᵁ V)) := m |
| 24 | let b : Γ(X, (f ⁻¹ᵁ U).ι ''ᵁ ((f ∣_ U) ⁻¹ᵁ V)) := |
| 25 | ((f ⁻¹ᵁ U).ι.appIso ((f ∣_ U) ⁻¹ᵁ V)).inv ((f ∣_ U).app V a) |
| 26 | change b • |
| 27 | M.presheaf.map (eqToHom (image_morphismRestrict_preimage f U V)).op m' = |
| 28 | M.presheaf.map (eqToHom (image_morphismRestrict_preimage f U V)).op |
| 29 | (f.app (U.ι ''ᵁ V) a' • m') |
| 30 | have hb : b = X.presheaf.map (eqToHom (image_morphismRestrict_preimage f U V)).op |
| 31 | (f.app (U.ι ''ᵁ V) a') := |
| 32 | by |
| 33 | dsimp only [a', b] |
| 34 | rw [Scheme.Opens.ι_appIso, Scheme.Opens.ι_appIso] |
| 35 | change (f ∣_ U).app V a = |
| 36 | X.presheaf.map (eqToHom (image_morphismRestrict_preimage f U V)).op |
| 37 | (f.app (U.ι ''ᵁ V) a) |
| 38 | exact congrArg (fun q ↦ q a) (morphismRestrict_app f U V) |
| 39 | exact (congrArg (fun c ↦ c • |
| 40 | M.presheaf.map (eqToHom (image_morphismRestrict_preimage f U V)).op m') hb).trans |
| 41 | (Scheme.Modules.map_smul M _ _ _).symm |
| 42 | |
| 43 | def moduleOpenBaseChangePresheafIso {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 44 | (U : Y.Opens) (M : X.Modules) : |
| 45 | (((Scheme.Modules.pushforward f).obj M).restrict U.ι).val ≅ |
| 46 | ((Scheme.Modules.pushforward (f ∣_ U)).obj (M.restrict (f ⁻¹ᵁ U).ι)).val := by |
| 47 | let A : U.toScheme.PresheafOfModules := |
| 48 | (((Scheme.Modules.pushforward f).obj M).restrict U.ι).val |
| 49 | let B : U.toScheme.PresheafOfModules := |
| 50 | ((Scheme.Modules.pushforward (f ∣_ U)).obj (M.restrict (f ⁻¹ᵁ U).ι)).val |
| 51 | refine PresheafOfModules.isoMk (M₁ := A) (M₂ := B) |
| 52 | (fun V ↦ moduleOpenBaseChangeAppIso f U M V.unop) ?_ |
| 53 | intro V W h |
| 54 | apply ModuleCat.hom_ext |
| 55 | apply LinearMap.ext |
| 56 | intro m |
| 57 | change M.presheaf.map (eqToHom (image_morphismRestrict_preimage f U W.unop)).op |
| 58 | (M.presheaf.map ((TopologicalSpace.Opens.map f.base).map |
| 59 | (U.ι.opensFunctor.map h.unop)).op m) = |
| 60 | M.presheaf.map ((f ⁻¹ᵁ U).ι.opensFunctor.map |
| 61 | ((TopologicalSpace.Opens.map (f ∣_ U).base).map h.unop)).op |
| 62 | (M.presheaf.map (eqToHom (image_morphismRestrict_preimage f U V.unop)).op m) |
| 63 | let i := ((TopologicalSpace.Opens.map f.base).map (U.ι.opensFunctor.map h.unop)).op |
| 64 | let j := ((f ⁻¹ᵁ U).ι.opensFunctor.map |
| 65 | ((TopologicalSpace.Opens.map (f ∣_ U).base).map h.unop)).op |
| 66 | let eV := (eqToHom (image_morphismRestrict_preimage f U V.unop)).op |
| 67 | let eW := (eqToHom (image_morphismRestrict_preimage f U W.unop)).op |
| 68 | have he : i ≫ eW = eV ≫ j := Subsingleton.elim _ _ |
| 69 | have hm : M.presheaf.map i ≫ M.presheaf.map eW = |
| 70 | M.presheaf.map eV ≫ M.presheaf.map j := |
| 71 | (M.presheaf.map_comp i eW).symm.trans |
| 72 | ((congrArg M.presheaf.map he).trans (M.presheaf.map_comp eV j)) |
| 73 | exact congrArg (fun a ↦ a m) hm |
| 74 | |
| 75 | def moduleOpenBaseChangeIso {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 76 | (U : Y.Opens) (M : X.Modules) : |
| 77 | ((Scheme.Modules.pushforward f).obj M).restrict U.ι ≅ |
| 78 | (Scheme.Modules.pushforward (f ∣_ U)).obj (M.restrict (f ⁻¹ᵁ U).ι) := |
| 79 | (Scheme.Modules.fullyFaithfulToPresheafOfModules (X := U.toScheme)).preimageIso |
| 80 | (moduleOpenBaseChangePresheafIso f U M) |
| 81 | |
| 82 | theorem moduleOpenBaseChangeIso_hom_app {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 83 | (U : Y.Opens) (M : X.Modules) (V : U.toScheme.Opens) : |
| 84 | (moduleOpenBaseChangeIso f U M).hom.app V = |
| 85 | M.presheaf.map (eqToHom (image_morphismRestrict_preimage f U V)).op := rfl |
| 86 | |
| 87 | def moduleOpenBaseChangeNatIso {X Y : Scheme.{u}} (f : X ⟶ Y) (U : Y.Opens) : |
| 88 | Scheme.Modules.pushforward f ⋙ Scheme.Modules.restrictFunctor U.ι ≅ |
| 89 | Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι ⋙ Scheme.Modules.pushforward (f ∣_ U) := by |
| 90 | refine NatIso.ofComponents (moduleOpenBaseChangeIso f U) ?_ |
| 91 | intro M N q |
| 92 | apply Scheme.Modules.hom_ext |
| 93 | intro V |
| 94 | simp only [Scheme.Modules.Hom.comp_app, moduleOpenBaseChangeIso_hom_app] |
| 95 | exact (q.mapPresheaf.naturality |
| 96 | (eqToHom (image_morphismRestrict_preimage f U V)).op).symm |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ModuleOpenBaseChange.Construction |