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 Mathlib.AlgebraicGeometry.Modules.Tilde |
| 3 | |
| 4 | /-! # Module Scalars -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ModuleScalars |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: native affine module scalars agree with the base-ring sheaf construction |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (A : Type u) [CommRing A] |
| 19 | |
| 20 | def base : Over (Spec (CommRingCat.of A)) := Over.mk (𝟙 _) |
| 21 | |
| 22 | theorem baseMap (U : (Spec (CommRingCat.of A)).Opens) : |
| 23 | OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionBaseMap A (base A) U = |
| 24 | ((Spec (CommRingCat.of A)).presheaf.map U.leTop.op).hom.comp |
| 25 | (Scheme.ΓSpecIso (CommRingCat.of A)).inv.hom := by |
| 26 | apply RingHom.ext |
| 27 | intro a |
| 28 | rfl |
| 29 | |
| 30 | def component (M : (Spec (CommRingCat.of A)).Modules) (U : (Spec (CommRingCat.of A)).Opensᵒᵖ) : |
| 31 | ((AlgebraSheafScalars.functor A (base A)).obj M).obj.obj U ≅ |
| 32 | (modulesSpecToSheaf.obj M).obj.obj U := |
| 33 | ModuleCat.restrictScalarsComp'App (Scheme.ΓSpecIso (CommRingCat.of A)).inv.hom |
| 34 | ((Spec (CommRingCat.of A)).presheaf.map U.unop.leTop.op).hom |
| 35 | (OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionBaseMap A (base A) U.unop) (baseMap A U.unop) (M.val.obj U) |
| 36 | |
| 37 | def objectIso (M : (Spec (CommRingCat.of A)).Modules) : |
| 38 | (AlgebraSheafScalars.functor A (base A)).obj M ≅ modulesSpecToSheaf.obj M := |
| 39 | ObjectProperty.isoMk _ (NatIso.ofComponents (component A M) |
| 40 | (by |
| 41 | intro U V f |
| 42 | apply ModuleCat.hom_ext |
| 43 | apply LinearMap.ext |
| 44 | intro x |
| 45 | rfl)) |
| 46 | |
| 47 | def iso : AlgebraSheafScalars.functor A (base A) ≅ modulesSpecToSheaf := |
| 48 | NatIso.ofComponents (objectIso A) |
| 49 | (by |
| 50 | intro M N f |
| 51 | apply Sheaf.hom_ext |
| 52 | apply NatTrans.ext |
| 53 | funext U |
| 54 | apply ModuleCat.hom_ext |
| 55 | apply LinearMap.ext |
| 56 | intro x |
| 57 | rfl) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ModuleScalars |