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.IntrinsicPadic.CrystallineRestrictionExt |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SmallReductionCoordinates |
| 3 | |
| 4 | /-! # Small Global Level -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SmallGlobalLevel.IntrinsicPadicSmallGlobalLevel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original finite crystalline comparison in the actual small |
| 11 | quotient Cech coordinates, after descending its coefficient field. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 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)))) [IsProper Y.hom] [Smooth 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 | (I : InjectiveResolution (IntegralComparison.BigCrystallineCohomology.structureSheaf (p := p) |
| 21 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 22 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 23 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y))) |
| 24 | (hprojective : IntegralComparison.Projectivity.Construction.ProjectiveOver (ZMod p) Y.hom) |
| 25 | |
| 26 | local notation "F" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.coefficients p |
| 27 | local notation "D" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicCoefficientDescent.restrict p |
| 28 | |
| 29 | def iso (n : ℕ) := SmallCoefficientLevel.IntrinsicPadicSmallCoefficientLevel.homologyIso p X n ≪≫ |
| 30 | IntegralGlobalLevel.IntrinsicPadicIntegralGlobalLevel.homologyIso p X Y f hp I n |
| 31 | |
| 32 | omit [Smooth Y.hom] in |
| 33 | theorem principal_factor (n : ℕ) : (PrincipalGlobalLevel.IntrinsicPadicPrincipalGlobalLevel.iso p X Y f hp I n).hom = |
| 34 | (F).map (FirstThreeCrystalline.IntrinsicPadicFirstThreeCrystalline.sourceHomologyIso p X n).inv ≫ (iso p X Y f hp I n).hom := |
| 35 | Category.assoc ((F).map (FirstThreeCrystalline.IntrinsicPadicFirstThreeCrystalline.sourceHomologyIso p X n).inv) |
| 36 | (SmallCoefficientLevel.IntrinsicPadicSmallCoefficientLevel.homologyIso p X n).hom |
| 37 | (IntegralGlobalLevel.IntrinsicPadicIntegralGlobalLevel.homologyIso p X Y f hp I n).hom |
| 38 | |
| 39 | omit [Smooth Y.hom] in |
| 40 | theorem reduction (n : ℕ) (x : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology ℤ_[p] X 1) : |
| 41 | CrystallineRestrictionExt.IntrinsicPadicIntegralCrystallineReduction.finiteEquiv p X Y f hp I n |
| 42 | (IntegralReductionCoordinates.IntrinsicPadicIntegralReductionCoordinates.reduction p X (n + 1) x) = |
| 43 | (D).map (iso p X Y f hp I n).hom |
| 44 | (Coefficient.IntrinsicPadicCoefficientDescent.equiv p ((Coefficient.IntrinsicPadicSmallQuotientTotal.total p X n).homology 1) |
| 45 | (SmallReductionCoordinates.IntrinsicPadicSmallReductionCoordinates.map p X n x)) := by |
| 46 | have h := congrArg (D).map (principal_factor p X Y f hp I n) |
| 47 | erw [Functor.map_comp] at h |
| 48 | have hx := ConcreteCategory.congr_hom h |
| 49 | (Coefficient.IntrinsicPadicCoefficientDescent.equiv p _ (IntegralReductionCoordinates.IntrinsicPadicIntegralReductionCoordinates.reduction p X (n + 1) x)) |
| 50 | exact hx.trans (congrArg ((D).map (iso p X Y f hp I n).hom) |
| 51 | (Coefficient.IntrinsicPadicCoefficientDescent.natural p (FirstThreeCrystalline.IntrinsicPadicFirstThreeCrystalline.sourceHomologyIso p X n).inv |
| 52 | (IntegralReductionCoordinates.IntrinsicPadicIntegralReductionCoordinates.reduction p X (n + 1) x)).symm) |
| 53 | |
| 54 | theorem restriction (n : ℕ) (x : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology ℤ_[p] X 1) : |
| 55 | CrystallineRestrictionExt.IntrinsicPadicIntegralCrystallineReduction.restriction p Y n |
| 56 | (IntegralCrystallineEquiv.IntrinsicPadicIntegralCrystallineEquiv.equiv p X Y f hp I hprojective x) = |
| 57 | (D).map (iso p X Y f hp I n).hom |
| 58 | (Coefficient.IntrinsicPadicCoefficientDescent.equiv p ((Coefficient.IntrinsicPadicSmallQuotientTotal.total p X n).homology 1) |
| 59 | (SmallReductionCoordinates.IntrinsicPadicSmallReductionCoordinates.map p X n x)) := |
| 60 | (LinearMap.congr_fun (CrystallineRestrictionExt.IntrinsicPadicIntegralCrystallineReduction.square p X Y f hp I hprojective n) x).trans |
| 61 | (reduction p X Y f hp I n x) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SmallGlobalLevel.IntrinsicPadicSmallGlobalLevel |