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.AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCechUnit |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.OrdinarySection |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechAssembly.Iso |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.ProductBicomplex |
| 5 | |
| 6 | /-! # Ordinary Cech Total -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Small.OrdinaryCechTotal.Ordinary |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The ordinary complexes of the actual affine section rings compute |
| 13 | the native sheafified de Rham Čech total on the same small cover. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite Simplicial |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (R : Type u) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 20 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 21 | |
| 22 | local notation "inclusion" => OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion X.left |
| 23 | local notation "U" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.opens R X |
| 24 | local notation "V" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCech.BaseSmallDeRhamCech.opens R X |
| 25 | local notation "N" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve U |
| 26 | local notation "NV" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve V |
| 27 | |
| 28 | def diagram := (inclusion).op ⋙ GeometricComparison.OrdinarySection.OrdinarySectionComplexAssembly.diagram R X |
| 29 | |
| 30 | def complexIso : AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (diagram R X) ≅ |
| 31 | ((GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{u} R) inclusion).mapHomologicalComplex |
| 32 | (.up ℕ)).obj (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) := |
| 33 | (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyTrans.ComplexAssemblyTransport.iso (inclusion).op (𝟭 (ModuleCat.{u} R)) (.up ℕ) |
| 34 | (GeometricComparison.OrdinarySection.OrdinarySectionComplexAssembly.diagram R X)).symm ≪≫ |
| 35 | ((AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyTrans.ComplexAssemblyTransport.transport (inclusion).op (𝟭 (ModuleCat.{u} R))).mapHomologicalComplex |
| 36 | (.up ℕ)).mapIso (GeometricComparison.OrdinarySection.OrdinarySectionComplexAssembly.iso R X) |
| 37 | |
| 38 | local instance tuple_preserves (m : ℕ) (t : Fin (m + 1) → AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.Index R X) : |
| 39 | PreservesLimit (Discrete.functor (U ∘ t)) inclusion := |
| 40 | AlgebraicGeometry.Crystalline.Cohomology.Affine.OpenFiniteProductPreservation.AffineOpenFiniteProductPreservation.inclusion_preserves X.left (U ∘ t) |
| 41 | |
| 42 | def bicomplexIso : GeometricComparison.CechPresheaf.CoefficientTotal.CechPresheafCoefficientTotal.bicomplex N |
| 43 | (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (diagram R X)) ≅ |
| 44 | GeometricComparison.CechPresheaf.CoefficientTotal.CechPresheafCoefficientTotal.bicomplex NV (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) := |
| 45 | ((NonemptyCechNerve.complexFunctor U).mapHomologicalComplex (.up ℕ)).mapIso (complexIso R X) ≪≫ |
| 46 | GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.iso inclusion U (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) |
| 47 | |
| 48 | def totalIso : GeometricComparison.CechAssembly.CoefficientTotal.CechAssemblyCoefficientTotal.total N (diagram R X) ≅ AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCech.BaseSmallDeRhamCech.total R X := |
| 49 | HomologicalComplex₂.total.mapIso (bicomplexIso R X) (.up ℕ) ≪≫ AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCechUnit.BaseSmallDeRhamCechUnit.totalIso R X |
| 50 | |
| 51 | theorem finiteIndices (m : SimplexCategory) : Finite ((N).obj (op m)).I := by |
| 52 | change Finite (Fin (m.len + 1) → AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.Index R X) |
| 53 | infer_instance |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Small.OrdinaryCechTotal.Ordinary |