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.Forms.ScalarEquivalence |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.FlatScalar |
| 3 | |
| 4 | /-! # De Rham Scalar Extension -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.DeRhamScalarExtension.FormsBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual affine de Rham complexes and their cohomology commute with flat scalar extension. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable (R S A B : Type u) [CommRing R] [CommRing S] [CommRing A] [CommRing B] |
| 18 | [Algebra R S] [Algebra R A] [Algebra R B] [Algebra A B] [Algebra S B] |
| 19 | [IsScalarTower R A B] [IsScalarTower R S B] [Algebra.IsPushout R S A B] |
| 20 | [Algebra ℚ A] [Algebra ℚ B] [Module.Flat R S] |
| 21 | |
| 22 | def affineComplexIso : |
| 23 | ((FlatScalar.FlatScalarExtension.moduleFunctor.{u, u} R S).mapHomologicalComplex |
| 24 | (ComplexShape.up ℕ)).obj (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R A) ≅ AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex S B := |
| 25 | HomologicalComplex.Hom.isoOfComponents |
| 26 | (fun n => (Forms.ScalarEquivalence.FormsBaseChange.formsScalarEquiv R S A B n).toModuleIso) (by |
| 27 | intro n m hnm |
| 28 | change n + 1 = m at hnm |
| 29 | subst m |
| 30 | simp only [Functor.mapHomologicalComplex_obj_d, AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex, CochainComplex.of_d] |
| 31 | apply ModuleCat.hom_ext |
| 32 | apply LinearMap.ext |
| 33 | intro x |
| 34 | exact (Forms.ScalarEquivalence.FormsBaseChange.formsScalarEquiv_differential R S A B n x).symm) |
| 35 | |
| 36 | def affineCohomologyIso (n : ℕ) : |
| 37 | (FlatScalar.FlatScalarExtension.moduleFunctor.{u, u} R S).obj ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R A).homology n) ≅ |
| 38 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex S B).homology n := |
| 39 | ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R A).sc n |>.mapHomologyIso (FlatScalar.FlatScalarExtension.moduleFunctor.{u, u} R S)).symm ≪≫ |
| 40 | (HomologicalComplex.homologyFunctor (ModuleCat S) (ComplexShape.up ℕ) n).mapIso |
| 41 | (affineComplexIso R S A B) |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.DeRhamScalarExtension.FormsBaseChange |