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.Witt.IntrinsicCechCoefficientComposite |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismSourceRefinementData |
| 3 | |
| 4 | /-! # Intrinsic Source Common Coordinates -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicSourceCommonCoordinates.MorphismIntrinsic |
| 11 | |
| 12 | /-! The original common-cover comparison in native coefficient and |
| 13 | Čech homology coordinates, with its bounded output fixed explicitly. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | attribute [local irreducible] HomologicalComplex.homology HomologicalComplex.homologyMap |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 20 | |
| 21 | variable (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 | |
| 30 | def output (q : ℕ) : |
| 31 | ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) := |
| 32 | ModuleCat.of (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) |
| 33 | (BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) |
| 34 | (J := Ideal.span {(p : WittVector p k)}) |
| 35 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 36 | (Witt.Crystalline.wittStructureMap p k Y₁) n q) |
| 37 | |
| 38 | variable |
| 39 | (I₁ : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 40 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 41 | (Witt.Crystalline.wittStructureMap p k Y₁) n)) |
| 42 | |
| 43 | def statement (q : ℕ) : Prop := |
| 44 | MorphismIntrinsicBase.IntrinsicComparison.commonComparison p k n u f₁ hp₁ I₁ q = |
| 45 | Witt.IntrinsicCechCoefficientComposite.Intrinsic.composite p k (MorphismCover.pairs p k n u) |
| 46 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k) |
| 47 | (MorphismCommonIsoCoordinates.source p k n u) |
| 48 | (K := MorphismNewFrameCoordinates.Raw.sourceCoefficients p k n u f₁ hp₁) |
| 49 | (L := MorphismNewFrameCoordinates.Raw.targetCoefficients p k n u f₁ I₁) |
| 50 | (MorphismCommonIsoCoordinates.iso p k n u f₁ hp₁) |
| 51 | (MorphismNewFrameCoordinates.Raw.coefficientMap p k n u f₁ hp₁ I₁) |
| 52 | q (T := output p k n (Y₁ := Y₁) q) |
| 53 | (MorphismGlobalTypedHomology.sourceNewComparison p k n u f₁ I₁ q) |
| 54 | |
| 55 | theorem comparison (q : ℕ) : statement p k n u f₁ hp₁ I₁ q := |
| 56 | MorphismSourceRefinementData.common_comparison p k n u f₁ hp₁ I₁ q |
| 57 | |
| 58 | end NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicSourceCommonCoordinates.MorphismIntrinsic |
| 59 | |
| 60 | namespace NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicSourceCommonCoordinates.MorphismIntrinsicRight |
| 61 | |
| 62 | /-! The common-cover factor of source refinement in native coefficient |
| 63 | coordinates, with the original homology map fixed on both sides. -/ |
| 64 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 65 | set_option backward.isDefEq.respectTransparency false |
| 66 | set_option backward.isDefEq.respectTransparency.types false |
| 67 | attribute [local irreducible] HomologicalComplex.homology HomologicalComplex.homologyMap |
| 68 | |
| 69 | private def originalHomology {C : Type*} [Category* C] [Abelian C] |
| 70 | {ι : Type*} (c : ComplexShape ι) (K : HomologicalComplex C c) (q : ι) : C := |
| 71 | K.homology q |
| 72 | |
| 73 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 74 | |
| 75 | variable (n : ℕ) |
| 76 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 77 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 78 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] (u : X₁ ⟶ X₂) |
| 79 | {Y₁ : Over (Spec (CommRingCat.of k))} [IsSeparated Y₁.hom] |
| 80 | (f₁ : Y₁.left ⟶ X₁.left) |
| 81 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom |
| 82 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 83 | |
| 84 | variable |
| 85 | (I₁ : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 86 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 87 | (Witt.Crystalline.wittStructureMap p k Y₁) n)) |
| 88 | |
| 89 | def statement (q : ℕ) : Prop := |
| 90 | @Eq (@Quiver.Hom |
| 91 | (@ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) ULift.ring) |
| 92 | (@ModuleCat.moduleCategory |
| 93 | (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) ULift.ring).toQuiver |
| 94 | ((SmoothWitt.DeRham.Comparison.coefficientFunctor p k).obj |
| 95 | (@originalHomology (ModuleCat.{0} (WittVector p k)) |
| 96 | (@ModuleCat.moduleCategory (WittVector p k) (WittVector.instCommRing p k).toRing) |
| 97 | (@ModuleCat.abelian (WittVector p k) (WittVector.instCommRing p k).toRing) |
| 98 | ℕ (ComplexShape.up ℕ) |
| 99 | (((ModuleCat.restrictScalars |
| 100 | (algebraMap (WittVector p k) (Truncated.Witt.Ring p k n))).mapHomologicalComplex |
| 101 | (.up ℕ)).obj (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCech.BaseSmallDeRhamCech.total (Truncated.Witt.Ring p k n) X₁)) q)) |
| 102 | (ModuleCat.of (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) |
| 103 | (BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) |
| 104 | (J := Ideal.span {(p : WittVector p k)}) |
| 105 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 106 | (Witt.Crystalline.wittStructureMap p k Y₁) n q))) |
| 107 | ((SmoothWitt.DeRham.Comparison.coefficientFunctor p k).map |
| 108 | (homologyMap (MorphismIntrinsicCoordinates.Intrinsic.sourceMap p k n u) q) ≫ |
| 109 | MorphismIntrinsicBase.IntrinsicComparison.commonComparison p k n u f₁ hp₁ I₁ q) |
| 110 | ((SmoothWitt.DeRham.Comparison.coefficientFunctor p k).map |
| 111 | (homologyMap (MorphismIntrinsicCoordinates.Intrinsic.sourceMap p k n u) q) ≫ |
| 112 | Witt.IntrinsicCechCoefficientComposite.Intrinsic.composite p k (MorphismCover.pairs p k n u) |
| 113 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k) |
| 114 | (MorphismCommonIsoCoordinates.source p k n u) |
| 115 | (K := MorphismNewFrameCoordinates.Raw.sourceCoefficients p k n u f₁ hp₁) |
| 116 | (L := MorphismNewFrameCoordinates.Raw.targetCoefficients p k n u f₁ I₁) |
| 117 | (MorphismCommonIsoCoordinates.iso p k n u f₁ hp₁) |
| 118 | (MorphismNewFrameCoordinates.Raw.coefficientMap p k n u f₁ hp₁ I₁) |
| 119 | q (T := MorphismIntrinsic.output p k n (Y₁ := Y₁) q) |
| 120 | (MorphismGlobalTypedHomology.sourceNewComparison p k n u f₁ I₁ q)) |
| 121 | |
| 122 | theorem comparison (q : ℕ) : statement p k n u f₁ hp₁ I₁ q := by |
| 123 | unfold statement |
| 124 | have h := MorphismIntrinsic.comparison |
| 125 | p k n u f₁ hp₁ I₁ q |
| 126 | change _ at h |
| 127 | delta MorphismIntrinsic.statement at h |
| 128 | exact congrArg |
| 129 | (fun c => |
| 130 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k).map |
| 131 | (homologyMap (MorphismIntrinsicCoordinates.Intrinsic.sourceMap p k n u) q) ≫ c) |
| 132 | h |
| 133 | |
| 134 | end NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicSourceCommonCoordinates.MorphismIntrinsicRight |
| 135 | |
| 136 | end |
| 137 | |
| 138 | end OAI |