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.GeometricComparison.Integral.FormsModules |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Open.SectionAlgebraIso |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Module.SheafificationRestriction |
| 4 | |
| 5 | /-! # Forms Open Restriction -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.FormsOpenRestriction.IntegralFormsOpenRestriction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Native integral form modules commute with actual open restriction. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {R : Type u} [CommRing R] |
| 18 | |
| 19 | def formIso {A B : CommAlgCat.{u} R} (e : A ≅ B) (n : ℕ) : |
| 20 | FormsModules.IntegralFormsModules.forms R A n ≅ |
| 21 | (ModuleCat.restrictScalars e.hom.hom.toRingHom).obj (FormsModules.IntegralFormsModules.forms R B n) := |
| 22 | (LinearEquiv.ofBijective (FormsModules.IntegralFormsModules.map R e.hom n).hom |
| 23 | (ConcreteCategory.bijective_of_isIso ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsFunctor n).map e.hom))).toModuleIso |
| 24 | |
| 25 | variable (X Y : Over (Spec (CommRingCat.of R))) |
| 26 | (g : X.left ⟶ Y.left) [IsOpenImmersion g] (hg : g ≫ Y.hom = X.hom) |
| 27 | |
| 28 | def ringMap : X.left.ringCatSheaf ⟶ |
| 29 | (g.opensFunctor.sheafPushforwardContinuous RingCat (Opens.grothendieckTopology X.left) |
| 30 | (Opens.grothendieckTopology Y.left)).obj Y.left.ringCatSheaf := |
| 31 | ⟨Functor.whiskerRight (IntegralComparison.Open.SectionAlgebraIso.iso R X Y g hg).hom |
| 32 | (forget₂ (CommAlgCat.{u} R) CommRingCat ⋙ forget₂ CommRingCat RingCat)⟩ |
| 33 | |
| 34 | def presheafIso (n : ℕ) : FormsModules.IntegralFormsModules.presheaf R X n ≅ |
| 35 | (PresheafOfModules.pushforward (ringMap X Y g hg).hom).obj |
| 36 | (FormsModules.IntegralFormsModules.presheaf R Y n) := |
| 37 | PresheafOfModules.isoMk (fun U => formIso ((IntegralComparison.Open.SectionAlgebraIso.iso R X Y g hg).app U) n) |
| 38 | (by |
| 39 | intro U V f |
| 40 | apply ModuleCat.hom_ext |
| 41 | apply LinearMap.ext |
| 42 | intro ω |
| 43 | let e := IntegralComparison.Open.SectionAlgebraIso.iso R X Y g hg |
| 44 | exact (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap_comp ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X).map f) |
| 45 | (e.hom.app V) n ω).symm.trans |
| 46 | ((congrArg (fun a => AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap a n ω) (e.hom.naturality f)).trans |
| 47 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap_comp (e.hom.app U) |
| 48 | ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R Y).map (g.opensFunctor.op.map f)) n ω))) |
| 49 | |
| 50 | def iso (n : ℕ) : FormsModules.IntegralFormsModules.sheaf R X n ≅ |
| 51 | (Scheme.Modules.restrictFunctor g).obj (FormsModules.IntegralFormsModules.sheaf R Y n) := |
| 52 | (IntegralComparison.SchemeModuleSheafification.functor X.left).mapIso (presheafIso X Y g hg n) ≪≫ |
| 53 | IntegralComparison.Module.SheafificationRestriction.iso (ringMap X Y g hg) (FormsModules.IntegralFormsModules.presheaf R Y n) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.FormsOpenRestriction.IntegralFormsOpenRestriction |