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.NumberTheory.PadicHodge.IntegralComparison.AlgebraSheafScalars |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Cech.SchemeModuleBaseBasic |
| 3 | import Mathlib.Algebra.Category.ModuleCat.ChangeOfRingsExact |
| 4 | |
| 5 | /-! # Module Coefficient Presheaf -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.ModuleCoefficientPresheaf.BaseModuleCoefficientPresheaf |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # The original base-module sections retain their actual coefficient scalars -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable (R : Type u) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 18 | |
| 19 | def coefficients : ModuleCat.{u} Γ(Spec (CommRingCat.of R), ⊤) ⥤ ModuleCat.{u} R := |
| 20 | ModuleCat.restrictScalars (Scheme.ΓSpecIso (CommRingCat.of R)).inv.hom |
| 21 | |
| 22 | instance additive : (coefficients R).Additive := by |
| 23 | dsimp only [coefficients] |
| 24 | infer_instance |
| 25 | |
| 26 | instance preservesLimits : PreservesLimitsOfSize.{u, u} (coefficients R) := by |
| 27 | dsimp only [coefficients] |
| 28 | infer_instance |
| 29 | |
| 30 | instance preservesFiniteColimits : PreservesFiniteColimits (coefficients R) where |
| 31 | preservesFiniteColimits J _ _ := by |
| 32 | dsimp only [coefficients] |
| 33 | infer_instance |
| 34 | |
| 35 | instance preservesHomology : (coefficients R).PreservesHomology := by infer_instance |
| 36 | |
| 37 | theorem constants (U : X.left.Opens) (r : R) : |
| 38 | X.left.presheaf.map ((initialOpOfTerminal isTerminalTop).to (op U)) |
| 39 | (X.hom.appTop ((Scheme.ΓSpecIso (CommRingCat.of R)).inv r)) = |
| 40 | AlgebraicForms.AlgebraicDeRham.sectionBaseMap R X U r := by |
| 41 | exact congrArg (fun f : op (⊤ : X.left.Opens) ⟶ op U => |
| 42 | X.left.presheaf.map f (X.hom.appTop ((Scheme.ΓSpecIso (CommRingCat.of R)).inv r))) |
| 43 | (Subsingleton.elim _ _) |
| 44 | |
| 45 | def sectionIso (M : X.left.Modules) (U : X.left.Opensᵒᵖ) : |
| 46 | (coefficients R).obj ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf X.hom M).obj U) ≅ |
| 47 | ((NumberTheory.PadicHodge.IntegralComparison.AlgebraSheafScalars.presheaves R X).obj M.val).obj U := |
| 48 | (AddEquiv.toLinearEquiv |
| 49 | (M := ↑((coefficients R).obj ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf X.hom M).obj U))) |
| 50 | (M₂ := ↑(((NumberTheory.PadicHodge.IntegralComparison.AlgebraSheafScalars.presheaves R X).obj M.val).obj U)) |
| 51 | (by rfl) (by |
| 52 | intro r x |
| 53 | change @SMul.smul (X.left.ringCatSheaf.obj.obj U) (M.val.obj U) (M.val.obj U).isModule.toSMul |
| 54 | (X.left.presheaf.map ((initialOpOfTerminal isTerminalTop).to U) |
| 55 | (X.hom.appTop ((Scheme.ΓSpecIso (CommRingCat.of R)).inv r))) x = |
| 56 | @SMul.smul (X.left.ringCatSheaf.obj.obj U) (M.val.obj U) (M.val.obj U).isModule.toSMul |
| 57 | (AlgebraicForms.AlgebraicDeRham.sectionBaseMap R X U.unop r) x |
| 58 | rw [constants])).toModuleIso |
| 59 | |
| 60 | def iso (M : X.left.Modules) : |
| 61 | SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf X.hom M ⋙ coefficients R ≅ |
| 62 | (NumberTheory.PadicHodge.IntegralComparison.AlgebraSheafScalars.presheaves R X).obj M.val := |
| 63 | NatIso.ofComponents (sectionIso R X M) (by |
| 64 | intro U V f |
| 65 | apply ModuleCat.hom_ext |
| 66 | apply LinearMap.ext |
| 67 | intro x |
| 68 | rfl) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.ModuleCoefficientPresheaf.BaseModuleCoefficientPresheaf |