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.Affine.ChartSectionAlgebra |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.EtaleZero.DeRham |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionComplex |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.DeRham.PresheafEvaluation |
| 5 | |
| 6 | /-! # De Rham Coefficient Complex -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Global.DeRhamCoefficientComplex |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # IntegralComparison: the native global de Rham presheaf complex with the original crystalline coefficients |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 21 | |
| 22 | def coefficients : ModuleCat.{u} k ⥤ ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) := |
| 23 | ModuleCat.restrictScalars (WittVector.constantCoeff (p := p) (R := k)) ⋙ |
| 24 | EtaleZero.DeRham.Comparison.coefficientFunctor p k |
| 25 | |
| 26 | instance coefficients_additive : (coefficients p k).Additive := by |
| 27 | dsimp only [coefficients] |
| 28 | infer_instance |
| 29 | |
| 30 | variable (X : Over (Spec (CommRingCat.of k))) |
| 31 | |
| 32 | def presheaves : (X.left.Opensᵒᵖ ⥤ ModuleCat.{u} k) ⥤ |
| 33 | (X.left.Opensᵒᵖ ⥤ ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) := |
| 34 | (Functor.whiskeringRight _ _ _).obj (coefficients p k) |
| 35 | |
| 36 | instance presheaves_additive : (presheaves p k X).Additive := by |
| 37 | dsimp only [presheaves] |
| 38 | infer_instance |
| 39 | |
| 40 | def complex : CochainComplex |
| 41 | (X.left.Opensᵒᵖ ⥤ ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ := |
| 42 | ((presheaves p k X).mapHomologicalComplex (ComplexShape.up ℕ)).obj (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex k X) |
| 43 | |
| 44 | def evaluationIso (U : X.left.Opens) : |
| 45 | ((BoundedOpen.SectionComplex.evaluation (B := WittVector p k) U).mapHomologicalComplex |
| 46 | (ComplexShape.up ℕ)).obj (complex p k X) ≅ |
| 47 | ((coefficients p k).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 48 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex k ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras k X).obj (op U))) := |
| 49 | ((coefficients p k).mapHomologicalComplex (ComplexShape.up ℕ)).mapIso |
| 50 | (GeometricComparison.DeRham.PresheafEvaluation.DeRhamPresheafEvaluation.complexIso k X U) |
| 51 | |
| 52 | variable (C : Type u) [CommRing C] [Algebra k C] |
| 53 | (g : Spec (CommRingCat.of C) ⟶ X.left) [IsOpenImmersion g] |
| 54 | (hg : g ≫ X.hom = Spec.map (CommRingCat.ofHom (algebraMap k C))) |
| 55 | |
| 56 | def chartIso : ((BoundedOpen.SectionComplex.evaluation (B := WittVector p k) g.opensRange).mapHomologicalComplex |
| 57 | (ComplexShape.up ℕ)).obj (complex p k X) ≅ EtaleZero.DeRham.Comparison.deRhamComplex p k C := |
| 58 | evaluationIso p k X g.opensRange ≪≫ |
| 59 | ((coefficients p k).mapHomologicalComplex (ComplexShape.up ℕ)).mapIso |
| 60 | (Affine.ChartSectionAlgebra.complexIso k C X g hg) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Global.DeRhamCoefficientComplex |