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.IntrinsicPresheafSourceEndpoints |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismGlobalSourceCohomology |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismFrameRefinement |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.GlobalFrame |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismGlobalTypedHomology |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismIntrinsicCoordinates |
| 7 | |
| 8 | /-! # Intrinsic Source Endpoints Coordinates -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicSourceEndpointsCoordinates |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The original source frame and global cone maps with the native coefficient |
| 15 | category fixed before the injective resolution is chosen. -/ |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | namespace MorphismIntrinsic |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 22 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 23 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 24 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] (u : X₁ ⟶ X₂) |
| 25 | {Y₁ : Over (Spec (CommRingCat.of k))} [IsSeparated Y₁.hom] |
| 26 | (f₁ : Y₁.left ⟶ X₁.left) |
| 27 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom |
| 28 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 29 | (I₁ : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 30 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 31 | (Witt.Crystalline.wittStructureMap p k Y₁) n)) |
| 32 | |
| 33 | attribute [local instance] MorphismGlobalSourceCohomology.sourceTypedEdgeEpi |
| 34 | |
| 35 | abbrev core := |
| 36 | IntrinsicPresheafSourceEndpoints.MorphismIntrinsic.source p k n u _ |
| 37 | (MorphismGlobalRefinementBase.Maps.sourceSections p k n f₁ I₁) |
| 38 | (FrameInjective.Comparison.map p k n X₁ Y₁ f₁ hp₁ I₁) |
| 39 | (MorphismFrameInjectiveHomotopy.sourceComparison p k n u f₁ hp₁ I₁) |
| 40 | (MorphismFrameRefinementCoordinates.Comparison.source_coordinates p k n u f₁ hp₁ I₁) |
| 41 | |
| 42 | abbrev data := |
| 43 | core p k n u f₁ hp₁ I₁ |
| 44 | (MorphismGlobalCone.sourceGlobal p k n I₁) |
| 45 | (MorphismGlobalTypedEdges.sourceCone p k n f₁ I₁) |
| 46 | (MorphismGlobalTypedEdges.sourceOld p k n f₁ I₁) |
| 47 | (MorphismGlobalTypedEdges.sourceNew p k n u f₁ I₁) |
| 48 | (MorphismGlobalTypedEdges.source_old p k n f₁ I₁) |
| 49 | (MorphismGlobalTypedEdges.source_new p k n u f₁ I₁) |
| 50 | |
| 51 | end MorphismIntrinsic |
| 52 | |
| 53 | /-! The native source comparison with its original three global homology maps |
| 54 | and its bounded crystalline output fixed explicitly. -/ |
| 55 | namespace MorphismIntrinsic |
| 56 | section |
| 57 | set_option backward.isDefEq.respectTransparency false |
| 58 | set_option backward.isDefEq.respectTransparency.types false |
| 59 | |
| 60 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 61 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 62 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 63 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] (u : X₁ ⟶ X₂) |
| 64 | {Y₁ : Over (Spec (CommRingCat.of k))} [IsSeparated Y₁.hom] |
| 65 | (f₁ : Y₁.left ⟶ X₁.left) |
| 66 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom |
| 67 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 68 | (I₁ : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 69 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 70 | (Witt.Crystalline.wittStructureMap p k Y₁) n)) |
| 71 | |
| 72 | attribute [local instance] MorphismGlobalSourceCohomology.sourceTypedEdgeEpi |
| 73 | |
| 74 | abbrev homology (q : ℕ) := |
| 75 | data p k n u f₁ hp₁ I₁ q |
| 76 | _ |
| 77 | (MorphismGlobalTypedHomology.sourceOldComparison p k n f₁ I₁ q) |
| 78 | (MorphismGlobalTypedHomology.sourceNewComparison p k n u f₁ I₁ q) |
| 79 | (MorphismGlobalTypedHomology.sourceGlobalComparison p k n I₁ q) |
| 80 | (MorphismGlobalTypedHomology.source_new p k n u f₁ I₁ q) |
| 81 | (MorphismGlobalTypedHomology.source_old p k n f₁ I₁ q) |
| 82 | |
| 83 | end |
| 84 | |
| 85 | /-! The original source coefficient isomorphisms and refinement map in the |
| 86 | native module category. -/ |
| 87 | set_option backward.isDefEq.respectTransparency false |
| 88 | set_option backward.isDefEq.respectTransparency.types false |
| 89 | |
| 90 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 91 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 92 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 93 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] (u : X₁ ⟶ X₂) |
| 94 | {Y₁ : Over (Spec (CommRingCat.of k))} [IsSeparated Y₁.hom] |
| 95 | (f₁ : Y₁.left ⟶ X₁.left) |
| 96 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom |
| 97 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 98 | (I₁ : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 99 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 100 | (Witt.Crystalline.wittStructureMap p k Y₁) n)) |
| 101 | |
| 102 | abbrev isos (q : ℕ) := |
| 103 | homology p k n u f₁ hp₁ I₁ q _ _ |
| 104 | (MorphismIntrinsicCoordinates.Intrinsic.sourceIso p k n f₁ hp₁) |
| 105 | (MorphismCoefficientCech.ordinarySourceIso p k n u f₁ hp₁) |
| 106 | |
| 107 | abbrev map (q : ℕ) := |
| 108 | isos p k n u f₁ hp₁ I₁ q |
| 109 | (MorphismIntrinsicCoordinates.Intrinsic.sourceMap p k n u) |
| 110 | |
| 111 | abbrev comparison (q : ℕ) := |
| 112 | MorphismIntrinsic.map p k n u f₁ hp₁ I₁ q |
| 113 | (MorphismIntrinsicCoordinates.Intrinsic.source p k n u f₁ hp₁).symm |
| 114 | |
| 115 | end MorphismIntrinsic |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicSourceEndpointsCoordinates |