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.IntegralAffine.CechCoordinateUnit |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.CechCoefficientChange |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Module.IdealQuotient |
| 5 | |
| 6 | /-! # Quotient Total -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralCech.QuotientTotal.IntegralCechQuotientTotal |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Quotienting the actual finite integral Cech total complex by a coefficient |
| 13 | ideal agrees with forming the Cech total of the quotient presheaf complex. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite Simplicial |
| 16 | |
| 17 | variable (R : Type) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 18 | {ι : Type} [Finite ι] (U : ι → X.left.Opens) (I : Ideal R) |
| 19 | |
| 20 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.ThreeComplex.FirstThreeComplex.complex (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) |
| 21 | local notation "B" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralAffine.CechCoordinateUnit.IntegralAffineCechCoordinateUnit.bicomplex R X U |
| 22 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.Module.IdealQuotient.functor R I |
| 23 | |
| 24 | def presheaves : (X.left.Opensᵒᵖ ⥤ ModuleCat.{0} R) ⥤ (X.left.Opensᵒᵖ ⥤ ModuleCat.{0} R) := |
| 25 | (Functor.whiskeringRight _ _ _).obj G |
| 26 | |
| 27 | instance presheaves_additive : (presheaves R X I).Additive := by |
| 28 | dsimp only [presheaves] |
| 29 | infer_instance |
| 30 | |
| 31 | local instance : (AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.cechFunctor R X U).Additive := by |
| 32 | change (FormalCoproduct.cochainComplexFunctor (FormalCoproduct.mk ι U).cech).Additive |
| 33 | infer_instance |
| 34 | |
| 35 | theorem finiteIndices (n : SimplexCategory) : Finite ((FormalCoproduct.mk ι U).cech.obj (op n)).I := by |
| 36 | change Finite (Fin (n.len + 1) → ι) |
| 37 | infer_instance |
| 38 | |
| 39 | def bicomplex : HomologicalComplex₂ (ModuleCat.{0} R) (.up ℕ) (.up ℕ) := |
| 40 | ((AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.cechFunctor R X U).mapHomologicalComplex (.up ℕ)).obj |
| 41 | (((presheaves R X I).mapHomologicalComplex (.up ℕ)).obj P) |
| 42 | |
| 43 | def bicomplexIso : AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex G B ≅ bicomplex R X U I := |
| 44 | (NatIso.mapHomologicalComplex |
| 45 | (GeometricComparison.Finite.CechCoefficientChange.FiniteCechCoefficientChange.iso G (FormalCoproduct.mk ι U).cech (finiteIndices R X U)) |
| 46 | (.up ℕ)).app P |
| 47 | |
| 48 | def iso : IntegralComparison.Module.IdealQuotient.complex R I ((B).total (.up ℕ)) ≅ |
| 49 | (bicomplex R X U I).total (.up ℕ) := |
| 50 | (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso G B).symm ≪≫ |
| 51 | HomologicalComplex₂.total.mapIso (bicomplexIso R X U I) (.up ℕ) |
| 52 | |
| 53 | def homologyIso (i : ℕ) : |
| 54 | (IntegralComparison.Module.IdealQuotient.complex R I ((B).total (.up ℕ))).homology i ≅ |
| 55 | ((bicomplex R X U I).total (.up ℕ)).homology i := |
| 56 | (HomologicalComplex.homologyFunctor _ _ i).mapIso (iso R X U I) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralCech.QuotientTotal.IntegralCechQuotientTotal |