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.MorphismGlobalTypedHomology |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismPresheafFrameGlobalTarget |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismGlobalCohomology |
| 4 | |
| 5 | /-! # Morphism Source Homology -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismSourceHomology.Raw |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native bounded crystalline frame comparison commutes with |
| 12 | actual model pullback through its original common affine cover. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 20 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 21 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 22 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] |
| 23 | {Y₁ Y₂ : Over (Spec (CommRingCat.of k))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 24 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 25 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 26 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 27 | (sq : f₁ ≫ u.left = v.left ≫ f₂) |
| 28 | (I₁ : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 29 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 30 | (Witt.Crystalline.wittStructureMap p k Y₁) n)) |
| 31 | (I₂ : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 32 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 33 | (Witt.Crystalline.wittStructureMap p k Y₂) n)) |
| 34 | |
| 35 | variable (q : ℕ) |
| 36 | attribute [local instance] MorphismGlobalSourceCohomology.targetTypedEdgeEpi |
| 37 | |
| 38 | private abbrev R := Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 39 | |
| 40 | abbrev complex := (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex |
| 41 | (MorphismCover.pairs p k n u) |
| 42 | (MorphismCommonGlobal.sourceSections p k n u f₁ I₁)).total (.up ℕ) |
| 43 | |
| 44 | def comparison : (complex p k n u f₁ I₁).homology q ⟶ |
| 45 | ModuleCat.of (R p k) (BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) |
| 46 | (J := Ideal.span {(p : WittVector p k)}) |
| 47 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 48 | (Witt.Crystalline.wittStructureMap p k Y₁) n q) := |
| 49 | MorphismGlobalTypedHomology.sourceNewComparison p k n u f₁ I₁ q |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismSourceHomology.Raw |