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.Module.MapLocalFactor |
| 2 | |
| 3 | /-! # Map Values -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenModule.MapValues |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Read a module map on an open subscheme as compatible linear maps on smaller ambient opens. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [IsOpenImmersion f] |
| 16 | |
| 17 | theorem moduleRestrictionUnit_app_isIso (M : Y.Modules) (U : Y.Opens) (hU : U ≤ f.opensRange) : |
| 18 | IsIso (((Scheme.Modules.restrictAdjunction f).unit.app M).app U) := by |
| 19 | rw [Scheme.Modules.restrictAdjunction_unit_app_app] |
| 20 | have he : f ''ᵁ f ⁻¹ᵁ U = U := |
| 21 | (f.image_preimage_eq_opensRange_inf U).trans (inf_eq_right.mpr hU) |
| 22 | have : IsIso (homOfLE (f.image_preimage_le U)) := homOfLE_isIso_of_eq _ he |
| 23 | exact M.presheaf.map_isIso _ |
| 24 | |
| 25 | variable {M N : Y.Modules} |
| 26 | |
| 27 | def openModuleMapValue (φ : M.restrict f ⟶ N.restrict f) (U : Y.Opens) (hU : U ≤ f.opensRange) : |
| 28 | Γ(M, U) →ₗ[Γ(Y, U)] Γ(N, U) := by |
| 29 | letI := moduleRestrictionUnit_app_isIso f N U hU |
| 30 | exact Module.MapLocalFactor.moduleMapLocalFactor |
| 31 | ((Scheme.Modules.restrictAdjunction f).unit.app M ≫ (Scheme.Modules.pushforward f).map φ) |
| 32 | ((Scheme.Modules.restrictAdjunction f).unit.app N) U |
| 33 | |
| 34 | theorem openModuleMapValue_natural (φ : M.restrict f ⟶ N.restrict f) |
| 35 | {U V : Y.Opens} (h : V ≤ U) (hU : U ≤ f.opensRange) (hV : V ≤ f.opensRange) |
| 36 | (s : Γ(M, U)) : |
| 37 | openModuleMapValue f φ V hV (M.presheaf.map (homOfLE h).op s) = |
| 38 | N.presheaf.map (homOfLE h).op (openModuleMapValue f φ U hU s) := by |
| 39 | let := moduleRestrictionUnit_app_isIso f N U hU |
| 40 | let := moduleRestrictionUnit_app_isIso f N V hV |
| 41 | exact Module.MapLocalFactor.moduleMapLocalFactor_natural _ _ h s |
| 42 | |
| 43 | theorem openModuleMapValue_from_global (φ : M ⟶ N) (U : Y.Opens) (hU : U ≤ f.opensRange) : |
| 44 | openModuleMapValue f ((Scheme.Modules.restrictFunctor f).map φ) U hU = |
| 45 | Tensor.Powers.SheafMultilinearMap.homApp φ U := by |
| 46 | let := moduleRestrictionUnit_app_isIso f N U hU |
| 47 | apply Eq.symm |
| 48 | apply Module.MapLocalFactor.moduleMapLocalFactor_unique |
| 49 | intro s |
| 50 | have h := congrArg (fun ψ : M ⟶ (Scheme.Modules.pushforward f).obj (N.restrict f) => ψ.app U) |
| 51 | ((Scheme.Modules.restrictAdjunction f).unit.naturality φ) |
| 52 | exact ConcreteCategory.congr_hom h s |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenModule.MapValues |