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.TruncatedModel.OrdinarySectionMap |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.AssemblyInverseCoordinates |
| 3 | |
| 4 | /-! # Ordinary Assembly Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.OrdinaryAssemblyCoordinates.Ordinary |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native ordinary comparison has the canonical assembled |
| 11 | coefficient square. The two native presentations of its right map and |
| 12 | output coordinates are identified separately. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 18 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 19 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 20 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 21 | (hp : IsPullback f Y.hom X.hom |
| 22 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 23 | |
| 24 | abbrev sourceIso := |
| 25 | ((Principal.Comparison.coefficients p k).mapHomologicalComplex (.up ℕ)).mapIso |
| 26 | (OrdinaryCechCoordinates.Ordinary.iso p k n X) ≪≫ |
| 27 | GeometricComparison.CechAssembly.CoefficientTotal.CechAssemblyCoefficientTotal.iso (Principal.Comparison.coefficients p k) |
| 28 | (NonemptyCechNerve.nerve (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.opens (Truncated.Witt.Ring p k n) X)) |
| 29 | (Small.OrdinaryCechTotal.Ordinary.finiteIndices (Truncated.Witt.Ring p k n) X) |
| 30 | (OrdinaryBaseIso.Ordinary.target p k n X) |
| 31 | |
| 32 | abbrev frameMap := |
| 33 | (GeometricComparison.CechAssembly.TotalFunctor.CechAssemblyTotalFunctor.functor |
| 34 | (NonemptyCechNerve.nerve (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.opens (Truncated.Witt.Ring p k n) X))).map |
| 35 | (Functor.isoWhiskerRight (OrdinaryBaseIso.Ordinary.pdIso p k n X Y f hp) |
| 36 | ((Principal.Comparison.coefficients p k).mapHomologicalComplex (.up ℕ))).inv |
| 37 | |
| 38 | abbrev targetIso := |
| 39 | ((Principal.Comparison.coefficients p k).mapHomologicalComplex (.up ℕ)).mapIso |
| 40 | (OrdinaryCechCoordinates.Ordinary.iso p k n X ≪≫ |
| 41 | GeometricComparison.CechAssembly.Iso.CechAssemblyIso.totalIso |
| 42 | (NonemptyCechNerve.nerve (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.opens (Truncated.Witt.Ring p k n) X)) |
| 43 | (OrdinaryBaseIso.Ordinary.pdIso p k n X Y f hp).symm) ≪≫ |
| 44 | GeometricComparison.CechAssembly.CoefficientTotal.CechAssemblyCoefficientTotal.iso (Principal.Comparison.coefficients p k) |
| 45 | (NonemptyCechNerve.nerve (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.opens (Truncated.Witt.Ring p k n) X)) |
| 46 | (Small.OrdinaryCechTotal.Ordinary.finiteIndices (Truncated.Witt.Ring p k n) X) |
| 47 | (PrincipalComplex.Comparison.pdComplexes p k n X Y f hp) |
| 48 | |
| 49 | omit [IsSeparated Y.hom] in |
| 50 | theorem square : (sourceIso p k n X).hom ≫ frameMap p k n X Y f hp = |
| 51 | (targetIso p k n X Y f hp).hom := |
| 52 | Cech.AssemblyInverseCoordinates.coordinates |
| 53 | (Principal.Comparison.coefficients p k) |
| 54 | (NonemptyCechNerve.nerve (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.opens (Truncated.Witt.Ring p k n) X)) |
| 55 | (Small.OrdinaryCechTotal.Ordinary.finiteIndices (Truncated.Witt.Ring p k n) X) |
| 56 | (OrdinaryBaseIso.Ordinary.pdIso p k n X Y f hp) |
| 57 | (OrdinaryCechCoordinates.Ordinary.iso p k n X) |
| 58 | |
| 59 | omit [IsSeparated Y.hom] in |
| 60 | theorem targetIso_eq : targetIso p k n X Y f hp = |
| 61 | GlobalDeRham.Comparison.iso p k n X Y f hp := rfl |
| 62 | |
| 63 | abbrev affineTotalFunctor : CochainComplex (X.left.affineOpensᵒᵖ ⥤ |
| 64 | ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ ⥤ |
| 65 | CochainComplex (ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ := |
| 66 | FrameCech.Complexes.cechFunctor p k n X ⋙ |
| 67 | HomologicalComplex₂.totalFunctor _ (.up ℕ) (.up ℕ) (.up ℕ) |
| 68 | |
| 69 | omit [IsSeparated Y.hom] in |
| 70 | theorem frameMap_eq : frameMap p k n X Y f hp = |
| 71 | (affineTotalFunctor p k n X).map |
| 72 | (OrdinarySectionMap.Ordinary.frameIso p k n X Y f hp).inv := rfl |
| 73 | |
| 74 | omit [IsSeparated Y.hom] in |
| 75 | theorem comparison : (sourceIso p k n X).hom ≫ |
| 76 | (affineTotalFunctor p k n X).map |
| 77 | (OrdinarySectionMap.Ordinary.frameIso p k n X Y f hp).inv = |
| 78 | (GlobalDeRham.Comparison.iso p k n X Y f hp).hom := by |
| 79 | rw [← frameMap_eq, square, targetIso_eq] |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.OrdinaryAssemblyCoordinates.Ordinary |