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.IntrinsicPadic.SmallProductMap |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AffineQuotientInverseProduct |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.OrdinaryReductionProduct |
| 4 | |
| 5 | /-! # Reduction Product -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.ReductionProduct.Intrinsic |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Literal coefficient reduction of the original full ordinary Čech |
| 12 | complex followed by its genuine finite crystalline product comparison. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | variable (p : ℕ) [Fact p.Prime] |
| 19 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 20 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 21 | (f : Y.left ⟶ X.left) |
| 22 | (hp : IsPullback f Y.hom X.hom |
| 23 | (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) (n : ℕ) |
| 24 | |
| 25 | local instance separated : IsSeparated (Witt.Crystalline.wittStructureMap p (ZMod p) Y) := by |
| 26 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 27 | infer_instance |
| 28 | |
| 29 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X |
| 30 | local notation "I" => (Ideal.span {(p : ℤ_[p])}) ^ (n+1) |
| 31 | local notation "M" => HomologicalComplex₂.total |
| 32 | (GeometricComparison.IntegralCech.CechQuotientTotal.IntegralCechQuotientTotal.bicomplex ℤ_[p] X |
| 33 | (fun i => Subtype.val (U i)) I) (ComplexShape.up ℕ) |
| 34 | local notation "K" => HomologicalComplex₂.total |
| 35 | (OrdinaryCechUnit.IntrinsicOrdinary.bicomplex p X) (ComplexShape.up ℕ) |
| 36 | |
| 37 | def comparison (i : ℕ) := (SmallProductMap.Intrinsic.map p X Y f hp n i).comp |
| 38 | (HomologicalComplex.homologyMap (GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.fullOpenIso p X n).inv i).hom.toAddMonoidHom |
| 39 | |
| 40 | attribute [local irreducible] Cochain.CohomologyCup.cohomologyCup |
| 41 | |
| 42 | abbrev comparison_cup (i j : ℕ) (x : (M).homology i) (y : (M).homology j) := by |
| 43 | have result := (congrArg (SmallProductMap.Intrinsic.map p X Y f hp n (i+j)) |
| 44 | (AffineQuotientInverseProduct.Ordinary.cohomologyMap_cup ℤ_[p] X U I i j x y)).trans |
| 45 | (SmallProductMap.Intrinsic.map_cup p X Y f hp n i j _ _) |
| 46 | exact result |
| 47 | |
| 48 | def reductionComparison (i : ℕ) := (comparison p X Y f hp n i).comp |
| 49 | (OrdinaryReduction.IntrinsicOrdinary.reduction p X n i).toAddMonoidHom |
| 50 | |
| 51 | abbrev reductionComparison_cup (i j : ℕ) (x : (K).homology i) (y : (K).homology j) := by |
| 52 | have result := (congrArg (comparison p X Y f hp n (i+j)) |
| 53 | (OrdinaryReductionProduct.IntrinsicOrdinary.reduction_cup p X n i j x y)).trans |
| 54 | (comparison_cup p X Y f hp n i j _ _) |
| 55 | exact result |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.ReductionProduct.Intrinsic |