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.Frobenius.DeRhamPresheaf |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AlgebraPresheafScalars |
| 3 | import Mathlib.AlgebraicGeometry.Modules.Sheaf |
| 4 | import Mathlib.Algebra.Category.ModuleCat.Presheaf.Sheafification |
| 5 | |
| 6 | /-! # De Rham Global -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Frobenius.DeRhamGlobal |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # IntegralComparison: the native global de Rham complex with its Frobenius structure-sheaf action |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (k : Type u) [Field k] [Fintype k] (X : Over (Spec (CommRingCat.of k))) |
| 21 | |
| 22 | def presheafComplex : CochainComplex (PresheafOfModules.{u} X.left.ringCatSheaf.obj) ℕ := |
| 23 | DeRhamPresheaf.complex k (OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras k X) |
| 24 | |
| 25 | def formsIso (n : ℕ) : |
| 26 | (AlgebraPresheafScalars.functor k (OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras k X)).obj ((presheafComplex k X).X n) ≅ |
| 27 | OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf k X n := |
| 28 | NatIso.ofComponents (fun U => DeRhamComplex.formsIso k |
| 29 | ((OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras k X).obj U) n) |
| 30 | (by |
| 31 | intro U V f |
| 32 | apply ModuleCat.hom_ext |
| 33 | apply LinearMap.ext |
| 34 | intro ω |
| 35 | rfl) |
| 36 | |
| 37 | def underlyingIso : |
| 38 | ((AlgebraPresheafScalars.functor k (OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras k X)).mapHomologicalComplex |
| 39 | (ComplexShape.up ℕ)).obj (presheafComplex k X) ≅ OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex k X := |
| 40 | HomologicalComplex.Hom.isoOfComponents (formsIso k X) |
| 41 | (by |
| 42 | intro i j hij |
| 43 | change i + 1 = j at hij |
| 44 | subst j |
| 45 | change (formsIso k X i).hom ≫ (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex k X).d i (i + 1) = |
| 46 | (AlgebraPresheafScalars.functor k (OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras k X)).map |
| 47 | ((presheafComplex k X).d i (i + 1)) ≫ (formsIso k X (i + 1)).hom |
| 48 | dsimp only [presheafComplex, DeRhamPresheaf.complex, OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex] |
| 49 | rw [CochainComplex.of_d, CochainComplex.of_d] |
| 50 | apply NatTrans.ext |
| 51 | funext U |
| 52 | apply ModuleCat.hom_ext |
| 53 | apply LinearMap.ext |
| 54 | intro ω |
| 55 | rfl) |
| 56 | |
| 57 | def sheafification : PresheafOfModules.{u} X.left.ringCatSheaf.obj ⥤ X.left.Modules := |
| 58 | PresheafOfModules.sheafification (𝟙 X.left.ringCatSheaf.obj) |
| 59 | |
| 60 | instance sheafification_additive : (DeRhamGlobal.sheafification k X).Additive where |
| 61 | map_add {M N f g} := by |
| 62 | apply (SheafOfModules.toSheaf.{u} X.left.ringCatSheaf).map_injective |
| 63 | exact (PresheafOfModules.toPresheaf X.left.ringCatSheaf.obj ⋙ |
| 64 | presheafToSheaf (Opens.grothendieckTopology X.left) AddCommGrpCat).map_add |
| 65 | |
| 66 | def complex : CochainComplex X.left.Modules ℕ := |
| 67 | ((DeRhamGlobal.sheafification k X).mapHomologicalComplex (ComplexShape.up ℕ)).obj (presheafComplex k X) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Frobenius.DeRhamGlobal |