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.AbelianModuli.HilbertConstruction.OpenModule.MapComposition |
| 2 | |
| 3 | /-! # Map Value Functoriality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenModule.MapValueFunctoriality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Functoriality of actual module-map values on common ambient opens. |
| 10 | These identities turn ordinary overlap isomorphisms into the section |
| 11 | transition data used by effective module-object gluing. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y Z : Scheme.{u}} |
| 17 | |
| 18 | theorem openModuleMapValue_identity (f : Y ⟶ X) [IsOpenImmersion f] |
| 19 | (M : X.Modules) (U : X.Opens) (hU : U ≤ f.opensRange) (s : Γ(M, U)) : |
| 20 | MapValues.openModuleMapValue f (𝟙 (M.restrict f)) U hU s = s := by |
| 21 | let := MapValues.moduleRestrictionUnit_app_isIso f M U hU |
| 22 | apply (ConcreteCategory.bijective_of_isIso |
| 23 | (((Scheme.Modules.restrictAdjunction f).unit.app M).app U)).injective |
| 24 | have h : (Scheme.Modules.restrictAdjunction f).unit.app M ≫ |
| 25 | (Scheme.Modules.pushforward f).map (𝟙 (M.restrict f)) = |
| 26 | (Scheme.Modules.restrictAdjunction f).unit.app M := by |
| 27 | rw [(Scheme.Modules.pushforward f).map_id] |
| 28 | exact Category.comp_id _ |
| 29 | exact (MapRecovery.openModuleMapValue_spec f (𝟙 (M.restrict f)) U hU s).trans |
| 30 | (congrArg (fun a => a.app U s) h) |
| 31 | |
| 32 | theorem openModuleMapValue_hom_comp (f : Y ⟶ X) [IsOpenImmersion f] |
| 33 | {M N P : X.Modules} (a : M.restrict f ⟶ N.restrict f) |
| 34 | (b : N.restrict f ⟶ P.restrict f) (U : X.Opens) (hU : U ≤ f.opensRange) |
| 35 | (s : Γ(M, U)) : |
| 36 | MapValues.openModuleMapValue f (a ≫ b) U hU s = |
| 37 | MapValues.openModuleMapValue f b U hU (MapValues.openModuleMapValue f a U hU s) := by |
| 38 | let := MapValues.moduleRestrictionUnit_app_isIso f P U hU |
| 39 | apply (ConcreteCategory.bijective_of_isIso |
| 40 | (((Scheme.Modules.restrictAdjunction f).unit.app P).app U)).injective |
| 41 | rw [MapRecovery.openModuleMapValue_spec, MapRecovery.openModuleMapValue_spec] |
| 42 | change b.app (f ⁻¹ᵁ U) |
| 43 | (a.app (f ⁻¹ᵁ U) (((Scheme.Modules.restrictAdjunction f).unit.app M).app U s)) = |
| 44 | b.app (f ⁻¹ᵁ U) |
| 45 | (((Scheme.Modules.restrictAdjunction f).unit.app N).app U |
| 46 | (MapValues.openModuleMapValue f a U hU s)) |
| 47 | exact congrArg (b.app (f ⁻¹ᵁ U)) (MapRecovery.openModuleMapValue_spec f a U hU s).symm |
| 48 | |
| 49 | private theorem restrictFunctorCongr_refl (f : Y ⟶ X) [IsOpenImmersion f] |
| 50 | (M : X.Modules) : |
| 51 | (Scheme.Modules.restrictFunctorCongr (rfl : f = f)).app M = Iso.refl (M.restrict f) := by |
| 52 | apply Iso.ext |
| 53 | apply Scheme.Modules.hom_ext |
| 54 | intro U |
| 55 | simp only [Iso.app_hom, Scheme.Modules.restrictFunctorCongr_hom_app_app, |
| 56 | eqToHom_refl, op_id, Iso.refl_hom, Scheme.Modules.Hom.id_app] |
| 57 | exact M.presheaf.map_id _ |
| 58 | |
| 59 | def openModuleMapCongr (f g : Y ⟶ X) [IsOpenImmersion f] [IsOpenImmersion g] |
| 60 | (h : f = g) {M N : X.Modules} (a : M.restrict f ⟶ N.restrict f) : |
| 61 | M.restrict g ⟶ N.restrict g := |
| 62 | (Scheme.Modules.restrictFunctorCongr h).inv.app M ≫ a ≫ |
| 63 | (Scheme.Modules.restrictFunctorCongr h).hom.app N |
| 64 | |
| 65 | theorem openModuleMapValue_congr (f g : Y ⟶ X) [IsOpenImmersion f] [IsOpenImmersion g] |
| 66 | (h : f = g) {M N : X.Modules} (a : M.restrict f ⟶ N.restrict f) |
| 67 | (U : X.Opens) (hf : U ≤ f.opensRange) (hg : U ≤ g.opensRange) (s : Γ(M, U)) : |
| 68 | MapValues.openModuleMapValue g (openModuleMapCongr f g h a) U hg s = MapValues.openModuleMapValue f a U hf s := by |
| 69 | subst g |
| 70 | have hM := restrictFunctorCongr_refl f M |
| 71 | have hN := restrictFunctorCongr_refl f N |
| 72 | change MapValues.openModuleMapValue f |
| 73 | (((Scheme.Modules.restrictFunctorCongr rfl).app M).inv ≫ a ≫ |
| 74 | ((Scheme.Modules.restrictFunctorCongr rfl).app N).hom) U hg s = _ |
| 75 | rw [hM, hN, Iso.refl_inv, Iso.refl_hom, Category.id_comp, Category.comp_id] |
| 76 | |
| 77 | def restrictOpenModuleMapTo (f : Z ⟶ Y) (g : Y ⟶ X) (q : Z ⟶ X) |
| 78 | [IsOpenImmersion f] [IsOpenImmersion g] [IsOpenImmersion q] |
| 79 | (h : f ≫ g = q) {M N : X.Modules} (a : M.restrict g ⟶ N.restrict g) : |
| 80 | M.restrict q ⟶ N.restrict q := |
| 81 | openModuleMapCongr (f ≫ g) q h (MapComposition.restrictOpenModuleMap f g a) |
| 82 | |
| 83 | theorem restrictOpenModuleMapTo_value (f : Z ⟶ Y) (g : Y ⟶ X) (q : Z ⟶ X) |
| 84 | [IsOpenImmersion f] [IsOpenImmersion g] [IsOpenImmersion q] |
| 85 | (h : f ≫ g = q) {M N : X.Modules} (a : M.restrict g ⟶ N.restrict g) |
| 86 | (U : X.Opens) (hq : U ≤ q.opensRange) (hg : U ≤ g.opensRange) (s : Γ(M, U)) : |
| 87 | MapValues.openModuleMapValue q (restrictOpenModuleMapTo f g q h a) U hq s = |
| 88 | MapValues.openModuleMapValue g a U hg s := by |
| 89 | have hfg : U ≤ (f ≫ g).opensRange := by simpa only [h] using hq |
| 90 | exact (openModuleMapValue_congr (f ≫ g) q h (MapComposition.restrictOpenModuleMap f g a) U hfg hq s).trans |
| 91 | (LinearMap.congr_fun (MapComposition.openModuleMapValue_comp f g a U hfg) s) |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenModule.MapValueFunctoriality |