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.CechAssembly.CoefficientTotal |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralGlobalOne |
| 3 | |
| 4 | /-! # Coefficient Total -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicIntegral.CoefficientTotal.IntrinsicIntegralCoefficientTotal |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The finite-level native comparison starts from coefficient transport |
| 11 | of the actual small integral Witt de Rham quotient Cech total. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | variable (p : ℕ) [Fact p.Prime] |
| 16 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 17 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 18 | (f : Y.left ⟶ X.left) |
| 19 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 20 | (n : ℕ) |
| 21 | |
| 22 | local notation "W" => WittVector p (ZMod p) |
| 23 | local notation "coverOpens" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X |
| 24 | local notation "coverNerve" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve coverOpens |
| 25 | |
| 26 | def total : CochainComplex (ModuleCat.{0} W) ℕ := |
| 27 | CechAssembly.CoefficientTotal.CechAssemblyCoefficientTotal.total coverNerve (IntrinsicPadic.ReducedDeRhamMap.IntrinsicPadicReducedDeRhamMap.source p X n) |
| 28 | |
| 29 | def coefficientIso := CechAssembly.CoefficientTotal.CechAssemblyCoefficientTotal.iso (IntrinsicPadic.IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.coefficients p) |
| 30 | coverNerve (CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices coverOpens) |
| 31 | (IntrinsicPadic.ReducedDeRhamMap.IntrinsicPadicReducedDeRhamMap.source p X n) |
| 32 | |
| 33 | variable (J : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 34 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 35 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 36 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y) n)) |
| 37 | |
| 38 | def homologyIso := |
| 39 | (HomologicalComplex.homologyFunctor _ _ 1).mapIso (coefficientIso p X n) ≪≫ |
| 40 | IntrinsicPadic.IntegralGlobalOne.IntrinsicPadicIntegralGlobalHOne.homologyIso p X Y f hp n J |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicIntegral.CoefficientTotal.IntrinsicIntegralCoefficientTotal |