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.MorphismIntrinsicHomology |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameGlobalSourceHomology |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismFrameTypedHomology |
| 4 | |
| 5 | /-! # Morphism Intrinsic Base -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismIntrinsicBase.IntrinsicComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native ordinary de Rham comparison factors through the same |
| 12 | common affine cover as the original bounded crystalline pullback. -/ |
| 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 | omit [IsSeparated Y₁.hom] in |
| 36 | theorem source_refinement : |
| 37 | MorphismCoefficientCech.sourceRefinement p k n u f₁ hp₁ = |
| 38 | MorphismFrameRefinementCoordinates.Comparison.sourceFrameRefinement p k n u f₁ hp₁ := rfl |
| 39 | |
| 40 | omit [IsSeparated Y₂.hom] in |
| 41 | theorem target_refinement : |
| 42 | MorphismCoefficientCech.targetRefinement p k n u f₂ hp₂ = |
| 43 | MorphismFrameRefinementCoordinates.Comparison.targetFrameRefinement p k n u f₂ hp₂ := rfl |
| 44 | |
| 45 | abbrev geometric_map := |
| 46 | Eq.refl (MorphismCoefficientCech.geometricMap p k n u v f₁ f₂ hp₁ hp₂ sq) |
| 47 | |
| 48 | variable (i : ℕ) |
| 49 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.DeRham.Comparison.coefficientFunctor p k |
| 50 | local notation "c" => HomologicalComplex.homologyMap |
| 51 | (MorphismFrameCechHomology.sourceComparison p k n u f₁ hp₁ I₁) i ≫ |
| 52 | Iso.hom (MorphismCommonGlobal.sourceHomologyIso p k n u f₁ I₁ i) |
| 53 | local notation "g" => ModuleCat.ofHom (OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallinePullback.pullback v.left |
| 54 | (MorphismData.Frames.ambient_over p k v) n i) |
| 55 | |
| 56 | def frameCommonComparison : |
| 57 | (MorphismFrameTypedMaps.Homology.sourceFrameNew p k n u f₁ hp₁).homology i ⟶ |
| 58 | ModuleCat.of (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) |
| 59 | (BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) |
| 60 | (J := Ideal.span {(p : WittVector p k)}) |
| 61 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 62 | (Witt.Crystalline.wittStructureMap p k Y₁) n i) := |
| 63 | MorphismFrameTypedHomology.sourceNew p k n u f₁ hp₁ I₁ i ≫ |
| 64 | MorphismGlobalTypedHomology.sourceNewComparison p k n u f₁ I₁ i |
| 65 | |
| 66 | def commonComparison := |
| 67 | (MorphismIntrinsicHomology.Intrinsic.commonSourceIso p k n u f₁ hp₁ i).hom ≫ |
| 68 | frameCommonComparison p k n u f₁ hp₁ I₁ i |
| 69 | |
| 70 | def sourceIso := MorphismIntrinsicHomology.Intrinsic.sourceIso p k n f₁ hp₁ i ≪≫ |
| 71 | GlobalFrame.Comparison.homologyIso p k n X₁ Y₁ f₁ hp₁ I₁ i |
| 72 | |
| 73 | def targetIso := MorphismIntrinsicHomology.Intrinsic.targetIso p k n f₂ hp₂ i ≪≫ |
| 74 | GlobalFrame.Comparison.homologyIso p k n X₂ Y₂ f₂ hp₂ I₂ i |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismIntrinsicBase.IntrinsicComparison |